phy_n.c 917 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636
  1. /*
  2. * Copyright (c) 2010 Broadcom Corporation
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  11. * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  13. * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  14. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  17. #include <linux/kernel.h>
  18. #include <linux/delay.h>
  19. #include <linux/cordic.h>
  20. #include <brcm_hw_ids.h>
  21. #include <aiutils.h>
  22. #include <chipcommon.h>
  23. #include <pmu.h>
  24. #include <d11.h>
  25. #include <phy_shim.h>
  26. #include "phy_int.h"
  27. #include "phy_hal.h"
  28. #include "phy_radio.h"
  29. #include "phyreg_n.h"
  30. #include "phytbl_n.h"
  31. #include "soc.h"
  32. #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \
  33. read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  34. ((core == PHY_CORE_0) ? \
  35. radio_type##_##jspace##0 : \
  36. radio_type##_##jspace##1))
  37. #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \
  38. write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  39. ((core == PHY_CORE_0) ? \
  40. radio_type##_##jspace##0 : \
  41. radio_type##_##jspace##1), value)
  42. #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \
  43. write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
  44. #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \
  45. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  46. radio_type##_##jspace##0##_##reg_name : \
  47. radio_type##_##jspace##1##_##reg_name))
  48. #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \
  49. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  50. radio_type##_##jspace##0##_##reg_name : \
  51. radio_type##_##jspace##1##_##reg_name), \
  52. value)
  53. #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \
  54. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  55. radio_type##_##reg_name##_##jspace##0 : \
  56. radio_type##_##reg_name##_##jspace##1))
  57. #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \
  58. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  59. radio_type##_##reg_name##_##jspace##0 : \
  60. radio_type##_##reg_name##_##jspace##1), \
  61. value)
  62. #define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ 40
  63. #define NPHY_ACI_CHANNEL_DELTA 5
  64. #define NPHY_ACI_CHANNEL_SKIP 4
  65. #define NPHY_ACI_40MHZ_CHANNEL_DELTA 6
  66. #define NPHY_ACI_40MHZ_CHANNEL_SKIP 5
  67. #define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3 6
  68. #define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3 5
  69. #define NPHY_ACI_CHANNEL_DELTA_GE_REV3 4
  70. #define NPHY_ACI_CHANNEL_SKIP_GE_REV3 3
  71. #define NPHY_NOISE_NOASSOC_GLITCH_TH_UP 2
  72. #define NPHY_NOISE_NOASSOC_GLITCH_TH_DN 8
  73. #define NPHY_NOISE_ASSOC_GLITCH_TH_UP 2
  74. #define NPHY_NOISE_ASSOC_GLITCH_TH_DN 8
  75. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP 2
  76. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN 8
  77. #define NPHY_NOISE_NOASSOC_ENTER_TH 400
  78. #define NPHY_NOISE_ASSOC_ENTER_TH 400
  79. #define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH 400
  80. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX 44
  81. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7 56
  82. #define NPHY_NOISE_NOASSOC_CRSIDX_INCR 16
  83. #define NPHY_NOISE_ASSOC_CRSIDX_INCR 8
  84. #define NPHY_IS_SROM_REINTERPRET NREV_GE(pi->pubpi.phy_rev, 5)
  85. #define NPHY_RSSICAL_MAXREAD 31
  86. #define NPHY_RSSICAL_NPOLL 8
  87. #define NPHY_RSSICAL_MAXD (1<<20)
  88. #define NPHY_MIN_RXIQ_PWR 2
  89. #define NPHY_RSSICAL_W1_TARGET 25
  90. #define NPHY_RSSICAL_W2_TARGET NPHY_RSSICAL_W1_TARGET
  91. #define NPHY_RSSICAL_NB_TARGET 0
  92. #define NPHY_RSSICAL_W1_TARGET_REV3 29
  93. #define NPHY_RSSICAL_W2_TARGET_REV3 NPHY_RSSICAL_W1_TARGET_REV3
  94. #define NPHY_CALSANITY_RSSI_NB_MAX_POS 9
  95. #define NPHY_CALSANITY_RSSI_NB_MAX_NEG -9
  96. #define NPHY_CALSANITY_RSSI_W1_MAX_POS 12
  97. #define NPHY_CALSANITY_RSSI_W1_MAX_NEG (NPHY_RSSICAL_W1_TARGET - \
  98. NPHY_RSSICAL_MAXREAD)
  99. #define NPHY_CALSANITY_RSSI_W2_MAX_POS NPHY_CALSANITY_RSSI_W1_MAX_POS
  100. #define NPHY_CALSANITY_RSSI_W2_MAX_NEG (NPHY_RSSICAL_W2_TARGET - \
  101. NPHY_RSSICAL_MAXREAD)
  102. #define NPHY_RSSI_SXT(x) ((s8) (-((x) & 0x20) + ((x) & 0x1f)))
  103. #define NPHY_RSSI_NB_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_NB_MAX_POS) || \
  104. ((x) < NPHY_CALSANITY_RSSI_NB_MAX_NEG))
  105. #define NPHY_RSSI_W1_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W1_MAX_POS) || \
  106. ((x) < NPHY_CALSANITY_RSSI_W1_MAX_NEG))
  107. #define NPHY_RSSI_W2_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W2_MAX_POS) || \
  108. ((x) < NPHY_CALSANITY_RSSI_W2_MAX_NEG))
  109. #define NPHY_IQCAL_NUMGAINS 9
  110. #define NPHY_N_GCTL 0x66
  111. #define NPHY_PAPD_EPS_TBL_SIZE 64
  112. #define NPHY_PAPD_SCL_TBL_SIZE 64
  113. #define NPHY_NUM_DIG_FILT_COEFFS 15
  114. #define NPHY_PAPD_COMP_OFF 0
  115. #define NPHY_PAPD_COMP_ON 1
  116. #define NPHY_SROM_TEMPSHIFT 32
  117. #define NPHY_SROM_MAXTEMPOFFSET 16
  118. #define NPHY_SROM_MINTEMPOFFSET -16
  119. #define NPHY_CAL_MAXTEMPDELTA 64
  120. #define NPHY_NOISEVAR_TBLLEN40 256
  121. #define NPHY_NOISEVAR_TBLLEN20 128
  122. #define NPHY_ANARXLPFBW_REDUCTIONFACT 7
  123. #define NPHY_ADJUSTED_MINCRSPOWER 0x1e
  124. /* 5357 Chip specific ChipControl register bits */
  125. #define CCTRL5357_EXTPA (1<<14) /* extPA in ChipControl 1, bit 14 */
  126. #define CCTRL5357_ANT_MUX_2o3 (1<<15) /* 2o3 in ChipControl 1, bit 15 */
  127. #define NPHY_CAL_TSSISAMPS 64
  128. #define NPHY_TEST_TONE_FREQ_40MHz 4000
  129. #define NPHY_TEST_TONE_FREQ_20MHz 2500
  130. #define MAX_205x_RCAL_WAITLOOPS 10000
  131. #define NPHY_RXCAL_TONEAMP 181
  132. #define NPHY_RXCAL_TONEFREQ_40MHz 4000
  133. #define NPHY_RXCAL_TONEFREQ_20MHz 2000
  134. #define TXFILT_SHAPING_OFDM20 0
  135. #define TXFILT_SHAPING_OFDM40 1
  136. #define TXFILT_SHAPING_CCK 2
  137. #define TXFILT_DEFAULT_OFDM20 3
  138. #define TXFILT_DEFAULT_OFDM40 4
  139. struct nphy_iqcal_params {
  140. u16 txlpf;
  141. u16 txgm;
  142. u16 pga;
  143. u16 pad;
  144. u16 ipa;
  145. u16 cal_gain;
  146. u16 ncorr[5];
  147. };
  148. struct nphy_txiqcal_ladder {
  149. u8 percent;
  150. u8 g_env;
  151. };
  152. struct nphy_ipa_txcalgains {
  153. struct nphy_txgains gains;
  154. bool useindex;
  155. u8 index;
  156. };
  157. struct nphy_papd_restore_state {
  158. u16 fbmix[2];
  159. u16 vga_master[2];
  160. u16 intpa_master[2];
  161. u16 afectrl[2];
  162. u16 afeoverride[2];
  163. u16 pwrup[2];
  164. u16 atten[2];
  165. u16 mm;
  166. };
  167. struct nphy_ipa_txrxgain {
  168. u16 hpvga;
  169. u16 lpf_biq1;
  170. u16 lpf_biq0;
  171. u16 lna2;
  172. u16 lna1;
  173. s8 txpwrindex;
  174. };
  175. #define NPHY_IPA_RXCAL_MAXGAININDEX (6 - 1)
  176. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz[] = {
  177. {0, 0, 0, 0, 0, 100},
  178. {0, 0, 0, 0, 0, 50},
  179. {0, 0, 0, 0, 0, -1},
  180. {0, 0, 0, 3, 0, -1},
  181. {0, 0, 3, 3, 0, -1},
  182. {0, 2, 3, 3, 0, -1}
  183. };
  184. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz[] = {
  185. {0, 0, 0, 0, 0, 128},
  186. {0, 0, 0, 0, 0, 70},
  187. {0, 0, 0, 0, 0, 20},
  188. {0, 0, 0, 3, 0, 20},
  189. {0, 0, 3, 3, 0, 20},
  190. {0, 2, 3, 3, 0, 20}
  191. };
  192. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz_rev7[] = {
  193. {0, 0, 0, 0, 0, 100},
  194. {0, 0, 0, 0, 0, 50},
  195. {0, 0, 0, 0, 0, -1},
  196. {0, 0, 0, 3, 0, -1},
  197. {0, 0, 3, 3, 0, -1},
  198. {0, 0, 5, 3, 0, -1}
  199. };
  200. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz_rev7[] = {
  201. {0, 0, 0, 0, 0, 10},
  202. {0, 0, 0, 1, 0, 10},
  203. {0, 0, 1, 2, 0, 10},
  204. {0, 0, 1, 3, 0, 10},
  205. {0, 0, 4, 3, 0, 10},
  206. {0, 0, 6, 3, 0, 10}
  207. };
  208. enum {
  209. NPHY_RXCAL_GAIN_INIT = 0,
  210. NPHY_RXCAL_GAIN_UP,
  211. NPHY_RXCAL_GAIN_DOWN
  212. };
  213. #define wlc_phy_get_papd_nphy(pi) \
  214. (read_phy_reg((pi), 0x1e7) & \
  215. ((0x1 << 15) | \
  216. (0x1 << 14) | \
  217. (0x1 << 13)))
  218. static const u16 NPHY_IPA_REV4_txdigi_filtcoeffs[][NPHY_NUM_DIG_FILT_COEFFS] = {
  219. {-377, 137, -407, 208, -1527, 956, 93, 186, 93,
  220. 230, -44, 230, 201, -191, 201},
  221. {-77, 20, -98, 49, -93, 60, 56, 111, 56, 26, -5,
  222. 26, 34, -32, 34},
  223. {-360, 164, -376, 164, -1533, 576, 308, -314, 308,
  224. 121, -73, 121, 91, 124, 91},
  225. {-295, 200, -363, 142, -1391, 826, 151, 301, 151,
  226. 151, 301, 151, 602, -752, 602},
  227. {-92, 58, -96, 49, -104, 44, 17, 35, 17,
  228. 12, 25, 12, 13, 27, 13},
  229. {-375, 136, -399, 209, -1479, 949, 130, 260, 130,
  230. 230, -44, 230, 201, -191, 201},
  231. {0xed9, 0xc8, 0xe95, 0x8e, 0xa91, 0x33a, 0x97, 0x12d, 0x97,
  232. 0x97, 0x12d, 0x97, 0x25a, 0xd10, 0x25a}
  233. };
  234. struct chan_info_nphy_2055 {
  235. u16 chan;
  236. u16 freq;
  237. uint unknown;
  238. u8 RF_pll_ref;
  239. u8 RF_rf_pll_mod1;
  240. u8 RF_rf_pll_mod0;
  241. u8 RF_vco_cap_tail;
  242. u8 RF_vco_cal1;
  243. u8 RF_vco_cal2;
  244. u8 RF_pll_lf_c1;
  245. u8 RF_pll_lf_r1;
  246. u8 RF_pll_lf_c2;
  247. u8 RF_lgbuf_cen_buf;
  248. u8 RF_lgen_tune1;
  249. u8 RF_lgen_tune2;
  250. u8 RF_core1_lgbuf_a_tune;
  251. u8 RF_core1_lgbuf_g_tune;
  252. u8 RF_core1_rxrf_reg1;
  253. u8 RF_core1_tx_pga_pad_tn;
  254. u8 RF_core1_tx_mx_bgtrim;
  255. u8 RF_core2_lgbuf_a_tune;
  256. u8 RF_core2_lgbuf_g_tune;
  257. u8 RF_core2_rxrf_reg1;
  258. u8 RF_core2_tx_pga_pad_tn;
  259. u8 RF_core2_tx_mx_bgtrim;
  260. u16 PHY_BW1a;
  261. u16 PHY_BW2;
  262. u16 PHY_BW3;
  263. u16 PHY_BW4;
  264. u16 PHY_BW5;
  265. u16 PHY_BW6;
  266. };
  267. struct chan_info_nphy_radio205x {
  268. u16 chan;
  269. u16 freq;
  270. u8 RF_SYN_pll_vcocal1;
  271. u8 RF_SYN_pll_vcocal2;
  272. u8 RF_SYN_pll_refdiv;
  273. u8 RF_SYN_pll_mmd2;
  274. u8 RF_SYN_pll_mmd1;
  275. u8 RF_SYN_pll_loopfilter1;
  276. u8 RF_SYN_pll_loopfilter2;
  277. u8 RF_SYN_pll_loopfilter3;
  278. u8 RF_SYN_pll_loopfilter4;
  279. u8 RF_SYN_pll_loopfilter5;
  280. u8 RF_SYN_reserved_addr27;
  281. u8 RF_SYN_reserved_addr28;
  282. u8 RF_SYN_reserved_addr29;
  283. u8 RF_SYN_logen_VCOBUF1;
  284. u8 RF_SYN_logen_MIXER2;
  285. u8 RF_SYN_logen_BUF3;
  286. u8 RF_SYN_logen_BUF4;
  287. u8 RF_RX0_lnaa_tune;
  288. u8 RF_RX0_lnag_tune;
  289. u8 RF_TX0_intpaa_boost_tune;
  290. u8 RF_TX0_intpag_boost_tune;
  291. u8 RF_TX0_pada_boost_tune;
  292. u8 RF_TX0_padg_boost_tune;
  293. u8 RF_TX0_pgaa_boost_tune;
  294. u8 RF_TX0_pgag_boost_tune;
  295. u8 RF_TX0_mixa_boost_tune;
  296. u8 RF_TX0_mixg_boost_tune;
  297. u8 RF_RX1_lnaa_tune;
  298. u8 RF_RX1_lnag_tune;
  299. u8 RF_TX1_intpaa_boost_tune;
  300. u8 RF_TX1_intpag_boost_tune;
  301. u8 RF_TX1_pada_boost_tune;
  302. u8 RF_TX1_padg_boost_tune;
  303. u8 RF_TX1_pgaa_boost_tune;
  304. u8 RF_TX1_pgag_boost_tune;
  305. u8 RF_TX1_mixa_boost_tune;
  306. u8 RF_TX1_mixg_boost_tune;
  307. u16 PHY_BW1a;
  308. u16 PHY_BW2;
  309. u16 PHY_BW3;
  310. u16 PHY_BW4;
  311. u16 PHY_BW5;
  312. u16 PHY_BW6;
  313. };
  314. struct chan_info_nphy_radio2057 {
  315. u16 chan;
  316. u16 freq;
  317. u8 RF_vcocal_countval0;
  318. u8 RF_vcocal_countval1;
  319. u8 RF_rfpll_refmaster_sparextalsize;
  320. u8 RF_rfpll_loopfilter_r1;
  321. u8 RF_rfpll_loopfilter_c2;
  322. u8 RF_rfpll_loopfilter_c1;
  323. u8 RF_cp_kpd_idac;
  324. u8 RF_rfpll_mmd0;
  325. u8 RF_rfpll_mmd1;
  326. u8 RF_vcobuf_tune;
  327. u8 RF_logen_mx2g_tune;
  328. u8 RF_logen_mx5g_tune;
  329. u8 RF_logen_indbuf2g_tune;
  330. u8 RF_logen_indbuf5g_tune;
  331. u8 RF_txmix2g_tune_boost_pu_core0;
  332. u8 RF_pad2g_tune_pus_core0;
  333. u8 RF_pga_boost_tune_core0;
  334. u8 RF_txmix5g_boost_tune_core0;
  335. u8 RF_pad5g_tune_misc_pus_core0;
  336. u8 RF_lna2g_tune_core0;
  337. u8 RF_lna5g_tune_core0;
  338. u8 RF_txmix2g_tune_boost_pu_core1;
  339. u8 RF_pad2g_tune_pus_core1;
  340. u8 RF_pga_boost_tune_core1;
  341. u8 RF_txmix5g_boost_tune_core1;
  342. u8 RF_pad5g_tune_misc_pus_core1;
  343. u8 RF_lna2g_tune_core1;
  344. u8 RF_lna5g_tune_core1;
  345. u16 PHY_BW1a;
  346. u16 PHY_BW2;
  347. u16 PHY_BW3;
  348. u16 PHY_BW4;
  349. u16 PHY_BW5;
  350. u16 PHY_BW6;
  351. };
  352. struct chan_info_nphy_radio2057_rev5 {
  353. u16 chan;
  354. u16 freq;
  355. u8 RF_vcocal_countval0;
  356. u8 RF_vcocal_countval1;
  357. u8 RF_rfpll_refmaster_sparextalsize;
  358. u8 RF_rfpll_loopfilter_r1;
  359. u8 RF_rfpll_loopfilter_c2;
  360. u8 RF_rfpll_loopfilter_c1;
  361. u8 RF_cp_kpd_idac;
  362. u8 RF_rfpll_mmd0;
  363. u8 RF_rfpll_mmd1;
  364. u8 RF_vcobuf_tune;
  365. u8 RF_logen_mx2g_tune;
  366. u8 RF_logen_indbuf2g_tune;
  367. u8 RF_txmix2g_tune_boost_pu_core0;
  368. u8 RF_pad2g_tune_pus_core0;
  369. u8 RF_lna2g_tune_core0;
  370. u8 RF_txmix2g_tune_boost_pu_core1;
  371. u8 RF_pad2g_tune_pus_core1;
  372. u8 RF_lna2g_tune_core1;
  373. u16 PHY_BW1a;
  374. u16 PHY_BW2;
  375. u16 PHY_BW3;
  376. u16 PHY_BW4;
  377. u16 PHY_BW5;
  378. u16 PHY_BW6;
  379. };
  380. struct nphy_sfo_cfg {
  381. u16 PHY_BW1a;
  382. u16 PHY_BW2;
  383. u16 PHY_BW3;
  384. u16 PHY_BW4;
  385. u16 PHY_BW5;
  386. u16 PHY_BW6;
  387. };
  388. static const struct chan_info_nphy_2055 chan_info_nphy_2055[] = {
  389. {
  390. 184, 4920, 3280, 0x71, 0x01, 0xEC, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  391. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  392. 0x0F, 0x8F, 0x7B4, 0x7B0, 0x7AC, 0x214, 0x215, 0x216},
  393. {
  394. 186, 4930, 3287, 0x71, 0x01, 0xED, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  395. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  396. 0x0F, 0x8F, 0x7B8, 0x7B4, 0x7B0, 0x213, 0x214, 0x215},
  397. {
  398. 188, 4940, 3293, 0x71, 0x01, 0xEE, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  399. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  400. 0x0F, 0x8F, 0x7BC, 0x7B8, 0x7B4, 0x212, 0x213, 0x214},
  401. {
  402. 190, 4950, 3300, 0x71, 0x01, 0xEF, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  403. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  404. 0x0F, 0x8F, 0x7C0, 0x7BC, 0x7B8, 0x211, 0x212, 0x213},
  405. {
  406. 192, 4960, 3307, 0x71, 0x01, 0xF0, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  407. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  408. 0x0F, 0x8F, 0x7C4, 0x7C0, 0x7BC, 0x20F, 0x211, 0x212},
  409. {
  410. 194, 4970, 3313, 0x71, 0x01, 0xF1, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  411. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  412. 0x0F, 0x8F, 0x7C8, 0x7C4, 0x7C0, 0x20E, 0x20F, 0x211},
  413. {
  414. 196, 4980, 3320, 0x71, 0x01, 0xF2, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  415. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  416. 0x0F, 0x8F, 0x7CC, 0x7C8, 0x7C4, 0x20D, 0x20E, 0x20F},
  417. {
  418. 198, 4990, 3327, 0x71, 0x01, 0xF3, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  419. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  420. 0x0F, 0x8F, 0x7D0, 0x7CC, 0x7C8, 0x20C, 0x20D, 0x20E},
  421. {
  422. 200, 5000, 3333, 0x71, 0x01, 0xF4, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  423. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  424. 0x0F, 0x8F, 0x7D4, 0x7D0, 0x7CC, 0x20B, 0x20C, 0x20D},
  425. {
  426. 202, 5010, 3340, 0x71, 0x01, 0xF5, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  427. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  428. 0x0F, 0x8F, 0x7D8, 0x7D4, 0x7D0, 0x20A, 0x20B, 0x20C},
  429. {
  430. 204, 5020, 3347, 0x71, 0x01, 0xF6, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  431. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  432. 0x0F, 0x8F, 0x7DC, 0x7D8, 0x7D4, 0x209, 0x20A, 0x20B},
  433. {
  434. 206, 5030, 3353, 0x71, 0x01, 0xF7, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  435. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  436. 0x0F, 0x8F, 0x7E0, 0x7DC, 0x7D8, 0x208, 0x209, 0x20A},
  437. {
  438. 208, 5040, 3360, 0x71, 0x01, 0xF8, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  439. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  440. 0x0F, 0x8F, 0x7E4, 0x7E0, 0x7DC, 0x207, 0x208, 0x209},
  441. {
  442. 210, 5050, 3367, 0x71, 0x01, 0xF9, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  443. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  444. 0x0F, 0x8F, 0x7E8, 0x7E4, 0x7E0, 0x206, 0x207, 0x208},
  445. {
  446. 212, 5060, 3373, 0x71, 0x01, 0xFA, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  447. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  448. 0x0F, 0x8E, 0x7EC, 0x7E8, 0x7E4, 0x205, 0x206, 0x207},
  449. {
  450. 214, 5070, 3380, 0x71, 0x01, 0xFB, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  451. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  452. 0x0F, 0x8E, 0x7F0, 0x7EC, 0x7E8, 0x204, 0x205, 0x206},
  453. {
  454. 216, 5080, 3387, 0x71, 0x01, 0xFC, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  455. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  456. 0x0F, 0x8D, 0x7F4, 0x7F0, 0x7EC, 0x203, 0x204, 0x205},
  457. {
  458. 218, 5090, 3393, 0x71, 0x01, 0xFD, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  459. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  460. 0x0F, 0x8D, 0x7F8, 0x7F4, 0x7F0, 0x202, 0x203, 0x204},
  461. {
  462. 220, 5100, 3400, 0x71, 0x01, 0xFE, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  463. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  464. 0x0F, 0x8D, 0x7FC, 0x7F8, 0x7F4, 0x201, 0x202, 0x203},
  465. {
  466. 222, 5110, 3407, 0x71, 0x01, 0xFF, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  467. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  468. 0x0F, 0x8D, 0x800, 0x7FC, 0x7F8, 0x200, 0x201, 0x202},
  469. {
  470. 224, 5120, 3413, 0x71, 0x02, 0x00, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  471. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  472. 0x0F, 0x8C, 0x804, 0x800, 0x7FC, 0x1FF, 0x200, 0x201},
  473. {
  474. 226, 5130, 3420, 0x71, 0x02, 0x01, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  475. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  476. 0x0F, 0x8C, 0x808, 0x804, 0x800, 0x1FE, 0x1FF, 0x200},
  477. {
  478. 228, 5140, 3427, 0x71, 0x02, 0x02, 0x0C, 0xC6, 0x01, 0x04, 0x0A,
  479. 0x00, 0x8D, 0x99, 0x99, 0xDD, 0x00, 0x0C, 0x0E, 0x8B, 0xDD, 0x00, 0x0C,
  480. 0x0E, 0x8B, 0x80C, 0x808, 0x804, 0x1FD, 0x1FE, 0x1FF},
  481. {
  482. 32, 5160, 3440, 0x71, 0x02, 0x04, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  483. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  484. 0x0D, 0x8A, 0x814, 0x810, 0x80C, 0x1FB, 0x1FC, 0x1FD},
  485. {
  486. 34, 5170, 3447, 0x71, 0x02, 0x05, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  487. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  488. 0x0D, 0x8A, 0x818, 0x814, 0x810, 0x1FA, 0x1FB, 0x1FC},
  489. {
  490. 36, 5180, 3453, 0x71, 0x02, 0x06, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  491. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  492. 0x0C, 0x89, 0x81C, 0x818, 0x814, 0x1F9, 0x1FA, 0x1FB},
  493. {
  494. 38, 5190, 3460, 0x71, 0x02, 0x07, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  495. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  496. 0x0C, 0x89, 0x820, 0x81C, 0x818, 0x1F8, 0x1F9, 0x1FA},
  497. {
  498. 40, 5200, 3467, 0x71, 0x02, 0x08, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  499. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  500. 0x0B, 0x89, 0x824, 0x820, 0x81C, 0x1F7, 0x1F8, 0x1F9},
  501. {
  502. 42, 5210, 3473, 0x71, 0x02, 0x09, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  503. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  504. 0x0B, 0x89, 0x828, 0x824, 0x820, 0x1F6, 0x1F7, 0x1F8},
  505. {
  506. 44, 5220, 3480, 0x71, 0x02, 0x0A, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  507. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  508. 0x0A, 0x88, 0x82C, 0x828, 0x824, 0x1F5, 0x1F6, 0x1F7},
  509. {
  510. 46, 5230, 3487, 0x71, 0x02, 0x0B, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  511. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  512. 0x0A, 0x88, 0x830, 0x82C, 0x828, 0x1F4, 0x1F5, 0x1F6},
  513. {
  514. 48, 5240, 3493, 0x71, 0x02, 0x0C, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  515. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  516. 0x0A, 0x87, 0x834, 0x830, 0x82C, 0x1F3, 0x1F4, 0x1F5},
  517. {
  518. 50, 5250, 3500, 0x71, 0x02, 0x0D, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  519. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  520. 0x0A, 0x87, 0x838, 0x834, 0x830, 0x1F2, 0x1F3, 0x1F4},
  521. {
  522. 52, 5260, 3507, 0x71, 0x02, 0x0E, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  523. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  524. 0x09, 0x87, 0x83C, 0x838, 0x834, 0x1F1, 0x1F2, 0x1F3},
  525. {
  526. 54, 5270, 3513, 0x71, 0x02, 0x0F, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  527. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  528. 0x09, 0x87, 0x840, 0x83C, 0x838, 0x1F0, 0x1F1, 0x1F2},
  529. {
  530. 56, 5280, 3520, 0x71, 0x02, 0x10, 0x09, 0x91, 0x01, 0x04, 0x0A,
  531. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  532. 0x08, 0x86, 0x844, 0x840, 0x83C, 0x1F0, 0x1F0, 0x1F1},
  533. {
  534. 58, 5290, 3527, 0x71, 0x02, 0x11, 0x09, 0x91, 0x01, 0x04, 0x0A,
  535. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  536. 0x08, 0x86, 0x848, 0x844, 0x840, 0x1EF, 0x1F0, 0x1F0},
  537. {
  538. 60, 5300, 3533, 0x71, 0x02, 0x12, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  539. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  540. 0x07, 0x85, 0x84C, 0x848, 0x844, 0x1EE, 0x1EF, 0x1F0},
  541. {
  542. 62, 5310, 3540, 0x71, 0x02, 0x13, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  543. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  544. 0x07, 0x85, 0x850, 0x84C, 0x848, 0x1ED, 0x1EE, 0x1EF},
  545. {
  546. 64, 5320, 3547, 0x71, 0x02, 0x14, 0x09, 0x83, 0x01, 0x04, 0x0A,
  547. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  548. 0x07, 0x84, 0x854, 0x850, 0x84C, 0x1EC, 0x1ED, 0x1EE},
  549. {
  550. 66, 5330, 3553, 0x71, 0x02, 0x15, 0x09, 0x83, 0x01, 0x04, 0x0A,
  551. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  552. 0x07, 0x84, 0x858, 0x854, 0x850, 0x1EB, 0x1EC, 0x1ED},
  553. {
  554. 68, 5340, 3560, 0x71, 0x02, 0x16, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  555. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  556. 0x06, 0x84, 0x85C, 0x858, 0x854, 0x1EA, 0x1EB, 0x1EC},
  557. {
  558. 70, 5350, 3567, 0x71, 0x02, 0x17, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  559. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  560. 0x06, 0x84, 0x860, 0x85C, 0x858, 0x1E9, 0x1EA, 0x1EB},
  561. {
  562. 72, 5360, 3573, 0x71, 0x02, 0x18, 0x08, 0x75, 0x01, 0x04, 0x0A,
  563. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  564. 0x05, 0x83, 0x864, 0x860, 0x85C, 0x1E8, 0x1E9, 0x1EA},
  565. {
  566. 74, 5370, 3580, 0x71, 0x02, 0x19, 0x08, 0x75, 0x01, 0x04, 0x0A,
  567. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  568. 0x05, 0x83, 0x868, 0x864, 0x860, 0x1E7, 0x1E8, 0x1E9},
  569. {
  570. 76, 5380, 3587, 0x71, 0x02, 0x1A, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  571. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  572. 0x04, 0x82, 0x86C, 0x868, 0x864, 0x1E6, 0x1E7, 0x1E8},
  573. {
  574. 78, 5390, 3593, 0x71, 0x02, 0x1B, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  575. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  576. 0x04, 0x82, 0x870, 0x86C, 0x868, 0x1E5, 0x1E6, 0x1E7},
  577. {
  578. 80, 5400, 3600, 0x71, 0x02, 0x1C, 0x07, 0x67, 0x01, 0x04, 0x0A,
  579. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  580. 0x04, 0x81, 0x874, 0x870, 0x86C, 0x1E5, 0x1E5, 0x1E6},
  581. {
  582. 82, 5410, 3607, 0x71, 0x02, 0x1D, 0x07, 0x67, 0x01, 0x04, 0x0A,
  583. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  584. 0x04, 0x81, 0x878, 0x874, 0x870, 0x1E4, 0x1E5, 0x1E5},
  585. {
  586. 84, 5420, 3613, 0x71, 0x02, 0x1E, 0x07, 0x61, 0x01, 0x04, 0x0A,
  587. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  588. 0x03, 0x80, 0x87C, 0x878, 0x874, 0x1E3, 0x1E4, 0x1E5},
  589. {
  590. 86, 5430, 3620, 0x71, 0x02, 0x1F, 0x07, 0x61, 0x01, 0x04, 0x0A,
  591. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  592. 0x03, 0x80, 0x880, 0x87C, 0x878, 0x1E2, 0x1E3, 0x1E4},
  593. {
  594. 88, 5440, 3627, 0x71, 0x02, 0x20, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  595. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  596. 0x02, 0x80, 0x884, 0x880, 0x87C, 0x1E1, 0x1E2, 0x1E3},
  597. {
  598. 90, 5450, 3633, 0x71, 0x02, 0x21, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  599. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  600. 0x02, 0x80, 0x888, 0x884, 0x880, 0x1E0, 0x1E1, 0x1E2},
  601. {
  602. 92, 5460, 3640, 0x71, 0x02, 0x22, 0x06, 0x53, 0x01, 0x04, 0x0A,
  603. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  604. 0x01, 0x80, 0x88C, 0x888, 0x884, 0x1DF, 0x1E0, 0x1E1},
  605. {
  606. 94, 5470, 3647, 0x71, 0x02, 0x23, 0x06, 0x53, 0x01, 0x04, 0x0A,
  607. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  608. 0x01, 0x80, 0x890, 0x88C, 0x888, 0x1DE, 0x1DF, 0x1E0},
  609. {
  610. 96, 5480, 3653, 0x71, 0x02, 0x24, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  611. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  612. 0x00, 0x80, 0x894, 0x890, 0x88C, 0x1DD, 0x1DE, 0x1DF},
  613. {
  614. 98, 5490, 3660, 0x71, 0x02, 0x25, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  615. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  616. 0x00, 0x80, 0x898, 0x894, 0x890, 0x1DD, 0x1DD, 0x1DE},
  617. {
  618. 100, 5500, 3667, 0x71, 0x02, 0x26, 0x06, 0x47, 0x01, 0x04, 0x0A,
  619. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  620. 0x00, 0x80, 0x89C, 0x898, 0x894, 0x1DC, 0x1DD, 0x1DD},
  621. {
  622. 102, 5510, 3673, 0x71, 0x02, 0x27, 0x06, 0x47, 0x01, 0x04, 0x0A,
  623. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  624. 0x00, 0x80, 0x8A0, 0x89C, 0x898, 0x1DB, 0x1DC, 0x1DD},
  625. {
  626. 104, 5520, 3680, 0x71, 0x02, 0x28, 0x05, 0x40, 0x01, 0x04, 0x0A,
  627. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  628. 0x00, 0x80, 0x8A4, 0x8A0, 0x89C, 0x1DA, 0x1DB, 0x1DC},
  629. {
  630. 106, 5530, 3687, 0x71, 0x02, 0x29, 0x05, 0x40, 0x01, 0x04, 0x0A,
  631. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  632. 0x00, 0x80, 0x8A8, 0x8A4, 0x8A0, 0x1D9, 0x1DA, 0x1DB},
  633. {
  634. 108, 5540, 3693, 0x71, 0x02, 0x2A, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  635. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  636. 0x00, 0x80, 0x8AC, 0x8A8, 0x8A4, 0x1D8, 0x1D9, 0x1DA},
  637. {
  638. 110, 5550, 3700, 0x71, 0x02, 0x2B, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  639. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  640. 0x00, 0x80, 0x8B0, 0x8AC, 0x8A8, 0x1D7, 0x1D8, 0x1D9},
  641. {
  642. 112, 5560, 3707, 0x71, 0x02, 0x2C, 0x05, 0x34, 0x01, 0x04, 0x0A,
  643. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  644. 0x00, 0x80, 0x8B4, 0x8B0, 0x8AC, 0x1D7, 0x1D7, 0x1D8},
  645. {
  646. 114, 5570, 3713, 0x71, 0x02, 0x2D, 0x05, 0x34, 0x01, 0x04, 0x0A,
  647. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  648. 0x00, 0x80, 0x8B8, 0x8B4, 0x8B0, 0x1D6, 0x1D7, 0x1D7},
  649. {
  650. 116, 5580, 3720, 0x71, 0x02, 0x2E, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  651. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  652. 0x00, 0x80, 0x8BC, 0x8B8, 0x8B4, 0x1D5, 0x1D6, 0x1D7},
  653. {
  654. 118, 5590, 3727, 0x71, 0x02, 0x2F, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  655. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  656. 0x00, 0x80, 0x8C0, 0x8BC, 0x8B8, 0x1D4, 0x1D5, 0x1D6},
  657. {
  658. 120, 5600, 3733, 0x71, 0x02, 0x30, 0x04, 0x28, 0x01, 0x04, 0x0A,
  659. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  660. 0x00, 0x80, 0x8C4, 0x8C0, 0x8BC, 0x1D3, 0x1D4, 0x1D5},
  661. {
  662. 122, 5610, 3740, 0x71, 0x02, 0x31, 0x04, 0x28, 0x01, 0x04, 0x0A,
  663. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  664. 0x00, 0x80, 0x8C8, 0x8C4, 0x8C0, 0x1D2, 0x1D3, 0x1D4},
  665. {
  666. 124, 5620, 3747, 0x71, 0x02, 0x32, 0x04, 0x21, 0x01, 0x04, 0x0A,
  667. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  668. 0x00, 0x80, 0x8CC, 0x8C8, 0x8C4, 0x1D2, 0x1D2, 0x1D3},
  669. {
  670. 126, 5630, 3753, 0x71, 0x02, 0x33, 0x04, 0x21, 0x01, 0x04, 0x0A,
  671. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  672. 0x00, 0x80, 0x8D0, 0x8CC, 0x8C8, 0x1D1, 0x1D2, 0x1D2},
  673. {
  674. 128, 5640, 3760, 0x71, 0x02, 0x34, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  675. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  676. 0x00, 0x80, 0x8D4, 0x8D0, 0x8CC, 0x1D0, 0x1D1, 0x1D2},
  677. {
  678. 130, 5650, 3767, 0x71, 0x02, 0x35, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  679. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  680. 0x00, 0x80, 0x8D8, 0x8D4, 0x8D0, 0x1CF, 0x1D0, 0x1D1},
  681. {
  682. 132, 5660, 3773, 0x71, 0x02, 0x36, 0x03, 0x16, 0x01, 0x04, 0x0A,
  683. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  684. 0x00, 0x80, 0x8DC, 0x8D8, 0x8D4, 0x1CE, 0x1CF, 0x1D0},
  685. {
  686. 134, 5670, 3780, 0x71, 0x02, 0x37, 0x03, 0x16, 0x01, 0x04, 0x0A,
  687. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  688. 0x00, 0x80, 0x8E0, 0x8DC, 0x8D8, 0x1CE, 0x1CE, 0x1CF},
  689. {
  690. 136, 5680, 3787, 0x71, 0x02, 0x38, 0x03, 0x10, 0x01, 0x04, 0x0A,
  691. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  692. 0x00, 0x80, 0x8E4, 0x8E0, 0x8DC, 0x1CD, 0x1CE, 0x1CE},
  693. {
  694. 138, 5690, 3793, 0x71, 0x02, 0x39, 0x03, 0x10, 0x01, 0x04, 0x0A,
  695. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  696. 0x00, 0x80, 0x8E8, 0x8E4, 0x8E0, 0x1CC, 0x1CD, 0x1CE},
  697. {
  698. 140, 5700, 3800, 0x71, 0x02, 0x3A, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  699. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  700. 0x00, 0x80, 0x8EC, 0x8E8, 0x8E4, 0x1CB, 0x1CC, 0x1CD},
  701. {
  702. 142, 5710, 3807, 0x71, 0x02, 0x3B, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  703. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  704. 0x00, 0x80, 0x8F0, 0x8EC, 0x8E8, 0x1CA, 0x1CB, 0x1CC},
  705. {
  706. 144, 5720, 3813, 0x71, 0x02, 0x3C, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  707. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  708. 0x00, 0x80, 0x8F4, 0x8F0, 0x8EC, 0x1C9, 0x1CA, 0x1CB},
  709. {
  710. 145, 5725, 3817, 0x72, 0x04, 0x79, 0x02, 0x03, 0x01, 0x03, 0x14,
  711. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  712. 0x00, 0x80, 0x8F6, 0x8F2, 0x8EE, 0x1C9, 0x1CA, 0x1CB},
  713. {
  714. 146, 5730, 3820, 0x71, 0x02, 0x3D, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  715. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  716. 0x00, 0x80, 0x8F8, 0x8F4, 0x8F0, 0x1C9, 0x1C9, 0x1CA},
  717. {
  718. 147, 5735, 3823, 0x72, 0x04, 0x7B, 0x02, 0x03, 0x01, 0x03, 0x14,
  719. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  720. 0x00, 0x80, 0x8FA, 0x8F6, 0x8F2, 0x1C8, 0x1C9, 0x1CA},
  721. {
  722. 148, 5740, 3827, 0x71, 0x02, 0x3E, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  723. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  724. 0x00, 0x80, 0x8FC, 0x8F8, 0x8F4, 0x1C8, 0x1C9, 0x1C9},
  725. {
  726. 149, 5745, 3830, 0x72, 0x04, 0x7D, 0x02, 0xFE, 0x00, 0x03, 0x14,
  727. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  728. 0x00, 0x80, 0x8FE, 0x8FA, 0x8F6, 0x1C8, 0x1C8, 0x1C9},
  729. {
  730. 150, 5750, 3833, 0x71, 0x02, 0x3F, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  731. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  732. 0x00, 0x80, 0x900, 0x8FC, 0x8F8, 0x1C7, 0x1C8, 0x1C9},
  733. {
  734. 151, 5755, 3837, 0x72, 0x04, 0x7F, 0x02, 0xFE, 0x00, 0x03, 0x14,
  735. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  736. 0x00, 0x80, 0x902, 0x8FE, 0x8FA, 0x1C7, 0x1C8, 0x1C8},
  737. {
  738. 152, 5760, 3840, 0x71, 0x02, 0x40, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  739. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  740. 0x00, 0x80, 0x904, 0x900, 0x8FC, 0x1C6, 0x1C7, 0x1C8},
  741. {
  742. 153, 5765, 3843, 0x72, 0x04, 0x81, 0x02, 0xF8, 0x00, 0x03, 0x14,
  743. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  744. 0x00, 0x80, 0x906, 0x902, 0x8FE, 0x1C6, 0x1C7, 0x1C8},
  745. {
  746. 154, 5770, 3847, 0x71, 0x02, 0x41, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  747. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  748. 0x00, 0x80, 0x908, 0x904, 0x900, 0x1C6, 0x1C6, 0x1C7},
  749. {
  750. 155, 5775, 3850, 0x72, 0x04, 0x83, 0x02, 0xF8, 0x00, 0x03, 0x14,
  751. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  752. 0x00, 0x80, 0x90A, 0x906, 0x902, 0x1C5, 0x1C6, 0x1C7},
  753. {
  754. 156, 5780, 3853, 0x71, 0x02, 0x42, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  755. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  756. 0x00, 0x80, 0x90C, 0x908, 0x904, 0x1C5, 0x1C6, 0x1C6},
  757. {
  758. 157, 5785, 3857, 0x72, 0x04, 0x85, 0x02, 0xF2, 0x00, 0x03, 0x14,
  759. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  760. 0x00, 0x80, 0x90E, 0x90A, 0x906, 0x1C4, 0x1C5, 0x1C6},
  761. {
  762. 158, 5790, 3860, 0x71, 0x02, 0x43, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  763. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  764. 0x00, 0x80, 0x910, 0x90C, 0x908, 0x1C4, 0x1C5, 0x1C6},
  765. {
  766. 159, 5795, 3863, 0x72, 0x04, 0x87, 0x02, 0xF2, 0x00, 0x03, 0x14,
  767. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  768. 0x00, 0x80, 0x912, 0x90E, 0x90A, 0x1C4, 0x1C4, 0x1C5},
  769. {
  770. 160, 5800, 3867, 0x71, 0x02, 0x44, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  771. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  772. 0x00, 0x80, 0x914, 0x910, 0x90C, 0x1C3, 0x1C4, 0x1C5},
  773. {
  774. 161, 5805, 3870, 0x72, 0x04, 0x89, 0x01, 0xED, 0x00, 0x03, 0x14,
  775. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  776. 0x00, 0x80, 0x916, 0x912, 0x90E, 0x1C3, 0x1C4, 0x1C4},
  777. {
  778. 162, 5810, 3873, 0x71, 0x02, 0x45, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  779. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  780. 0x00, 0x80, 0x918, 0x914, 0x910, 0x1C2, 0x1C3, 0x1C4},
  781. {
  782. 163, 5815, 3877, 0x72, 0x04, 0x8B, 0x01, 0xED, 0x00, 0x03, 0x14,
  783. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  784. 0x00, 0x80, 0x91A, 0x916, 0x912, 0x1C2, 0x1C3, 0x1C4},
  785. {
  786. 164, 5820, 3880, 0x71, 0x02, 0x46, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  787. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  788. 0x00, 0x80, 0x91C, 0x918, 0x914, 0x1C2, 0x1C2, 0x1C3},
  789. {
  790. 165, 5825, 3883, 0x72, 0x04, 0x8D, 0x01, 0xED, 0x00, 0x03, 0x14,
  791. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  792. 0x00, 0x80, 0x91E, 0x91A, 0x916, 0x1C1, 0x1C2, 0x1C3},
  793. {
  794. 166, 5830, 3887, 0x71, 0x02, 0x47, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  795. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  796. 0x00, 0x80, 0x920, 0x91C, 0x918, 0x1C1, 0x1C2, 0x1C2},
  797. {
  798. 168, 5840, 3893, 0x71, 0x02, 0x48, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  799. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  800. 0x00, 0x80, 0x924, 0x920, 0x91C, 0x1C0, 0x1C1, 0x1C2},
  801. {
  802. 170, 5850, 3900, 0x71, 0x02, 0x49, 0x01, 0xE0, 0x00, 0x04, 0x0A,
  803. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  804. 0x00, 0x80, 0x928, 0x924, 0x920, 0x1BF, 0x1C0, 0x1C1},
  805. {
  806. 172, 5860, 3907, 0x71, 0x02, 0x4A, 0x01, 0xDE, 0x00, 0x04, 0x0A,
  807. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  808. 0x00, 0x80, 0x92C, 0x928, 0x924, 0x1BF, 0x1BF, 0x1C0},
  809. {
  810. 174, 5870, 3913, 0x71, 0x02, 0x4B, 0x00, 0xDB, 0x00, 0x04, 0x0A,
  811. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  812. 0x00, 0x80, 0x930, 0x92C, 0x928, 0x1BE, 0x1BF, 0x1BF},
  813. {
  814. 176, 5880, 3920, 0x71, 0x02, 0x4C, 0x00, 0xD8, 0x00, 0x04, 0x0A,
  815. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  816. 0x00, 0x80, 0x934, 0x930, 0x92C, 0x1BD, 0x1BE, 0x1BF},
  817. {
  818. 178, 5890, 3927, 0x71, 0x02, 0x4D, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  819. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  820. 0x00, 0x80, 0x938, 0x934, 0x930, 0x1BC, 0x1BD, 0x1BE},
  821. {
  822. 180, 5900, 3933, 0x71, 0x02, 0x4E, 0x00, 0xD3, 0x00, 0x04, 0x0A,
  823. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  824. 0x00, 0x80, 0x93C, 0x938, 0x934, 0x1BC, 0x1BC, 0x1BD},
  825. {
  826. 182, 5910, 3940, 0x71, 0x02, 0x4F, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  827. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  828. 0x00, 0x80, 0x940, 0x93C, 0x938, 0x1BB, 0x1BC, 0x1BC},
  829. {
  830. 1, 2412, 3216, 0x73, 0x09, 0x6C, 0x0F, 0x00, 0x01, 0x07, 0x15,
  831. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0D, 0x0C, 0x80, 0xFF, 0x88, 0x0D,
  832. 0x0C, 0x80, 0x3C9, 0x3C5, 0x3C1, 0x43A, 0x43F, 0x443},
  833. {
  834. 2, 2417, 3223, 0x73, 0x09, 0x71, 0x0F, 0x00, 0x01, 0x07, 0x15,
  835. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0B, 0x80, 0xFF, 0x88, 0x0C,
  836. 0x0B, 0x80, 0x3CB, 0x3C7, 0x3C3, 0x438, 0x43D, 0x441},
  837. {
  838. 3, 2422, 3229, 0x73, 0x09, 0x76, 0x0F, 0x00, 0x01, 0x07, 0x15,
  839. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  840. 0x0A, 0x80, 0x3CD, 0x3C9, 0x3C5, 0x436, 0x43A, 0x43F},
  841. {
  842. 4, 2427, 3236, 0x73, 0x09, 0x7B, 0x0F, 0x00, 0x01, 0x07, 0x15,
  843. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  844. 0x0A, 0x80, 0x3CF, 0x3CB, 0x3C7, 0x434, 0x438, 0x43D},
  845. {
  846. 5, 2432, 3243, 0x73, 0x09, 0x80, 0x0F, 0x00, 0x01, 0x07, 0x15,
  847. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x09, 0x80, 0xFF, 0x88, 0x0C,
  848. 0x09, 0x80, 0x3D1, 0x3CD, 0x3C9, 0x431, 0x436, 0x43A},
  849. {
  850. 6, 2437, 3249, 0x73, 0x09, 0x85, 0x0F, 0x00, 0x01, 0x07, 0x15,
  851. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0B, 0x08, 0x80, 0xFF, 0x88, 0x0B,
  852. 0x08, 0x80, 0x3D3, 0x3CF, 0x3CB, 0x42F, 0x434, 0x438},
  853. {
  854. 7, 2442, 3256, 0x73, 0x09, 0x8A, 0x0F, 0x00, 0x01, 0x07, 0x15,
  855. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x07, 0x80, 0xFF, 0x88, 0x0A,
  856. 0x07, 0x80, 0x3D5, 0x3D1, 0x3CD, 0x42D, 0x431, 0x436},
  857. {
  858. 8, 2447, 3263, 0x73, 0x09, 0x8F, 0x0F, 0x00, 0x01, 0x07, 0x15,
  859. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x06, 0x80, 0xFF, 0x88, 0x0A,
  860. 0x06, 0x80, 0x3D7, 0x3D3, 0x3CF, 0x42B, 0x42F, 0x434},
  861. {
  862. 9, 2452, 3269, 0x73, 0x09, 0x94, 0x0F, 0x00, 0x01, 0x07, 0x15,
  863. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x09, 0x06, 0x80, 0xFF, 0x88, 0x09,
  864. 0x06, 0x80, 0x3D9, 0x3D5, 0x3D1, 0x429, 0x42D, 0x431},
  865. {
  866. 10, 2457, 3276, 0x73, 0x09, 0x99, 0x0F, 0x00, 0x01, 0x07, 0x15,
  867. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x05, 0x80, 0xFF, 0x88, 0x08,
  868. 0x05, 0x80, 0x3DB, 0x3D7, 0x3D3, 0x427, 0x42B, 0x42F},
  869. {
  870. 11, 2462, 3283, 0x73, 0x09, 0x9E, 0x0F, 0x00, 0x01, 0x07, 0x15,
  871. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x04, 0x80, 0xFF, 0x88, 0x08,
  872. 0x04, 0x80, 0x3DD, 0x3D9, 0x3D5, 0x424, 0x429, 0x42D},
  873. {
  874. 12, 2467, 3289, 0x73, 0x09, 0xA3, 0x0F, 0x00, 0x01, 0x07, 0x15,
  875. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x03, 0x80, 0xFF, 0x88, 0x08,
  876. 0x03, 0x80, 0x3DF, 0x3DB, 0x3D7, 0x422, 0x427, 0x42B},
  877. {
  878. 13, 2472, 3296, 0x73, 0x09, 0xA8, 0x0F, 0x00, 0x01, 0x07, 0x15,
  879. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x03, 0x80, 0xFF, 0x88, 0x07,
  880. 0x03, 0x80, 0x3E1, 0x3DD, 0x3D9, 0x420, 0x424, 0x429},
  881. {
  882. 14, 2484, 3312, 0x73, 0x09, 0xB4, 0x0F, 0xFF, 0x01, 0x07, 0x15,
  883. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x01, 0x80, 0xFF, 0x88, 0x07,
  884. 0x01, 0x80, 0x3E6, 0x3E2, 0x3DE, 0x41B, 0x41F, 0x424}
  885. };
  886. static const struct chan_info_nphy_radio205x chan_info_nphyrev3_2056[] = {
  887. {
  888. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  889. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  890. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  891. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  892. {
  893. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  894. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  895. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  896. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  897. {
  898. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  899. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  900. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  901. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  902. {
  903. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  904. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  905. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  906. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  907. {
  908. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  909. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  910. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  911. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  912. {
  913. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  914. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  915. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  916. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  917. {
  918. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  919. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  920. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  921. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  922. {
  923. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  924. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  925. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  926. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  927. {
  928. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  929. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  930. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  931. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  932. {
  933. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  934. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  935. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  936. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  937. {
  938. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  939. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  940. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  941. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  942. {
  943. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  944. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  945. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  946. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  947. {
  948. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  949. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  950. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  951. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  952. {
  953. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  954. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  955. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  956. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  957. {
  958. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  959. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  960. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  961. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  962. {
  963. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  964. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  965. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  966. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  967. {
  968. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  969. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  970. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  971. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  972. {
  973. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  974. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  975. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  976. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  977. {
  978. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  979. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  980. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  981. 0x00, 0xff, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  982. {
  983. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  984. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  985. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  986. 0x00, 0xfc, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  987. {
  988. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  989. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  990. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  991. 0x00, 0xfc, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  992. {
  993. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  994. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  995. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  996. 0x00, 0xfc, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  997. {
  998. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  999. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1000. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1001. 0x00, 0xfc, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1002. {
  1003. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1004. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1005. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1006. 0x00, 0xfc, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1007. {
  1008. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1009. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1010. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1011. 0x00, 0xfc, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1012. {
  1013. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1014. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1015. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1016. 0x00, 0xfc, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1017. {
  1018. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1019. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1020. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1021. 0x00, 0xfc, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1022. {
  1023. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1024. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x06, 0x00, 0x7f,
  1025. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1026. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1027. {
  1028. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1029. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1030. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1031. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1032. {
  1033. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1034. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1035. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1036. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1037. {
  1038. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1039. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1040. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1041. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1042. {
  1043. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1044. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1045. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1046. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1047. {
  1048. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1049. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1050. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1051. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1052. {
  1053. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1054. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1055. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1056. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1057. {
  1058. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1059. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1060. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1061. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1062. {
  1063. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1064. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1065. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1066. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1067. {
  1068. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1069. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1070. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1071. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1072. {
  1073. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1074. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1075. 0x00, 0x09, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1076. 0x00, 0xfc, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1077. {
  1078. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1079. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1080. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1081. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1082. {
  1083. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1084. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1085. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1086. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1087. {
  1088. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1089. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1090. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1091. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1092. {
  1093. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1094. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1095. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1096. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1097. {
  1098. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1099. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1100. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1101. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1102. {
  1103. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1104. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1105. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1106. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1107. {
  1108. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1109. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1110. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1111. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1112. {
  1113. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1114. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1115. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1116. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1117. {
  1118. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1119. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x05, 0x00, 0x7f,
  1120. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1121. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1122. {
  1123. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1124. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1125. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1126. 0x00, 0xfa, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1127. {
  1128. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1129. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1130. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1131. 0x00, 0xfa, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1132. {
  1133. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1134. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1135. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1136. 0x00, 0xfa, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1137. {
  1138. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1139. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1140. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1141. 0x00, 0xfa, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1142. {
  1143. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1144. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x04, 0x00, 0x7f,
  1145. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1146. 0x00, 0xfa, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1147. {
  1148. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1149. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x04, 0x00, 0x7f,
  1150. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1151. 0x00, 0xfa, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1152. {
  1153. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1154. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1155. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1156. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1157. {
  1158. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1159. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1160. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1161. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1162. {
  1163. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1164. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x04, 0x00, 0x7f,
  1165. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1166. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1167. {
  1168. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1169. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x04, 0x00, 0x7f,
  1170. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1171. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1172. {
  1173. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1174. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x03, 0x00, 0x7f,
  1175. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1176. 0x00, 0xf8, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1177. {
  1178. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1179. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1180. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1181. 0x00, 0xf8, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1182. {
  1183. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1184. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1185. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1186. 0x00, 0xf8, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1187. {
  1188. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1189. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1190. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1191. 0x00, 0xf8, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1192. {
  1193. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1194. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1195. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1196. 0x00, 0xf8, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1197. {
  1198. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1199. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1200. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1201. 0x00, 0xf8, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1202. {
  1203. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1204. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x03, 0x00, 0x7f,
  1205. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1206. 0x00, 0xf8, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1207. {
  1208. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1209. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x03, 0x00, 0x7f,
  1210. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1211. 0x00, 0xf8, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1212. {
  1213. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1214. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1215. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1216. 0x00, 0xf8, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1217. {
  1218. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1219. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1220. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1221. 0x00, 0xf8, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1222. {
  1223. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1224. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1225. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1226. 0x00, 0xf8, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1227. {
  1228. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1229. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1230. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1231. 0x00, 0xf8, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1232. {
  1233. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1234. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1235. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1236. 0x00, 0xf8, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1237. {
  1238. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1239. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1240. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1241. 0x00, 0xf8, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1242. {
  1243. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1244. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1245. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1246. 0x00, 0xf8, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1247. {
  1248. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1249. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1250. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1251. 0x00, 0xf8, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1252. {
  1253. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1254. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1255. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1256. 0x00, 0xf6, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1257. {
  1258. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1259. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1260. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1261. 0x00, 0xf6, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1262. {
  1263. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1264. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1265. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1266. 0x00, 0xf6, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1267. {
  1268. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1269. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1270. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1271. 0x00, 0xf6, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1272. {
  1273. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1274. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1275. 0x00, 0x06, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1276. 0x00, 0xf6, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1277. {
  1278. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1279. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1280. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1281. 0x00, 0xf4, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1282. {
  1283. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1284. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1285. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1286. 0x00, 0xf4, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1287. {
  1288. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1289. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1290. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1291. 0x00, 0xf4, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1292. {
  1293. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1294. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1295. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1296. 0x00, 0xf4, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1297. {
  1298. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1299. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1300. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1301. 0x00, 0xf4, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1302. {
  1303. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1304. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1305. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1306. 0x00, 0xf4, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1307. {
  1308. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1309. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1310. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1311. 0x00, 0xf4, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1312. {
  1313. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1314. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1315. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1316. 0x00, 0xf4, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1317. {
  1318. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1319. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1320. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1321. 0x00, 0xf4, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1322. {
  1323. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1324. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1325. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1326. 0x00, 0xf4, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1327. {
  1328. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1329. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1330. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1331. 0x00, 0xf4, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1332. {
  1333. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1334. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1335. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1336. 0x00, 0xf4, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1337. {
  1338. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1339. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1340. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1341. 0x00, 0xf4, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1342. {
  1343. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1344. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1345. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1346. 0x00, 0xf4, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1347. {
  1348. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1349. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1350. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1351. 0x00, 0xf4, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1352. {
  1353. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1354. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1355. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1356. 0x00, 0xf4, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1357. {
  1358. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1359. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1360. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1361. 0x00, 0xf4, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1362. {
  1363. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1364. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1365. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1366. 0x00, 0xf4, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1367. {
  1368. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1369. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1370. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1371. 0x00, 0xf4, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1372. {
  1373. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1374. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1375. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1376. 0x00, 0xf4, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1377. {
  1378. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1379. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1380. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1381. 0x00, 0xf4, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  1382. {
  1383. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1384. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1385. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1386. 0x00, 0xf4, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  1387. {
  1388. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1389. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1390. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1391. 0x00, 0xf4, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  1392. {
  1393. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1394. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1395. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1396. 0x00, 0xf4, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  1397. {
  1398. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1399. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1400. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1401. 0x00, 0xf4, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  1402. {
  1403. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1404. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1405. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1406. 0x00, 0xf4, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  1407. {
  1408. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1409. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1410. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1411. 0x00, 0xf2, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  1412. {
  1413. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1414. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1415. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1416. 0x00, 0xf2, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  1417. {
  1418. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1419. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1420. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1421. 0x00, 0xf2, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  1422. {
  1423. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1424. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1425. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1426. 0x00, 0xf2, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  1427. {
  1428. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1429. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1430. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1431. 0x00, 0xf2, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  1432. {
  1433. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1434. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  1435. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1436. 0x00, 0xf2, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  1437. {
  1438. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  1439. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1440. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1441. 0x0f, 0x00, 0x0f, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  1442. {
  1443. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  1444. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1445. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1446. 0x0f, 0x00, 0x0f, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  1447. {
  1448. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  1449. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1450. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1451. 0x0f, 0x00, 0x0f, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  1452. {
  1453. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  1454. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x05, 0x00,
  1455. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfd, 0x00, 0x05, 0x00, 0x70, 0x00,
  1456. 0x0f, 0x00, 0x0f, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  1457. {
  1458. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  1459. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x05, 0x00,
  1460. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfb, 0x00, 0x05, 0x00, 0x70, 0x00,
  1461. 0x0f, 0x00, 0x0f, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  1462. {
  1463. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  1464. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x05, 0x00,
  1465. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x05, 0x00, 0x70, 0x00,
  1466. 0x0f, 0x00, 0x0f, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  1467. {
  1468. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  1469. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x05, 0x00,
  1470. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x05, 0x00, 0x70, 0x00,
  1471. 0x0f, 0x00, 0x0f, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  1472. {
  1473. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  1474. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x05, 0x00,
  1475. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf7, 0x00, 0x05, 0x00, 0x70, 0x00,
  1476. 0x0f, 0x00, 0x0f, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  1477. {
  1478. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  1479. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x05, 0x00,
  1480. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf6, 0x00, 0x05, 0x00, 0x70, 0x00,
  1481. 0x0f, 0x00, 0x0f, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  1482. {
  1483. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  1484. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x05, 0x00,
  1485. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf5, 0x00, 0x05, 0x00, 0x70, 0x00,
  1486. 0x0f, 0x00, 0x0d, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  1487. {
  1488. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  1489. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x05, 0x00,
  1490. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x70, 0x00,
  1491. 0x0f, 0x00, 0x0d, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  1492. {
  1493. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  1494. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x05, 0x00,
  1495. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf3, 0x00, 0x05, 0x00, 0x70, 0x00,
  1496. 0x0f, 0x00, 0x0d, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  1497. {
  1498. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  1499. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x05, 0x00,
  1500. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x70, 0x00,
  1501. 0x0f, 0x00, 0x0d, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  1502. {
  1503. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  1504. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x05, 0x00,
  1505. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf0, 0x00, 0x05, 0x00, 0x70, 0x00,
  1506. 0x0f, 0x00, 0x0d, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  1507. };
  1508. static const struct chan_info_nphy_radio205x chan_info_nphyrev4_2056_A1[] = {
  1509. {
  1510. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1511. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1512. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1513. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  1514. {
  1515. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1516. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1517. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1518. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  1519. {
  1520. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1521. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1522. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1523. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  1524. {
  1525. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1526. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1527. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1528. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  1529. {
  1530. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1531. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1532. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1533. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  1534. {
  1535. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1536. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1537. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1538. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  1539. {
  1540. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1541. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1542. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1543. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  1544. {
  1545. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1546. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1547. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1548. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  1549. {
  1550. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1551. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1552. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1553. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  1554. {
  1555. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1556. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1557. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1558. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  1559. {
  1560. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1561. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1562. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1563. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  1564. {
  1565. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1566. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1567. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1568. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  1569. {
  1570. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1571. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1572. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1573. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  1574. {
  1575. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1576. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1577. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1578. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  1579. {
  1580. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1581. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1582. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1583. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  1584. {
  1585. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1586. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1587. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1588. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  1589. {
  1590. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1591. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1592. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1593. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  1594. {
  1595. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1596. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1597. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1598. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  1599. {
  1600. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1601. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1602. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1603. 0x00, 0xfe, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  1604. {
  1605. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1606. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1607. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1608. 0x00, 0xfe, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  1609. {
  1610. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1611. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1612. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1613. 0x00, 0xfe, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  1614. {
  1615. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1616. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1617. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1618. 0x00, 0xfe, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  1619. {
  1620. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1621. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1622. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1623. 0x00, 0xfe, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1624. {
  1625. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1626. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1627. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1628. 0x00, 0xfe, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1629. {
  1630. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1631. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1632. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1633. 0x00, 0xfe, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1634. {
  1635. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1636. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1637. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1638. 0x00, 0xfe, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1639. {
  1640. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1641. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1642. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1643. 0x00, 0xfe, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1644. {
  1645. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1646. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0a, 0x00, 0x7f,
  1647. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1648. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1649. {
  1650. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1651. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1652. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1653. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1654. {
  1655. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1656. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1657. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1658. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1659. {
  1660. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1661. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1662. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1663. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1664. {
  1665. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1666. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1667. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1668. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1669. {
  1670. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1671. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1672. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1673. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1674. {
  1675. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1676. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1677. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1678. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1679. {
  1680. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1681. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1682. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1683. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1684. {
  1685. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1686. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1687. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1688. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1689. {
  1690. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1691. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1692. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1693. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1694. {
  1695. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1696. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1697. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1698. 0x00, 0xfa, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1699. {
  1700. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1701. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1702. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1703. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1704. {
  1705. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1706. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1707. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1708. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1709. {
  1710. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1711. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1712. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1713. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1714. {
  1715. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1716. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1717. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1718. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1719. {
  1720. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1721. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1722. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1723. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1724. {
  1725. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1726. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1727. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1728. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1729. {
  1730. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1731. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1732. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1733. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1734. {
  1735. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1736. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1737. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1738. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1739. {
  1740. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1741. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x08, 0x00, 0x7f,
  1742. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1743. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1744. {
  1745. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1746. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1747. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1748. 0x00, 0xf8, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1749. {
  1750. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1751. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1752. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1753. 0x00, 0xf8, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1754. {
  1755. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1756. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1757. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1758. 0x00, 0xf8, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1759. {
  1760. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1761. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1762. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1763. 0x00, 0xf8, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1764. {
  1765. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1766. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x07, 0x00, 0x7f,
  1767. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1768. 0x00, 0xf8, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1769. {
  1770. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1771. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x07, 0x00, 0x7f,
  1772. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1773. 0x00, 0xf8, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1774. {
  1775. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1776. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1777. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1778. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1779. {
  1780. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1781. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1782. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1783. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1784. {
  1785. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1786. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x07, 0x00, 0x7f,
  1787. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1788. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1789. {
  1790. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1791. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x07, 0x00, 0x7f,
  1792. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1793. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1794. {
  1795. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1796. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x06, 0x00, 0x7f,
  1797. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x5c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1798. 0x00, 0xf6, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1799. {
  1800. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1801. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1802. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1803. 0x00, 0xf6, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1804. {
  1805. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1806. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1807. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1808. 0x00, 0xf6, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1809. {
  1810. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1811. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1812. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1813. 0x00, 0xf6, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1814. {
  1815. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1816. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1817. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1818. 0x00, 0xf6, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1819. {
  1820. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1821. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1822. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1823. 0x00, 0xf6, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1824. {
  1825. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1826. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x06, 0x00, 0x7f,
  1827. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1828. 0x00, 0xf6, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1829. {
  1830. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1831. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x06, 0x00, 0x7f,
  1832. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1833. 0x00, 0xf6, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1834. {
  1835. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1836. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1837. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1838. 0x00, 0xf6, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1839. {
  1840. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1841. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1842. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1843. 0x00, 0xf6, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1844. {
  1845. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1846. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x04, 0x00, 0x7f,
  1847. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x1a, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1848. 0x00, 0xf4, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1849. {
  1850. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1851. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1852. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1853. 0x00, 0xf4, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1854. {
  1855. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1856. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1857. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1858. 0x00, 0xf4, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1859. {
  1860. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1861. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1862. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1863. 0x00, 0xf4, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1864. {
  1865. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1866. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1867. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1868. 0x00, 0xf4, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1869. {
  1870. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1871. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1872. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1873. 0x00, 0xf4, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1874. {
  1875. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1876. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1877. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1878. 0x00, 0xf4, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1879. {
  1880. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1881. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1882. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1883. 0x00, 0xf4, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1884. {
  1885. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1886. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1887. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1888. 0x00, 0xf4, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1889. {
  1890. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1891. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x04, 0x00, 0x7f,
  1892. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1893. 0x00, 0xf4, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1894. {
  1895. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1896. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1897. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1898. 0x00, 0xf2, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1899. {
  1900. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1901. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1902. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1903. 0x00, 0xf2, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1904. {
  1905. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1906. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1907. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1908. 0x00, 0xf2, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1909. {
  1910. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1911. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1912. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1913. 0x00, 0xf2, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1914. {
  1915. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1916. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1917. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1918. 0x00, 0xf2, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1919. {
  1920. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1921. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1922. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1923. 0x00, 0xf2, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1924. {
  1925. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1926. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1927. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1928. 0x00, 0xf2, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1929. {
  1930. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1931. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1932. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1933. 0x00, 0xf2, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1934. {
  1935. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1936. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1937. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1938. 0x00, 0xf2, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1939. {
  1940. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1941. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1942. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1943. 0x00, 0xf2, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1944. {
  1945. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1946. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1947. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1948. 0x00, 0xf2, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1949. {
  1950. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1951. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1952. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1953. 0x00, 0xf2, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1954. {
  1955. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1956. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1957. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1958. 0x00, 0xf2, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1959. {
  1960. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1961. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1962. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1963. 0x00, 0xf2, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1964. {
  1965. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1966. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1967. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1968. 0x00, 0xf2, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1969. {
  1970. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1971. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1972. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1973. 0x00, 0xf2, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1974. {
  1975. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1976. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1977. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1978. 0x00, 0xf2, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1979. {
  1980. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1981. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1982. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1983. 0x00, 0xf2, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1984. {
  1985. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1986. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1987. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1988. 0x00, 0xf0, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1989. {
  1990. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1991. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1992. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1993. 0x00, 0xf0, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1994. {
  1995. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1996. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1997. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1998. 0x00, 0xf0, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1999. {
  2000. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2001. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  2002. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2003. 0x00, 0xf0, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2004. {
  2005. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2006. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2007. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2008. 0x00, 0xf0, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2009. {
  2010. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2011. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2012. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2013. 0x00, 0xf0, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2014. {
  2015. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2016. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2017. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2018. 0x00, 0xf0, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2019. {
  2020. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2021. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2022. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2023. 0x00, 0xf0, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2024. {
  2025. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2026. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2027. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2028. 0x00, 0xf0, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2029. {
  2030. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2031. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2032. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2033. 0x00, 0xf0, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2034. {
  2035. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2036. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2037. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2038. 0x00, 0xf0, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2039. {
  2040. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2041. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2042. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2043. 0x00, 0xf0, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2044. {
  2045. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2046. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2047. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2048. 0x00, 0xf0, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2049. {
  2050. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2051. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  2052. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2053. 0x00, 0xf0, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2054. {
  2055. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2056. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  2057. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2058. 0x00, 0xf0, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2059. {
  2060. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2061. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2062. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2063. 0x0f, 0x00, 0x0e, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2064. {
  2065. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2066. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2067. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2068. 0x0f, 0x00, 0x0e, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2069. {
  2070. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2071. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2072. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2073. 0x0f, 0x00, 0x0e, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2074. {
  2075. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2076. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x04, 0x00,
  2077. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfd, 0x00, 0x04, 0x00, 0x70, 0x00,
  2078. 0x0f, 0x00, 0x0e, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2079. {
  2080. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2081. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x04, 0x00,
  2082. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfb, 0x00, 0x04, 0x00, 0x70, 0x00,
  2083. 0x0f, 0x00, 0x0e, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2084. {
  2085. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2086. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x04, 0x00,
  2087. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfa, 0x00, 0x04, 0x00, 0x70, 0x00,
  2088. 0x0f, 0x00, 0x0e, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2089. {
  2090. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2091. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x04, 0x00,
  2092. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf8, 0x00, 0x04, 0x00, 0x70, 0x00,
  2093. 0x0f, 0x00, 0x0e, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2094. {
  2095. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2096. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x04, 0x00,
  2097. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf7, 0x00, 0x04, 0x00, 0x70, 0x00,
  2098. 0x0f, 0x00, 0x0e, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2099. {
  2100. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2101. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x04, 0x00,
  2102. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf6, 0x00, 0x04, 0x00, 0x70, 0x00,
  2103. 0x0f, 0x00, 0x0e, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2104. {
  2105. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2106. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x04, 0x00,
  2107. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf5, 0x00, 0x04, 0x00, 0x70, 0x00,
  2108. 0x0f, 0x00, 0x0e, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2109. {
  2110. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2111. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x04, 0x00,
  2112. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x70, 0x00,
  2113. 0x0f, 0x00, 0x0e, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2114. {
  2115. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2116. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x04, 0x00,
  2117. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf3, 0x00, 0x04, 0x00, 0x70, 0x00,
  2118. 0x0f, 0x00, 0x0e, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2119. {
  2120. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2121. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x04, 0x00,
  2122. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x70, 0x00,
  2123. 0x0f, 0x00, 0x0e, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2124. {
  2125. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2126. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x04, 0x00,
  2127. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x70, 0x00,
  2128. 0x0f, 0x00, 0x0e, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2129. };
  2130. static const struct chan_info_nphy_radio205x chan_info_nphyrev5_2056v5[] = {
  2131. {
  2132. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2133. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2134. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  2135. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2136. {
  2137. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2138. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2139. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2140. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2141. {
  2142. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2143. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2144. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2145. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2146. {
  2147. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2148. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2149. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2150. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2151. {
  2152. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2153. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2154. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  2155. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2156. {
  2157. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2158. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2159. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2160. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2161. {
  2162. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2163. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2164. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2165. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2166. {
  2167. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2168. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2169. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2170. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2171. {
  2172. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2173. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2174. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2175. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2176. {
  2177. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2178. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2179. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2180. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2181. {
  2182. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2183. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2184. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  2185. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2186. {
  2187. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2188. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2189. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2190. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2191. {
  2192. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2193. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2194. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2195. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2196. {
  2197. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2198. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2199. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2200. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2201. {
  2202. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2203. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  2204. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2205. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2206. {
  2207. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2208. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  2209. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2210. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2211. {
  2212. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2213. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2214. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2215. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2216. {
  2217. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2218. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2219. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2220. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2221. {
  2222. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2223. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2224. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2225. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2226. {
  2227. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2228. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2229. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2230. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2231. {
  2232. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2233. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2234. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2235. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2236. {
  2237. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2238. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  2239. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  2240. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2241. {
  2242. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2243. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2244. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  2245. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2246. {
  2247. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2248. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2249. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  2250. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2251. {
  2252. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2253. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  2254. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2255. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2256. {
  2257. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2258. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2259. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2260. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2261. {
  2262. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2263. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2264. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2265. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2266. {
  2267. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2268. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2269. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2270. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2271. {
  2272. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2273. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2274. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2275. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2276. {
  2277. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2278. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2279. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2280. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2281. {
  2282. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2283. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xea, 0x00, 0x06, 0x00, 0x70,
  2284. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  2285. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2286. {
  2287. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2288. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2289. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2290. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2291. {
  2292. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2293. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2294. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2295. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2296. {
  2297. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2298. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xd9, 0x00, 0x05, 0x00, 0x70,
  2299. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2300. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2301. {
  2302. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2303. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xd8, 0x00, 0x04, 0x00, 0x70,
  2304. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2305. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2306. {
  2307. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2308. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2309. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2310. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2311. {
  2312. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2313. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2314. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2315. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2316. {
  2317. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2318. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2319. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2320. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2321. {
  2322. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2323. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2324. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2325. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2326. {
  2327. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2328. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb8, 0x00, 0x04, 0x00, 0x70,
  2329. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2330. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2331. {
  2332. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2333. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x04, 0x00, 0x70,
  2334. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2335. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2336. {
  2337. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2338. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x03, 0x00, 0x70,
  2339. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  2340. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2341. {
  2342. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2343. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa7, 0x00, 0x03, 0x00, 0x70,
  2344. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2345. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2346. {
  2347. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2348. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2349. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2350. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2351. {
  2352. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2353. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2354. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2355. 0x00, 0x5b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2356. {
  2357. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2358. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x96, 0x00, 0x03, 0x00, 0x70,
  2359. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2360. 0x00, 0x5a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2361. {
  2362. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2363. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x95, 0x00, 0x03, 0x00, 0x70,
  2364. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2365. 0x00, 0x5a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2366. {
  2367. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2368. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2369. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2370. 0x00, 0x5a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2371. {
  2372. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2373. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2374. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2375. 0x00, 0x5a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2376. {
  2377. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2378. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2379. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2380. 0x00, 0x5a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  2381. {
  2382. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2383. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x85, 0x00, 0x02, 0x00, 0x70,
  2384. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2385. 0x00, 0x59, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  2386. {
  2387. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2388. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2389. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2390. 0x00, 0x59, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  2391. {
  2392. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2393. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2394. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2395. 0x00, 0x59, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  2396. {
  2397. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2398. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2399. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  2400. 0x00, 0x69, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  2401. {
  2402. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2403. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x74, 0x00, 0x01, 0x00, 0x70,
  2404. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2405. 0x00, 0x69, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  2406. {
  2407. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2408. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2409. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2410. 0x00, 0x68, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  2411. {
  2412. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2413. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2414. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2415. 0x00, 0x68, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  2416. {
  2417. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2418. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2419. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2420. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  2421. {
  2422. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2423. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2424. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2425. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  2426. {
  2427. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2428. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2429. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2430. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  2431. {
  2432. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2433. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x63, 0x00, 0x01, 0x00, 0x70,
  2434. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  2435. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  2436. {
  2437. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2438. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2439. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2440. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  2441. {
  2442. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2443. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2444. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2445. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  2446. {
  2447. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2448. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2449. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2450. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  2451. {
  2452. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2453. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2454. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2455. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  2456. {
  2457. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2458. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2459. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2460. 0x00, 0x76, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  2461. {
  2462. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2463. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x51, 0x00, 0x00, 0x00, 0x70,
  2464. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2465. 0x00, 0x76, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  2466. {
  2467. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2468. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2469. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2470. 0x00, 0x76, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  2471. {
  2472. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2473. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2474. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2475. 0x00, 0x76, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  2476. {
  2477. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2478. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2479. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2480. 0x00, 0x76, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  2481. {
  2482. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2483. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2484. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2485. 0x00, 0x76, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  2486. {
  2487. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2488. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2489. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2490. 0x00, 0x75, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  2491. {
  2492. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2493. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2494. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2495. 0x00, 0x75, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  2496. {
  2497. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2498. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2499. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2500. 0x00, 0x75, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  2501. {
  2502. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2503. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2504. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2505. 0x00, 0x74, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  2506. {
  2507. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2508. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2509. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2510. 0x00, 0x74, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  2511. {
  2512. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2513. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2514. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2515. 0x00, 0x74, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  2516. {
  2517. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2518. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2519. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2520. 0x00, 0x74, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  2521. {
  2522. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2523. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2524. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2525. 0x00, 0x74, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  2526. {
  2527. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2528. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2529. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2530. 0x00, 0x74, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  2531. {
  2532. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  2533. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2534. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2535. 0x00, 0x74, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  2536. {
  2537. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2538. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2539. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2540. 0x00, 0x84, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  2541. {
  2542. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2543. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2544. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2545. 0x00, 0x83, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  2546. {
  2547. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2548. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2549. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2550. 0x00, 0x83, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  2551. {
  2552. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2553. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2554. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2555. 0x00, 0x83, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  2556. {
  2557. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2558. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2559. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2560. 0x00, 0x83, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  2561. {
  2562. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  2563. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2564. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2565. 0x00, 0x83, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  2566. {
  2567. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2568. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2569. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2570. 0x00, 0x83, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  2571. {
  2572. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  2573. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2574. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2575. 0x00, 0x82, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  2576. {
  2577. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2578. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2579. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2580. 0x00, 0x82, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  2581. {
  2582. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  2583. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2584. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2585. 0x00, 0x82, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  2586. {
  2587. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2588. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2589. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2590. 0x00, 0x82, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  2591. {
  2592. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  2593. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2594. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2595. 0x00, 0x82, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  2596. {
  2597. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2598. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2599. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2600. 0x00, 0x82, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  2601. {
  2602. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  2603. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2604. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2605. 0x00, 0x82, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  2606. {
  2607. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2608. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2609. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2610. 0x00, 0x82, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  2611. {
  2612. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  2613. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2614. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2615. 0x00, 0x82, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  2616. {
  2617. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2618. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2619. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2620. 0x00, 0x82, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  2621. {
  2622. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2623. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2624. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2625. 0x00, 0x82, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2626. {
  2627. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2628. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2629. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2630. 0x00, 0x82, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2631. {
  2632. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2633. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2634. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2635. 0x00, 0x82, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2636. {
  2637. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2638. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2639. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2640. 0x00, 0x72, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2641. {
  2642. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2643. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2644. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2645. 0x00, 0x72, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2646. {
  2647. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2648. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2649. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2650. 0x00, 0x72, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2651. {
  2652. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2653. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2654. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2655. 0x00, 0x72, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2656. {
  2657. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2658. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2659. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2660. 0x00, 0x71, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2661. {
  2662. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2663. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2664. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2665. 0x00, 0x71, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2666. {
  2667. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2668. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2669. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2670. 0x00, 0x71, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2671. {
  2672. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2673. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2674. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2675. 0x00, 0x71, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2676. {
  2677. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2678. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2679. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2680. 0x00, 0x71, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2681. {
  2682. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2683. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2684. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2685. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2686. {
  2687. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2688. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2689. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2690. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2691. {
  2692. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2693. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x03, 0x00,
  2694. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0x03, 0x00, 0x70, 0x00,
  2695. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2696. {
  2697. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2698. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x03, 0x00,
  2699. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0d, 0x00, 0x03, 0x00, 0x70, 0x00,
  2700. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2701. {
  2702. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2703. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00,
  2704. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x70, 0x00,
  2705. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2706. {
  2707. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2708. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x03, 0x00,
  2709. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x03, 0x00, 0x70, 0x00,
  2710. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2711. {
  2712. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2713. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00,
  2714. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x03, 0x00, 0x70, 0x00,
  2715. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2716. {
  2717. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2718. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00,
  2719. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x08, 0x00, 0x02, 0x00, 0x70, 0x00,
  2720. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2721. {
  2722. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2723. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x07, 0x00, 0x02, 0x00,
  2724. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x07, 0x00, 0x02, 0x00, 0x70, 0x00,
  2725. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2726. {
  2727. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2728. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x06, 0x00, 0x02, 0x00,
  2729. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x06, 0x00, 0x02, 0x00, 0x70, 0x00,
  2730. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2731. {
  2732. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2733. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00,
  2734. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x05, 0x00, 0x02, 0x00, 0x70, 0x00,
  2735. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2736. {
  2737. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2738. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00,
  2739. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x70, 0x00,
  2740. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2741. {
  2742. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2743. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
  2744. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x03, 0x00, 0x02, 0x00, 0x70, 0x00,
  2745. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2746. {
  2747. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2748. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  2749. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  2750. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2751. };
  2752. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v6[] = {
  2753. {
  2754. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2755. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2756. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2757. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2758. {
  2759. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2760. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2761. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2762. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2763. {
  2764. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2765. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2766. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2767. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2768. {
  2769. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2770. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2771. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2772. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2773. {
  2774. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2775. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2776. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2777. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2778. {
  2779. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2780. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2781. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2782. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2783. {
  2784. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2785. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2786. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2787. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2788. {
  2789. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2790. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2791. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2792. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2793. {
  2794. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2795. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2796. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2797. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2798. {
  2799. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2800. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2801. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2802. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2803. {
  2804. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2805. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2806. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2807. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2808. {
  2809. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2810. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2811. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2812. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2813. {
  2814. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2815. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2816. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2817. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2818. {
  2819. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2820. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2821. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2822. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2823. {
  2824. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2825. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2826. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2827. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2828. {
  2829. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2830. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2831. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2832. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2833. {
  2834. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2835. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2836. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2837. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2838. {
  2839. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2840. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2841. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2842. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2843. {
  2844. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2845. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  2846. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2847. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2848. {
  2849. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2850. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2851. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2852. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2853. {
  2854. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2855. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2856. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2857. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2858. {
  2859. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2860. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2861. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2862. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2863. {
  2864. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2865. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  2866. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2867. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2868. {
  2869. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2870. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2871. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2872. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2873. {
  2874. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2875. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2876. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2877. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2878. {
  2879. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2880. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2881. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  2882. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2883. {
  2884. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2885. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2886. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  2887. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2888. {
  2889. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2890. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2891. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2892. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2893. {
  2894. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2895. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2896. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2897. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2898. {
  2899. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2900. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2901. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2902. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2903. {
  2904. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2905. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2906. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2907. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2908. {
  2909. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2910. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  2911. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2912. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2913. {
  2914. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2915. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  2916. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2917. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2918. {
  2919. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2920. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2921. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  2922. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2923. {
  2924. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2925. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2926. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  2927. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2928. {
  2929. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2930. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2931. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2932. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2933. {
  2934. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2935. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2936. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2937. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2938. {
  2939. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2940. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2941. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2942. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2943. {
  2944. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2945. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2946. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2947. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2948. {
  2949. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2950. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2951. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2952. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2953. {
  2954. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2955. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2956. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2957. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2958. {
  2959. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2960. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2961. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2962. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2963. {
  2964. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2965. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2966. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2967. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2968. {
  2969. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2970. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2971. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2972. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2973. {
  2974. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2975. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2976. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2977. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2978. {
  2979. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2980. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  2981. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2982. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2983. {
  2984. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2985. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2986. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2987. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2988. {
  2989. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2990. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2991. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2992. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2993. {
  2994. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2995. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  2996. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  2997. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2998. {
  2999. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3000. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  3001. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3002. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3003. {
  3004. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3005. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3006. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3007. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3008. {
  3009. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3010. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3011. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  3012. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3013. {
  3014. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3015. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3016. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3017. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3018. {
  3019. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3020. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3021. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3022. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3023. {
  3024. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3025. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  3026. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3027. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3028. {
  3029. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3030. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  3031. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3032. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3033. {
  3034. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3035. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  3036. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3037. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3038. {
  3039. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3040. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3041. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3042. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3043. {
  3044. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3045. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3046. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3047. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3048. {
  3049. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3050. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3051. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3052. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3053. {
  3054. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3055. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3056. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3057. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3058. {
  3059. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3060. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  3061. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3062. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3063. {
  3064. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3065. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3066. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3067. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3068. {
  3069. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3070. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3071. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3072. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3073. {
  3074. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3075. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  3076. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3077. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3078. {
  3079. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3080. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  3081. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3082. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3083. {
  3084. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3085. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  3086. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3087. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3088. {
  3089. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3090. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3091. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3092. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3093. {
  3094. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3095. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3096. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3097. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3098. {
  3099. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3100. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3101. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3102. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3103. {
  3104. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3105. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3106. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3107. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3108. {
  3109. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3110. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  3111. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3112. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3113. {
  3114. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3115. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3116. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3117. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3118. {
  3119. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3120. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3121. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3122. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3123. {
  3124. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3125. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  3126. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3127. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3128. {
  3129. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3130. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3131. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3132. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3133. {
  3134. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3135. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3136. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3137. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3138. {
  3139. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3140. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3141. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3142. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3143. {
  3144. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3145. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3146. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3147. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3148. {
  3149. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3150. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3151. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3152. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3153. {
  3154. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3155. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3156. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3157. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3158. {
  3159. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3160. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3161. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3162. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3163. {
  3164. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3165. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3166. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3167. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3168. {
  3169. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3170. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3171. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3172. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3173. {
  3174. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3175. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3176. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3177. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3178. {
  3179. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3180. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  3181. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3182. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3183. {
  3184. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3185. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3186. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3187. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3188. {
  3189. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3190. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3191. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3192. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3193. {
  3194. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3195. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3196. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3197. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3198. {
  3199. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3200. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3201. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3202. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3203. {
  3204. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3205. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3206. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3207. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3208. {
  3209. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3210. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3211. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3212. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3213. {
  3214. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3215. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3216. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3217. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3218. {
  3219. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3220. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3221. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3222. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3223. {
  3224. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3225. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3226. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3227. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3228. {
  3229. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3230. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3231. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3232. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3233. {
  3234. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3235. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3236. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3237. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3238. {
  3239. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3240. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3241. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3242. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3243. {
  3244. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3245. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3246. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3247. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3248. {
  3249. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3250. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3251. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3252. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3253. {
  3254. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3255. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3256. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3257. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3258. {
  3259. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3260. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3261. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3262. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3263. {
  3264. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3265. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3266. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3267. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3268. {
  3269. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3270. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3271. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3272. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3273. {
  3274. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3275. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3276. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3277. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3278. {
  3279. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3280. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3281. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3282. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3283. {
  3284. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3285. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3286. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3287. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3288. {
  3289. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3290. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3291. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3292. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3293. {
  3294. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3295. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3296. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3297. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3298. {
  3299. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3300. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3301. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3302. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3303. {
  3304. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3305. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3306. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3307. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3308. {
  3309. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3310. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3311. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3312. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3313. {
  3314. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3315. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  3316. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x67, 0x00, 0x03, 0x00, 0x70, 0x00,
  3317. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3318. {
  3319. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3320. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  3321. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x57, 0x00, 0x03, 0x00, 0x70, 0x00,
  3322. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3323. {
  3324. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3325. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  3326. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x56, 0x00, 0x03, 0x00, 0x70, 0x00,
  3327. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3328. {
  3329. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3330. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  3331. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x46, 0x00, 0x03, 0x00, 0x70, 0x00,
  3332. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3333. {
  3334. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3335. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3336. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3337. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3338. {
  3339. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3340. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3341. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3342. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3343. {
  3344. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3345. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  3346. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x23, 0x00, 0x02, 0x00, 0x70, 0x00,
  3347. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3348. {
  3349. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3350. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  3351. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x12, 0x00, 0x02, 0x00, 0x70, 0x00,
  3352. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3353. {
  3354. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3355. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  3356. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x70, 0x00,
  3357. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3358. {
  3359. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3360. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3361. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3362. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3363. {
  3364. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3365. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3366. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3367. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3368. {
  3369. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3370. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3371. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3372. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3373. };
  3374. static const struct chan_info_nphy_radio205x chan_info_nphyrev5n6_2056v7[] = {
  3375. {
  3376. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3377. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3378. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  3379. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  3380. {
  3381. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3382. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3383. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3384. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  3385. {
  3386. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3387. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3388. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3389. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  3390. {
  3391. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3392. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3393. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3394. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  3395. {
  3396. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3397. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3398. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  3399. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  3400. {
  3401. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3402. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3403. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3404. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  3405. {
  3406. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3407. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3408. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3409. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  3410. {
  3411. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3412. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3413. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3414. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  3415. {
  3416. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3417. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3418. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3419. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  3420. {
  3421. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3422. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3423. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3424. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  3425. {
  3426. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3427. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3428. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  3429. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  3430. {
  3431. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3432. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3433. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3434. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  3435. {
  3436. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3437. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3438. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3439. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  3440. {
  3441. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3442. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3443. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3444. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  3445. {
  3446. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3447. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  3448. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3449. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  3450. {
  3451. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3452. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  3453. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3454. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  3455. {
  3456. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3457. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3458. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3459. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  3460. {
  3461. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3462. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3463. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3464. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  3465. {
  3466. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3467. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3468. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3469. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  3470. {
  3471. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3472. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3473. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3474. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  3475. {
  3476. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3477. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3478. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3479. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  3480. {
  3481. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3482. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  3483. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  3484. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  3485. {
  3486. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3487. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3488. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  3489. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  3490. {
  3491. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3492. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3493. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  3494. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  3495. {
  3496. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3497. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  3498. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3499. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  3500. {
  3501. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3502. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3503. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3504. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  3505. {
  3506. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3507. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3508. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3509. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  3510. {
  3511. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3512. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3513. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3514. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  3515. {
  3516. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3517. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3518. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3519. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  3520. {
  3521. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3522. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3523. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3524. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  3525. {
  3526. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3527. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xea, 0x00, 0x06, 0x00, 0x70,
  3528. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  3529. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  3530. {
  3531. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3532. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3533. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3534. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  3535. {
  3536. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3537. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3538. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3539. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  3540. {
  3541. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3542. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xd9, 0x00, 0x05, 0x00, 0x70,
  3543. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3544. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  3545. {
  3546. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3547. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xd8, 0x00, 0x04, 0x00, 0x70,
  3548. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3549. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  3550. {
  3551. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3552. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3553. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3554. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  3555. {
  3556. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3557. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3558. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3559. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  3560. {
  3561. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3562. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3563. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3564. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  3565. {
  3566. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3567. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3568. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3569. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  3570. {
  3571. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3572. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb8, 0x00, 0x04, 0x00, 0x70,
  3573. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3574. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  3575. {
  3576. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3577. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xb7, 0x00, 0x04, 0x00, 0x70,
  3578. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3579. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  3580. {
  3581. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3582. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xb7, 0x00, 0x03, 0x00, 0x70,
  3583. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  3584. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  3585. {
  3586. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3587. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa7, 0x00, 0x03, 0x00, 0x70,
  3588. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3589. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  3590. {
  3591. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3592. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3593. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3594. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  3595. {
  3596. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3597. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3598. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3599. 0x00, 0x7b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  3600. {
  3601. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3602. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x96, 0x00, 0x03, 0x00, 0x70,
  3603. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3604. 0x00, 0x7a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  3605. {
  3606. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3607. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3608. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3609. 0x00, 0x7a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  3610. {
  3611. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3612. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3613. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3614. 0x00, 0x7a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  3615. {
  3616. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3617. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3618. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3619. 0x00, 0x7a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  3620. {
  3621. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3622. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3623. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3624. 0x00, 0x7a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3625. {
  3626. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3627. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x85, 0x00, 0x02, 0x00, 0x70,
  3628. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3629. 0x00, 0x79, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3630. {
  3631. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3632. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x70,
  3633. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3634. 0x00, 0x79, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3635. {
  3636. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3637. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3638. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3639. 0x00, 0x79, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3640. {
  3641. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3642. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3643. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  3644. 0x00, 0x79, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3645. {
  3646. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3647. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x74, 0x00, 0x01, 0x00, 0x70,
  3648. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3649. 0x00, 0x79, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3650. {
  3651. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3652. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  3653. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3654. 0x00, 0x78, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3655. {
  3656. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3657. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x01, 0x00, 0x70,
  3658. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3659. 0x00, 0x78, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3660. {
  3661. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3662. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3663. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3664. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3665. {
  3666. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3667. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3668. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3669. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3670. {
  3671. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3672. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x01, 0x00, 0x70,
  3673. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3674. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3675. {
  3676. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3677. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x63, 0x00, 0x01, 0x00, 0x70,
  3678. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  3679. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3680. {
  3681. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3682. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x62, 0x00, 0x00, 0x00, 0x70,
  3683. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3684. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3685. {
  3686. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3687. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3688. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3689. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3690. {
  3691. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3692. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3693. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3694. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3695. {
  3696. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3697. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x52, 0x00, 0x00, 0x00, 0x70,
  3698. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3699. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3700. {
  3701. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3702. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x52, 0x00, 0x00, 0x00, 0x70,
  3703. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3704. 0x00, 0x86, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3705. {
  3706. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3707. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3708. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3709. 0x00, 0x86, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3710. {
  3711. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3712. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3713. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3714. 0x00, 0x86, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3715. {
  3716. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3717. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3718. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3719. 0x00, 0x86, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3720. {
  3721. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3722. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3723. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3724. 0x00, 0x86, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3725. {
  3726. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3727. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3728. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3729. 0x00, 0x86, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3730. {
  3731. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3732. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x51, 0x00, 0x00, 0x00, 0x70,
  3733. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3734. 0x00, 0x85, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3735. {
  3736. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3737. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3738. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3739. 0x00, 0x85, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3740. {
  3741. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3742. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3743. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3744. 0x00, 0x85, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3745. {
  3746. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3747. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  3748. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3749. 0x00, 0x84, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3750. {
  3751. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3752. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3753. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3754. 0x00, 0x84, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3755. {
  3756. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3757. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3758. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3759. 0x00, 0x94, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3760. {
  3761. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3762. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3763. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3764. 0x00, 0x94, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3765. {
  3766. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3767. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3768. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3769. 0x00, 0x94, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3770. {
  3771. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3772. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3773. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3774. 0x00, 0x94, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3775. {
  3776. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3777. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3778. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3779. 0x00, 0x94, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3780. {
  3781. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3782. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3783. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3784. 0x00, 0x94, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3785. {
  3786. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3787. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3788. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3789. 0x00, 0x93, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3790. {
  3791. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3792. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3793. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3794. 0x00, 0x93, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3795. {
  3796. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3797. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3798. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3799. 0x00, 0x93, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3800. {
  3801. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3802. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3803. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3804. 0x00, 0x93, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3805. {
  3806. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3807. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x30, 0x00, 0x00, 0x00, 0x70,
  3808. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3809. 0x00, 0x93, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3810. {
  3811. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3812. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3813. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3814. 0x00, 0x93, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3815. {
  3816. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3817. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3818. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3819. 0x00, 0x92, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3820. {
  3821. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3822. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3823. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3824. 0x00, 0x92, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3825. {
  3826. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3827. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3828. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3829. 0x00, 0x92, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3830. {
  3831. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3832. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x70,
  3833. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3834. 0x00, 0x92, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3835. {
  3836. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3837. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3838. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3839. 0x00, 0x92, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3840. {
  3841. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3842. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3843. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3844. 0x00, 0x92, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3845. {
  3846. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3847. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3848. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3849. 0x00, 0x92, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3850. {
  3851. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3852. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3853. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3854. 0x00, 0x92, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3855. {
  3856. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3857. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3858. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3859. 0x00, 0x92, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3860. {
  3861. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3862. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3863. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3864. 0x00, 0x92, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3865. {
  3866. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3867. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3868. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3869. 0x00, 0x92, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3870. {
  3871. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3872. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3873. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3874. 0x00, 0x92, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3875. {
  3876. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3877. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3878. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3879. 0x00, 0x92, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3880. {
  3881. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3882. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3883. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3884. 0x00, 0x92, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3885. {
  3886. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3887. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3888. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3889. 0x00, 0x92, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3890. {
  3891. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3892. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3893. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3894. 0x00, 0x92, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3895. {
  3896. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3897. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3898. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3899. 0x00, 0x92, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3900. {
  3901. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3902. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3903. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3904. 0x00, 0x91, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3905. {
  3906. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3907. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3908. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3909. 0x00, 0x91, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3910. {
  3911. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3912. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3913. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3914. 0x00, 0x91, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3915. {
  3916. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3917. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3918. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3919. 0x00, 0x91, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3920. {
  3921. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3922. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3923. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3924. 0x00, 0x91, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3925. {
  3926. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3927. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3928. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3929. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3930. {
  3931. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3932. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3933. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3934. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3935. {
  3936. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3937. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3938. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3939. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3940. {
  3941. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3942. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3943. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3944. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3945. {
  3946. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3947. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x03, 0x00,
  3948. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  3949. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3950. {
  3951. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3952. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x76, 0x00, 0x03, 0x00,
  3953. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  3954. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3955. {
  3956. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3957. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x66, 0x00, 0x03, 0x00,
  3958. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x03, 0x00, 0x70, 0x00,
  3959. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3960. {
  3961. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3962. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x55, 0x00, 0x02, 0x00,
  3963. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  3964. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3965. {
  3966. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3967. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3968. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3969. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3970. {
  3971. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3972. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3973. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3974. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3975. {
  3976. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3977. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00,
  3978. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  3979. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3980. {
  3981. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3982. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00,
  3983. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  3984. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3985. {
  3986. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3987. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
  3988. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  3989. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3990. {
  3991. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3992. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3993. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3994. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3995. };
  3996. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v8[] = {
  3997. {
  3998. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3999. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4000. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4001. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4002. {
  4003. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4004. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4005. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4006. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4007. {
  4008. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4009. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4010. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4011. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4012. {
  4013. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4014. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4015. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4016. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4017. {
  4018. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4019. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4020. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4021. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4022. {
  4023. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4024. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4025. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4026. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4027. {
  4028. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4029. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4030. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4031. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4032. {
  4033. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4034. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4035. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4036. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4037. {
  4038. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4039. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4040. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4041. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4042. {
  4043. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4044. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4045. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4046. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4047. {
  4048. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4049. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4050. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4051. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4052. {
  4053. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4054. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4055. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4056. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4057. {
  4058. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4059. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4060. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4061. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4062. {
  4063. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4064. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4065. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4066. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4067. {
  4068. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4069. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4070. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4071. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4072. {
  4073. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4074. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4075. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4076. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4077. {
  4078. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4079. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4080. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4081. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4082. {
  4083. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4084. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4085. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4086. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4087. {
  4088. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4089. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4090. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4091. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4092. {
  4093. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4094. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4095. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4096. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4097. {
  4098. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4099. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4100. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4101. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4102. {
  4103. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4104. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4105. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4106. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4107. {
  4108. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4109. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4110. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4111. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4112. {
  4113. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4114. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4115. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4116. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4117. {
  4118. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4119. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4120. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4121. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4122. {
  4123. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4124. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4125. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4126. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4127. {
  4128. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4129. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4130. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4131. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4132. {
  4133. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4134. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4135. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4136. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4137. {
  4138. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4139. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4140. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4141. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4142. {
  4143. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4144. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4145. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4146. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4147. {
  4148. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4149. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4150. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4151. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4152. {
  4153. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4154. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4155. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4156. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4157. {
  4158. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4159. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4160. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4161. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4162. {
  4163. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4164. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4165. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4166. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4167. {
  4168. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4169. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4170. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4171. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4172. {
  4173. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4174. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4175. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4176. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4177. {
  4178. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4179. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4180. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4181. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4182. {
  4183. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4184. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4185. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4186. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4187. {
  4188. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4189. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4190. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4191. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4192. {
  4193. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4194. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4195. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4196. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4197. {
  4198. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4199. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4200. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4201. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4202. {
  4203. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4204. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4205. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4206. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4207. {
  4208. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4209. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4210. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4211. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4212. {
  4213. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4214. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4215. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4216. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4217. {
  4218. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4219. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4220. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4221. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4222. {
  4223. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4224. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4225. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4226. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4227. {
  4228. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4229. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4230. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4231. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4232. {
  4233. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4234. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4235. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4236. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4237. {
  4238. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4239. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4240. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4241. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4242. {
  4243. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4244. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4245. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4246. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4247. {
  4248. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4249. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4250. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4251. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4252. {
  4253. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4254. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4255. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4256. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4257. {
  4258. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4259. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4260. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4261. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4262. {
  4263. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4264. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4265. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4266. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4267. {
  4268. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4269. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4270. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4271. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4272. {
  4273. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4274. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4275. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4276. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4277. {
  4278. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4279. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4280. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4281. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4282. {
  4283. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4284. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4285. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4286. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4287. {
  4288. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4289. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4290. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4291. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4292. {
  4293. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4294. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4295. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4296. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4297. {
  4298. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4299. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4300. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4301. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4302. {
  4303. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4304. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4305. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4306. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4307. {
  4308. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4309. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4310. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4311. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4312. {
  4313. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4314. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4315. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4316. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4317. {
  4318. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4319. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4320. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4321. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4322. {
  4323. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4324. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4325. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4326. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4327. {
  4328. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4329. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4330. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4331. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4332. {
  4333. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4334. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4335. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4336. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4337. {
  4338. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4339. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4340. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4341. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4342. {
  4343. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4344. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4345. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4346. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4347. {
  4348. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4349. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4350. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4351. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4352. {
  4353. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4354. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4355. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4356. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4357. {
  4358. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4359. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4360. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4361. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4362. {
  4363. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4364. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4365. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4366. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4367. {
  4368. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4369. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4370. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4371. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4372. {
  4373. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4374. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4375. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4376. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4377. {
  4378. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4379. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4380. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4381. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  4382. {
  4383. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4384. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4385. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4386. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  4387. {
  4388. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4389. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4390. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4391. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  4392. {
  4393. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4394. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4395. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4396. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  4397. {
  4398. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  4399. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4400. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4401. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  4402. {
  4403. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4404. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4405. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4406. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  4407. {
  4408. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4409. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4410. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4411. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  4412. {
  4413. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4414. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4415. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4416. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  4417. {
  4418. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4419. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4420. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4421. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  4422. {
  4423. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4424. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  4425. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4426. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  4427. {
  4428. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  4429. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4430. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4431. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  4432. {
  4433. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4434. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4435. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4436. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  4437. {
  4438. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  4439. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4440. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4441. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  4442. {
  4443. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4444. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4445. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4446. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  4447. {
  4448. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  4449. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4450. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4451. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  4452. {
  4453. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4454. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4455. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4456. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  4457. {
  4458. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  4459. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4460. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4461. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  4462. {
  4463. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4464. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4465. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4466. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  4467. {
  4468. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  4469. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4470. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4471. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  4472. {
  4473. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4474. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4475. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4476. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  4477. {
  4478. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  4479. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4480. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4481. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  4482. {
  4483. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4484. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4485. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4486. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  4487. {
  4488. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4489. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4490. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4491. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  4492. {
  4493. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4494. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4495. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4496. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  4497. {
  4498. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4499. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4500. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4501. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  4502. {
  4503. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4504. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4505. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4506. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  4507. {
  4508. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4509. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4510. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4511. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  4512. {
  4513. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4514. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4515. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4516. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  4517. {
  4518. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4519. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4520. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4521. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  4522. {
  4523. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4524. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4525. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4526. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  4527. {
  4528. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4529. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4530. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4531. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  4532. {
  4533. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4534. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4535. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4536. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  4537. {
  4538. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4539. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4540. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4541. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  4542. {
  4543. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4544. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4545. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4546. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  4547. {
  4548. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  4549. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4550. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4551. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  4552. {
  4553. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  4554. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4555. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4556. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  4557. {
  4558. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  4559. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  4560. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4561. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  4562. {
  4563. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  4564. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  4565. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  4566. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  4567. {
  4568. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  4569. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  4570. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  4571. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  4572. {
  4573. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  4574. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  4575. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  4576. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  4577. {
  4578. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  4579. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  4580. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  4581. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  4582. {
  4583. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  4584. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  4585. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  4586. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  4587. {
  4588. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  4589. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  4590. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  4591. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  4592. {
  4593. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  4594. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  4595. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  4596. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  4597. {
  4598. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  4599. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  4600. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  4601. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  4602. {
  4603. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  4604. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4605. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  4606. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  4607. {
  4608. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  4609. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4610. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  4611. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  4612. {
  4613. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  4614. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  4615. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  4616. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  4617. };
  4618. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v11[] = {
  4619. {
  4620. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4621. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4622. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4623. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4624. {
  4625. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4626. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4627. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4628. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4629. {
  4630. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4631. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4632. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4633. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4634. {
  4635. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4636. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4637. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4638. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4639. {
  4640. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4641. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4642. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4643. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4644. {
  4645. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4646. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4647. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4648. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4649. {
  4650. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4651. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4652. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4653. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4654. {
  4655. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4656. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4657. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4658. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4659. {
  4660. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4661. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4662. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4663. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4664. {
  4665. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4666. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4667. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4668. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4669. {
  4670. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4671. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4672. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4673. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4674. {
  4675. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4676. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4677. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4678. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4679. {
  4680. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4681. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4682. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4683. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4684. {
  4685. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4686. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4687. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4688. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4689. {
  4690. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4691. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4692. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4693. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4694. {
  4695. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4696. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4697. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4698. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4699. {
  4700. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4701. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4702. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4703. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4704. {
  4705. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4706. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4707. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4708. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4709. {
  4710. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4711. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4712. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4713. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4714. {
  4715. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4716. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4717. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4718. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4719. {
  4720. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4721. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4722. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4723. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4724. {
  4725. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4726. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4727. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4728. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4729. {
  4730. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4731. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4732. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4733. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4734. {
  4735. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4736. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4737. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4738. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4739. {
  4740. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4741. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4742. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4743. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4744. {
  4745. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4746. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4747. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4748. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4749. {
  4750. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4751. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4752. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4753. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4754. {
  4755. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4756. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4757. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4758. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4759. {
  4760. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4761. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4762. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4763. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4764. {
  4765. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4766. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4767. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4768. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4769. {
  4770. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4771. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4772. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4773. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4774. {
  4775. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4776. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4777. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4778. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4779. {
  4780. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4781. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4782. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4783. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4784. {
  4785. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4786. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4787. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4788. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4789. {
  4790. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4791. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4792. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4793. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4794. {
  4795. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4796. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4797. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4798. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4799. {
  4800. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4801. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4802. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4803. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4804. {
  4805. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4806. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4807. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4808. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4809. {
  4810. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4811. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4812. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4813. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4814. {
  4815. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4816. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4817. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4818. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4819. {
  4820. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4821. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4822. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4823. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4824. {
  4825. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4826. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4827. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4828. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4829. {
  4830. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4831. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4832. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4833. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4834. {
  4835. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4836. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4837. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4838. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4839. {
  4840. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4841. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4842. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4843. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4844. {
  4845. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4846. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4847. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4848. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4849. {
  4850. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4851. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4852. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4853. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4854. {
  4855. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4856. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4857. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4858. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4859. {
  4860. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4861. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4862. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4863. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4864. {
  4865. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4866. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4867. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4868. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4869. {
  4870. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4871. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4872. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4873. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4874. {
  4875. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4876. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4877. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4878. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4879. {
  4880. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4881. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4882. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4883. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4884. {
  4885. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4886. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4887. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4888. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4889. {
  4890. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4891. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4892. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4893. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4894. {
  4895. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4896. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4897. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4898. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4899. {
  4900. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4901. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4902. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4903. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4904. {
  4905. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4906. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4907. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4908. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4909. {
  4910. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4911. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4912. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4913. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4914. {
  4915. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4916. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4917. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4918. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4919. {
  4920. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4921. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4922. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4923. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4924. {
  4925. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4926. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4927. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4928. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4929. {
  4930. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4931. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4932. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4933. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4934. {
  4935. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4936. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4937. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4938. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4939. {
  4940. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4941. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4942. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4943. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4944. {
  4945. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4946. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4947. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4948. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4949. {
  4950. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4951. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4952. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4953. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4954. {
  4955. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4956. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4957. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4958. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4959. {
  4960. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4961. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4962. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4963. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4964. {
  4965. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4966. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4967. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4968. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4969. {
  4970. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4971. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4972. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4973. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4974. {
  4975. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4976. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4977. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4978. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4979. {
  4980. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4981. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4982. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4983. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4984. {
  4985. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4986. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4987. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4988. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4989. {
  4990. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4991. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4992. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4993. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4994. {
  4995. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4996. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4997. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4998. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4999. {
  5000. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5001. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5002. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5003. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  5004. {
  5005. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5006. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5007. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5008. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  5009. {
  5010. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5011. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5012. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5013. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  5014. {
  5015. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5016. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5017. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5018. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  5019. {
  5020. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x05, 0x05, 0x02, 0x15, 0x01,
  5021. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5022. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5023. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  5024. {
  5025. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5026. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5027. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5028. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  5029. {
  5030. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5031. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5032. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5033. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  5034. {
  5035. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5036. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5037. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5038. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  5039. {
  5040. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5041. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5042. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5043. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  5044. {
  5045. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5046. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  5047. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5048. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  5049. {
  5050. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x05, 0x05, 0x02, 0x15, 0x01,
  5051. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5052. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5053. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  5054. {
  5055. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5056. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5057. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5058. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  5059. {
  5060. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x05, 0x05, 0x02, 0x15, 0x01,
  5061. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5062. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5063. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  5064. {
  5065. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5066. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5067. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5068. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  5069. {
  5070. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x05, 0x05, 0x02, 0x15, 0x01,
  5071. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5072. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5073. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  5074. {
  5075. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5076. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5077. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5078. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  5079. {
  5080. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x05, 0x05, 0x02, 0x15, 0x01,
  5081. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5082. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5083. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  5084. {
  5085. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5086. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5087. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5088. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  5089. {
  5090. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x05, 0x05, 0x02, 0x15, 0x01,
  5091. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5092. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5093. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  5094. {
  5095. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5096. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5097. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5098. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  5099. {
  5100. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x05, 0x05, 0x02, 0x15, 0x01,
  5101. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5102. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5103. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  5104. {
  5105. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5106. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5107. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5108. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  5109. {
  5110. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5111. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5112. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5113. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  5114. {
  5115. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5116. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5117. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5118. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  5119. {
  5120. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5121. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5122. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5123. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  5124. {
  5125. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5126. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5127. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5128. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  5129. {
  5130. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5131. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5132. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5133. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  5134. {
  5135. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5136. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5137. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5138. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  5139. {
  5140. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5141. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5142. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5143. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  5144. {
  5145. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5146. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5147. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5148. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  5149. {
  5150. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5151. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5152. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5153. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  5154. {
  5155. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5156. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5157. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5158. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  5159. {
  5160. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5161. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5162. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5163. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  5164. {
  5165. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5166. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5167. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5168. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  5169. {
  5170. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5171. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5172. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5173. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  5174. {
  5175. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5176. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5177. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5178. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  5179. {
  5180. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5181. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  5182. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5183. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  5184. {
  5185. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5186. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  5187. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  5188. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  5189. {
  5190. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5191. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  5192. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  5193. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  5194. {
  5195. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5196. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  5197. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  5198. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  5199. {
  5200. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5201. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  5202. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  5203. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  5204. {
  5205. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5206. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  5207. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  5208. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  5209. {
  5210. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5211. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  5212. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  5213. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  5214. {
  5215. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5216. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  5217. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  5218. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  5219. {
  5220. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5221. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  5222. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  5223. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  5224. {
  5225. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5226. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5227. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  5228. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  5229. {
  5230. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5231. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5232. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  5233. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  5234. {
  5235. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5236. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  5237. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  5238. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  5239. };
  5240. static const struct chan_info_nphy_radio2057 chan_info_nphyrev7_2057_rev4[] = {
  5241. {
  5242. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  5243. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5244. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  5245. 0x0215,
  5246. 0x0216,
  5247. },
  5248. {
  5249. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  5250. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5251. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  5252. 0x0214,
  5253. 0x0215,
  5254. },
  5255. {
  5256. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  5257. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5258. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  5259. 0x0213,
  5260. 0x0214,
  5261. },
  5262. {
  5263. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  5264. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5265. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  5266. 0x0212,
  5267. 0x0213,
  5268. },
  5269. {
  5270. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  5271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5272. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  5273. 0x0211,
  5274. 0x0212,
  5275. },
  5276. {
  5277. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  5278. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5279. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  5280. 0x020f,
  5281. 0x0211,
  5282. },
  5283. {
  5284. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  5285. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5286. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  5287. 0x020e,
  5288. 0x020f,
  5289. },
  5290. {
  5291. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  5292. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5293. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  5294. 0x020d,
  5295. 0x020e,
  5296. },
  5297. {
  5298. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  5299. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5300. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  5301. 0x020c,
  5302. 0x020d,
  5303. },
  5304. {
  5305. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  5306. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5307. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  5308. 0x020b,
  5309. 0x020c,
  5310. },
  5311. {
  5312. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  5313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5314. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  5315. 0x020a,
  5316. 0x020b,
  5317. },
  5318. {
  5319. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  5320. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5321. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  5322. 0x0209,
  5323. 0x020a,
  5324. },
  5325. {
  5326. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  5327. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5328. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  5329. 0x0208,
  5330. 0x0209,
  5331. },
  5332. {
  5333. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  5334. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5335. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  5336. 0x0207,
  5337. 0x0208,
  5338. },
  5339. {
  5340. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  5341. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5342. 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  5343. 0x0206,
  5344. 0x0207,
  5345. },
  5346. {
  5347. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  5348. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5349. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  5350. 0x0205,
  5351. 0x0206,
  5352. },
  5353. {
  5354. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  5355. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5356. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  5357. 0x0204,
  5358. 0x0205,
  5359. },
  5360. {
  5361. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  5362. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5363. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  5364. 0x0203,
  5365. 0x0204,
  5366. },
  5367. {
  5368. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  5369. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5370. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  5371. 0x0202,
  5372. 0x0203,
  5373. },
  5374. {
  5375. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  5376. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5377. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0800, 0x07fc, 0x07f8, 0x0200,
  5378. 0x0201,
  5379. 0x0202,
  5380. },
  5381. {
  5382. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  5383. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5384. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0804, 0x0800, 0x07fc, 0x01ff,
  5385. 0x0200,
  5386. 0x0201,
  5387. },
  5388. {
  5389. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  5390. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5391. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0808, 0x0804, 0x0800, 0x01fe,
  5392. 0x01ff,
  5393. 0x0200,
  5394. },
  5395. {
  5396. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  5397. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5398. 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x080c, 0x0808, 0x0804, 0x01fd,
  5399. 0x01fe,
  5400. 0x01ff,
  5401. },
  5402. {
  5403. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  5404. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5405. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0814, 0x0810, 0x080c, 0x01fb,
  5406. 0x01fc,
  5407. 0x01fd,
  5408. },
  5409. {
  5410. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  5411. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5412. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0818, 0x0814, 0x0810, 0x01fa,
  5413. 0x01fb,
  5414. 0x01fc,
  5415. },
  5416. {
  5417. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  5418. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5419. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x081c, 0x0818, 0x0814, 0x01f9,
  5420. 0x01fa,
  5421. 0x01fb,
  5422. },
  5423. {
  5424. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  5425. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5426. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0820, 0x081c, 0x0818, 0x01f8,
  5427. 0x01f9,
  5428. 0x01fa,
  5429. },
  5430. {
  5431. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  5432. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5433. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0824, 0x0820, 0x081c, 0x01f7,
  5434. 0x01f8,
  5435. 0x01f9,
  5436. },
  5437. {
  5438. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  5439. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5440. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0828, 0x0824, 0x0820, 0x01f6,
  5441. 0x01f7,
  5442. 0x01f8,
  5443. },
  5444. {
  5445. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  5446. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5447. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x082c, 0x0828, 0x0824, 0x01f5,
  5448. 0x01f6,
  5449. 0x01f7,
  5450. },
  5451. {
  5452. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  5453. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5454. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0830, 0x082c, 0x0828, 0x01f4,
  5455. 0x01f5,
  5456. 0x01f6,
  5457. },
  5458. {
  5459. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  5460. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5461. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0834, 0x0830, 0x082c, 0x01f3,
  5462. 0x01f4,
  5463. 0x01f5,
  5464. },
  5465. {
  5466. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  5467. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5468. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0838, 0x0834, 0x0830, 0x01f2,
  5469. 0x01f3,
  5470. 0x01f4,
  5471. },
  5472. {
  5473. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  5474. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5475. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x083c, 0x0838, 0x0834, 0x01f1,
  5476. 0x01f2,
  5477. 0x01f3,
  5478. },
  5479. {
  5480. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  5481. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5482. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x0840, 0x083c, 0x0838, 0x01f0,
  5483. 0x01f1,
  5484. 0x01f2,
  5485. },
  5486. {
  5487. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  5488. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5489. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0844, 0x0840, 0x083c, 0x01f0,
  5490. 0x01f0,
  5491. 0x01f1,
  5492. },
  5493. {
  5494. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  5495. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5496. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0848, 0x0844, 0x0840, 0x01ef,
  5497. 0x01f0,
  5498. 0x01f0,
  5499. },
  5500. {
  5501. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  5502. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5503. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x084c, 0x0848, 0x0844, 0x01ee,
  5504. 0x01ef,
  5505. 0x01f0,
  5506. },
  5507. {
  5508. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  5509. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5510. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0850, 0x084c, 0x0848, 0x01ed,
  5511. 0x01ee,
  5512. 0x01ef,
  5513. },
  5514. {
  5515. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  5516. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5517. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0854, 0x0850, 0x084c, 0x01ec,
  5518. 0x01ed,
  5519. 0x01ee,
  5520. },
  5521. {
  5522. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  5523. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5524. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0858, 0x0854, 0x0850, 0x01eb,
  5525. 0x01ec,
  5526. 0x01ed,
  5527. },
  5528. {
  5529. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  5530. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x00,
  5531. 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x085c, 0x0858, 0x0854, 0x01ea,
  5532. 0x01eb,
  5533. 0x01ec,
  5534. },
  5535. {
  5536. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  5537. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5538. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0860, 0x085c, 0x0858, 0x01e9,
  5539. 0x01ea,
  5540. 0x01eb,
  5541. },
  5542. {
  5543. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  5544. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5545. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0864, 0x0860, 0x085c, 0x01e8,
  5546. 0x01e9,
  5547. 0x01ea,
  5548. },
  5549. {
  5550. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  5551. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5552. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0868, 0x0864, 0x0860, 0x01e7,
  5553. 0x01e8,
  5554. 0x01e9,
  5555. },
  5556. {
  5557. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  5558. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5559. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x086c, 0x0868, 0x0864, 0x01e6,
  5560. 0x01e7,
  5561. 0x01e8,
  5562. },
  5563. {
  5564. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  5565. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x00,
  5566. 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x0870, 0x086c, 0x0868, 0x01e5,
  5567. 0x01e6,
  5568. 0x01e7,
  5569. },
  5570. {
  5571. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  5572. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5573. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0874, 0x0870, 0x086c, 0x01e5,
  5574. 0x01e5,
  5575. 0x01e6,
  5576. },
  5577. {
  5578. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  5579. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5580. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0878, 0x0874, 0x0870, 0x01e4,
  5581. 0x01e5,
  5582. 0x01e5,
  5583. },
  5584. {
  5585. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  5586. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x00,
  5587. 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x087c, 0x0878, 0x0874, 0x01e3,
  5588. 0x01e4,
  5589. 0x01e5,
  5590. },
  5591. {
  5592. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  5593. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5594. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0880, 0x087c, 0x0878, 0x01e2,
  5595. 0x01e3,
  5596. 0x01e4,
  5597. },
  5598. {
  5599. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  5600. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5601. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0884, 0x0880, 0x087c, 0x01e1,
  5602. 0x01e2,
  5603. 0x01e3,
  5604. },
  5605. {
  5606. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  5607. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5608. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0888, 0x0884, 0x0880, 0x01e0,
  5609. 0x01e1,
  5610. 0x01e2,
  5611. },
  5612. {
  5613. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  5614. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x00,
  5615. 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x088c, 0x0888, 0x0884, 0x01df,
  5616. 0x01e0,
  5617. 0x01e1,
  5618. },
  5619. {
  5620. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  5621. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x00,
  5622. 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x0890, 0x088c, 0x0888, 0x01de,
  5623. 0x01df,
  5624. 0x01e0,
  5625. },
  5626. {
  5627. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  5628. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5629. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0894, 0x0890, 0x088c, 0x01dd,
  5630. 0x01de,
  5631. 0x01df,
  5632. },
  5633. {
  5634. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  5635. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5636. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0898, 0x0894, 0x0890, 0x01dd,
  5637. 0x01dd,
  5638. 0x01de,
  5639. },
  5640. {
  5641. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  5642. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5643. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x089c, 0x0898, 0x0894, 0x01dc,
  5644. 0x01dd,
  5645. 0x01dd,
  5646. },
  5647. {
  5648. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  5649. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5650. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x08a0, 0x089c, 0x0898, 0x01db,
  5651. 0x01dc,
  5652. 0x01dd,
  5653. },
  5654. {
  5655. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  5656. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5657. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a4, 0x08a0, 0x089c, 0x01da,
  5658. 0x01db,
  5659. 0x01dc,
  5660. },
  5661. {
  5662. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  5663. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5664. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  5665. 0x01da,
  5666. 0x01db,
  5667. },
  5668. {
  5669. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  5670. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5671. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  5672. 0x01d9,
  5673. 0x01da,
  5674. },
  5675. {
  5676. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  5677. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5678. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  5679. 0x01d8,
  5680. 0x01d9,
  5681. },
  5682. {
  5683. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  5684. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5685. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  5686. 0x01d7,
  5687. 0x01d8,
  5688. },
  5689. {
  5690. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  5691. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5692. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  5693. 0x01d7,
  5694. 0x01d7,
  5695. },
  5696. {
  5697. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  5698. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x00,
  5699. 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  5700. 0x01d6,
  5701. 0x01d7,
  5702. },
  5703. {
  5704. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  5705. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x00,
  5706. 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  5707. 0x01d5,
  5708. 0x01d6,
  5709. },
  5710. {
  5711. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  5712. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x00,
  5713. 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  5714. 0x01d4,
  5715. 0x01d5,
  5716. },
  5717. {
  5718. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  5719. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5720. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  5721. 0x01d3,
  5722. 0x01d4,
  5723. },
  5724. {
  5725. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  5726. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5727. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  5728. 0x01d2,
  5729. 0x01d3,
  5730. },
  5731. {
  5732. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  5733. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5734. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  5735. 0x01d2,
  5736. 0x01d2,
  5737. },
  5738. {
  5739. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  5740. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5741. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  5742. 0x01d1,
  5743. 0x01d2,
  5744. },
  5745. {
  5746. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  5747. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5748. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  5749. 0x01d0,
  5750. 0x01d1,
  5751. },
  5752. {
  5753. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  5754. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5755. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  5756. 0x01cf,
  5757. 0x01d0,
  5758. },
  5759. {
  5760. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  5761. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x00,
  5762. 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  5763. 0x01ce,
  5764. 0x01cf,
  5765. },
  5766. {
  5767. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  5768. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5769. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  5770. 0x01ce,
  5771. 0x01ce,
  5772. },
  5773. {
  5774. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  5775. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5776. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  5777. 0x01cd,
  5778. 0x01ce,
  5779. },
  5780. {
  5781. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  5782. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5783. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  5784. 0x01cc,
  5785. 0x01cd,
  5786. },
  5787. {
  5788. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  5789. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5790. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  5791. 0x01cb,
  5792. 0x01cc,
  5793. },
  5794. {
  5795. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  5796. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5797. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  5798. 0x01ca,
  5799. 0x01cb,
  5800. },
  5801. {
  5802. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  5803. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x00,
  5804. 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  5805. 0x01ca,
  5806. 0x01cb,
  5807. },
  5808. {
  5809. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  5810. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5811. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  5812. 0x01c9,
  5813. 0x01ca,
  5814. },
  5815. {
  5816. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  5817. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5818. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  5819. 0x01c9,
  5820. 0x01ca,
  5821. },
  5822. {
  5823. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  5824. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5825. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  5826. 0x01c9,
  5827. 0x01c9,
  5828. },
  5829. {
  5830. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  5831. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5832. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  5833. 0x01c8,
  5834. 0x01c9,
  5835. },
  5836. {
  5837. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  5838. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5839. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  5840. 0x01c8,
  5841. 0x01c9,
  5842. },
  5843. {
  5844. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  5845. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5846. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  5847. 0x01c8,
  5848. 0x01c8,
  5849. },
  5850. {
  5851. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  5852. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5853. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  5854. 0x01c7,
  5855. 0x01c8,
  5856. },
  5857. {
  5858. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  5859. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5860. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  5861. 0x01c7,
  5862. 0x01c8,
  5863. },
  5864. {
  5865. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  5866. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5867. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  5868. 0x01c6,
  5869. 0x01c7,
  5870. },
  5871. {
  5872. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  5873. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5874. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  5875. 0x01c6,
  5876. 0x01c7,
  5877. },
  5878. {
  5879. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  5880. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x00,
  5881. 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  5882. 0x01c6,
  5883. 0x01c6,
  5884. },
  5885. {
  5886. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  5887. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5888. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  5889. 0x01c5,
  5890. 0x01c6,
  5891. },
  5892. {
  5893. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  5894. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5895. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  5896. 0x01c5,
  5897. 0x01c6,
  5898. },
  5899. {
  5900. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  5901. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5902. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  5903. 0x01c4,
  5904. 0x01c5,
  5905. },
  5906. {
  5907. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  5908. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5909. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  5910. 0x01c4,
  5911. 0x01c5,
  5912. },
  5913. {
  5914. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  5915. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5916. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  5917. 0x01c4,
  5918. 0x01c4,
  5919. },
  5920. {
  5921. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  5922. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5923. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  5924. 0x01c3,
  5925. 0x01c4,
  5926. },
  5927. {
  5928. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  5929. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5930. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  5931. 0x01c3,
  5932. 0x01c4,
  5933. },
  5934. {
  5935. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  5936. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5937. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  5938. 0x01c2,
  5939. 0x01c3,
  5940. },
  5941. {
  5942. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  5943. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5944. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  5945. 0x01c2,
  5946. 0x01c3,
  5947. },
  5948. {
  5949. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  5950. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5951. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  5952. 0x01c2,
  5953. 0x01c2,
  5954. },
  5955. {
  5956. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  5957. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5958. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  5959. 0x01c1,
  5960. 0x01c2,
  5961. },
  5962. {
  5963. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  5964. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5965. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  5966. 0x01c0,
  5967. 0x01c1,
  5968. },
  5969. {
  5970. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  5971. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5972. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  5973. 0x01bf,
  5974. 0x01c0,
  5975. },
  5976. {
  5977. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  5978. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5979. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  5980. 0x01bf,
  5981. 0x01bf,
  5982. },
  5983. {
  5984. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  5985. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5986. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  5987. 0x01be,
  5988. 0x01bf,
  5989. },
  5990. {
  5991. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  5992. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5993. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  5994. 0x01bd,
  5995. 0x01be,
  5996. },
  5997. {
  5998. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  5999. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  6000. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6001. 0x01bc,
  6002. 0x01bd,
  6003. },
  6004. {
  6005. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6006. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6007. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6008. 0x043f,
  6009. 0x0443,
  6010. },
  6011. {
  6012. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6013. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6014. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6015. 0x043d,
  6016. 0x0441,
  6017. },
  6018. {
  6019. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6020. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6021. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6022. 0x043a,
  6023. 0x043f,
  6024. },
  6025. {
  6026. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6027. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6028. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6029. 0x0438,
  6030. 0x043d,
  6031. },
  6032. {
  6033. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6034. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6035. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6036. 0x0436,
  6037. 0x043a,
  6038. },
  6039. {
  6040. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6041. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6042. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6043. 0x0434,
  6044. 0x0438,
  6045. },
  6046. {
  6047. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6048. 0x07, 0x00, 0x07, 0x00, 0x51, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6049. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6050. 0x0431,
  6051. 0x0436,
  6052. },
  6053. {
  6054. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6055. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6056. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6057. 0x042f,
  6058. 0x0434,
  6059. },
  6060. {
  6061. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6062. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6063. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6064. 0x042d,
  6065. 0x0431,
  6066. },
  6067. {
  6068. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6069. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6070. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6071. 0x042b,
  6072. 0x042f,
  6073. },
  6074. {
  6075. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6076. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6077. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6078. 0x0429,
  6079. 0x042d,
  6080. },
  6081. {
  6082. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6083. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6084. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6085. 0x0427,
  6086. 0x042b,
  6087. },
  6088. {
  6089. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6090. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6091. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6092. 0x0424,
  6093. 0x0429,
  6094. },
  6095. {
  6096. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6097. 0x04, 0x00, 0x04, 0x00, 0x11, 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x11,
  6098. 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6099. 0x041f,
  6100. 0x0424}
  6101. };
  6102. static const struct chan_info_nphy_radio2057_rev5
  6103. chan_info_nphyrev8_2057_rev5[] = {
  6104. {
  6105. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6106. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6107. 0x043a, 0x043f, 0x0443},
  6108. {
  6109. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6110. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6111. 0x0438, 0x043d, 0x0441},
  6112. {
  6113. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6114. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6115. 0x0436, 0x043a, 0x043f},
  6116. {
  6117. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6118. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6119. 0x0434, 0x0438, 0x043d},
  6120. {
  6121. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6122. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6123. 0x0431, 0x0436, 0x043a},
  6124. {
  6125. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6126. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6127. 0x042f, 0x0434, 0x0438},
  6128. {
  6129. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6130. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6131. 0x042d, 0x0431, 0x0436},
  6132. {
  6133. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6134. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6135. 0x042b, 0x042f, 0x0434},
  6136. {
  6137. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6138. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6139. 0x0429, 0x042d, 0x0431},
  6140. {
  6141. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6142. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6143. 0x0427, 0x042b, 0x042f},
  6144. {
  6145. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6146. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6147. 0x0424, 0x0429, 0x042d},
  6148. {
  6149. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6150. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6151. 0x0422, 0x0427, 0x042b},
  6152. {
  6153. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6154. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6155. 0x0420, 0x0424, 0x0429},
  6156. {
  6157. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6158. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6159. 0x041b, 0x041f, 0x0424}
  6160. };
  6161. static const struct chan_info_nphy_radio2057_rev5
  6162. chan_info_nphyrev9_2057_rev5v1[] = {
  6163. {
  6164. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6165. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6166. 0x043a, 0x043f, 0x0443},
  6167. {
  6168. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6169. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6170. 0x0438, 0x043d, 0x0441},
  6171. {
  6172. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6173. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6174. 0x0436, 0x043a, 0x043f},
  6175. {
  6176. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6177. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6178. 0x0434, 0x0438, 0x043d},
  6179. {
  6180. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6181. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6182. 0x0431, 0x0436, 0x043a},
  6183. {
  6184. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6185. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6186. 0x042f, 0x0434, 0x0438},
  6187. {
  6188. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6189. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6190. 0x042d, 0x0431, 0x0436},
  6191. {
  6192. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6193. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6194. 0x042b, 0x042f, 0x0434},
  6195. {
  6196. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6197. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6198. 0x0429, 0x042d, 0x0431},
  6199. {
  6200. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6201. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6202. 0x0427, 0x042b, 0x042f},
  6203. {
  6204. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6205. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6206. 0x0424, 0x0429, 0x042d},
  6207. {
  6208. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6209. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6210. 0x0422, 0x0427, 0x042b},
  6211. {
  6212. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6213. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6214. 0x0420, 0x0424, 0x0429},
  6215. {
  6216. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6217. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6218. 0x041b, 0x041f, 0x0424}
  6219. };
  6220. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev7[] = {
  6221. {
  6222. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  6223. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6224. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  6225. 0x0215,
  6226. 0x0216},
  6227. {
  6228. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6229. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6230. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6231. 0x0214,
  6232. 0x0215},
  6233. {
  6234. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6235. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6236. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6237. 0x0213,
  6238. 0x0214},
  6239. {
  6240. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6241. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6242. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6243. 0x0212,
  6244. 0x0213},
  6245. {
  6246. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6247. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6248. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6249. 0x0211,
  6250. 0x0212},
  6251. {
  6252. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6253. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6254. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6255. 0x020f,
  6256. 0x0211},
  6257. {
  6258. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6259. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6260. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6261. 0x020e,
  6262. 0x020f},
  6263. {
  6264. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6265. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6266. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  6267. 0x020d,
  6268. 0x020e},
  6269. {
  6270. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  6271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6272. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  6273. 0x020c,
  6274. 0x020d},
  6275. {
  6276. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  6277. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6278. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  6279. 0x020b,
  6280. 0x020c},
  6281. {
  6282. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  6283. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6284. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  6285. 0x020a,
  6286. 0x020b},
  6287. {
  6288. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  6289. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6290. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  6291. 0x0209,
  6292. 0x020a},
  6293. {
  6294. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  6295. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6296. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  6297. 0x0208,
  6298. 0x0209},
  6299. {
  6300. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  6301. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6302. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  6303. 0x0207,
  6304. 0x0208},
  6305. {
  6306. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  6307. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6308. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  6309. 0x0206,
  6310. 0x0207},
  6311. {
  6312. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  6313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6314. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  6315. 0x0205,
  6316. 0x0206},
  6317. {
  6318. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  6319. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6320. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  6321. 0x0204,
  6322. 0x0205},
  6323. {
  6324. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  6325. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6326. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  6327. 0x0203,
  6328. 0x0204},
  6329. {
  6330. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  6331. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6332. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  6333. 0x0202,
  6334. 0x0203},
  6335. {
  6336. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  6337. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6338. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  6339. 0x0201,
  6340. 0x0202},
  6341. {
  6342. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  6343. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6344. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  6345. 0x0200,
  6346. 0x0201},
  6347. {
  6348. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  6349. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6350. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  6351. 0x01ff,
  6352. 0x0200},
  6353. {
  6354. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  6355. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6356. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  6357. 0x01fe,
  6358. 0x01ff},
  6359. {
  6360. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  6361. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6362. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  6363. 0x01fc,
  6364. 0x01fd},
  6365. {
  6366. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  6367. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6368. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  6369. 0x01fb,
  6370. 0x01fc},
  6371. {
  6372. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  6373. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6374. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  6375. 0x01fa,
  6376. 0x01fb},
  6377. {
  6378. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  6379. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6380. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  6381. 0x01f9,
  6382. 0x01fa},
  6383. {
  6384. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  6385. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6386. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  6387. 0x01f8,
  6388. 0x01f9},
  6389. {
  6390. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  6391. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6392. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  6393. 0x01f7,
  6394. 0x01f8},
  6395. {
  6396. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  6397. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6398. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  6399. 0x01f6,
  6400. 0x01f7},
  6401. {
  6402. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  6403. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6404. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  6405. 0x01f5,
  6406. 0x01f6},
  6407. {
  6408. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  6409. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6410. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  6411. 0x01f4,
  6412. 0x01f5},
  6413. {
  6414. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  6415. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6416. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  6417. 0x01f3,
  6418. 0x01f4},
  6419. {
  6420. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  6421. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6422. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  6423. 0x01f2,
  6424. 0x01f3},
  6425. {
  6426. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  6427. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6428. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  6429. 0x01f1,
  6430. 0x01f2},
  6431. {
  6432. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  6433. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6434. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  6435. 0x01f0,
  6436. 0x01f1},
  6437. {
  6438. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  6439. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6440. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  6441. 0x01f0,
  6442. 0x01f0},
  6443. {
  6444. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  6445. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6446. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  6447. 0x01ef,
  6448. 0x01f0},
  6449. {
  6450. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  6451. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6452. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  6453. 0x01ee,
  6454. 0x01ef},
  6455. {
  6456. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  6457. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6458. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  6459. 0x01ed,
  6460. 0x01ee},
  6461. {
  6462. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  6463. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6464. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  6465. 0x01ec,
  6466. 0x01ed},
  6467. {
  6468. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  6469. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6470. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  6471. 0x01eb,
  6472. 0x01ec},
  6473. {
  6474. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  6475. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6476. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  6477. 0x01ea,
  6478. 0x01eb},
  6479. {
  6480. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  6481. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6482. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  6483. 0x01e9,
  6484. 0x01ea},
  6485. {
  6486. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  6487. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6488. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  6489. 0x01e8,
  6490. 0x01e9},
  6491. {
  6492. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  6493. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6494. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  6495. 0x01e7,
  6496. 0x01e8},
  6497. {
  6498. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  6499. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6500. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  6501. 0x01e6,
  6502. 0x01e7},
  6503. {
  6504. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  6505. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6506. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  6507. 0x01e5,
  6508. 0x01e6},
  6509. {
  6510. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  6511. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6512. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  6513. 0x01e5,
  6514. 0x01e5},
  6515. {
  6516. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  6517. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6518. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  6519. 0x01e4,
  6520. 0x01e5},
  6521. {
  6522. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  6523. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6524. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  6525. 0x01e3,
  6526. 0x01e4},
  6527. {
  6528. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  6529. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6530. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  6531. 0x01e2,
  6532. 0x01e3},
  6533. {
  6534. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  6535. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6536. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  6537. 0x01e1,
  6538. 0x01e2},
  6539. {
  6540. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  6541. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6542. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  6543. 0x01e0,
  6544. 0x01e1},
  6545. {
  6546. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  6547. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6548. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  6549. 0x01df,
  6550. 0x01e0},
  6551. {
  6552. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  6553. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6554. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  6555. 0x01de,
  6556. 0x01df},
  6557. {
  6558. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  6559. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6560. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  6561. 0x01dd,
  6562. 0x01de},
  6563. {
  6564. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  6565. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6566. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  6567. 0x01dd,
  6568. 0x01dd},
  6569. {
  6570. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  6571. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6572. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  6573. 0x01dc,
  6574. 0x01dd},
  6575. {
  6576. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  6577. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6578. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  6579. 0x01db,
  6580. 0x01dc},
  6581. {
  6582. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  6583. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6584. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  6585. 0x01da,
  6586. 0x01db},
  6587. {
  6588. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  6589. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6590. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  6591. 0x01d9,
  6592. 0x01da},
  6593. {
  6594. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  6595. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6596. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  6597. 0x01d8,
  6598. 0x01d9},
  6599. {
  6600. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  6601. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6602. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  6603. 0x01d7,
  6604. 0x01d8},
  6605. {
  6606. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  6607. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6608. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  6609. 0x01d7,
  6610. 0x01d7},
  6611. {
  6612. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  6613. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6614. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  6615. 0x01d6,
  6616. 0x01d7},
  6617. {
  6618. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  6619. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6620. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  6621. 0x01d5,
  6622. 0x01d6},
  6623. {
  6624. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  6625. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6626. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  6627. 0x01d4,
  6628. 0x01d5},
  6629. {
  6630. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  6631. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6632. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  6633. 0x01d3,
  6634. 0x01d4},
  6635. {
  6636. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  6637. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6638. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  6639. 0x01d2,
  6640. 0x01d3},
  6641. {
  6642. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  6643. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6644. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  6645. 0x01d2,
  6646. 0x01d2},
  6647. {
  6648. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  6649. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6650. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  6651. 0x01d1,
  6652. 0x01d2},
  6653. {
  6654. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  6655. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6656. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  6657. 0x01d0,
  6658. 0x01d1},
  6659. {
  6660. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  6661. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6662. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  6663. 0x01cf,
  6664. 0x01d0},
  6665. {
  6666. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  6667. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6668. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  6669. 0x01ce,
  6670. 0x01cf},
  6671. {
  6672. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  6673. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6674. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  6675. 0x01ce,
  6676. 0x01ce},
  6677. {
  6678. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  6679. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6680. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  6681. 0x01cd,
  6682. 0x01ce},
  6683. {
  6684. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  6685. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6686. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  6687. 0x01cc,
  6688. 0x01cd},
  6689. {
  6690. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  6691. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6692. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  6693. 0x01cb,
  6694. 0x01cc},
  6695. {
  6696. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  6697. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6698. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  6699. 0x01ca,
  6700. 0x01cb},
  6701. {
  6702. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  6703. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6704. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  6705. 0x01ca,
  6706. 0x01cb},
  6707. {
  6708. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  6709. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6710. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  6711. 0x01c9,
  6712. 0x01ca},
  6713. {
  6714. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  6715. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6716. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  6717. 0x01c9,
  6718. 0x01ca},
  6719. {
  6720. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  6721. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6722. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  6723. 0x01c9,
  6724. 0x01c9},
  6725. {
  6726. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  6727. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6728. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  6729. 0x01c8,
  6730. 0x01c9},
  6731. {
  6732. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  6733. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6734. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  6735. 0x01c8,
  6736. 0x01c9},
  6737. {
  6738. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  6739. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6740. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  6741. 0x01c8,
  6742. 0x01c8},
  6743. {
  6744. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  6745. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6746. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  6747. 0x01c7,
  6748. 0x01c8},
  6749. {
  6750. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  6751. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6752. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  6753. 0x01c7,
  6754. 0x01c8},
  6755. {
  6756. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  6757. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6758. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  6759. 0x01c6,
  6760. 0x01c7},
  6761. {
  6762. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  6763. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6764. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  6765. 0x01c6,
  6766. 0x01c7},
  6767. {
  6768. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  6769. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6770. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  6771. 0x01c6,
  6772. 0x01c6},
  6773. {
  6774. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  6775. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6776. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  6777. 0x01c5,
  6778. 0x01c6},
  6779. {
  6780. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  6781. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6782. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  6783. 0x01c5,
  6784. 0x01c6},
  6785. {
  6786. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  6787. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6788. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  6789. 0x01c4,
  6790. 0x01c5},
  6791. {
  6792. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  6793. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  6794. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  6795. 0x01c4,
  6796. 0x01c5},
  6797. {
  6798. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  6799. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6800. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  6801. 0x01c4,
  6802. 0x01c4},
  6803. {
  6804. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  6805. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6806. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  6807. 0x01c3,
  6808. 0x01c4},
  6809. {
  6810. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  6811. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6812. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  6813. 0x01c3,
  6814. 0x01c4},
  6815. {
  6816. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  6817. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6818. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  6819. 0x01c2,
  6820. 0x01c3},
  6821. {
  6822. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  6823. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6824. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  6825. 0x01c2,
  6826. 0x01c3},
  6827. {
  6828. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  6829. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6830. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  6831. 0x01c2,
  6832. 0x01c2},
  6833. {
  6834. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  6835. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6836. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  6837. 0x01c1,
  6838. 0x01c2},
  6839. {
  6840. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  6841. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6842. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  6843. 0x01c0,
  6844. 0x01c1},
  6845. {
  6846. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  6847. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6848. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  6849. 0x01bf,
  6850. 0x01c0},
  6851. {
  6852. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  6853. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6854. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  6855. 0x01bf,
  6856. 0x01bf},
  6857. {
  6858. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  6859. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6860. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  6861. 0x01be,
  6862. 0x01bf},
  6863. {
  6864. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  6865. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6866. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  6867. 0x01bd,
  6868. 0x01be},
  6869. {
  6870. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  6871. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6872. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6873. 0x01bc,
  6874. 0x01bd},
  6875. {
  6876. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6877. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6878. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6879. 0x043f,
  6880. 0x0443},
  6881. {
  6882. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6883. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6884. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6885. 0x043d,
  6886. 0x0441},
  6887. {
  6888. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6889. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6890. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6891. 0x043a,
  6892. 0x043f},
  6893. {
  6894. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6895. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6896. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6897. 0x0438,
  6898. 0x043d},
  6899. {
  6900. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6901. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6902. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6903. 0x0436,
  6904. 0x043a},
  6905. {
  6906. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6907. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6908. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6909. 0x0434,
  6910. 0x0438},
  6911. {
  6912. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6913. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6914. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6915. 0x0431,
  6916. 0x0436},
  6917. {
  6918. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6919. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6920. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6921. 0x042f,
  6922. 0x0434},
  6923. {
  6924. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6925. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6926. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6927. 0x042d,
  6928. 0x0431},
  6929. {
  6930. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6931. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6932. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6933. 0x042b,
  6934. 0x042f},
  6935. {
  6936. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6937. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6938. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6939. 0x0429,
  6940. 0x042d},
  6941. {
  6942. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6943. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6944. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6945. 0x0427,
  6946. 0x042b},
  6947. {
  6948. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6949. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6950. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6951. 0x0424,
  6952. 0x0429},
  6953. {
  6954. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6955. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  6956. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6957. 0x041f,
  6958. 0x0424}
  6959. };
  6960. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev8[] = {
  6961. {
  6962. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6963. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6964. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6965. 0x0214,
  6966. 0x0215},
  6967. {
  6968. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6969. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6970. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6971. 0x0213,
  6972. 0x0214},
  6973. {
  6974. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6975. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6976. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6977. 0x0212,
  6978. 0x0213},
  6979. {
  6980. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6981. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6982. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6983. 0x0211,
  6984. 0x0212},
  6985. {
  6986. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6987. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6988. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6989. 0x020f,
  6990. 0x0211},
  6991. {
  6992. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6993. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6994. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6995. 0x020e,
  6996. 0x020f},
  6997. {
  6998. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6999. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  7000. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  7001. 0x020d,
  7002. 0x020e},
  7003. {
  7004. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  7005. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7006. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  7007. 0x020c,
  7008. 0x020d},
  7009. {
  7010. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  7011. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7012. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  7013. 0x020b,
  7014. 0x020c},
  7015. {
  7016. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  7017. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7018. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  7019. 0x020a,
  7020. 0x020b},
  7021. {
  7022. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  7023. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7024. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  7025. 0x0209,
  7026. 0x020a},
  7027. {
  7028. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  7029. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7030. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  7031. 0x0208,
  7032. 0x0209},
  7033. {
  7034. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  7035. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7036. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  7037. 0x0207,
  7038. 0x0208},
  7039. {
  7040. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  7041. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7042. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  7043. 0x0206,
  7044. 0x0207},
  7045. {
  7046. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  7047. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7048. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  7049. 0x0205,
  7050. 0x0206},
  7051. {
  7052. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  7053. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7054. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  7055. 0x0204,
  7056. 0x0205},
  7057. {
  7058. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  7059. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7060. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  7061. 0x0203,
  7062. 0x0204},
  7063. {
  7064. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  7065. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7066. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  7067. 0x0202,
  7068. 0x0203},
  7069. {
  7070. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  7071. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7072. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  7073. 0x0201,
  7074. 0x0202},
  7075. {
  7076. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  7077. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7078. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  7079. 0x0200,
  7080. 0x0201},
  7081. {
  7082. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  7083. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7084. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  7085. 0x01ff,
  7086. 0x0200},
  7087. {
  7088. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  7089. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7090. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  7091. 0x01fe,
  7092. 0x01ff},
  7093. {
  7094. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  7095. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7096. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  7097. 0x01fc,
  7098. 0x01fd},
  7099. {
  7100. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  7101. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7102. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  7103. 0x01fb,
  7104. 0x01fc},
  7105. {
  7106. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  7107. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7108. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  7109. 0x01fa,
  7110. 0x01fb},
  7111. {
  7112. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  7113. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7114. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  7115. 0x01f9,
  7116. 0x01fa},
  7117. {
  7118. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  7119. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7120. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  7121. 0x01f8,
  7122. 0x01f9},
  7123. {
  7124. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  7125. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7126. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  7127. 0x01f7,
  7128. 0x01f8},
  7129. {
  7130. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  7131. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7132. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  7133. 0x01f6,
  7134. 0x01f7},
  7135. {
  7136. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  7137. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7138. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  7139. 0x01f5,
  7140. 0x01f6},
  7141. {
  7142. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  7143. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7144. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  7145. 0x01f4,
  7146. 0x01f5},
  7147. {
  7148. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  7149. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7150. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  7151. 0x01f3,
  7152. 0x01f4},
  7153. {
  7154. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  7155. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7156. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  7157. 0x01f2,
  7158. 0x01f3},
  7159. {
  7160. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  7161. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7162. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  7163. 0x01f1,
  7164. 0x01f2},
  7165. {
  7166. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  7167. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7168. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  7169. 0x01f0,
  7170. 0x01f1},
  7171. {
  7172. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  7173. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7174. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  7175. 0x01f0,
  7176. 0x01f0},
  7177. {
  7178. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  7179. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7180. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  7181. 0x01ef,
  7182. 0x01f0},
  7183. {
  7184. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  7185. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7186. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  7187. 0x01ee,
  7188. 0x01ef},
  7189. {
  7190. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  7191. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7192. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  7193. 0x01ed,
  7194. 0x01ee},
  7195. {
  7196. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  7197. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7198. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  7199. 0x01ec,
  7200. 0x01ed},
  7201. {
  7202. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  7203. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7204. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  7205. 0x01eb,
  7206. 0x01ec},
  7207. {
  7208. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  7209. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7210. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  7211. 0x01ea,
  7212. 0x01eb},
  7213. {
  7214. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  7215. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7216. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  7217. 0x01e9,
  7218. 0x01ea},
  7219. {
  7220. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  7221. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7222. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  7223. 0x01e8,
  7224. 0x01e9},
  7225. {
  7226. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  7227. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7228. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  7229. 0x01e7,
  7230. 0x01e8},
  7231. {
  7232. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  7233. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7234. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  7235. 0x01e6,
  7236. 0x01e7},
  7237. {
  7238. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  7239. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7240. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  7241. 0x01e5,
  7242. 0x01e6},
  7243. {
  7244. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  7245. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7246. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  7247. 0x01e5,
  7248. 0x01e5},
  7249. {
  7250. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  7251. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7252. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  7253. 0x01e4,
  7254. 0x01e5},
  7255. {
  7256. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  7257. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7258. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  7259. 0x01e3,
  7260. 0x01e4},
  7261. {
  7262. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  7263. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7264. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  7265. 0x01e2,
  7266. 0x01e3},
  7267. {
  7268. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  7269. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7270. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  7271. 0x01e1,
  7272. 0x01e2},
  7273. {
  7274. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  7275. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7276. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  7277. 0x01e0,
  7278. 0x01e1},
  7279. {
  7280. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  7281. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7282. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  7283. 0x01df,
  7284. 0x01e0},
  7285. {
  7286. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  7287. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7288. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  7289. 0x01de,
  7290. 0x01df},
  7291. {
  7292. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  7293. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7294. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  7295. 0x01dd,
  7296. 0x01de},
  7297. {
  7298. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  7299. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7300. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  7301. 0x01dd,
  7302. 0x01dd},
  7303. {
  7304. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  7305. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7306. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  7307. 0x01dc,
  7308. 0x01dd},
  7309. {
  7310. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  7311. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7312. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  7313. 0x01db,
  7314. 0x01dc},
  7315. {
  7316. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  7317. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7318. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  7319. 0x01da,
  7320. 0x01db},
  7321. {
  7322. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  7323. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7324. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  7325. 0x01d9,
  7326. 0x01da},
  7327. {
  7328. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  7329. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7330. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  7331. 0x01d8,
  7332. 0x01d9},
  7333. {
  7334. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  7335. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7336. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  7337. 0x01d7,
  7338. 0x01d8},
  7339. {
  7340. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  7341. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7342. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  7343. 0x01d7,
  7344. 0x01d7},
  7345. {
  7346. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  7347. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7348. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  7349. 0x01d6,
  7350. 0x01d7},
  7351. {
  7352. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  7353. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7354. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  7355. 0x01d5,
  7356. 0x01d6},
  7357. {
  7358. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  7359. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7360. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  7361. 0x01d4,
  7362. 0x01d5},
  7363. {
  7364. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  7365. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7366. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  7367. 0x01d3,
  7368. 0x01d4},
  7369. {
  7370. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  7371. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7372. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  7373. 0x01d2,
  7374. 0x01d3},
  7375. {
  7376. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  7377. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7378. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  7379. 0x01d2,
  7380. 0x01d2},
  7381. {
  7382. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  7383. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7384. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  7385. 0x01d1,
  7386. 0x01d2},
  7387. {
  7388. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  7389. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7390. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  7391. 0x01d0,
  7392. 0x01d1},
  7393. {
  7394. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  7395. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7396. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  7397. 0x01cf,
  7398. 0x01d0},
  7399. {
  7400. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  7401. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7402. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  7403. 0x01ce,
  7404. 0x01cf},
  7405. {
  7406. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  7407. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7408. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  7409. 0x01ce,
  7410. 0x01ce},
  7411. {
  7412. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  7413. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7414. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  7415. 0x01cd,
  7416. 0x01ce},
  7417. {
  7418. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  7419. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7420. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  7421. 0x01cc,
  7422. 0x01cd},
  7423. {
  7424. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  7425. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7426. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  7427. 0x01cb,
  7428. 0x01cc},
  7429. {
  7430. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  7431. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7432. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  7433. 0x01ca,
  7434. 0x01cb},
  7435. {
  7436. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  7437. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7438. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  7439. 0x01ca,
  7440. 0x01cb},
  7441. {
  7442. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  7443. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7444. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  7445. 0x01c9,
  7446. 0x01ca},
  7447. {
  7448. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  7449. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7450. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  7451. 0x01c9,
  7452. 0x01ca},
  7453. {
  7454. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  7455. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7456. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  7457. 0x01c9,
  7458. 0x01c9},
  7459. {
  7460. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  7461. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7462. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  7463. 0x01c8,
  7464. 0x01c9},
  7465. {
  7466. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  7467. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7468. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  7469. 0x01c8,
  7470. 0x01c9},
  7471. {
  7472. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  7473. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7474. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  7475. 0x01c8,
  7476. 0x01c8},
  7477. {
  7478. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  7479. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7480. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  7481. 0x01c7,
  7482. 0x01c8},
  7483. {
  7484. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  7485. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7486. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  7487. 0x01c7,
  7488. 0x01c8},
  7489. {
  7490. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  7491. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7492. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  7493. 0x01c6,
  7494. 0x01c7},
  7495. {
  7496. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  7497. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7498. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  7499. 0x01c6,
  7500. 0x01c7},
  7501. {
  7502. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  7503. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7504. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  7505. 0x01c6,
  7506. 0x01c6},
  7507. {
  7508. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  7509. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7510. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  7511. 0x01c5,
  7512. 0x01c6},
  7513. {
  7514. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  7515. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7516. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  7517. 0x01c5,
  7518. 0x01c6},
  7519. {
  7520. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  7521. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7522. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  7523. 0x01c4,
  7524. 0x01c5},
  7525. {
  7526. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  7527. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  7528. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  7529. 0x01c4,
  7530. 0x01c5},
  7531. {
  7532. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  7533. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7534. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  7535. 0x01c4,
  7536. 0x01c4},
  7537. {
  7538. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  7539. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7540. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  7541. 0x01c3,
  7542. 0x01c4},
  7543. {
  7544. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  7545. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7546. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  7547. 0x01c3,
  7548. 0x01c4},
  7549. {
  7550. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  7551. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7552. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  7553. 0x01c2,
  7554. 0x01c3},
  7555. {
  7556. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  7557. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7558. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  7559. 0x01c2,
  7560. 0x01c3},
  7561. {
  7562. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  7563. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7564. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  7565. 0x01c2,
  7566. 0x01c2},
  7567. {
  7568. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  7569. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7570. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  7571. 0x01c1,
  7572. 0x01c2},
  7573. {
  7574. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  7575. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7576. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  7577. 0x01c0,
  7578. 0x01c1},
  7579. {
  7580. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  7581. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7582. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  7583. 0x01bf,
  7584. 0x01c0},
  7585. {
  7586. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  7587. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7588. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  7589. 0x01bf,
  7590. 0x01bf},
  7591. {
  7592. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  7593. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7594. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  7595. 0x01be,
  7596. 0x01bf},
  7597. {
  7598. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  7599. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7600. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  7601. 0x01bd,
  7602. 0x01be},
  7603. {
  7604. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  7605. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7606. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  7607. 0x01bc,
  7608. 0x01bd},
  7609. {
  7610. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  7611. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7612. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  7613. 0x043f,
  7614. 0x0443},
  7615. {
  7616. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  7617. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7618. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  7619. 0x043d,
  7620. 0x0441},
  7621. {
  7622. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  7623. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7624. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  7625. 0x043a,
  7626. 0x043f},
  7627. {
  7628. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  7629. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7630. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  7631. 0x0438,
  7632. 0x043d},
  7633. {
  7634. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  7635. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7636. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  7637. 0x0436,
  7638. 0x043a},
  7639. {
  7640. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  7641. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7642. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  7643. 0x0434,
  7644. 0x0438},
  7645. {
  7646. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  7647. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7648. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  7649. 0x0431,
  7650. 0x0436},
  7651. {
  7652. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  7653. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7654. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  7655. 0x042f,
  7656. 0x0434},
  7657. {
  7658. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  7659. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7660. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  7661. 0x042d,
  7662. 0x0431},
  7663. {
  7664. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  7665. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7666. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  7667. 0x042b,
  7668. 0x042f},
  7669. {
  7670. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  7671. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7672. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  7673. 0x0429,
  7674. 0x042d},
  7675. {
  7676. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  7677. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7678. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  7679. 0x0427,
  7680. 0x042b},
  7681. {
  7682. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  7683. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7684. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  7685. 0x0424,
  7686. 0x0429},
  7687. {
  7688. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  7689. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  7690. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  7691. 0x041f,
  7692. 0x0424}
  7693. };
  7694. static struct radio_regs regs_2055[] = {
  7695. {0x02, 0x80, 0x80, 0, 0},
  7696. {0x03, 0, 0, 0, 0},
  7697. {0x04, 0x27, 0x27, 0, 0},
  7698. {0x05, 0, 0, 0, 0},
  7699. {0x06, 0x27, 0x27, 0, 0},
  7700. {0x07, 0x7f, 0x7f, 1, 1},
  7701. {0x08, 0x7, 0x7, 1, 1},
  7702. {0x09, 0x7f, 0x7f, 1, 1},
  7703. {0x0A, 0x7, 0x7, 1, 1},
  7704. {0x0B, 0x15, 0x15, 0, 0},
  7705. {0x0C, 0x15, 0x15, 0, 0},
  7706. {0x0D, 0x4f, 0x4f, 1, 1},
  7707. {0x0E, 0x5, 0x5, 1, 1},
  7708. {0x0F, 0x4f, 0x4f, 1, 1},
  7709. {0x10, 0x5, 0x5, 1, 1},
  7710. {0x11, 0xd0, 0xd0, 0, 0},
  7711. {0x12, 0x2, 0x2, 0, 0},
  7712. {0x13, 0, 0, 0, 0},
  7713. {0x14, 0x40, 0x40, 0, 0},
  7714. {0x15, 0, 0, 0, 0},
  7715. {0x16, 0, 0, 0, 0},
  7716. {0x17, 0, 0, 0, 0},
  7717. {0x18, 0, 0, 0, 0},
  7718. {0x19, 0, 0, 0, 0},
  7719. {0x1A, 0, 0, 0, 0},
  7720. {0x1B, 0, 0, 0, 0},
  7721. {0x1C, 0, 0, 0, 0},
  7722. {0x1D, 0xc0, 0xc0, 0, 0},
  7723. {0x1E, 0xff, 0xff, 0, 0},
  7724. {0x1F, 0xc0, 0xc0, 0, 0},
  7725. {0x20, 0xff, 0xff, 0, 0},
  7726. {0x21, 0xc0, 0xc0, 0, 0},
  7727. {0x22, 0, 0, 0, 0},
  7728. {0x23, 0x2c, 0x2c, 0, 0},
  7729. {0x24, 0, 0, 0, 0},
  7730. {0x25, 0, 0, 0, 0},
  7731. {0x26, 0, 0, 0, 0},
  7732. {0x27, 0, 0, 0, 0},
  7733. {0x28, 0, 0, 0, 0},
  7734. {0x29, 0, 0, 0, 0},
  7735. {0x2A, 0, 0, 0, 0},
  7736. {0x2B, 0, 0, 0, 0},
  7737. {0x2C, 0, 0, 0, 0},
  7738. {0x2D, 0xa4, 0xa4, 0, 0},
  7739. {0x2E, 0x38, 0x38, 0, 0},
  7740. {0x2F, 0, 0, 0, 0},
  7741. {0x30, 0x4, 0x4, 1, 1},
  7742. {0x31, 0, 0, 0, 0},
  7743. {0x32, 0xa, 0xa, 0, 0},
  7744. {0x33, 0x87, 0x87, 0, 0},
  7745. {0x34, 0x9, 0x9, 0, 0},
  7746. {0x35, 0x70, 0x70, 0, 0},
  7747. {0x36, 0x11, 0x11, 0, 0},
  7748. {0x37, 0x18, 0x18, 1, 1},
  7749. {0x38, 0x6, 0x6, 0, 0},
  7750. {0x39, 0x4, 0x4, 1, 1},
  7751. {0x3A, 0x6, 0x6, 0, 0},
  7752. {0x3B, 0x9e, 0x9e, 0, 0},
  7753. {0x3C, 0x9, 0x9, 0, 0},
  7754. {0x3D, 0xc8, 0xc8, 1, 1},
  7755. {0x3E, 0x88, 0x88, 0, 0},
  7756. {0x3F, 0, 0, 0, 0},
  7757. {0x40, 0, 0, 0, 0},
  7758. {0x41, 0, 0, 0, 0},
  7759. {0x42, 0x1, 0x1, 0, 0},
  7760. {0x43, 0x2, 0x2, 0, 0},
  7761. {0x44, 0x96, 0x96, 0, 0},
  7762. {0x45, 0x3e, 0x3e, 0, 0},
  7763. {0x46, 0x3e, 0x3e, 0, 0},
  7764. {0x47, 0x13, 0x13, 0, 0},
  7765. {0x48, 0x2, 0x2, 0, 0},
  7766. {0x49, 0x15, 0x15, 0, 0},
  7767. {0x4A, 0x7, 0x7, 0, 0},
  7768. {0x4B, 0, 0, 0, 0},
  7769. {0x4C, 0, 0, 0, 0},
  7770. {0x4D, 0, 0, 0, 0},
  7771. {0x4E, 0, 0, 0, 0},
  7772. {0x4F, 0, 0, 0, 0},
  7773. {0x50, 0x8, 0x8, 0, 0},
  7774. {0x51, 0x8, 0x8, 0, 0},
  7775. {0x52, 0x6, 0x6, 0, 0},
  7776. {0x53, 0x84, 0x84, 1, 1},
  7777. {0x54, 0xc3, 0xc3, 0, 0},
  7778. {0x55, 0x8f, 0x8f, 0, 0},
  7779. {0x56, 0xff, 0xff, 0, 0},
  7780. {0x57, 0xff, 0xff, 0, 0},
  7781. {0x58, 0x88, 0x88, 0, 0},
  7782. {0x59, 0x88, 0x88, 0, 0},
  7783. {0x5A, 0, 0, 0, 0},
  7784. {0x5B, 0xcc, 0xcc, 0, 0},
  7785. {0x5C, 0x6, 0x6, 0, 0},
  7786. {0x5D, 0x80, 0x80, 0, 0},
  7787. {0x5E, 0x80, 0x80, 0, 0},
  7788. {0x5F, 0xf8, 0xf8, 0, 0},
  7789. {0x60, 0x88, 0x88, 0, 0},
  7790. {0x61, 0x88, 0x88, 0, 0},
  7791. {0x62, 0x88, 0x8, 1, 1},
  7792. {0x63, 0x88, 0x88, 0, 0},
  7793. {0x64, 0, 0, 0, 0},
  7794. {0x65, 0x1, 0x1, 1, 1},
  7795. {0x66, 0x8a, 0x8a, 0, 0},
  7796. {0x67, 0x8, 0x8, 0, 0},
  7797. {0x68, 0x83, 0x83, 0, 0},
  7798. {0x69, 0x6, 0x6, 0, 0},
  7799. {0x6A, 0xa0, 0xa0, 0, 0},
  7800. {0x6B, 0xa, 0xa, 0, 0},
  7801. {0x6C, 0x87, 0x87, 1, 1},
  7802. {0x6D, 0x2a, 0x2a, 0, 0},
  7803. {0x6E, 0x2a, 0x2a, 0, 0},
  7804. {0x6F, 0x2a, 0x2a, 0, 0},
  7805. {0x70, 0x2a, 0x2a, 0, 0},
  7806. {0x71, 0x18, 0x18, 0, 0},
  7807. {0x72, 0x6a, 0x6a, 1, 1},
  7808. {0x73, 0xab, 0xab, 1, 1},
  7809. {0x74, 0x13, 0x13, 1, 1},
  7810. {0x75, 0xc1, 0xc1, 1, 1},
  7811. {0x76, 0xaa, 0xaa, 1, 1},
  7812. {0x77, 0x87, 0x87, 1, 1},
  7813. {0x78, 0, 0, 0, 0},
  7814. {0x79, 0x6, 0x6, 0, 0},
  7815. {0x7A, 0x7, 0x7, 0, 0},
  7816. {0x7B, 0x7, 0x7, 0, 0},
  7817. {0x7C, 0x15, 0x15, 0, 0},
  7818. {0x7D, 0x55, 0x55, 0, 0},
  7819. {0x7E, 0x97, 0x97, 1, 1},
  7820. {0x7F, 0x8, 0x8, 0, 0},
  7821. {0x80, 0x14, 0x14, 1, 1},
  7822. {0x81, 0x33, 0x33, 0, 0},
  7823. {0x82, 0x88, 0x88, 0, 0},
  7824. {0x83, 0x6, 0x6, 0, 0},
  7825. {0x84, 0x3, 0x3, 1, 1},
  7826. {0x85, 0xa, 0xa, 0, 0},
  7827. {0x86, 0x3, 0x3, 1, 1},
  7828. {0x87, 0x2a, 0x2a, 0, 0},
  7829. {0x88, 0xa4, 0xa4, 0, 0},
  7830. {0x89, 0x18, 0x18, 0, 0},
  7831. {0x8A, 0x28, 0x28, 0, 0},
  7832. {0x8B, 0, 0, 0, 0},
  7833. {0x8C, 0x4a, 0x4a, 0, 0},
  7834. {0x8D, 0, 0, 0, 0},
  7835. {0x8E, 0xf8, 0xf8, 0, 0},
  7836. {0x8F, 0x88, 0x88, 0, 0},
  7837. {0x90, 0x88, 0x88, 0, 0},
  7838. {0x91, 0x88, 0x8, 1, 1},
  7839. {0x92, 0x88, 0x88, 0, 0},
  7840. {0x93, 0, 0, 0, 0},
  7841. {0x94, 0x1, 0x1, 1, 1},
  7842. {0x95, 0x8a, 0x8a, 0, 0},
  7843. {0x96, 0x8, 0x8, 0, 0},
  7844. {0x97, 0x83, 0x83, 0, 0},
  7845. {0x98, 0x6, 0x6, 0, 0},
  7846. {0x99, 0xa0, 0xa0, 0, 0},
  7847. {0x9A, 0xa, 0xa, 0, 0},
  7848. {0x9B, 0x87, 0x87, 1, 1},
  7849. {0x9C, 0x2a, 0x2a, 0, 0},
  7850. {0x9D, 0x2a, 0x2a, 0, 0},
  7851. {0x9E, 0x2a, 0x2a, 0, 0},
  7852. {0x9F, 0x2a, 0x2a, 0, 0},
  7853. {0xA0, 0x18, 0x18, 0, 0},
  7854. {0xA1, 0x6a, 0x6a, 1, 1},
  7855. {0xA2, 0xab, 0xab, 1, 1},
  7856. {0xA3, 0x13, 0x13, 1, 1},
  7857. {0xA4, 0xc1, 0xc1, 1, 1},
  7858. {0xA5, 0xaa, 0xaa, 1, 1},
  7859. {0xA6, 0x87, 0x87, 1, 1},
  7860. {0xA7, 0, 0, 0, 0},
  7861. {0xA8, 0x6, 0x6, 0, 0},
  7862. {0xA9, 0x7, 0x7, 0, 0},
  7863. {0xAA, 0x7, 0x7, 0, 0},
  7864. {0xAB, 0x15, 0x15, 0, 0},
  7865. {0xAC, 0x55, 0x55, 0, 0},
  7866. {0xAD, 0x97, 0x97, 1, 1},
  7867. {0xAE, 0x8, 0x8, 0, 0},
  7868. {0xAF, 0x14, 0x14, 1, 1},
  7869. {0xB0, 0x33, 0x33, 0, 0},
  7870. {0xB1, 0x88, 0x88, 0, 0},
  7871. {0xB2, 0x6, 0x6, 0, 0},
  7872. {0xB3, 0x3, 0x3, 1, 1},
  7873. {0xB4, 0xa, 0xa, 0, 0},
  7874. {0xB5, 0x3, 0x3, 1, 1},
  7875. {0xB6, 0x2a, 0x2a, 0, 0},
  7876. {0xB7, 0xa4, 0xa4, 0, 0},
  7877. {0xB8, 0x18, 0x18, 0, 0},
  7878. {0xB9, 0x28, 0x28, 0, 0},
  7879. {0xBA, 0, 0, 0, 0},
  7880. {0xBB, 0x4a, 0x4a, 0, 0},
  7881. {0xBC, 0, 0, 0, 0},
  7882. {0xBD, 0x71, 0x71, 0, 0},
  7883. {0xBE, 0x72, 0x72, 0, 0},
  7884. {0xBF, 0x73, 0x73, 0, 0},
  7885. {0xC0, 0x74, 0x74, 0, 0},
  7886. {0xC1, 0x75, 0x75, 0, 0},
  7887. {0xC2, 0x76, 0x76, 0, 0},
  7888. {0xC3, 0x77, 0x77, 0, 0},
  7889. {0xC4, 0x78, 0x78, 0, 0},
  7890. {0xC5, 0x79, 0x79, 0, 0},
  7891. {0xC6, 0x7a, 0x7a, 0, 0},
  7892. {0xC7, 0, 0, 0, 0},
  7893. {0xC8, 0, 0, 0, 0},
  7894. {0xC9, 0, 0, 0, 0},
  7895. {0xCA, 0, 0, 0, 0},
  7896. {0xCB, 0, 0, 0, 0},
  7897. {0xCC, 0, 0, 0, 0},
  7898. {0xCD, 0, 0, 0, 0},
  7899. {0xCE, 0x6, 0x6, 0, 0},
  7900. {0xCF, 0, 0, 0, 0},
  7901. {0xD0, 0, 0, 0, 0},
  7902. {0xD1, 0x18, 0x18, 0, 0},
  7903. {0xD2, 0x88, 0x88, 0, 0},
  7904. {0xD3, 0, 0, 0, 0},
  7905. {0xD4, 0, 0, 0, 0},
  7906. {0xD5, 0, 0, 0, 0},
  7907. {0xD6, 0, 0, 0, 0},
  7908. {0xD7, 0, 0, 0, 0},
  7909. {0xD8, 0, 0, 0, 0},
  7910. {0xD9, 0, 0, 0, 0},
  7911. {0xDA, 0x6, 0x6, 0, 0},
  7912. {0xDB, 0, 0, 0, 0},
  7913. {0xDC, 0, 0, 0, 0},
  7914. {0xDD, 0x18, 0x18, 0, 0},
  7915. {0xDE, 0x88, 0x88, 0, 0},
  7916. {0xDF, 0, 0, 0, 0},
  7917. {0xE0, 0, 0, 0, 0},
  7918. {0xE1, 0, 0, 0, 0},
  7919. {0xE2, 0, 0, 0, 0},
  7920. {0xFFFF, 0, 0, 0, 0},
  7921. };
  7922. static struct radio_regs regs_SYN_2056[] = {
  7923. {0x02, 0, 0, 0, 0},
  7924. {0x03, 0, 0, 0, 0},
  7925. {0x04, 0, 0, 0, 0},
  7926. {0x05, 0, 0, 0, 0},
  7927. {0x06, 0, 0, 0, 0},
  7928. {0x07, 0, 0, 0, 0},
  7929. {0x08, 0, 0, 0, 0},
  7930. {0x09, 0x1, 0x1, 0, 0},
  7931. {0x0A, 0, 0, 0, 0},
  7932. {0x0B, 0, 0, 0, 0},
  7933. {0x0C, 0, 0, 0, 0},
  7934. {0x0D, 0, 0, 0, 0},
  7935. {0x0E, 0, 0, 0, 0},
  7936. {0x0F, 0, 0, 0, 0},
  7937. {0x10, 0, 0, 0, 0},
  7938. {0x11, 0, 0, 0, 0},
  7939. {0x12, 0, 0, 0, 0},
  7940. {0x13, 0, 0, 0, 0},
  7941. {0x14, 0, 0, 0, 0},
  7942. {0x15, 0, 0, 0, 0},
  7943. {0x16, 0, 0, 0, 0},
  7944. {0x17, 0, 0, 0, 0},
  7945. {0x18, 0, 0, 0, 0},
  7946. {0x19, 0, 0, 0, 0},
  7947. {0x1A, 0, 0, 0, 0},
  7948. {0x1B, 0, 0, 0, 0},
  7949. {0x1C, 0, 0, 0, 0},
  7950. {0x1D, 0, 0, 0, 0},
  7951. {0x1E, 0, 0, 0, 0},
  7952. {0x1F, 0, 0, 0, 0},
  7953. {0x20, 0, 0, 0, 0},
  7954. {0x21, 0, 0, 0, 0},
  7955. {0x22, 0x60, 0x60, 0, 0},
  7956. {0x23, 0x6, 0x6, 0, 0},
  7957. {0x24, 0xc, 0xc, 0, 0},
  7958. {0x25, 0, 0, 0, 0},
  7959. {0x26, 0, 0, 0, 0},
  7960. {0x27, 0, 0, 0, 0},
  7961. {0x28, 0x1, 0x1, 0, 0},
  7962. {0x29, 0, 0, 0, 0},
  7963. {0x2A, 0, 0, 0, 0},
  7964. {0x2B, 0, 0, 0, 0},
  7965. {0x2C, 0, 0, 0, 0},
  7966. {0x2D, 0, 0, 0, 0},
  7967. {0x2E, 0xd, 0xd, 0, 0},
  7968. {0x2F, 0x1f, 0x1f, 0, 0},
  7969. {0x30, 0x15, 0x15, 0, 0},
  7970. {0x31, 0xf, 0xf, 0, 0},
  7971. {0x32, 0, 0, 0, 0},
  7972. {0x33, 0, 0, 0, 0},
  7973. {0x34, 0, 0, 0, 0},
  7974. {0x35, 0, 0, 0, 0},
  7975. {0x36, 0, 0, 0, 0},
  7976. {0x37, 0, 0, 0, 0},
  7977. {0x38, 0, 0, 0, 0},
  7978. {0x39, 0, 0, 0, 0},
  7979. {0x3A, 0, 0, 0, 0},
  7980. {0x3B, 0, 0, 0, 0},
  7981. {0x3C, 0x13, 0x13, 0, 0},
  7982. {0x3D, 0xf, 0xf, 0, 0},
  7983. {0x3E, 0x18, 0x18, 0, 0},
  7984. {0x3F, 0, 0, 0, 0},
  7985. {0x40, 0, 0, 0, 0},
  7986. {0x41, 0x20, 0x20, 0, 0},
  7987. {0x42, 0x20, 0x20, 0, 0},
  7988. {0x43, 0, 0, 0, 0},
  7989. {0x44, 0x77, 0x77, 0, 0},
  7990. {0x45, 0x7, 0x7, 0, 0},
  7991. {0x46, 0x1, 0x1, 0, 0},
  7992. {0x47, 0x4, 0x4, 0, 0},
  7993. {0x48, 0xf, 0xf, 0, 0},
  7994. {0x49, 0x30, 0x30, 0, 0},
  7995. {0x4A, 0x32, 0x32, 0, 0},
  7996. {0x4B, 0xd, 0xd, 0, 0},
  7997. {0x4C, 0xd, 0xd, 0, 0},
  7998. {0x4D, 0x4, 0x4, 0, 0},
  7999. {0x4E, 0x6, 0x6, 0, 0},
  8000. {0x4F, 0x1, 0x1, 0, 0},
  8001. {0x50, 0x1c, 0x1c, 0, 0},
  8002. {0x51, 0x2, 0x2, 0, 0},
  8003. {0x52, 0x2, 0x2, 0, 0},
  8004. {0x53, 0xf7, 0xf7, 1, 1},
  8005. {0x54, 0xb4, 0xb4, 0, 0},
  8006. {0x55, 0xd2, 0xd2, 0, 0},
  8007. {0x56, 0, 0, 0, 0},
  8008. {0x57, 0, 0, 0, 0},
  8009. {0x58, 0x4, 0x4, 0, 0},
  8010. {0x59, 0x96, 0x96, 0, 0},
  8011. {0x5A, 0x3e, 0x3e, 0, 0},
  8012. {0x5B, 0x3e, 0x3e, 0, 0},
  8013. {0x5C, 0x13, 0x13, 0, 0},
  8014. {0x5D, 0x2, 0x2, 0, 0},
  8015. {0x5E, 0, 0, 0, 0},
  8016. {0x5F, 0x7, 0x7, 0, 0},
  8017. {0x60, 0x7, 0x7, 1, 1},
  8018. {0x61, 0x8, 0x8, 0, 0},
  8019. {0x62, 0x3, 0x3, 0, 0},
  8020. {0x63, 0, 0, 0, 0},
  8021. {0x64, 0, 0, 0, 0},
  8022. {0x65, 0, 0, 0, 0},
  8023. {0x66, 0, 0, 0, 0},
  8024. {0x67, 0, 0, 0, 0},
  8025. {0x68, 0x40, 0x40, 0, 0},
  8026. {0x69, 0, 0, 0, 0},
  8027. {0x6A, 0, 0, 0, 0},
  8028. {0x6B, 0, 0, 0, 0},
  8029. {0x6C, 0, 0, 0, 0},
  8030. {0x6D, 0x1, 0x1, 0, 0},
  8031. {0x6E, 0, 0, 0, 0},
  8032. {0x6F, 0, 0, 0, 0},
  8033. {0x70, 0x60, 0x60, 0, 0},
  8034. {0x71, 0x66, 0x66, 0, 0},
  8035. {0x72, 0xc, 0xc, 0, 0},
  8036. {0x73, 0x66, 0x66, 0, 0},
  8037. {0x74, 0x8f, 0x8f, 1, 1},
  8038. {0x75, 0, 0, 0, 0},
  8039. {0x76, 0xcc, 0xcc, 0, 0},
  8040. {0x77, 0x1, 0x1, 0, 0},
  8041. {0x78, 0x66, 0x66, 0, 0},
  8042. {0x79, 0x66, 0x66, 0, 0},
  8043. {0x7A, 0, 0, 0, 0},
  8044. {0x7B, 0, 0, 0, 0},
  8045. {0x7C, 0, 0, 0, 0},
  8046. {0x7D, 0, 0, 0, 0},
  8047. {0x7E, 0, 0, 0, 0},
  8048. {0x7F, 0, 0, 0, 0},
  8049. {0x80, 0, 0, 0, 0},
  8050. {0x81, 0, 0, 0, 0},
  8051. {0x82, 0, 0, 0, 0},
  8052. {0x83, 0, 0, 0, 0},
  8053. {0x84, 0, 0, 0, 0},
  8054. {0x85, 0xff, 0xff, 0, 0},
  8055. {0x86, 0, 0, 0, 0},
  8056. {0x87, 0, 0, 0, 0},
  8057. {0x88, 0, 0, 0, 0},
  8058. {0x89, 0, 0, 0, 0},
  8059. {0x8A, 0, 0, 0, 0},
  8060. {0x8B, 0, 0, 0, 0},
  8061. {0x8C, 0, 0, 0, 0},
  8062. {0x8D, 0, 0, 0, 0},
  8063. {0x8E, 0, 0, 0, 0},
  8064. {0x8F, 0, 0, 0, 0},
  8065. {0x90, 0, 0, 0, 0},
  8066. {0x91, 0, 0, 0, 0},
  8067. {0x92, 0, 0, 0, 0},
  8068. {0x93, 0, 0, 0, 0},
  8069. {0x94, 0, 0, 0, 0},
  8070. {0x95, 0, 0, 0, 0},
  8071. {0x96, 0, 0, 0, 0},
  8072. {0x97, 0, 0, 0, 0},
  8073. {0x98, 0, 0, 0, 0},
  8074. {0x99, 0, 0, 0, 0},
  8075. {0x9A, 0, 0, 0, 0},
  8076. {0x9B, 0, 0, 0, 0},
  8077. {0x9C, 0, 0, 0, 0},
  8078. {0x9D, 0, 0, 0, 0},
  8079. {0x9E, 0, 0, 0, 0},
  8080. {0x9F, 0x6, 0x6, 0, 0},
  8081. {0xA0, 0x66, 0x66, 0, 0},
  8082. {0xA1, 0x66, 0x66, 0, 0},
  8083. {0xA2, 0x66, 0x66, 0, 0},
  8084. {0xA3, 0x66, 0x66, 0, 0},
  8085. {0xA4, 0x66, 0x66, 0, 0},
  8086. {0xA5, 0x66, 0x66, 0, 0},
  8087. {0xA6, 0x66, 0x66, 0, 0},
  8088. {0xA7, 0x66, 0x66, 0, 0},
  8089. {0xA8, 0x66, 0x66, 0, 0},
  8090. {0xA9, 0x66, 0x66, 0, 0},
  8091. {0xAA, 0x66, 0x66, 0, 0},
  8092. {0xAB, 0x66, 0x66, 0, 0},
  8093. {0xAC, 0x66, 0x66, 0, 0},
  8094. {0xAD, 0x66, 0x66, 0, 0},
  8095. {0xAE, 0x66, 0x66, 0, 0},
  8096. {0xAF, 0x66, 0x66, 0, 0},
  8097. {0xB0, 0x66, 0x66, 0, 0},
  8098. {0xB1, 0x66, 0x66, 0, 0},
  8099. {0xB2, 0x66, 0x66, 0, 0},
  8100. {0xB3, 0xa, 0xa, 0, 0},
  8101. {0xB4, 0, 0, 0, 0},
  8102. {0xB5, 0, 0, 0, 0},
  8103. {0xB6, 0, 0, 0, 0},
  8104. {0xFFFF, 0, 0, 0, 0}
  8105. };
  8106. static struct radio_regs regs_TX_2056[] = {
  8107. {0x02, 0, 0, 0, 0},
  8108. {0x03, 0, 0, 0, 0},
  8109. {0x04, 0, 0, 0, 0},
  8110. {0x05, 0, 0, 0, 0},
  8111. {0x06, 0, 0, 0, 0},
  8112. {0x07, 0, 0, 0, 0},
  8113. {0x08, 0, 0, 0, 0},
  8114. {0x09, 0, 0, 0, 0},
  8115. {0x0A, 0, 0, 0, 0},
  8116. {0x0B, 0, 0, 0, 0},
  8117. {0x0C, 0, 0, 0, 0},
  8118. {0x0D, 0, 0, 0, 0},
  8119. {0x0E, 0, 0, 0, 0},
  8120. {0x0F, 0, 0, 0, 0},
  8121. {0x10, 0, 0, 0, 0},
  8122. {0x11, 0, 0, 0, 0},
  8123. {0x12, 0, 0, 0, 0},
  8124. {0x13, 0, 0, 0, 0},
  8125. {0x14, 0, 0, 0, 0},
  8126. {0x15, 0, 0, 0, 0},
  8127. {0x16, 0, 0, 0, 0},
  8128. {0x17, 0, 0, 0, 0},
  8129. {0x18, 0, 0, 0, 0},
  8130. {0x19, 0, 0, 0, 0},
  8131. {0x1A, 0, 0, 0, 0},
  8132. {0x1B, 0, 0, 0, 0},
  8133. {0x1C, 0, 0, 0, 0},
  8134. {0x1D, 0, 0, 0, 0},
  8135. {0x1E, 0, 0, 0, 0},
  8136. {0x1F, 0, 0, 0, 0},
  8137. {0x20, 0, 0, 0, 0},
  8138. {0x21, 0x88, 0x88, 0, 0},
  8139. {0x22, 0x88, 0x88, 0, 0},
  8140. {0x23, 0x88, 0x88, 0, 0},
  8141. {0x24, 0x88, 0x88, 0, 0},
  8142. {0x25, 0xc, 0xc, 0, 0},
  8143. {0x26, 0, 0, 0, 0},
  8144. {0x27, 0x3, 0x3, 0, 0},
  8145. {0x28, 0, 0, 0, 0},
  8146. {0x29, 0x3, 0x3, 0, 0},
  8147. {0x2A, 0x37, 0x37, 0, 0},
  8148. {0x2B, 0x3, 0x3, 0, 0},
  8149. {0x2C, 0, 0, 0, 0},
  8150. {0x2D, 0, 0, 0, 0},
  8151. {0x2E, 0x1, 0x1, 0, 0},
  8152. {0x2F, 0x1, 0x1, 0, 0},
  8153. {0x30, 0, 0, 0, 0},
  8154. {0x31, 0, 0, 0, 0},
  8155. {0x32, 0, 0, 0, 0},
  8156. {0x33, 0x11, 0x11, 0, 0},
  8157. {0x34, 0x11, 0x11, 0, 0},
  8158. {0x35, 0, 0, 0, 0},
  8159. {0x36, 0, 0, 0, 0},
  8160. {0x37, 0x3, 0x3, 0, 0},
  8161. {0x38, 0xf, 0xf, 0, 0},
  8162. {0x39, 0, 0, 0, 0},
  8163. {0x3A, 0x2d, 0x2d, 0, 0},
  8164. {0x3B, 0, 0, 0, 0},
  8165. {0x3C, 0x6e, 0x6e, 0, 0},
  8166. {0x3D, 0xf0, 0xf0, 1, 1},
  8167. {0x3E, 0, 0, 0, 0},
  8168. {0x3F, 0, 0, 0, 0},
  8169. {0x40, 0, 0, 0, 0},
  8170. {0x41, 0x3, 0x3, 0, 0},
  8171. {0x42, 0x3, 0x3, 0, 0},
  8172. {0x43, 0, 0, 0, 0},
  8173. {0x44, 0x1e, 0x1e, 0, 0},
  8174. {0x45, 0, 0, 0, 0},
  8175. {0x46, 0x6e, 0x6e, 0, 0},
  8176. {0x47, 0xf0, 0xf0, 1, 1},
  8177. {0x48, 0, 0, 0, 0},
  8178. {0x49, 0x2, 0x2, 0, 0},
  8179. {0x4A, 0xff, 0xff, 1, 1},
  8180. {0x4B, 0xc, 0xc, 0, 0},
  8181. {0x4C, 0, 0, 0, 0},
  8182. {0x4D, 0x38, 0x38, 0, 0},
  8183. {0x4E, 0x70, 0x70, 1, 1},
  8184. {0x4F, 0x2, 0x2, 0, 0},
  8185. {0x50, 0x88, 0x88, 0, 0},
  8186. {0x51, 0xc, 0xc, 0, 0},
  8187. {0x52, 0, 0, 0, 0},
  8188. {0x53, 0x8, 0x8, 0, 0},
  8189. {0x54, 0x70, 0x70, 1, 1},
  8190. {0x55, 0x2, 0x2, 0, 0},
  8191. {0x56, 0xff, 0xff, 1, 1},
  8192. {0x57, 0, 0, 0, 0},
  8193. {0x58, 0x83, 0x83, 0, 0},
  8194. {0x59, 0x77, 0x77, 1, 1},
  8195. {0x5A, 0, 0, 0, 0},
  8196. {0x5B, 0x2, 0x2, 0, 0},
  8197. {0x5C, 0x88, 0x88, 0, 0},
  8198. {0x5D, 0, 0, 0, 0},
  8199. {0x5E, 0x8, 0x8, 0, 0},
  8200. {0x5F, 0x77, 0x77, 1, 1},
  8201. {0x60, 0x1, 0x1, 0, 0},
  8202. {0x61, 0, 0, 0, 0},
  8203. {0x62, 0x7, 0x7, 0, 0},
  8204. {0x63, 0, 0, 0, 0},
  8205. {0x64, 0x7, 0x7, 0, 0},
  8206. {0x65, 0, 0, 0, 0},
  8207. {0x66, 0, 0, 0, 0},
  8208. {0x67, 0x74, 0x74, 1, 1},
  8209. {0x68, 0, 0, 0, 0},
  8210. {0x69, 0xa, 0xa, 0, 0},
  8211. {0x6A, 0, 0, 0, 0},
  8212. {0x6B, 0, 0, 0, 0},
  8213. {0x6C, 0, 0, 0, 0},
  8214. {0x6D, 0, 0, 0, 0},
  8215. {0x6E, 0, 0, 0, 0},
  8216. {0x6F, 0, 0, 0, 0},
  8217. {0x70, 0, 0, 0, 0},
  8218. {0x71, 0x2, 0x2, 0, 0},
  8219. {0x72, 0, 0, 0, 0},
  8220. {0x73, 0, 0, 0, 0},
  8221. {0x74, 0xe, 0xe, 0, 0},
  8222. {0x75, 0xe, 0xe, 0, 0},
  8223. {0x76, 0xe, 0xe, 0, 0},
  8224. {0x77, 0x13, 0x13, 0, 0},
  8225. {0x78, 0x13, 0x13, 0, 0},
  8226. {0x79, 0x1b, 0x1b, 0, 0},
  8227. {0x7A, 0x1b, 0x1b, 0, 0},
  8228. {0x7B, 0x55, 0x55, 0, 0},
  8229. {0x7C, 0x5b, 0x5b, 0, 0},
  8230. {0x7D, 0, 0, 0, 0},
  8231. {0x7E, 0, 0, 0, 0},
  8232. {0x7F, 0, 0, 0, 0},
  8233. {0x80, 0, 0, 0, 0},
  8234. {0x81, 0, 0, 0, 0},
  8235. {0x82, 0, 0, 0, 0},
  8236. {0x83, 0, 0, 0, 0},
  8237. {0x84, 0, 0, 0, 0},
  8238. {0x85, 0, 0, 0, 0},
  8239. {0x86, 0, 0, 0, 0},
  8240. {0x87, 0, 0, 0, 0},
  8241. {0x88, 0, 0, 0, 0},
  8242. {0x89, 0, 0, 0, 0},
  8243. {0x8A, 0, 0, 0, 0},
  8244. {0x8B, 0, 0, 0, 0},
  8245. {0x8C, 0, 0, 0, 0},
  8246. {0x8D, 0, 0, 0, 0},
  8247. {0x8E, 0, 0, 0, 0},
  8248. {0x8F, 0, 0, 0, 0},
  8249. {0x90, 0, 0, 0, 0},
  8250. {0x91, 0, 0, 0, 0},
  8251. {0x92, 0, 0, 0, 0},
  8252. {0xFFFF, 0, 0, 0, 0}
  8253. };
  8254. static struct radio_regs regs_RX_2056[] = {
  8255. {0x02, 0, 0, 0, 0},
  8256. {0x03, 0, 0, 0, 0},
  8257. {0x04, 0, 0, 0, 0},
  8258. {0x05, 0, 0, 0, 0},
  8259. {0x06, 0, 0, 0, 0},
  8260. {0x07, 0, 0, 0, 0},
  8261. {0x08, 0, 0, 0, 0},
  8262. {0x09, 0, 0, 0, 0},
  8263. {0x0A, 0, 0, 0, 0},
  8264. {0x0B, 0, 0, 0, 0},
  8265. {0x0C, 0, 0, 0, 0},
  8266. {0x0D, 0, 0, 0, 0},
  8267. {0x0E, 0, 0, 0, 0},
  8268. {0x0F, 0, 0, 0, 0},
  8269. {0x10, 0, 0, 0, 0},
  8270. {0x11, 0, 0, 0, 0},
  8271. {0x12, 0, 0, 0, 0},
  8272. {0x13, 0, 0, 0, 0},
  8273. {0x14, 0, 0, 0, 0},
  8274. {0x15, 0, 0, 0, 0},
  8275. {0x16, 0, 0, 0, 0},
  8276. {0x17, 0, 0, 0, 0},
  8277. {0x18, 0, 0, 0, 0},
  8278. {0x19, 0, 0, 0, 0},
  8279. {0x1A, 0, 0, 0, 0},
  8280. {0x1B, 0, 0, 0, 0},
  8281. {0x1C, 0, 0, 0, 0},
  8282. {0x1D, 0, 0, 0, 0},
  8283. {0x1E, 0, 0, 0, 0},
  8284. {0x1F, 0, 0, 0, 0},
  8285. {0x20, 0x3, 0x3, 0, 0},
  8286. {0x21, 0, 0, 0, 0},
  8287. {0x22, 0, 0, 0, 0},
  8288. {0x23, 0x90, 0x90, 0, 0},
  8289. {0x24, 0x55, 0x55, 0, 0},
  8290. {0x25, 0x15, 0x15, 0, 0},
  8291. {0x26, 0x5, 0x5, 0, 0},
  8292. {0x27, 0x15, 0x15, 0, 0},
  8293. {0x28, 0x5, 0x5, 0, 0},
  8294. {0x29, 0x20, 0x20, 0, 0},
  8295. {0x2A, 0x11, 0x11, 0, 0},
  8296. {0x2B, 0x90, 0x90, 0, 0},
  8297. {0x2C, 0, 0, 0, 0},
  8298. {0x2D, 0x88, 0x88, 0, 0},
  8299. {0x2E, 0x32, 0x32, 0, 0},
  8300. {0x2F, 0x77, 0x77, 0, 0},
  8301. {0x30, 0x17, 0x17, 1, 1},
  8302. {0x31, 0xff, 0xff, 1, 1},
  8303. {0x32, 0x20, 0x20, 0, 0},
  8304. {0x33, 0, 0, 0, 0},
  8305. {0x34, 0x88, 0x88, 0, 0},
  8306. {0x35, 0x32, 0x32, 0, 0},
  8307. {0x36, 0x77, 0x77, 0, 0},
  8308. {0x37, 0x17, 0x17, 1, 1},
  8309. {0x38, 0xf0, 0xf0, 1, 1},
  8310. {0x39, 0x20, 0x20, 0, 0},
  8311. {0x3A, 0x8, 0x8, 0, 0},
  8312. {0x3B, 0x99, 0x99, 0, 0},
  8313. {0x3C, 0, 0, 0, 0},
  8314. {0x3D, 0x44, 0x44, 1, 1},
  8315. {0x3E, 0, 0, 0, 0},
  8316. {0x3F, 0x44, 0x44, 0, 0},
  8317. {0x40, 0xf, 0xf, 1, 1},
  8318. {0x41, 0x6, 0x6, 0, 0},
  8319. {0x42, 0x4, 0x4, 0, 0},
  8320. {0x43, 0x50, 0x50, 1, 1},
  8321. {0x44, 0x8, 0x8, 0, 0},
  8322. {0x45, 0x99, 0x99, 0, 0},
  8323. {0x46, 0, 0, 0, 0},
  8324. {0x47, 0x11, 0x11, 0, 0},
  8325. {0x48, 0, 0, 0, 0},
  8326. {0x49, 0x44, 0x44, 0, 0},
  8327. {0x4A, 0x7, 0x7, 0, 0},
  8328. {0x4B, 0x6, 0x6, 0, 0},
  8329. {0x4C, 0x4, 0x4, 0, 0},
  8330. {0x4D, 0, 0, 0, 0},
  8331. {0x4E, 0, 0, 0, 0},
  8332. {0x4F, 0x66, 0x66, 0, 0},
  8333. {0x50, 0x66, 0x66, 0, 0},
  8334. {0x51, 0x57, 0x57, 0, 0},
  8335. {0x52, 0x57, 0x57, 0, 0},
  8336. {0x53, 0x44, 0x44, 0, 0},
  8337. {0x54, 0, 0, 0, 0},
  8338. {0x55, 0, 0, 0, 0},
  8339. {0x56, 0x8, 0x8, 0, 0},
  8340. {0x57, 0x8, 0x8, 0, 0},
  8341. {0x58, 0x7, 0x7, 0, 0},
  8342. {0x59, 0x22, 0x22, 0, 0},
  8343. {0x5A, 0x22, 0x22, 0, 0},
  8344. {0x5B, 0x2, 0x2, 0, 0},
  8345. {0x5C, 0x23, 0x23, 0, 0},
  8346. {0x5D, 0x7, 0x7, 0, 0},
  8347. {0x5E, 0x55, 0x55, 0, 0},
  8348. {0x5F, 0x23, 0x23, 0, 0},
  8349. {0x60, 0x41, 0x41, 0, 0},
  8350. {0x61, 0x1, 0x1, 0, 0},
  8351. {0x62, 0xa, 0xa, 0, 0},
  8352. {0x63, 0, 0, 0, 0},
  8353. {0x64, 0, 0, 0, 0},
  8354. {0x65, 0, 0, 0, 0},
  8355. {0x66, 0, 0, 0, 0},
  8356. {0x67, 0, 0, 0, 0},
  8357. {0x68, 0, 0, 0, 0},
  8358. {0x69, 0, 0, 0, 0},
  8359. {0x6A, 0, 0, 0, 0},
  8360. {0x6B, 0xc, 0xc, 0, 0},
  8361. {0x6C, 0, 0, 0, 0},
  8362. {0x6D, 0, 0, 0, 0},
  8363. {0x6E, 0, 0, 0, 0},
  8364. {0x6F, 0, 0, 0, 0},
  8365. {0x70, 0, 0, 0, 0},
  8366. {0x71, 0, 0, 0, 0},
  8367. {0x72, 0x22, 0x22, 0, 0},
  8368. {0x73, 0x22, 0x22, 0, 0},
  8369. {0x74, 0x2, 0x2, 0, 0},
  8370. {0x75, 0xa, 0xa, 0, 0},
  8371. {0x76, 0x1, 0x1, 0, 0},
  8372. {0x77, 0x22, 0x22, 0, 0},
  8373. {0x78, 0x30, 0x30, 0, 0},
  8374. {0x79, 0, 0, 0, 0},
  8375. {0x7A, 0, 0, 0, 0},
  8376. {0x7B, 0, 0, 0, 0},
  8377. {0x7C, 0, 0, 0, 0},
  8378. {0x7D, 0, 0, 0, 0},
  8379. {0x7E, 0, 0, 0, 0},
  8380. {0x7F, 0, 0, 0, 0},
  8381. {0x80, 0, 0, 0, 0},
  8382. {0x81, 0, 0, 0, 0},
  8383. {0x82, 0, 0, 0, 0},
  8384. {0x83, 0, 0, 0, 0},
  8385. {0x84, 0, 0, 0, 0},
  8386. {0x85, 0, 0, 0, 0},
  8387. {0x86, 0, 0, 0, 0},
  8388. {0x87, 0, 0, 0, 0},
  8389. {0x88, 0, 0, 0, 0},
  8390. {0x89, 0, 0, 0, 0},
  8391. {0x8A, 0, 0, 0, 0},
  8392. {0x8B, 0, 0, 0, 0},
  8393. {0x8C, 0, 0, 0, 0},
  8394. {0x8D, 0, 0, 0, 0},
  8395. {0x8E, 0, 0, 0, 0},
  8396. {0x8F, 0, 0, 0, 0},
  8397. {0x90, 0, 0, 0, 0},
  8398. {0x91, 0, 0, 0, 0},
  8399. {0x92, 0, 0, 0, 0},
  8400. {0x93, 0, 0, 0, 0},
  8401. {0x94, 0, 0, 0, 0},
  8402. {0xFFFF, 0, 0, 0, 0}
  8403. };
  8404. static struct radio_regs regs_SYN_2056_A1[] = {
  8405. {0x02, 0, 0, 0, 0},
  8406. {0x03, 0, 0, 0, 0},
  8407. {0x04, 0, 0, 0, 0},
  8408. {0x05, 0, 0, 0, 0},
  8409. {0x06, 0, 0, 0, 0},
  8410. {0x07, 0, 0, 0, 0},
  8411. {0x08, 0, 0, 0, 0},
  8412. {0x09, 0x1, 0x1, 0, 0},
  8413. {0x0A, 0, 0, 0, 0},
  8414. {0x0B, 0, 0, 0, 0},
  8415. {0x0C, 0, 0, 0, 0},
  8416. {0x0D, 0, 0, 0, 0},
  8417. {0x0E, 0, 0, 0, 0},
  8418. {0x0F, 0, 0, 0, 0},
  8419. {0x10, 0, 0, 0, 0},
  8420. {0x11, 0, 0, 0, 0},
  8421. {0x12, 0, 0, 0, 0},
  8422. {0x13, 0, 0, 0, 0},
  8423. {0x14, 0, 0, 0, 0},
  8424. {0x15, 0, 0, 0, 0},
  8425. {0x16, 0, 0, 0, 0},
  8426. {0x17, 0, 0, 0, 0},
  8427. {0x18, 0, 0, 0, 0},
  8428. {0x19, 0, 0, 0, 0},
  8429. {0x1A, 0, 0, 0, 0},
  8430. {0x1B, 0, 0, 0, 0},
  8431. {0x1C, 0, 0, 0, 0},
  8432. {0x1D, 0, 0, 0, 0},
  8433. {0x1E, 0, 0, 0, 0},
  8434. {0x1F, 0, 0, 0, 0},
  8435. {0x20, 0, 0, 0, 0},
  8436. {0x21, 0, 0, 0, 0},
  8437. {0x22, 0x60, 0x60, 0, 0},
  8438. {0x23, 0x6, 0x6, 0, 0},
  8439. {0x24, 0xc, 0xc, 0, 0},
  8440. {0x25, 0, 0, 0, 0},
  8441. {0x26, 0, 0, 0, 0},
  8442. {0x27, 0, 0, 0, 0},
  8443. {0x28, 0x1, 0x1, 0, 0},
  8444. {0x29, 0, 0, 0, 0},
  8445. {0x2A, 0, 0, 0, 0},
  8446. {0x2B, 0, 0, 0, 0},
  8447. {0x2C, 0, 0, 0, 0},
  8448. {0x2D, 0, 0, 0, 0},
  8449. {0x2E, 0xd, 0xd, 0, 0},
  8450. {0x2F, 0x1f, 0x1f, 0, 0},
  8451. {0x30, 0x15, 0x15, 0, 0},
  8452. {0x31, 0xf, 0xf, 0, 0},
  8453. {0x32, 0, 0, 0, 0},
  8454. {0x33, 0, 0, 0, 0},
  8455. {0x34, 0, 0, 0, 0},
  8456. {0x35, 0, 0, 0, 0},
  8457. {0x36, 0, 0, 0, 0},
  8458. {0x37, 0, 0, 0, 0},
  8459. {0x38, 0, 0, 0, 0},
  8460. {0x39, 0, 0, 0, 0},
  8461. {0x3A, 0, 0, 0, 0},
  8462. {0x3B, 0, 0, 0, 0},
  8463. {0x3C, 0x13, 0x13, 0, 0},
  8464. {0x3D, 0xf, 0xf, 0, 0},
  8465. {0x3E, 0x18, 0x18, 0, 0},
  8466. {0x3F, 0, 0, 0, 0},
  8467. {0x40, 0, 0, 0, 0},
  8468. {0x41, 0x20, 0x20, 0, 0},
  8469. {0x42, 0x20, 0x20, 0, 0},
  8470. {0x43, 0, 0, 0, 0},
  8471. {0x44, 0x77, 0x77, 0, 0},
  8472. {0x45, 0x7, 0x7, 0, 0},
  8473. {0x46, 0x1, 0x1, 0, 0},
  8474. {0x47, 0x4, 0x4, 0, 0},
  8475. {0x48, 0xf, 0xf, 0, 0},
  8476. {0x49, 0x30, 0x30, 0, 0},
  8477. {0x4A, 0x32, 0x32, 0, 0},
  8478. {0x4B, 0xd, 0xd, 0, 0},
  8479. {0x4C, 0xd, 0xd, 0, 0},
  8480. {0x4D, 0x4, 0x4, 0, 0},
  8481. {0x4E, 0x6, 0x6, 0, 0},
  8482. {0x4F, 0x1, 0x1, 0, 0},
  8483. {0x50, 0x1c, 0x1c, 0, 0},
  8484. {0x51, 0x2, 0x2, 0, 0},
  8485. {0x52, 0x2, 0x2, 0, 0},
  8486. {0x53, 0xf7, 0xf7, 1, 1},
  8487. {0x54, 0xb4, 0xb4, 0, 0},
  8488. {0x55, 0xd2, 0xd2, 0, 0},
  8489. {0x56, 0, 0, 0, 0},
  8490. {0x57, 0, 0, 0, 0},
  8491. {0x58, 0x4, 0x4, 0, 0},
  8492. {0x59, 0x96, 0x96, 0, 0},
  8493. {0x5A, 0x3e, 0x3e, 0, 0},
  8494. {0x5B, 0x3e, 0x3e, 0, 0},
  8495. {0x5C, 0x13, 0x13, 0, 0},
  8496. {0x5D, 0x2, 0x2, 0, 0},
  8497. {0x5E, 0, 0, 0, 0},
  8498. {0x5F, 0x7, 0x7, 0, 0},
  8499. {0x60, 0x7, 0x7, 1, 1},
  8500. {0x61, 0x8, 0x8, 0, 0},
  8501. {0x62, 0x3, 0x3, 0, 0},
  8502. {0x63, 0, 0, 0, 0},
  8503. {0x64, 0, 0, 0, 0},
  8504. {0x65, 0, 0, 0, 0},
  8505. {0x66, 0, 0, 0, 0},
  8506. {0x67, 0, 0, 0, 0},
  8507. {0x68, 0x40, 0x40, 0, 0},
  8508. {0x69, 0, 0, 0, 0},
  8509. {0x6A, 0, 0, 0, 0},
  8510. {0x6B, 0, 0, 0, 0},
  8511. {0x6C, 0, 0, 0, 0},
  8512. {0x6D, 0x1, 0x1, 0, 0},
  8513. {0x6E, 0, 0, 0, 0},
  8514. {0x6F, 0, 0, 0, 0},
  8515. {0x70, 0x60, 0x60, 0, 0},
  8516. {0x71, 0x66, 0x66, 0, 0},
  8517. {0x72, 0xc, 0xc, 0, 0},
  8518. {0x73, 0x66, 0x66, 0, 0},
  8519. {0x74, 0x8f, 0x8f, 1, 1},
  8520. {0x75, 0, 0, 0, 0},
  8521. {0x76, 0xcc, 0xcc, 0, 0},
  8522. {0x77, 0x1, 0x1, 0, 0},
  8523. {0x78, 0x66, 0x66, 0, 0},
  8524. {0x79, 0x66, 0x66, 0, 0},
  8525. {0x7A, 0, 0, 0, 0},
  8526. {0x7B, 0, 0, 0, 0},
  8527. {0x7C, 0, 0, 0, 0},
  8528. {0x7D, 0, 0, 0, 0},
  8529. {0x7E, 0, 0, 0, 0},
  8530. {0x7F, 0, 0, 0, 0},
  8531. {0x80, 0, 0, 0, 0},
  8532. {0x81, 0, 0, 0, 0},
  8533. {0x82, 0, 0, 0, 0},
  8534. {0x83, 0, 0, 0, 0},
  8535. {0x84, 0, 0, 0, 0},
  8536. {0x85, 0xff, 0xff, 0, 0},
  8537. {0x86, 0, 0, 0, 0},
  8538. {0x87, 0, 0, 0, 0},
  8539. {0x88, 0, 0, 0, 0},
  8540. {0x89, 0, 0, 0, 0},
  8541. {0x8A, 0, 0, 0, 0},
  8542. {0x8B, 0, 0, 0, 0},
  8543. {0x8C, 0, 0, 0, 0},
  8544. {0x8D, 0, 0, 0, 0},
  8545. {0x8E, 0, 0, 0, 0},
  8546. {0x8F, 0, 0, 0, 0},
  8547. {0x90, 0, 0, 0, 0},
  8548. {0x91, 0, 0, 0, 0},
  8549. {0x92, 0, 0, 0, 0},
  8550. {0x93, 0, 0, 0, 0},
  8551. {0x94, 0, 0, 0, 0},
  8552. {0x95, 0, 0, 0, 0},
  8553. {0x96, 0, 0, 0, 0},
  8554. {0x97, 0, 0, 0, 0},
  8555. {0x98, 0, 0, 0, 0},
  8556. {0x99, 0, 0, 0, 0},
  8557. {0x9A, 0, 0, 0, 0},
  8558. {0x9B, 0, 0, 0, 0},
  8559. {0x9C, 0, 0, 0, 0},
  8560. {0x9D, 0, 0, 0, 0},
  8561. {0x9E, 0, 0, 0, 0},
  8562. {0x9F, 0x6, 0x6, 0, 0},
  8563. {0xA0, 0x66, 0x66, 0, 0},
  8564. {0xA1, 0x66, 0x66, 0, 0},
  8565. {0xA2, 0x66, 0x66, 0, 0},
  8566. {0xA3, 0x66, 0x66, 0, 0},
  8567. {0xA4, 0x66, 0x66, 0, 0},
  8568. {0xA5, 0x66, 0x66, 0, 0},
  8569. {0xA6, 0x66, 0x66, 0, 0},
  8570. {0xA7, 0x66, 0x66, 0, 0},
  8571. {0xA8, 0x66, 0x66, 0, 0},
  8572. {0xA9, 0x66, 0x66, 0, 0},
  8573. {0xAA, 0x66, 0x66, 0, 0},
  8574. {0xAB, 0x66, 0x66, 0, 0},
  8575. {0xAC, 0x66, 0x66, 0, 0},
  8576. {0xAD, 0x66, 0x66, 0, 0},
  8577. {0xAE, 0x66, 0x66, 0, 0},
  8578. {0xAF, 0x66, 0x66, 0, 0},
  8579. {0xB0, 0x66, 0x66, 0, 0},
  8580. {0xB1, 0x66, 0x66, 0, 0},
  8581. {0xB2, 0x66, 0x66, 0, 0},
  8582. {0xB3, 0xa, 0xa, 0, 0},
  8583. {0xB4, 0, 0, 0, 0},
  8584. {0xB5, 0, 0, 0, 0},
  8585. {0xB6, 0, 0, 0, 0},
  8586. {0xFFFF, 0, 0, 0, 0}
  8587. };
  8588. static struct radio_regs regs_TX_2056_A1[] = {
  8589. {0x02, 0, 0, 0, 0},
  8590. {0x03, 0, 0, 0, 0},
  8591. {0x04, 0, 0, 0, 0},
  8592. {0x05, 0, 0, 0, 0},
  8593. {0x06, 0, 0, 0, 0},
  8594. {0x07, 0, 0, 0, 0},
  8595. {0x08, 0, 0, 0, 0},
  8596. {0x09, 0, 0, 0, 0},
  8597. {0x0A, 0, 0, 0, 0},
  8598. {0x0B, 0, 0, 0, 0},
  8599. {0x0C, 0, 0, 0, 0},
  8600. {0x0D, 0, 0, 0, 0},
  8601. {0x0E, 0, 0, 0, 0},
  8602. {0x0F, 0, 0, 0, 0},
  8603. {0x10, 0, 0, 0, 0},
  8604. {0x11, 0, 0, 0, 0},
  8605. {0x12, 0, 0, 0, 0},
  8606. {0x13, 0, 0, 0, 0},
  8607. {0x14, 0, 0, 0, 0},
  8608. {0x15, 0, 0, 0, 0},
  8609. {0x16, 0, 0, 0, 0},
  8610. {0x17, 0, 0, 0, 0},
  8611. {0x18, 0, 0, 0, 0},
  8612. {0x19, 0, 0, 0, 0},
  8613. {0x1A, 0, 0, 0, 0},
  8614. {0x1B, 0, 0, 0, 0},
  8615. {0x1C, 0, 0, 0, 0},
  8616. {0x1D, 0, 0, 0, 0},
  8617. {0x1E, 0, 0, 0, 0},
  8618. {0x1F, 0, 0, 0, 0},
  8619. {0x20, 0, 0, 0, 0},
  8620. {0x21, 0x88, 0x88, 0, 0},
  8621. {0x22, 0x88, 0x88, 0, 0},
  8622. {0x23, 0x88, 0x88, 0, 0},
  8623. {0x24, 0x88, 0x88, 0, 0},
  8624. {0x25, 0xc, 0xc, 0, 0},
  8625. {0x26, 0, 0, 0, 0},
  8626. {0x27, 0x3, 0x3, 0, 0},
  8627. {0x28, 0, 0, 0, 0},
  8628. {0x29, 0x3, 0x3, 0, 0},
  8629. {0x2A, 0x37, 0x37, 0, 0},
  8630. {0x2B, 0x3, 0x3, 0, 0},
  8631. {0x2C, 0, 0, 0, 0},
  8632. {0x2D, 0, 0, 0, 0},
  8633. {0x2E, 0x1, 0x1, 0, 0},
  8634. {0x2F, 0x1, 0x1, 0, 0},
  8635. {0x30, 0, 0, 0, 0},
  8636. {0x31, 0, 0, 0, 0},
  8637. {0x32, 0, 0, 0, 0},
  8638. {0x33, 0x11, 0x11, 0, 0},
  8639. {0x34, 0x11, 0x11, 0, 0},
  8640. {0x35, 0, 0, 0, 0},
  8641. {0x36, 0, 0, 0, 0},
  8642. {0x37, 0x3, 0x3, 0, 0},
  8643. {0x38, 0xf, 0xf, 0, 0},
  8644. {0x39, 0, 0, 0, 0},
  8645. {0x3A, 0x2d, 0x2d, 0, 0},
  8646. {0x3B, 0, 0, 0, 0},
  8647. {0x3C, 0x6e, 0x6e, 0, 0},
  8648. {0x3D, 0xf0, 0xf0, 1, 1},
  8649. {0x3E, 0, 0, 0, 0},
  8650. {0x3F, 0, 0, 0, 0},
  8651. {0x40, 0, 0, 0, 0},
  8652. {0x41, 0x3, 0x3, 0, 0},
  8653. {0x42, 0x3, 0x3, 0, 0},
  8654. {0x43, 0, 0, 0, 0},
  8655. {0x44, 0x1e, 0x1e, 0, 0},
  8656. {0x45, 0, 0, 0, 0},
  8657. {0x46, 0x6e, 0x6e, 0, 0},
  8658. {0x47, 0xf0, 0xf0, 1, 1},
  8659. {0x48, 0, 0, 0, 0},
  8660. {0x49, 0x2, 0x2, 0, 0},
  8661. {0x4A, 0xff, 0xff, 1, 1},
  8662. {0x4B, 0xc, 0xc, 0, 0},
  8663. {0x4C, 0, 0, 0, 0},
  8664. {0x4D, 0x38, 0x38, 0, 0},
  8665. {0x4E, 0x70, 0x70, 1, 1},
  8666. {0x4F, 0x2, 0x2, 0, 0},
  8667. {0x50, 0x88, 0x88, 0, 0},
  8668. {0x51, 0xc, 0xc, 0, 0},
  8669. {0x52, 0, 0, 0, 0},
  8670. {0x53, 0x8, 0x8, 0, 0},
  8671. {0x54, 0x70, 0x70, 1, 1},
  8672. {0x55, 0x2, 0x2, 0, 0},
  8673. {0x56, 0xff, 0xff, 1, 1},
  8674. {0x57, 0, 0, 0, 0},
  8675. {0x58, 0x83, 0x83, 0, 0},
  8676. {0x59, 0x77, 0x77, 1, 1},
  8677. {0x5A, 0, 0, 0, 0},
  8678. {0x5B, 0x2, 0x2, 0, 0},
  8679. {0x5C, 0x88, 0x88, 0, 0},
  8680. {0x5D, 0, 0, 0, 0},
  8681. {0x5E, 0x8, 0x8, 0, 0},
  8682. {0x5F, 0x77, 0x77, 1, 1},
  8683. {0x60, 0x1, 0x1, 0, 0},
  8684. {0x61, 0, 0, 0, 0},
  8685. {0x62, 0x7, 0x7, 0, 0},
  8686. {0x63, 0, 0, 0, 0},
  8687. {0x64, 0x7, 0x7, 0, 0},
  8688. {0x65, 0, 0, 0, 0},
  8689. {0x66, 0, 0, 0, 0},
  8690. {0x67, 0x72, 0x72, 1, 1},
  8691. {0x68, 0, 0, 0, 0},
  8692. {0x69, 0xa, 0xa, 0, 0},
  8693. {0x6A, 0, 0, 0, 0},
  8694. {0x6B, 0, 0, 0, 0},
  8695. {0x6C, 0, 0, 0, 0},
  8696. {0x6D, 0, 0, 0, 0},
  8697. {0x6E, 0, 0, 0, 0},
  8698. {0x6F, 0, 0, 0, 0},
  8699. {0x70, 0, 0, 0, 0},
  8700. {0x71, 0x2, 0x2, 0, 0},
  8701. {0x72, 0, 0, 0, 0},
  8702. {0x73, 0, 0, 0, 0},
  8703. {0x74, 0xe, 0xe, 0, 0},
  8704. {0x75, 0xe, 0xe, 0, 0},
  8705. {0x76, 0xe, 0xe, 0, 0},
  8706. {0x77, 0x13, 0x13, 0, 0},
  8707. {0x78, 0x13, 0x13, 0, 0},
  8708. {0x79, 0x1b, 0x1b, 0, 0},
  8709. {0x7A, 0x1b, 0x1b, 0, 0},
  8710. {0x7B, 0x55, 0x55, 0, 0},
  8711. {0x7C, 0x5b, 0x5b, 0, 0},
  8712. {0x7D, 0, 0, 0, 0},
  8713. {0x7E, 0, 0, 0, 0},
  8714. {0x7F, 0, 0, 0, 0},
  8715. {0x80, 0, 0, 0, 0},
  8716. {0x81, 0, 0, 0, 0},
  8717. {0x82, 0, 0, 0, 0},
  8718. {0x83, 0, 0, 0, 0},
  8719. {0x84, 0, 0, 0, 0},
  8720. {0x85, 0, 0, 0, 0},
  8721. {0x86, 0, 0, 0, 0},
  8722. {0x87, 0, 0, 0, 0},
  8723. {0x88, 0, 0, 0, 0},
  8724. {0x89, 0, 0, 0, 0},
  8725. {0x8A, 0, 0, 0, 0},
  8726. {0x8B, 0, 0, 0, 0},
  8727. {0x8C, 0, 0, 0, 0},
  8728. {0x8D, 0, 0, 0, 0},
  8729. {0x8E, 0, 0, 0, 0},
  8730. {0x8F, 0, 0, 0, 0},
  8731. {0x90, 0, 0, 0, 0},
  8732. {0x91, 0, 0, 0, 0},
  8733. {0x92, 0, 0, 0, 0},
  8734. {0xFFFF, 0, 0, 0, 0}
  8735. };
  8736. static struct radio_regs regs_RX_2056_A1[] = {
  8737. {0x02, 0, 0, 0, 0},
  8738. {0x03, 0, 0, 0, 0},
  8739. {0x04, 0, 0, 0, 0},
  8740. {0x05, 0, 0, 0, 0},
  8741. {0x06, 0, 0, 0, 0},
  8742. {0x07, 0, 0, 0, 0},
  8743. {0x08, 0, 0, 0, 0},
  8744. {0x09, 0, 0, 0, 0},
  8745. {0x0A, 0, 0, 0, 0},
  8746. {0x0B, 0, 0, 0, 0},
  8747. {0x0C, 0, 0, 0, 0},
  8748. {0x0D, 0, 0, 0, 0},
  8749. {0x0E, 0, 0, 0, 0},
  8750. {0x0F, 0, 0, 0, 0},
  8751. {0x10, 0, 0, 0, 0},
  8752. {0x11, 0, 0, 0, 0},
  8753. {0x12, 0, 0, 0, 0},
  8754. {0x13, 0, 0, 0, 0},
  8755. {0x14, 0, 0, 0, 0},
  8756. {0x15, 0, 0, 0, 0},
  8757. {0x16, 0, 0, 0, 0},
  8758. {0x17, 0, 0, 0, 0},
  8759. {0x18, 0, 0, 0, 0},
  8760. {0x19, 0, 0, 0, 0},
  8761. {0x1A, 0, 0, 0, 0},
  8762. {0x1B, 0, 0, 0, 0},
  8763. {0x1C, 0, 0, 0, 0},
  8764. {0x1D, 0, 0, 0, 0},
  8765. {0x1E, 0, 0, 0, 0},
  8766. {0x1F, 0, 0, 0, 0},
  8767. {0x20, 0x3, 0x3, 0, 0},
  8768. {0x21, 0, 0, 0, 0},
  8769. {0x22, 0, 0, 0, 0},
  8770. {0x23, 0x90, 0x90, 0, 0},
  8771. {0x24, 0x55, 0x55, 0, 0},
  8772. {0x25, 0x15, 0x15, 0, 0},
  8773. {0x26, 0x5, 0x5, 0, 0},
  8774. {0x27, 0x15, 0x15, 0, 0},
  8775. {0x28, 0x5, 0x5, 0, 0},
  8776. {0x29, 0x20, 0x20, 0, 0},
  8777. {0x2A, 0x11, 0x11, 0, 0},
  8778. {0x2B, 0x90, 0x90, 0, 0},
  8779. {0x2C, 0, 0, 0, 0},
  8780. {0x2D, 0x88, 0x88, 0, 0},
  8781. {0x2E, 0x32, 0x32, 0, 0},
  8782. {0x2F, 0x77, 0x77, 0, 0},
  8783. {0x30, 0x17, 0x17, 1, 1},
  8784. {0x31, 0xff, 0xff, 1, 1},
  8785. {0x32, 0x20, 0x20, 0, 0},
  8786. {0x33, 0, 0, 0, 0},
  8787. {0x34, 0x88, 0x88, 0, 0},
  8788. {0x35, 0x32, 0x32, 0, 0},
  8789. {0x36, 0x77, 0x77, 0, 0},
  8790. {0x37, 0x17, 0x17, 1, 1},
  8791. {0x38, 0xf0, 0xf0, 1, 1},
  8792. {0x39, 0x20, 0x20, 0, 0},
  8793. {0x3A, 0x8, 0x8, 0, 0},
  8794. {0x3B, 0x55, 0x55, 1, 1},
  8795. {0x3C, 0, 0, 0, 0},
  8796. {0x3D, 0x44, 0x44, 1, 1},
  8797. {0x3E, 0, 0, 0, 0},
  8798. {0x3F, 0x44, 0x44, 0, 0},
  8799. {0x40, 0xf, 0xf, 1, 1},
  8800. {0x41, 0x6, 0x6, 0, 0},
  8801. {0x42, 0x4, 0x4, 0, 0},
  8802. {0x43, 0x50, 0x50, 1, 1},
  8803. {0x44, 0x8, 0x8, 0, 0},
  8804. {0x45, 0x55, 0x55, 1, 1},
  8805. {0x46, 0, 0, 0, 0},
  8806. {0x47, 0x11, 0x11, 0, 0},
  8807. {0x48, 0, 0, 0, 0},
  8808. {0x49, 0x44, 0x44, 0, 0},
  8809. {0x4A, 0x7, 0x7, 0, 0},
  8810. {0x4B, 0x6, 0x6, 0, 0},
  8811. {0x4C, 0x4, 0x4, 0, 0},
  8812. {0x4D, 0, 0, 0, 0},
  8813. {0x4E, 0, 0, 0, 0},
  8814. {0x4F, 0x26, 0x26, 1, 1},
  8815. {0x50, 0x26, 0x26, 1, 1},
  8816. {0x51, 0xf, 0xf, 1, 1},
  8817. {0x52, 0xf, 0xf, 1, 1},
  8818. {0x53, 0x44, 0x44, 0, 0},
  8819. {0x54, 0, 0, 0, 0},
  8820. {0x55, 0, 0, 0, 0},
  8821. {0x56, 0x8, 0x8, 0, 0},
  8822. {0x57, 0x8, 0x8, 0, 0},
  8823. {0x58, 0x7, 0x7, 0, 0},
  8824. {0x59, 0x22, 0x22, 0, 0},
  8825. {0x5A, 0x22, 0x22, 0, 0},
  8826. {0x5B, 0x2, 0x2, 0, 0},
  8827. {0x5C, 0x2f, 0x2f, 1, 1},
  8828. {0x5D, 0x7, 0x7, 0, 0},
  8829. {0x5E, 0x55, 0x55, 0, 0},
  8830. {0x5F, 0x23, 0x23, 0, 0},
  8831. {0x60, 0x41, 0x41, 0, 0},
  8832. {0x61, 0x1, 0x1, 0, 0},
  8833. {0x62, 0xa, 0xa, 0, 0},
  8834. {0x63, 0, 0, 0, 0},
  8835. {0x64, 0, 0, 0, 0},
  8836. {0x65, 0, 0, 0, 0},
  8837. {0x66, 0, 0, 0, 0},
  8838. {0x67, 0, 0, 0, 0},
  8839. {0x68, 0, 0, 0, 0},
  8840. {0x69, 0, 0, 0, 0},
  8841. {0x6A, 0, 0, 0, 0},
  8842. {0x6B, 0xc, 0xc, 0, 0},
  8843. {0x6C, 0, 0, 0, 0},
  8844. {0x6D, 0, 0, 0, 0},
  8845. {0x6E, 0, 0, 0, 0},
  8846. {0x6F, 0, 0, 0, 0},
  8847. {0x70, 0, 0, 0, 0},
  8848. {0x71, 0, 0, 0, 0},
  8849. {0x72, 0x22, 0x22, 0, 0},
  8850. {0x73, 0x22, 0x22, 0, 0},
  8851. {0x74, 0, 0, 1, 1},
  8852. {0x75, 0xa, 0xa, 0, 0},
  8853. {0x76, 0x1, 0x1, 0, 0},
  8854. {0x77, 0x22, 0x22, 0, 0},
  8855. {0x78, 0x30, 0x30, 0, 0},
  8856. {0x79, 0, 0, 0, 0},
  8857. {0x7A, 0, 0, 0, 0},
  8858. {0x7B, 0, 0, 0, 0},
  8859. {0x7C, 0, 0, 0, 0},
  8860. {0x7D, 0, 0, 0, 0},
  8861. {0x7E, 0, 0, 0, 0},
  8862. {0x7F, 0, 0, 0, 0},
  8863. {0x80, 0, 0, 0, 0},
  8864. {0x81, 0, 0, 0, 0},
  8865. {0x82, 0, 0, 0, 0},
  8866. {0x83, 0, 0, 0, 0},
  8867. {0x84, 0, 0, 0, 0},
  8868. {0x85, 0, 0, 0, 0},
  8869. {0x86, 0, 0, 0, 0},
  8870. {0x87, 0, 0, 0, 0},
  8871. {0x88, 0, 0, 0, 0},
  8872. {0x89, 0, 0, 0, 0},
  8873. {0x8A, 0, 0, 0, 0},
  8874. {0x8B, 0, 0, 0, 0},
  8875. {0x8C, 0, 0, 0, 0},
  8876. {0x8D, 0, 0, 0, 0},
  8877. {0x8E, 0, 0, 0, 0},
  8878. {0x8F, 0, 0, 0, 0},
  8879. {0x90, 0, 0, 0, 0},
  8880. {0x91, 0, 0, 0, 0},
  8881. {0x92, 0, 0, 0, 0},
  8882. {0x93, 0, 0, 0, 0},
  8883. {0x94, 0, 0, 0, 0},
  8884. {0xFFFF, 0, 0, 0, 0}
  8885. };
  8886. static struct radio_regs regs_SYN_2056_rev5[] = {
  8887. {0x02, 0, 0, 0, 0},
  8888. {0x03, 0, 0, 0, 0},
  8889. {0x04, 0, 0, 0, 0},
  8890. {0x05, 0, 0, 0, 0},
  8891. {0x06, 0, 0, 0, 0},
  8892. {0x07, 0, 0, 0, 0},
  8893. {0x08, 0, 0, 0, 0},
  8894. {0x09, 0x1, 0x1, 0, 0},
  8895. {0x0A, 0, 0, 0, 0},
  8896. {0x0B, 0, 0, 0, 0},
  8897. {0x0C, 0, 0, 0, 0},
  8898. {0x0D, 0, 0, 0, 0},
  8899. {0x0E, 0, 0, 0, 0},
  8900. {0x0F, 0, 0, 0, 0},
  8901. {0x10, 0, 0, 0, 0},
  8902. {0x11, 0, 0, 0, 0},
  8903. {0x12, 0, 0, 0, 0},
  8904. {0x13, 0, 0, 0, 0},
  8905. {0x14, 0, 0, 0, 0},
  8906. {0x15, 0, 0, 0, 0},
  8907. {0x16, 0, 0, 0, 0},
  8908. {0x17, 0, 0, 0, 0},
  8909. {0x18, 0, 0, 0, 0},
  8910. {0x19, 0, 0, 0, 0},
  8911. {0x1A, 0, 0, 0, 0},
  8912. {0x1B, 0, 0, 0, 0},
  8913. {0x1C, 0, 0, 0, 0},
  8914. {0x1D, 0, 0, 0, 0},
  8915. {0x1E, 0, 0, 0, 0},
  8916. {0x1F, 0, 0, 0, 0},
  8917. {0x20, 0, 0, 0, 0},
  8918. {0x21, 0, 0, 0, 0},
  8919. {0x22, 0x60, 0x60, 0, 0},
  8920. {0x23, 0x6, 0x6, 0, 0},
  8921. {0x24, 0xc, 0xc, 0, 0},
  8922. {0x25, 0, 0, 0, 0},
  8923. {0x26, 0, 0, 0, 0},
  8924. {0x27, 0, 0, 0, 0},
  8925. {0x28, 0x1, 0x1, 0, 0},
  8926. {0x29, 0, 0, 0, 0},
  8927. {0x2A, 0, 0, 0, 0},
  8928. {0x2B, 0, 0, 0, 0},
  8929. {0x2C, 0, 0, 0, 0},
  8930. {0x2D, 0, 0, 0, 0},
  8931. {0x2E, 0, 0, 0, 0},
  8932. {0x2F, 0x1f, 0x1f, 0, 0},
  8933. {0x30, 0x15, 0x15, 0, 0},
  8934. {0x31, 0xf, 0xf, 0, 0},
  8935. {0x32, 0, 0, 0, 0},
  8936. {0x33, 0, 0, 0, 0},
  8937. {0x34, 0, 0, 0, 0},
  8938. {0x35, 0, 0, 0, 0},
  8939. {0x36, 0, 0, 0, 0},
  8940. {0x37, 0, 0, 0, 0},
  8941. {0x38, 0, 0, 0, 0},
  8942. {0x39, 0, 0, 0, 0},
  8943. {0x3A, 0, 0, 0, 0},
  8944. {0x3B, 0, 0, 0, 0},
  8945. {0x3C, 0x13, 0x13, 0, 0},
  8946. {0x3D, 0xf, 0xf, 0, 0},
  8947. {0x3E, 0x18, 0x18, 0, 0},
  8948. {0x3F, 0, 0, 0, 0},
  8949. {0x40, 0, 0, 0, 0},
  8950. {0x41, 0x20, 0x20, 0, 0},
  8951. {0x42, 0x20, 0x20, 0, 0},
  8952. {0x43, 0, 0, 0, 0},
  8953. {0x44, 0x77, 0x77, 0, 0},
  8954. {0x45, 0x7, 0x7, 0, 0},
  8955. {0x46, 0x1, 0x1, 0, 0},
  8956. {0x47, 0x4, 0x4, 0, 0},
  8957. {0x48, 0xf, 0xf, 0, 0},
  8958. {0x49, 0x30, 0x30, 0, 0},
  8959. {0x4A, 0x32, 0x32, 0, 0},
  8960. {0x4B, 0xd, 0xd, 0, 0},
  8961. {0x4C, 0xd, 0xd, 0, 0},
  8962. {0x4D, 0x4, 0x4, 0, 0},
  8963. {0x4E, 0x6, 0x6, 0, 0},
  8964. {0x4F, 0x1, 0x1, 0, 0},
  8965. {0x50, 0x1c, 0x1c, 0, 0},
  8966. {0x51, 0x2, 0x2, 0, 0},
  8967. {0x52, 0x2, 0x2, 0, 0},
  8968. {0x53, 0xf7, 0xf7, 1, 1},
  8969. {0x54, 0xb4, 0xb4, 0, 0},
  8970. {0x55, 0xd2, 0xd2, 0, 0},
  8971. {0x56, 0, 0, 0, 0},
  8972. {0x57, 0, 0, 0, 0},
  8973. {0x58, 0x4, 0x4, 0, 0},
  8974. {0x59, 0x96, 0x96, 0, 0},
  8975. {0x5A, 0x3e, 0x3e, 0, 0},
  8976. {0x5B, 0x3e, 0x3e, 0, 0},
  8977. {0x5C, 0x13, 0x13, 0, 0},
  8978. {0x5D, 0x2, 0x2, 0, 0},
  8979. {0x5E, 0, 0, 0, 0},
  8980. {0x5F, 0x7, 0x7, 0, 0},
  8981. {0x60, 0x7, 0x7, 1, 1},
  8982. {0x61, 0x8, 0x8, 0, 0},
  8983. {0x62, 0x3, 0x3, 0, 0},
  8984. {0x63, 0, 0, 0, 0},
  8985. {0x64, 0, 0, 0, 0},
  8986. {0x65, 0, 0, 0, 0},
  8987. {0x66, 0, 0, 0, 0},
  8988. {0x67, 0, 0, 0, 0},
  8989. {0x68, 0x40, 0x40, 0, 0},
  8990. {0x69, 0, 0, 0, 0},
  8991. {0x6A, 0, 0, 0, 0},
  8992. {0x6B, 0, 0, 0, 0},
  8993. {0x6C, 0, 0, 0, 0},
  8994. {0x6D, 0x1, 0x1, 0, 0},
  8995. {0x6E, 0, 0, 0, 0},
  8996. {0x6F, 0, 0, 0, 0},
  8997. {0x70, 0x60, 0x60, 0, 0},
  8998. {0x71, 0x66, 0x66, 0, 0},
  8999. {0x72, 0xc, 0xc, 0, 0},
  9000. {0x73, 0x66, 0x66, 0, 0},
  9001. {0x74, 0x8f, 0x8f, 1, 1},
  9002. {0x75, 0, 0, 0, 0},
  9003. {0x76, 0xcc, 0xcc, 0, 0},
  9004. {0x77, 0x1, 0x1, 0, 0},
  9005. {0x78, 0x66, 0x66, 0, 0},
  9006. {0x79, 0x66, 0x66, 0, 0},
  9007. {0x7A, 0, 0, 0, 0},
  9008. {0x7B, 0, 0, 0, 0},
  9009. {0x7C, 0, 0, 0, 0},
  9010. {0x7D, 0, 0, 0, 0},
  9011. {0x7E, 0, 0, 0, 0},
  9012. {0x7F, 0, 0, 0, 0},
  9013. {0x80, 0, 0, 0, 0},
  9014. {0x81, 0, 0, 0, 0},
  9015. {0x82, 0, 0, 0, 0},
  9016. {0x83, 0, 0, 0, 0},
  9017. {0x84, 0, 0, 0, 0},
  9018. {0x85, 0xff, 0xff, 0, 0},
  9019. {0x86, 0, 0, 0, 0},
  9020. {0x87, 0, 0, 0, 0},
  9021. {0x88, 0, 0, 0, 0},
  9022. {0x89, 0, 0, 0, 0},
  9023. {0x8A, 0, 0, 0, 0},
  9024. {0x8B, 0, 0, 0, 0},
  9025. {0x8C, 0, 0, 0, 0},
  9026. {0x8D, 0, 0, 0, 0},
  9027. {0x8E, 0, 0, 0, 0},
  9028. {0x8F, 0, 0, 0, 0},
  9029. {0x90, 0, 0, 0, 0},
  9030. {0x91, 0, 0, 0, 0},
  9031. {0x92, 0, 0, 0, 0},
  9032. {0x93, 0, 0, 0, 0},
  9033. {0x94, 0, 0, 0, 0},
  9034. {0x95, 0, 0, 0, 0},
  9035. {0x96, 0, 0, 0, 0},
  9036. {0x97, 0, 0, 0, 0},
  9037. {0x98, 0, 0, 0, 0},
  9038. {0x99, 0, 0, 0, 0},
  9039. {0x9A, 0, 0, 0, 0},
  9040. {0x9B, 0, 0, 0, 0},
  9041. {0x9C, 0, 0, 0, 0},
  9042. {0x9D, 0, 0, 0, 0},
  9043. {0x9E, 0, 0, 0, 0},
  9044. {0x9F, 0x6, 0x6, 0, 0},
  9045. {0xA0, 0x66, 0x66, 0, 0},
  9046. {0xA1, 0x66, 0x66, 0, 0},
  9047. {0xA2, 0x66, 0x66, 0, 0},
  9048. {0xA3, 0x66, 0x66, 0, 0},
  9049. {0xA4, 0x66, 0x66, 0, 0},
  9050. {0xA5, 0x66, 0x66, 0, 0},
  9051. {0xA6, 0x66, 0x66, 0, 0},
  9052. {0xA7, 0x66, 0x66, 0, 0},
  9053. {0xA8, 0x66, 0x66, 0, 0},
  9054. {0xA9, 0x66, 0x66, 0, 0},
  9055. {0xAA, 0x66, 0x66, 0, 0},
  9056. {0xAB, 0x66, 0x66, 0, 0},
  9057. {0xAC, 0x66, 0x66, 0, 0},
  9058. {0xAD, 0x66, 0x66, 0, 0},
  9059. {0xAE, 0x66, 0x66, 0, 0},
  9060. {0xAF, 0x66, 0x66, 0, 0},
  9061. {0xB0, 0x66, 0x66, 0, 0},
  9062. {0xB1, 0x66, 0x66, 0, 0},
  9063. {0xB2, 0x66, 0x66, 0, 0},
  9064. {0xB3, 0xa, 0xa, 0, 0},
  9065. {0xB4, 0, 0, 0, 0},
  9066. {0xB5, 0, 0, 0, 0},
  9067. {0xB6, 0, 0, 0, 0},
  9068. {0xFFFF, 0, 0, 0, 0}
  9069. };
  9070. static struct radio_regs regs_TX_2056_rev5[] = {
  9071. {0x02, 0, 0, 0, 0},
  9072. {0x03, 0, 0, 0, 0},
  9073. {0x04, 0, 0, 0, 0},
  9074. {0x05, 0, 0, 0, 0},
  9075. {0x06, 0, 0, 0, 0},
  9076. {0x07, 0, 0, 0, 0},
  9077. {0x08, 0, 0, 0, 0},
  9078. {0x09, 0, 0, 0, 0},
  9079. {0x0A, 0, 0, 0, 0},
  9080. {0x0B, 0, 0, 0, 0},
  9081. {0x0C, 0, 0, 0, 0},
  9082. {0x0D, 0, 0, 0, 0},
  9083. {0x0E, 0, 0, 0, 0},
  9084. {0x0F, 0, 0, 0, 0},
  9085. {0x10, 0, 0, 0, 0},
  9086. {0x11, 0, 0, 0, 0},
  9087. {0x12, 0, 0, 0, 0},
  9088. {0x13, 0, 0, 0, 0},
  9089. {0x14, 0, 0, 0, 0},
  9090. {0x15, 0, 0, 0, 0},
  9091. {0x16, 0, 0, 0, 0},
  9092. {0x17, 0, 0, 0, 0},
  9093. {0x18, 0, 0, 0, 0},
  9094. {0x19, 0, 0, 0, 0},
  9095. {0x1A, 0, 0, 0, 0},
  9096. {0x1B, 0, 0, 0, 0},
  9097. {0x1C, 0, 0, 0, 0},
  9098. {0x1D, 0, 0, 0, 0},
  9099. {0x1E, 0, 0, 0, 0},
  9100. {0x1F, 0, 0, 0, 0},
  9101. {0x20, 0, 0, 0, 0},
  9102. {0x21, 0x88, 0x88, 0, 0},
  9103. {0x22, 0x88, 0x88, 0, 0},
  9104. {0x23, 0x88, 0x88, 0, 0},
  9105. {0x24, 0x88, 0x88, 0, 0},
  9106. {0x25, 0xc, 0xc, 0, 0},
  9107. {0x26, 0, 0, 0, 0},
  9108. {0x27, 0x3, 0x3, 0, 0},
  9109. {0x28, 0, 0, 0, 0},
  9110. {0x29, 0x3, 0x3, 0, 0},
  9111. {0x2A, 0x37, 0x37, 0, 0},
  9112. {0x2B, 0x3, 0x3, 0, 0},
  9113. {0x2C, 0, 0, 0, 0},
  9114. {0x2D, 0, 0, 0, 0},
  9115. {0x2E, 0x1, 0x1, 0, 0},
  9116. {0x2F, 0x1, 0x1, 0, 0},
  9117. {0x30, 0, 0, 0, 0},
  9118. {0x31, 0, 0, 0, 0},
  9119. {0x32, 0, 0, 0, 0},
  9120. {0x33, 0x11, 0x11, 0, 0},
  9121. {0x34, 0x11, 0x11, 0, 0},
  9122. {0x35, 0, 0, 0, 0},
  9123. {0x36, 0, 0, 0, 0},
  9124. {0x37, 0x3, 0x3, 0, 0},
  9125. {0x38, 0xf, 0xf, 0, 0},
  9126. {0x39, 0, 0, 0, 0},
  9127. {0x3A, 0x2d, 0x2d, 0, 0},
  9128. {0x3B, 0, 0, 0, 0},
  9129. {0x3C, 0x6e, 0x6e, 0, 0},
  9130. {0x3D, 0xf0, 0xf0, 1, 1},
  9131. {0x3E, 0, 0, 0, 0},
  9132. {0x3F, 0, 0, 0, 0},
  9133. {0x40, 0, 0, 0, 0},
  9134. {0x41, 0x3, 0x3, 0, 0},
  9135. {0x42, 0x3, 0x3, 0, 0},
  9136. {0x43, 0, 0, 0, 0},
  9137. {0x44, 0x1e, 0x1e, 0, 0},
  9138. {0x45, 0, 0, 0, 0},
  9139. {0x46, 0x6e, 0x6e, 0, 0},
  9140. {0x47, 0xf0, 0xf0, 1, 1},
  9141. {0x48, 0, 0, 0, 0},
  9142. {0x49, 0x2, 0x2, 0, 0},
  9143. {0x4A, 0xff, 0xff, 1, 1},
  9144. {0x4B, 0xc, 0xc, 0, 0},
  9145. {0x4C, 0, 0, 0, 0},
  9146. {0x4D, 0x38, 0x38, 0, 0},
  9147. {0x4E, 0x70, 0x70, 1, 1},
  9148. {0x4F, 0x2, 0x2, 0, 0},
  9149. {0x50, 0x88, 0x88, 0, 0},
  9150. {0x51, 0xc, 0xc, 0, 0},
  9151. {0x52, 0, 0, 0, 0},
  9152. {0x53, 0x8, 0x8, 0, 0},
  9153. {0x54, 0x70, 0x70, 1, 1},
  9154. {0x55, 0x2, 0x2, 0, 0},
  9155. {0x56, 0xff, 0xff, 1, 1},
  9156. {0x57, 0, 0, 0, 0},
  9157. {0x58, 0x83, 0x83, 0, 0},
  9158. {0x59, 0x77, 0x77, 1, 1},
  9159. {0x5A, 0, 0, 0, 0},
  9160. {0x5B, 0x2, 0x2, 0, 0},
  9161. {0x5C, 0x88, 0x88, 0, 0},
  9162. {0x5D, 0, 0, 0, 0},
  9163. {0x5E, 0x8, 0x8, 0, 0},
  9164. {0x5F, 0x77, 0x77, 1, 1},
  9165. {0x60, 0x1, 0x1, 0, 0},
  9166. {0x61, 0, 0, 0, 0},
  9167. {0x62, 0x7, 0x7, 0, 0},
  9168. {0x63, 0, 0, 0, 0},
  9169. {0x64, 0x7, 0x7, 0, 0},
  9170. {0x65, 0, 0, 0, 0},
  9171. {0x66, 0, 0, 0, 0},
  9172. {0x67, 0, 0, 1, 1},
  9173. {0x68, 0, 0, 0, 0},
  9174. {0x69, 0xa, 0xa, 0, 0},
  9175. {0x6A, 0, 0, 0, 0},
  9176. {0x6B, 0, 0, 0, 0},
  9177. {0x6C, 0, 0, 0, 0},
  9178. {0x6D, 0, 0, 0, 0},
  9179. {0x6E, 0, 0, 0, 0},
  9180. {0x6F, 0, 0, 0, 0},
  9181. {0x70, 0, 0, 0, 0},
  9182. {0x71, 0x2, 0x2, 0, 0},
  9183. {0x72, 0, 0, 0, 0},
  9184. {0x73, 0, 0, 0, 0},
  9185. {0x74, 0xe, 0xe, 0, 0},
  9186. {0x75, 0xe, 0xe, 0, 0},
  9187. {0x76, 0xe, 0xe, 0, 0},
  9188. {0x77, 0x13, 0x13, 0, 0},
  9189. {0x78, 0x13, 0x13, 0, 0},
  9190. {0x79, 0x1b, 0x1b, 0, 0},
  9191. {0x7A, 0x1b, 0x1b, 0, 0},
  9192. {0x7B, 0x55, 0x55, 0, 0},
  9193. {0x7C, 0x5b, 0x5b, 0, 0},
  9194. {0x7D, 0, 0, 0, 0},
  9195. {0x7E, 0, 0, 0, 0},
  9196. {0x7F, 0, 0, 0, 0},
  9197. {0x80, 0, 0, 0, 0},
  9198. {0x81, 0, 0, 0, 0},
  9199. {0x82, 0, 0, 0, 0},
  9200. {0x83, 0, 0, 0, 0},
  9201. {0x84, 0, 0, 0, 0},
  9202. {0x85, 0, 0, 0, 0},
  9203. {0x86, 0, 0, 0, 0},
  9204. {0x87, 0, 0, 0, 0},
  9205. {0x88, 0, 0, 0, 0},
  9206. {0x89, 0, 0, 0, 0},
  9207. {0x8A, 0, 0, 0, 0},
  9208. {0x8B, 0, 0, 0, 0},
  9209. {0x8C, 0, 0, 0, 0},
  9210. {0x8D, 0, 0, 0, 0},
  9211. {0x8E, 0, 0, 0, 0},
  9212. {0x8F, 0, 0, 0, 0},
  9213. {0x90, 0, 0, 0, 0},
  9214. {0x91, 0, 0, 0, 0},
  9215. {0x92, 0, 0, 0, 0},
  9216. {0x93, 0x70, 0x70, 0, 0},
  9217. {0x94, 0x70, 0x70, 0, 0},
  9218. {0x95, 0x71, 0x71, 1, 1},
  9219. {0x96, 0x71, 0x71, 1, 1},
  9220. {0x97, 0x72, 0x72, 1, 1},
  9221. {0x98, 0x73, 0x73, 1, 1},
  9222. {0x99, 0x74, 0x74, 1, 1},
  9223. {0x9A, 0x75, 0x75, 1, 1},
  9224. {0xFFFF, 0, 0, 0, 0}
  9225. };
  9226. static struct radio_regs regs_RX_2056_rev5[] = {
  9227. {0x02, 0, 0, 0, 0},
  9228. {0x03, 0, 0, 0, 0},
  9229. {0x04, 0, 0, 0, 0},
  9230. {0x05, 0, 0, 0, 0},
  9231. {0x06, 0, 0, 0, 0},
  9232. {0x07, 0, 0, 0, 0},
  9233. {0x08, 0, 0, 0, 0},
  9234. {0x09, 0, 0, 0, 0},
  9235. {0x0A, 0, 0, 0, 0},
  9236. {0x0B, 0, 0, 0, 0},
  9237. {0x0C, 0, 0, 0, 0},
  9238. {0x0D, 0, 0, 0, 0},
  9239. {0x0E, 0, 0, 0, 0},
  9240. {0x0F, 0, 0, 0, 0},
  9241. {0x10, 0, 0, 0, 0},
  9242. {0x11, 0, 0, 0, 0},
  9243. {0x12, 0, 0, 0, 0},
  9244. {0x13, 0, 0, 0, 0},
  9245. {0x14, 0, 0, 0, 0},
  9246. {0x15, 0, 0, 0, 0},
  9247. {0x16, 0, 0, 0, 0},
  9248. {0x17, 0, 0, 0, 0},
  9249. {0x18, 0, 0, 0, 0},
  9250. {0x19, 0, 0, 0, 0},
  9251. {0x1A, 0, 0, 0, 0},
  9252. {0x1B, 0, 0, 0, 0},
  9253. {0x1C, 0, 0, 0, 0},
  9254. {0x1D, 0, 0, 0, 0},
  9255. {0x1E, 0, 0, 0, 0},
  9256. {0x1F, 0, 0, 0, 0},
  9257. {0x20, 0x3, 0x3, 0, 0},
  9258. {0x21, 0, 0, 0, 0},
  9259. {0x22, 0, 0, 0, 0},
  9260. {0x23, 0x90, 0x90, 0, 0},
  9261. {0x24, 0x55, 0x55, 0, 0},
  9262. {0x25, 0x15, 0x15, 0, 0},
  9263. {0x26, 0x5, 0x5, 0, 0},
  9264. {0x27, 0x15, 0x15, 0, 0},
  9265. {0x28, 0x5, 0x5, 0, 0},
  9266. {0x29, 0x20, 0x20, 0, 0},
  9267. {0x2A, 0x11, 0x11, 0, 0},
  9268. {0x2B, 0x90, 0x90, 0, 0},
  9269. {0x2C, 0, 0, 0, 0},
  9270. {0x2D, 0x88, 0x88, 0, 0},
  9271. {0x2E, 0x32, 0x32, 0, 0},
  9272. {0x2F, 0x77, 0x77, 0, 0},
  9273. {0x30, 0x17, 0x17, 1, 1},
  9274. {0x31, 0xff, 0xff, 1, 1},
  9275. {0x32, 0x20, 0x20, 0, 0},
  9276. {0x33, 0, 0, 0, 0},
  9277. {0x34, 0x88, 0x88, 0, 0},
  9278. {0x35, 0x32, 0x32, 0, 0},
  9279. {0x36, 0x77, 0x77, 0, 0},
  9280. {0x37, 0x17, 0x17, 1, 1},
  9281. {0x38, 0xf0, 0xf0, 1, 1},
  9282. {0x39, 0x20, 0x20, 0, 0},
  9283. {0x3A, 0x8, 0x8, 0, 0},
  9284. {0x3B, 0x55, 0x55, 1, 1},
  9285. {0x3C, 0, 0, 0, 0},
  9286. {0x3D, 0x88, 0x88, 1, 1},
  9287. {0x3E, 0, 0, 0, 0},
  9288. {0x3F, 0, 0, 1, 1},
  9289. {0x40, 0x7, 0x7, 1, 1},
  9290. {0x41, 0x6, 0x6, 0, 0},
  9291. {0x42, 0x4, 0x4, 0, 0},
  9292. {0x43, 0, 0, 0, 0},
  9293. {0x44, 0x8, 0x8, 0, 0},
  9294. {0x45, 0x55, 0x55, 1, 1},
  9295. {0x46, 0, 0, 0, 0},
  9296. {0x47, 0x11, 0x11, 0, 0},
  9297. {0x48, 0, 0, 0, 0},
  9298. {0x49, 0, 0, 1, 1},
  9299. {0x4A, 0x7, 0x7, 0, 0},
  9300. {0x4B, 0x6, 0x6, 0, 0},
  9301. {0x4C, 0x4, 0x4, 0, 0},
  9302. {0x4D, 0, 0, 0, 0},
  9303. {0x4E, 0, 0, 0, 0},
  9304. {0x4F, 0x26, 0x26, 1, 1},
  9305. {0x50, 0x26, 0x26, 1, 1},
  9306. {0x51, 0xf, 0xf, 1, 1},
  9307. {0x52, 0xf, 0xf, 1, 1},
  9308. {0x53, 0x44, 0x44, 0, 0},
  9309. {0x54, 0, 0, 0, 0},
  9310. {0x55, 0, 0, 0, 0},
  9311. {0x56, 0x8, 0x8, 0, 0},
  9312. {0x57, 0x8, 0x8, 0, 0},
  9313. {0x58, 0x7, 0x7, 0, 0},
  9314. {0x59, 0x22, 0x22, 0, 0},
  9315. {0x5A, 0x22, 0x22, 0, 0},
  9316. {0x5B, 0x2, 0x2, 0, 0},
  9317. {0x5C, 0x4, 0x4, 1, 1},
  9318. {0x5D, 0x7, 0x7, 0, 0},
  9319. {0x5E, 0x55, 0x55, 0, 0},
  9320. {0x5F, 0x23, 0x23, 0, 0},
  9321. {0x60, 0x41, 0x41, 0, 0},
  9322. {0x61, 0x1, 0x1, 0, 0},
  9323. {0x62, 0xa, 0xa, 0, 0},
  9324. {0x63, 0, 0, 0, 0},
  9325. {0x64, 0, 0, 0, 0},
  9326. {0x65, 0, 0, 0, 0},
  9327. {0x66, 0, 0, 0, 0},
  9328. {0x67, 0, 0, 0, 0},
  9329. {0x68, 0, 0, 0, 0},
  9330. {0x69, 0, 0, 0, 0},
  9331. {0x6A, 0, 0, 0, 0},
  9332. {0x6B, 0xc, 0xc, 0, 0},
  9333. {0x6C, 0, 0, 0, 0},
  9334. {0x6D, 0, 0, 0, 0},
  9335. {0x6E, 0, 0, 0, 0},
  9336. {0x6F, 0, 0, 0, 0},
  9337. {0x70, 0, 0, 0, 0},
  9338. {0x71, 0, 0, 0, 0},
  9339. {0x72, 0x22, 0x22, 0, 0},
  9340. {0x73, 0x22, 0x22, 0, 0},
  9341. {0x74, 0, 0, 1, 1},
  9342. {0x75, 0xa, 0xa, 0, 0},
  9343. {0x76, 0x1, 0x1, 0, 0},
  9344. {0x77, 0x22, 0x22, 0, 0},
  9345. {0x78, 0x30, 0x30, 0, 0},
  9346. {0x79, 0, 0, 0, 0},
  9347. {0x7A, 0, 0, 0, 0},
  9348. {0x7B, 0, 0, 0, 0},
  9349. {0x7C, 0, 0, 0, 0},
  9350. {0x7D, 0, 0, 0, 0},
  9351. {0x7E, 0, 0, 0, 0},
  9352. {0x7F, 0, 0, 0, 0},
  9353. {0x80, 0, 0, 0, 0},
  9354. {0x81, 0, 0, 0, 0},
  9355. {0x82, 0, 0, 0, 0},
  9356. {0x83, 0, 0, 0, 0},
  9357. {0x84, 0, 0, 0, 0},
  9358. {0x85, 0, 0, 0, 0},
  9359. {0x86, 0, 0, 0, 0},
  9360. {0x87, 0, 0, 0, 0},
  9361. {0x88, 0, 0, 0, 0},
  9362. {0x89, 0, 0, 0, 0},
  9363. {0x8A, 0, 0, 0, 0},
  9364. {0x8B, 0, 0, 0, 0},
  9365. {0x8C, 0, 0, 0, 0},
  9366. {0x8D, 0, 0, 0, 0},
  9367. {0x8E, 0, 0, 0, 0},
  9368. {0x8F, 0, 0, 0, 0},
  9369. {0x90, 0, 0, 0, 0},
  9370. {0x91, 0, 0, 0, 0},
  9371. {0x92, 0, 0, 0, 0},
  9372. {0x93, 0, 0, 0, 0},
  9373. {0x94, 0, 0, 0, 0},
  9374. {0xFFFF, 0, 0, 0, 0}
  9375. };
  9376. static struct radio_regs regs_SYN_2056_rev6[] = {
  9377. {0x02, 0, 0, 0, 0},
  9378. {0x03, 0, 0, 0, 0},
  9379. {0x04, 0, 0, 0, 0},
  9380. {0x05, 0, 0, 0, 0},
  9381. {0x06, 0, 0, 0, 0},
  9382. {0x07, 0, 0, 0, 0},
  9383. {0x08, 0, 0, 0, 0},
  9384. {0x09, 0x1, 0x1, 0, 0},
  9385. {0x0A, 0, 0, 0, 0},
  9386. {0x0B, 0, 0, 0, 0},
  9387. {0x0C, 0, 0, 0, 0},
  9388. {0x0D, 0, 0, 0, 0},
  9389. {0x0E, 0, 0, 0, 0},
  9390. {0x0F, 0, 0, 0, 0},
  9391. {0x10, 0, 0, 0, 0},
  9392. {0x11, 0, 0, 0, 0},
  9393. {0x12, 0, 0, 0, 0},
  9394. {0x13, 0, 0, 0, 0},
  9395. {0x14, 0, 0, 0, 0},
  9396. {0x15, 0, 0, 0, 0},
  9397. {0x16, 0, 0, 0, 0},
  9398. {0x17, 0, 0, 0, 0},
  9399. {0x18, 0, 0, 0, 0},
  9400. {0x19, 0, 0, 0, 0},
  9401. {0x1A, 0, 0, 0, 0},
  9402. {0x1B, 0, 0, 0, 0},
  9403. {0x1C, 0, 0, 0, 0},
  9404. {0x1D, 0, 0, 0, 0},
  9405. {0x1E, 0, 0, 0, 0},
  9406. {0x1F, 0, 0, 0, 0},
  9407. {0x20, 0, 0, 0, 0},
  9408. {0x21, 0, 0, 0, 0},
  9409. {0x22, 0x60, 0x60, 0, 0},
  9410. {0x23, 0x6, 0x6, 0, 0},
  9411. {0x24, 0xc, 0xc, 0, 0},
  9412. {0x25, 0, 0, 0, 0},
  9413. {0x26, 0, 0, 0, 0},
  9414. {0x27, 0, 0, 0, 0},
  9415. {0x28, 0x1, 0x1, 0, 0},
  9416. {0x29, 0, 0, 0, 0},
  9417. {0x2A, 0, 0, 0, 0},
  9418. {0x2B, 0, 0, 0, 0},
  9419. {0x2C, 0, 0, 0, 0},
  9420. {0x2D, 0, 0, 0, 0},
  9421. {0x2E, 0, 0, 0, 0},
  9422. {0x2F, 0x1f, 0x1f, 0, 0},
  9423. {0x30, 0x15, 0x15, 0, 0},
  9424. {0x31, 0xf, 0xf, 0, 0},
  9425. {0x32, 0, 0, 0, 0},
  9426. {0x33, 0, 0, 0, 0},
  9427. {0x34, 0, 0, 0, 0},
  9428. {0x35, 0, 0, 0, 0},
  9429. {0x36, 0, 0, 0, 0},
  9430. {0x37, 0, 0, 0, 0},
  9431. {0x38, 0, 0, 0, 0},
  9432. {0x39, 0, 0, 0, 0},
  9433. {0x3A, 0, 0, 0, 0},
  9434. {0x3B, 0, 0, 0, 0},
  9435. {0x3C, 0x13, 0x13, 0, 0},
  9436. {0x3D, 0xf, 0xf, 0, 0},
  9437. {0x3E, 0x18, 0x18, 0, 0},
  9438. {0x3F, 0, 0, 0, 0},
  9439. {0x40, 0, 0, 0, 0},
  9440. {0x41, 0x20, 0x20, 0, 0},
  9441. {0x42, 0x20, 0x20, 0, 0},
  9442. {0x43, 0, 0, 0, 0},
  9443. {0x44, 0x77, 0x77, 0, 0},
  9444. {0x45, 0x7, 0x7, 0, 0},
  9445. {0x46, 0x1, 0x1, 0, 0},
  9446. {0x47, 0x4, 0x4, 0, 0},
  9447. {0x48, 0xf, 0xf, 0, 0},
  9448. {0x49, 0x30, 0x30, 0, 0},
  9449. {0x4A, 0x32, 0x32, 0, 0},
  9450. {0x4B, 0xd, 0xd, 0, 0},
  9451. {0x4C, 0xd, 0xd, 0, 0},
  9452. {0x4D, 0x4, 0x4, 0, 0},
  9453. {0x4E, 0x6, 0x6, 0, 0},
  9454. {0x4F, 0x1, 0x1, 0, 0},
  9455. {0x50, 0x1c, 0x1c, 0, 0},
  9456. {0x51, 0x2, 0x2, 0, 0},
  9457. {0x52, 0x2, 0x2, 0, 0},
  9458. {0x53, 0xf7, 0xf7, 1, 1},
  9459. {0x54, 0xb4, 0xb4, 0, 0},
  9460. {0x55, 0xd2, 0xd2, 0, 0},
  9461. {0x56, 0, 0, 0, 0},
  9462. {0x57, 0, 0, 0, 0},
  9463. {0x58, 0x4, 0x4, 0, 0},
  9464. {0x59, 0x96, 0x96, 0, 0},
  9465. {0x5A, 0x3e, 0x3e, 0, 0},
  9466. {0x5B, 0x3e, 0x3e, 0, 0},
  9467. {0x5C, 0x13, 0x13, 0, 0},
  9468. {0x5D, 0x2, 0x2, 0, 0},
  9469. {0x5E, 0, 0, 0, 0},
  9470. {0x5F, 0x7, 0x7, 0, 0},
  9471. {0x60, 0x7, 0x7, 1, 1},
  9472. {0x61, 0x8, 0x8, 0, 0},
  9473. {0x62, 0x3, 0x3, 0, 0},
  9474. {0x63, 0, 0, 0, 0},
  9475. {0x64, 0, 0, 0, 0},
  9476. {0x65, 0, 0, 0, 0},
  9477. {0x66, 0, 0, 0, 0},
  9478. {0x67, 0, 0, 0, 0},
  9479. {0x68, 0x40, 0x40, 0, 0},
  9480. {0x69, 0, 0, 0, 0},
  9481. {0x6A, 0, 0, 0, 0},
  9482. {0x6B, 0, 0, 0, 0},
  9483. {0x6C, 0, 0, 0, 0},
  9484. {0x6D, 0x1, 0x1, 0, 0},
  9485. {0x6E, 0, 0, 0, 0},
  9486. {0x6F, 0, 0, 0, 0},
  9487. {0x70, 0x60, 0x60, 0, 0},
  9488. {0x71, 0x66, 0x66, 0, 0},
  9489. {0x72, 0xc, 0xc, 0, 0},
  9490. {0x73, 0x66, 0x66, 0, 0},
  9491. {0x74, 0x8f, 0x8f, 1, 1},
  9492. {0x75, 0, 0, 0, 0},
  9493. {0x76, 0xcc, 0xcc, 0, 0},
  9494. {0x77, 0x1, 0x1, 0, 0},
  9495. {0x78, 0x66, 0x66, 0, 0},
  9496. {0x79, 0x66, 0x66, 0, 0},
  9497. {0x7A, 0, 0, 0, 0},
  9498. {0x7B, 0, 0, 0, 0},
  9499. {0x7C, 0, 0, 0, 0},
  9500. {0x7D, 0, 0, 0, 0},
  9501. {0x7E, 0, 0, 0, 0},
  9502. {0x7F, 0, 0, 0, 0},
  9503. {0x80, 0, 0, 0, 0},
  9504. {0x81, 0, 0, 0, 0},
  9505. {0x82, 0, 0, 0, 0},
  9506. {0x83, 0, 0, 0, 0},
  9507. {0x84, 0, 0, 0, 0},
  9508. {0x85, 0xff, 0xff, 0, 0},
  9509. {0x86, 0, 0, 0, 0},
  9510. {0x87, 0, 0, 0, 0},
  9511. {0x88, 0, 0, 0, 0},
  9512. {0x89, 0, 0, 0, 0},
  9513. {0x8A, 0, 0, 0, 0},
  9514. {0x8B, 0, 0, 0, 0},
  9515. {0x8C, 0, 0, 0, 0},
  9516. {0x8D, 0, 0, 0, 0},
  9517. {0x8E, 0, 0, 0, 0},
  9518. {0x8F, 0, 0, 0, 0},
  9519. {0x90, 0, 0, 0, 0},
  9520. {0x91, 0, 0, 0, 0},
  9521. {0x92, 0, 0, 0, 0},
  9522. {0x93, 0, 0, 0, 0},
  9523. {0x94, 0, 0, 0, 0},
  9524. {0x95, 0, 0, 0, 0},
  9525. {0x96, 0, 0, 0, 0},
  9526. {0x97, 0, 0, 0, 0},
  9527. {0x98, 0, 0, 0, 0},
  9528. {0x99, 0, 0, 0, 0},
  9529. {0x9A, 0, 0, 0, 0},
  9530. {0x9B, 0, 0, 0, 0},
  9531. {0x9C, 0, 0, 0, 0},
  9532. {0x9D, 0, 0, 0, 0},
  9533. {0x9E, 0, 0, 0, 0},
  9534. {0x9F, 0x6, 0x6, 0, 0},
  9535. {0xA0, 0x66, 0x66, 0, 0},
  9536. {0xA1, 0x66, 0x66, 0, 0},
  9537. {0xA2, 0x66, 0x66, 0, 0},
  9538. {0xA3, 0x66, 0x66, 0, 0},
  9539. {0xA4, 0x66, 0x66, 0, 0},
  9540. {0xA5, 0x66, 0x66, 0, 0},
  9541. {0xA6, 0x66, 0x66, 0, 0},
  9542. {0xA7, 0x66, 0x66, 0, 0},
  9543. {0xA8, 0x66, 0x66, 0, 0},
  9544. {0xA9, 0x66, 0x66, 0, 0},
  9545. {0xAA, 0x66, 0x66, 0, 0},
  9546. {0xAB, 0x66, 0x66, 0, 0},
  9547. {0xAC, 0x66, 0x66, 0, 0},
  9548. {0xAD, 0x66, 0x66, 0, 0},
  9549. {0xAE, 0x66, 0x66, 0, 0},
  9550. {0xAF, 0x66, 0x66, 0, 0},
  9551. {0xB0, 0x66, 0x66, 0, 0},
  9552. {0xB1, 0x66, 0x66, 0, 0},
  9553. {0xB2, 0x66, 0x66, 0, 0},
  9554. {0xB3, 0xa, 0xa, 0, 0},
  9555. {0xB4, 0, 0, 0, 0},
  9556. {0xB5, 0, 0, 0, 0},
  9557. {0xB6, 0, 0, 0, 0},
  9558. {0xFFFF, 0, 0, 0, 0}
  9559. };
  9560. static struct radio_regs regs_TX_2056_rev6[] = {
  9561. {0x02, 0, 0, 0, 0},
  9562. {0x03, 0, 0, 0, 0},
  9563. {0x04, 0, 0, 0, 0},
  9564. {0x05, 0, 0, 0, 0},
  9565. {0x06, 0, 0, 0, 0},
  9566. {0x07, 0, 0, 0, 0},
  9567. {0x08, 0, 0, 0, 0},
  9568. {0x09, 0, 0, 0, 0},
  9569. {0x0A, 0, 0, 0, 0},
  9570. {0x0B, 0, 0, 0, 0},
  9571. {0x0C, 0, 0, 0, 0},
  9572. {0x0D, 0, 0, 0, 0},
  9573. {0x0E, 0, 0, 0, 0},
  9574. {0x0F, 0, 0, 0, 0},
  9575. {0x10, 0, 0, 0, 0},
  9576. {0x11, 0, 0, 0, 0},
  9577. {0x12, 0, 0, 0, 0},
  9578. {0x13, 0, 0, 0, 0},
  9579. {0x14, 0, 0, 0, 0},
  9580. {0x15, 0, 0, 0, 0},
  9581. {0x16, 0, 0, 0, 0},
  9582. {0x17, 0, 0, 0, 0},
  9583. {0x18, 0, 0, 0, 0},
  9584. {0x19, 0, 0, 0, 0},
  9585. {0x1A, 0, 0, 0, 0},
  9586. {0x1B, 0, 0, 0, 0},
  9587. {0x1C, 0, 0, 0, 0},
  9588. {0x1D, 0, 0, 0, 0},
  9589. {0x1E, 0, 0, 0, 0},
  9590. {0x1F, 0, 0, 0, 0},
  9591. {0x20, 0, 0, 0, 0},
  9592. {0x21, 0x88, 0x88, 0, 0},
  9593. {0x22, 0x88, 0x88, 0, 0},
  9594. {0x23, 0x88, 0x88, 0, 0},
  9595. {0x24, 0x88, 0x88, 0, 0},
  9596. {0x25, 0xc, 0xc, 0, 0},
  9597. {0x26, 0, 0, 0, 0},
  9598. {0x27, 0x3, 0x3, 0, 0},
  9599. {0x28, 0, 0, 0, 0},
  9600. {0x29, 0x3, 0x3, 0, 0},
  9601. {0x2A, 0x37, 0x37, 0, 0},
  9602. {0x2B, 0x3, 0x3, 0, 0},
  9603. {0x2C, 0, 0, 0, 0},
  9604. {0x2D, 0, 0, 0, 0},
  9605. {0x2E, 0x1, 0x1, 0, 0},
  9606. {0x2F, 0x1, 0x1, 0, 0},
  9607. {0x30, 0, 0, 0, 0},
  9608. {0x31, 0, 0, 0, 0},
  9609. {0x32, 0, 0, 0, 0},
  9610. {0x33, 0x11, 0x11, 0, 0},
  9611. {0x34, 0xee, 0xee, 1, 1},
  9612. {0x35, 0, 0, 0, 0},
  9613. {0x36, 0, 0, 0, 0},
  9614. {0x37, 0x3, 0x3, 0, 0},
  9615. {0x38, 0x50, 0x50, 1, 1},
  9616. {0x39, 0, 0, 0, 0},
  9617. {0x3A, 0x50, 0x50, 1, 1},
  9618. {0x3B, 0, 0, 0, 0},
  9619. {0x3C, 0x6e, 0x6e, 0, 0},
  9620. {0x3D, 0xf0, 0xf0, 1, 1},
  9621. {0x3E, 0, 0, 0, 0},
  9622. {0x3F, 0, 0, 0, 0},
  9623. {0x40, 0, 0, 0, 0},
  9624. {0x41, 0x3, 0x3, 0, 0},
  9625. {0x42, 0x3, 0x3, 0, 0},
  9626. {0x43, 0, 0, 0, 0},
  9627. {0x44, 0x1e, 0x1e, 0, 0},
  9628. {0x45, 0, 0, 0, 0},
  9629. {0x46, 0x6e, 0x6e, 0, 0},
  9630. {0x47, 0xf0, 0xf0, 1, 1},
  9631. {0x48, 0, 0, 0, 0},
  9632. {0x49, 0x2, 0x2, 0, 0},
  9633. {0x4A, 0xff, 0xff, 1, 1},
  9634. {0x4B, 0xc, 0xc, 0, 0},
  9635. {0x4C, 0, 0, 0, 0},
  9636. {0x4D, 0x38, 0x38, 0, 0},
  9637. {0x4E, 0x70, 0x70, 1, 1},
  9638. {0x4F, 0x2, 0x2, 0, 0},
  9639. {0x50, 0x88, 0x88, 0, 0},
  9640. {0x51, 0xc, 0xc, 0, 0},
  9641. {0x52, 0, 0, 0, 0},
  9642. {0x53, 0x8, 0x8, 0, 0},
  9643. {0x54, 0x70, 0x70, 1, 1},
  9644. {0x55, 0x2, 0x2, 0, 0},
  9645. {0x56, 0xff, 0xff, 1, 1},
  9646. {0x57, 0, 0, 0, 0},
  9647. {0x58, 0x83, 0x83, 0, 0},
  9648. {0x59, 0x77, 0x77, 1, 1},
  9649. {0x5A, 0, 0, 0, 0},
  9650. {0x5B, 0x2, 0x2, 0, 0},
  9651. {0x5C, 0x88, 0x88, 0, 0},
  9652. {0x5D, 0, 0, 0, 0},
  9653. {0x5E, 0x8, 0x8, 0, 0},
  9654. {0x5F, 0x77, 0x77, 1, 1},
  9655. {0x60, 0x1, 0x1, 0, 0},
  9656. {0x61, 0, 0, 0, 0},
  9657. {0x62, 0x7, 0x7, 0, 0},
  9658. {0x63, 0, 0, 0, 0},
  9659. {0x64, 0x7, 0x7, 0, 0},
  9660. {0x65, 0, 0, 0, 0},
  9661. {0x66, 0, 0, 0, 0},
  9662. {0x67, 0, 0, 1, 1},
  9663. {0x68, 0, 0, 0, 0},
  9664. {0x69, 0xa, 0xa, 0, 0},
  9665. {0x6A, 0, 0, 0, 0},
  9666. {0x6B, 0, 0, 0, 0},
  9667. {0x6C, 0, 0, 0, 0},
  9668. {0x6D, 0, 0, 0, 0},
  9669. {0x6E, 0, 0, 0, 0},
  9670. {0x6F, 0, 0, 0, 0},
  9671. {0x70, 0, 0, 0, 0},
  9672. {0x71, 0x2, 0x2, 0, 0},
  9673. {0x72, 0, 0, 0, 0},
  9674. {0x73, 0, 0, 0, 0},
  9675. {0x74, 0xe, 0xe, 0, 0},
  9676. {0x75, 0xe, 0xe, 0, 0},
  9677. {0x76, 0xe, 0xe, 0, 0},
  9678. {0x77, 0x13, 0x13, 0, 0},
  9679. {0x78, 0x13, 0x13, 0, 0},
  9680. {0x79, 0x1b, 0x1b, 0, 0},
  9681. {0x7A, 0x1b, 0x1b, 0, 0},
  9682. {0x7B, 0x55, 0x55, 0, 0},
  9683. {0x7C, 0x5b, 0x5b, 0, 0},
  9684. {0x7D, 0x30, 0x30, 1, 1},
  9685. {0x7E, 0, 0, 0, 0},
  9686. {0x7F, 0, 0, 0, 0},
  9687. {0x80, 0, 0, 0, 0},
  9688. {0x81, 0, 0, 0, 0},
  9689. {0x82, 0, 0, 0, 0},
  9690. {0x83, 0, 0, 0, 0},
  9691. {0x84, 0, 0, 0, 0},
  9692. {0x85, 0, 0, 0, 0},
  9693. {0x86, 0, 0, 0, 0},
  9694. {0x87, 0, 0, 0, 0},
  9695. {0x88, 0, 0, 0, 0},
  9696. {0x89, 0, 0, 0, 0},
  9697. {0x8A, 0, 0, 0, 0},
  9698. {0x8B, 0, 0, 0, 0},
  9699. {0x8C, 0, 0, 0, 0},
  9700. {0x8D, 0, 0, 0, 0},
  9701. {0x8E, 0, 0, 0, 0},
  9702. {0x8F, 0, 0, 0, 0},
  9703. {0x90, 0, 0, 0, 0},
  9704. {0x91, 0, 0, 0, 0},
  9705. {0x92, 0, 0, 0, 0},
  9706. {0x93, 0x70, 0x70, 0, 0},
  9707. {0x94, 0x70, 0x70, 0, 0},
  9708. {0x95, 0x70, 0x70, 0, 0},
  9709. {0x96, 0x70, 0x70, 0, 0},
  9710. {0x97, 0x70, 0x70, 0, 0},
  9711. {0x98, 0x70, 0x70, 0, 0},
  9712. {0x99, 0x70, 0x70, 0, 0},
  9713. {0x9A, 0x70, 0x70, 0, 0},
  9714. {0xFFFF, 0, 0, 0, 0}
  9715. };
  9716. static struct radio_regs regs_RX_2056_rev6[] = {
  9717. {0x02, 0, 0, 0, 0},
  9718. {0x03, 0, 0, 0, 0},
  9719. {0x04, 0, 0, 0, 0},
  9720. {0x05, 0, 0, 0, 0},
  9721. {0x06, 0, 0, 0, 0},
  9722. {0x07, 0, 0, 0, 0},
  9723. {0x08, 0, 0, 0, 0},
  9724. {0x09, 0, 0, 0, 0},
  9725. {0x0A, 0, 0, 0, 0},
  9726. {0x0B, 0, 0, 0, 0},
  9727. {0x0C, 0, 0, 0, 0},
  9728. {0x0D, 0, 0, 0, 0},
  9729. {0x0E, 0, 0, 0, 0},
  9730. {0x0F, 0, 0, 0, 0},
  9731. {0x10, 0, 0, 0, 0},
  9732. {0x11, 0, 0, 0, 0},
  9733. {0x12, 0, 0, 0, 0},
  9734. {0x13, 0, 0, 0, 0},
  9735. {0x14, 0, 0, 0, 0},
  9736. {0x15, 0, 0, 0, 0},
  9737. {0x16, 0, 0, 0, 0},
  9738. {0x17, 0, 0, 0, 0},
  9739. {0x18, 0, 0, 0, 0},
  9740. {0x19, 0, 0, 0, 0},
  9741. {0x1A, 0, 0, 0, 0},
  9742. {0x1B, 0, 0, 0, 0},
  9743. {0x1C, 0, 0, 0, 0},
  9744. {0x1D, 0, 0, 0, 0},
  9745. {0x1E, 0, 0, 0, 0},
  9746. {0x1F, 0, 0, 0, 0},
  9747. {0x20, 0x3, 0x3, 0, 0},
  9748. {0x21, 0, 0, 0, 0},
  9749. {0x22, 0, 0, 0, 0},
  9750. {0x23, 0x90, 0x90, 0, 0},
  9751. {0x24, 0x55, 0x55, 0, 0},
  9752. {0x25, 0x15, 0x15, 0, 0},
  9753. {0x26, 0x5, 0x5, 0, 0},
  9754. {0x27, 0x15, 0x15, 0, 0},
  9755. {0x28, 0x5, 0x5, 0, 0},
  9756. {0x29, 0x20, 0x20, 0, 0},
  9757. {0x2A, 0x11, 0x11, 0, 0},
  9758. {0x2B, 0x90, 0x90, 0, 0},
  9759. {0x2C, 0, 0, 0, 0},
  9760. {0x2D, 0x88, 0x88, 0, 0},
  9761. {0x2E, 0x32, 0x32, 0, 0},
  9762. {0x2F, 0x77, 0x77, 0, 0},
  9763. {0x30, 0x17, 0x17, 1, 1},
  9764. {0x31, 0xff, 0xff, 1, 1},
  9765. {0x32, 0x20, 0x20, 0, 0},
  9766. {0x33, 0, 0, 0, 0},
  9767. {0x34, 0x88, 0x88, 0, 0},
  9768. {0x35, 0x32, 0x32, 0, 0},
  9769. {0x36, 0x77, 0x77, 0, 0},
  9770. {0x37, 0x17, 0x17, 1, 1},
  9771. {0x38, 0xf0, 0xf0, 1, 1},
  9772. {0x39, 0x20, 0x20, 0, 0},
  9773. {0x3A, 0x8, 0x8, 0, 0},
  9774. {0x3B, 0x55, 0x55, 1, 1},
  9775. {0x3C, 0, 0, 0, 0},
  9776. {0x3D, 0x88, 0x88, 1, 1},
  9777. {0x3E, 0, 0, 0, 0},
  9778. {0x3F, 0x44, 0x44, 0, 0},
  9779. {0x40, 0x7, 0x7, 1, 1},
  9780. {0x41, 0x6, 0x6, 0, 0},
  9781. {0x42, 0x4, 0x4, 0, 0},
  9782. {0x43, 0, 0, 0, 0},
  9783. {0x44, 0x8, 0x8, 0, 0},
  9784. {0x45, 0x55, 0x55, 1, 1},
  9785. {0x46, 0, 0, 0, 0},
  9786. {0x47, 0x11, 0x11, 0, 0},
  9787. {0x48, 0, 0, 0, 0},
  9788. {0x49, 0x44, 0x44, 0, 0},
  9789. {0x4A, 0x7, 0x7, 0, 0},
  9790. {0x4B, 0x6, 0x6, 0, 0},
  9791. {0x4C, 0x4, 0x4, 0, 0},
  9792. {0x4D, 0, 0, 0, 0},
  9793. {0x4E, 0, 0, 0, 0},
  9794. {0x4F, 0x26, 0x26, 1, 1},
  9795. {0x50, 0x26, 0x26, 1, 1},
  9796. {0x51, 0xf, 0xf, 1, 1},
  9797. {0x52, 0xf, 0xf, 1, 1},
  9798. {0x53, 0x44, 0x44, 0, 0},
  9799. {0x54, 0, 0, 0, 0},
  9800. {0x55, 0, 0, 0, 0},
  9801. {0x56, 0x8, 0x8, 0, 0},
  9802. {0x57, 0x8, 0x8, 0, 0},
  9803. {0x58, 0x7, 0x7, 0, 0},
  9804. {0x59, 0x22, 0x22, 0, 0},
  9805. {0x5A, 0x22, 0x22, 0, 0},
  9806. {0x5B, 0x2, 0x2, 0, 0},
  9807. {0x5C, 0x4, 0x4, 1, 1},
  9808. {0x5D, 0x7, 0x7, 0, 0},
  9809. {0x5E, 0x55, 0x55, 0, 0},
  9810. {0x5F, 0x23, 0x23, 0, 0},
  9811. {0x60, 0x41, 0x41, 0, 0},
  9812. {0x61, 0x1, 0x1, 0, 0},
  9813. {0x62, 0xa, 0xa, 0, 0},
  9814. {0x63, 0, 0, 0, 0},
  9815. {0x64, 0, 0, 0, 0},
  9816. {0x65, 0, 0, 0, 0},
  9817. {0x66, 0, 0, 0, 0},
  9818. {0x67, 0, 0, 0, 0},
  9819. {0x68, 0, 0, 0, 0},
  9820. {0x69, 0, 0, 0, 0},
  9821. {0x6A, 0, 0, 0, 0},
  9822. {0x6B, 0xc, 0xc, 0, 0},
  9823. {0x6C, 0, 0, 0, 0},
  9824. {0x6D, 0, 0, 0, 0},
  9825. {0x6E, 0, 0, 0, 0},
  9826. {0x6F, 0, 0, 0, 0},
  9827. {0x70, 0, 0, 0, 0},
  9828. {0x71, 0, 0, 0, 0},
  9829. {0x72, 0x22, 0x22, 0, 0},
  9830. {0x73, 0x22, 0x22, 0, 0},
  9831. {0x74, 0, 0, 1, 1},
  9832. {0x75, 0xa, 0xa, 0, 0},
  9833. {0x76, 0x1, 0x1, 0, 0},
  9834. {0x77, 0x22, 0x22, 0, 0},
  9835. {0x78, 0x30, 0x30, 0, 0},
  9836. {0x79, 0, 0, 0, 0},
  9837. {0x7A, 0, 0, 0, 0},
  9838. {0x7B, 0, 0, 0, 0},
  9839. {0x7C, 0, 0, 0, 0},
  9840. {0x7D, 0x5, 0x5, 1, 1},
  9841. {0x7E, 0, 0, 0, 0},
  9842. {0x7F, 0, 0, 0, 0},
  9843. {0x80, 0, 0, 0, 0},
  9844. {0x81, 0, 0, 0, 0},
  9845. {0x82, 0, 0, 0, 0},
  9846. {0x83, 0, 0, 0, 0},
  9847. {0x84, 0, 0, 0, 0},
  9848. {0x85, 0, 0, 0, 0},
  9849. {0x86, 0, 0, 0, 0},
  9850. {0x87, 0, 0, 0, 0},
  9851. {0x88, 0, 0, 0, 0},
  9852. {0x89, 0, 0, 0, 0},
  9853. {0x8A, 0, 0, 0, 0},
  9854. {0x8B, 0, 0, 0, 0},
  9855. {0x8C, 0, 0, 0, 0},
  9856. {0x8D, 0, 0, 0, 0},
  9857. {0x8E, 0, 0, 0, 0},
  9858. {0x8F, 0, 0, 0, 0},
  9859. {0x90, 0, 0, 0, 0},
  9860. {0x91, 0, 0, 0, 0},
  9861. {0x92, 0, 0, 0, 0},
  9862. {0x93, 0, 0, 0, 0},
  9863. {0x94, 0, 0, 0, 0},
  9864. {0xFFFF, 0, 0, 0, 0}
  9865. };
  9866. static struct radio_regs regs_SYN_2056_rev7[] = {
  9867. {0x02, 0, 0, 0, 0},
  9868. {0x03, 0, 0, 0, 0},
  9869. {0x04, 0, 0, 0, 0},
  9870. {0x05, 0, 0, 0, 0},
  9871. {0x06, 0, 0, 0, 0},
  9872. {0x07, 0, 0, 0, 0},
  9873. {0x08, 0, 0, 0, 0},
  9874. {0x09, 0x1, 0x1, 0, 0},
  9875. {0x0A, 0, 0, 0, 0},
  9876. {0x0B, 0, 0, 0, 0},
  9877. {0x0C, 0, 0, 0, 0},
  9878. {0x0D, 0, 0, 0, 0},
  9879. {0x0E, 0, 0, 0, 0},
  9880. {0x0F, 0, 0, 0, 0},
  9881. {0x10, 0, 0, 0, 0},
  9882. {0x11, 0, 0, 0, 0},
  9883. {0x12, 0, 0, 0, 0},
  9884. {0x13, 0, 0, 0, 0},
  9885. {0x14, 0, 0, 0, 0},
  9886. {0x15, 0, 0, 0, 0},
  9887. {0x16, 0, 0, 0, 0},
  9888. {0x17, 0, 0, 0, 0},
  9889. {0x18, 0, 0, 0, 0},
  9890. {0x19, 0, 0, 0, 0},
  9891. {0x1A, 0, 0, 0, 0},
  9892. {0x1B, 0, 0, 0, 0},
  9893. {0x1C, 0, 0, 0, 0},
  9894. {0x1D, 0, 0, 0, 0},
  9895. {0x1E, 0, 0, 0, 0},
  9896. {0x1F, 0, 0, 0, 0},
  9897. {0x20, 0, 0, 0, 0},
  9898. {0x21, 0, 0, 0, 0},
  9899. {0x22, 0x60, 0x60, 0, 0},
  9900. {0x23, 0x6, 0x6, 0, 0},
  9901. {0x24, 0xc, 0xc, 0, 0},
  9902. {0x25, 0, 0, 0, 0},
  9903. {0x26, 0, 0, 0, 0},
  9904. {0x27, 0, 0, 0, 0},
  9905. {0x28, 0x1, 0x1, 0, 0},
  9906. {0x29, 0, 0, 0, 0},
  9907. {0x2A, 0, 0, 0, 0},
  9908. {0x2B, 0, 0, 0, 0},
  9909. {0x2C, 0, 0, 0, 0},
  9910. {0x2D, 0, 0, 0, 0},
  9911. {0x2E, 0, 0, 0, 0},
  9912. {0x2F, 0x1f, 0x1f, 0, 0},
  9913. {0x30, 0x15, 0x15, 0, 0},
  9914. {0x31, 0xf, 0xf, 0, 0},
  9915. {0x32, 0, 0, 0, 0},
  9916. {0x33, 0, 0, 0, 0},
  9917. {0x34, 0, 0, 0, 0},
  9918. {0x35, 0, 0, 0, 0},
  9919. {0x36, 0, 0, 0, 0},
  9920. {0x37, 0, 0, 0, 0},
  9921. {0x38, 0, 0, 0, 0},
  9922. {0x39, 0, 0, 0, 0},
  9923. {0x3A, 0, 0, 0, 0},
  9924. {0x3B, 0, 0, 0, 0},
  9925. {0x3C, 0x13, 0x13, 0, 0},
  9926. {0x3D, 0xf, 0xf, 0, 0},
  9927. {0x3E, 0x18, 0x18, 0, 0},
  9928. {0x3F, 0, 0, 0, 0},
  9929. {0x40, 0, 0, 0, 0},
  9930. {0x41, 0x20, 0x20, 0, 0},
  9931. {0x42, 0x20, 0x20, 0, 0},
  9932. {0x43, 0, 0, 0, 0},
  9933. {0x44, 0x77, 0x77, 0, 0},
  9934. {0x45, 0x7, 0x7, 0, 0},
  9935. {0x46, 0x1, 0x1, 0, 0},
  9936. {0x47, 0x4, 0x4, 0, 0},
  9937. {0x48, 0xf, 0xf, 0, 0},
  9938. {0x49, 0x30, 0x30, 0, 0},
  9939. {0x4A, 0x32, 0x32, 0, 0},
  9940. {0x4B, 0xd, 0xd, 0, 0},
  9941. {0x4C, 0xd, 0xd, 0, 0},
  9942. {0x4D, 0x4, 0x4, 0, 0},
  9943. {0x4E, 0x6, 0x6, 0, 0},
  9944. {0x4F, 0x1, 0x1, 0, 0},
  9945. {0x50, 0x1c, 0x1c, 0, 0},
  9946. {0x51, 0x2, 0x2, 0, 0},
  9947. {0x52, 0x2, 0x2, 0, 0},
  9948. {0x53, 0xf7, 0xf7, 1, 1},
  9949. {0x54, 0xb4, 0xb4, 0, 0},
  9950. {0x55, 0xd2, 0xd2, 0, 0},
  9951. {0x56, 0, 0, 0, 0},
  9952. {0x57, 0, 0, 0, 0},
  9953. {0x58, 0x4, 0x4, 0, 0},
  9954. {0x59, 0x96, 0x96, 0, 0},
  9955. {0x5A, 0x3e, 0x3e, 0, 0},
  9956. {0x5B, 0x3e, 0x3e, 0, 0},
  9957. {0x5C, 0x13, 0x13, 0, 0},
  9958. {0x5D, 0x2, 0x2, 0, 0},
  9959. {0x5E, 0, 0, 0, 0},
  9960. {0x5F, 0x7, 0x7, 0, 0},
  9961. {0x60, 0x7, 0x7, 1, 1},
  9962. {0x61, 0x8, 0x8, 0, 0},
  9963. {0x62, 0x3, 0x3, 0, 0},
  9964. {0x63, 0, 0, 0, 0},
  9965. {0x64, 0, 0, 0, 0},
  9966. {0x65, 0, 0, 0, 0},
  9967. {0x66, 0, 0, 0, 0},
  9968. {0x67, 0, 0, 0, 0},
  9969. {0x68, 0x40, 0x40, 0, 0},
  9970. {0x69, 0, 0, 0, 0},
  9971. {0x6A, 0, 0, 0, 0},
  9972. {0x6B, 0, 0, 0, 0},
  9973. {0x6C, 0, 0, 0, 0},
  9974. {0x6D, 0x1, 0x1, 0, 0},
  9975. {0x6E, 0, 0, 0, 0},
  9976. {0x6F, 0, 0, 0, 0},
  9977. {0x70, 0x60, 0x60, 0, 0},
  9978. {0x71, 0x66, 0x66, 0, 0},
  9979. {0x72, 0xc, 0xc, 0, 0},
  9980. {0x73, 0x66, 0x66, 0, 0},
  9981. {0x74, 0x8f, 0x8f, 1, 1},
  9982. {0x75, 0, 0, 0, 0},
  9983. {0x76, 0xcc, 0xcc, 0, 0},
  9984. {0x77, 0x1, 0x1, 0, 0},
  9985. {0x78, 0x66, 0x66, 0, 0},
  9986. {0x79, 0x66, 0x66, 0, 0},
  9987. {0x7A, 0, 0, 0, 0},
  9988. {0x7B, 0, 0, 0, 0},
  9989. {0x7C, 0, 0, 0, 0},
  9990. {0x7D, 0, 0, 0, 0},
  9991. {0x7E, 0, 0, 0, 0},
  9992. {0x7F, 0, 0, 0, 0},
  9993. {0x80, 0, 0, 0, 0},
  9994. {0x81, 0, 0, 0, 0},
  9995. {0x82, 0, 0, 0, 0},
  9996. {0x83, 0, 0, 0, 0},
  9997. {0x84, 0, 0, 0, 0},
  9998. {0x85, 0xff, 0xff, 0, 0},
  9999. {0x86, 0, 0, 0, 0},
  10000. {0x87, 0, 0, 0, 0},
  10001. {0x88, 0, 0, 0, 0},
  10002. {0x89, 0, 0, 0, 0},
  10003. {0x8A, 0, 0, 0, 0},
  10004. {0x8B, 0, 0, 0, 0},
  10005. {0x8C, 0, 0, 0, 0},
  10006. {0x8D, 0, 0, 0, 0},
  10007. {0x8E, 0, 0, 0, 0},
  10008. {0x8F, 0, 0, 0, 0},
  10009. {0x90, 0, 0, 0, 0},
  10010. {0x91, 0, 0, 0, 0},
  10011. {0x92, 0, 0, 0, 0},
  10012. {0x93, 0, 0, 0, 0},
  10013. {0x94, 0, 0, 0, 0},
  10014. {0x95, 0, 0, 0, 0},
  10015. {0x96, 0, 0, 0, 0},
  10016. {0x97, 0, 0, 0, 0},
  10017. {0x98, 0, 0, 0, 0},
  10018. {0x99, 0, 0, 0, 0},
  10019. {0x9A, 0, 0, 0, 0},
  10020. {0x9B, 0, 0, 0, 0},
  10021. {0x9C, 0, 0, 0, 0},
  10022. {0x9D, 0, 0, 0, 0},
  10023. {0x9E, 0, 0, 0, 0},
  10024. {0x9F, 0x6, 0x6, 0, 0},
  10025. {0xA0, 0x66, 0x66, 0, 0},
  10026. {0xA1, 0x66, 0x66, 0, 0},
  10027. {0xA2, 0x66, 0x66, 0, 0},
  10028. {0xA3, 0x66, 0x66, 0, 0},
  10029. {0xA4, 0x66, 0x66, 0, 0},
  10030. {0xA5, 0x66, 0x66, 0, 0},
  10031. {0xA6, 0x66, 0x66, 0, 0},
  10032. {0xA7, 0x66, 0x66, 0, 0},
  10033. {0xA8, 0x66, 0x66, 0, 0},
  10034. {0xA9, 0x66, 0x66, 0, 0},
  10035. {0xAA, 0x66, 0x66, 0, 0},
  10036. {0xAB, 0x66, 0x66, 0, 0},
  10037. {0xAC, 0x66, 0x66, 0, 0},
  10038. {0xAD, 0x66, 0x66, 0, 0},
  10039. {0xAE, 0x66, 0x66, 0, 0},
  10040. {0xAF, 0x66, 0x66, 0, 0},
  10041. {0xB0, 0x66, 0x66, 0, 0},
  10042. {0xB1, 0x66, 0x66, 0, 0},
  10043. {0xB2, 0x66, 0x66, 0, 0},
  10044. {0xB3, 0xa, 0xa, 0, 0},
  10045. {0xB4, 0, 0, 0, 0},
  10046. {0xB5, 0, 0, 0, 0},
  10047. {0xB6, 0, 0, 0, 0},
  10048. {0xFFFF, 0, 0, 0, 0},
  10049. };
  10050. static struct radio_regs regs_TX_2056_rev7[] = {
  10051. {0x02, 0, 0, 0, 0},
  10052. {0x03, 0, 0, 0, 0},
  10053. {0x04, 0, 0, 0, 0},
  10054. {0x05, 0, 0, 0, 0},
  10055. {0x06, 0, 0, 0, 0},
  10056. {0x07, 0, 0, 0, 0},
  10057. {0x08, 0, 0, 0, 0},
  10058. {0x09, 0, 0, 0, 0},
  10059. {0x0A, 0, 0, 0, 0},
  10060. {0x0B, 0, 0, 0, 0},
  10061. {0x0C, 0, 0, 0, 0},
  10062. {0x0D, 0, 0, 0, 0},
  10063. {0x0E, 0, 0, 0, 0},
  10064. {0x0F, 0, 0, 0, 0},
  10065. {0x10, 0, 0, 0, 0},
  10066. {0x11, 0, 0, 0, 0},
  10067. {0x12, 0, 0, 0, 0},
  10068. {0x13, 0, 0, 0, 0},
  10069. {0x14, 0, 0, 0, 0},
  10070. {0x15, 0, 0, 0, 0},
  10071. {0x16, 0, 0, 0, 0},
  10072. {0x17, 0, 0, 0, 0},
  10073. {0x18, 0, 0, 0, 0},
  10074. {0x19, 0, 0, 0, 0},
  10075. {0x1A, 0, 0, 0, 0},
  10076. {0x1B, 0, 0, 0, 0},
  10077. {0x1C, 0, 0, 0, 0},
  10078. {0x1D, 0, 0, 0, 0},
  10079. {0x1E, 0, 0, 0, 0},
  10080. {0x1F, 0, 0, 0, 0},
  10081. {0x20, 0, 0, 0, 0},
  10082. {0x21, 0x88, 0x88, 0, 0},
  10083. {0x22, 0x88, 0x88, 0, 0},
  10084. {0x23, 0x88, 0x88, 0, 0},
  10085. {0x24, 0x88, 0x88, 0, 0},
  10086. {0x25, 0xc, 0xc, 0, 0},
  10087. {0x26, 0, 0, 0, 0},
  10088. {0x27, 0x3, 0x3, 0, 0},
  10089. {0x28, 0, 0, 0, 0},
  10090. {0x29, 0x3, 0x3, 0, 0},
  10091. {0x2A, 0x37, 0x37, 0, 0},
  10092. {0x2B, 0x3, 0x3, 0, 0},
  10093. {0x2C, 0, 0, 0, 0},
  10094. {0x2D, 0, 0, 0, 0},
  10095. {0x2E, 0x1, 0x1, 0, 0},
  10096. {0x2F, 0x1, 0x1, 0, 0},
  10097. {0x30, 0, 0, 0, 0},
  10098. {0x31, 0, 0, 0, 0},
  10099. {0x32, 0, 0, 0, 0},
  10100. {0x33, 0x11, 0x11, 0, 0},
  10101. {0x34, 0xee, 0xee, 1, 1},
  10102. {0x35, 0, 0, 0, 0},
  10103. {0x36, 0, 0, 0, 0},
  10104. {0x37, 0x3, 0x3, 0, 0},
  10105. {0x38, 0x50, 0x50, 1, 1},
  10106. {0x39, 0, 0, 0, 0},
  10107. {0x3A, 0x50, 0x50, 1, 1},
  10108. {0x3B, 0, 0, 0, 0},
  10109. {0x3C, 0x6e, 0x6e, 0, 0},
  10110. {0x3D, 0xf0, 0xf0, 1, 1},
  10111. {0x3E, 0, 0, 0, 0},
  10112. {0x3F, 0, 0, 0, 0},
  10113. {0x40, 0, 0, 0, 0},
  10114. {0x41, 0x3, 0x3, 0, 0},
  10115. {0x42, 0x3, 0x3, 0, 0},
  10116. {0x43, 0, 0, 0, 0},
  10117. {0x44, 0x1e, 0x1e, 0, 0},
  10118. {0x45, 0, 0, 0, 0},
  10119. {0x46, 0x6e, 0x6e, 0, 0},
  10120. {0x47, 0xf0, 0xf0, 1, 1},
  10121. {0x48, 0, 0, 0, 0},
  10122. {0x49, 0x2, 0x2, 0, 0},
  10123. {0x4A, 0xff, 0xff, 1, 1},
  10124. {0x4B, 0xc, 0xc, 0, 0},
  10125. {0x4C, 0, 0, 0, 0},
  10126. {0x4D, 0x38, 0x38, 0, 0},
  10127. {0x4E, 0x70, 0x70, 1, 1},
  10128. {0x4F, 0x2, 0x2, 0, 0},
  10129. {0x50, 0x88, 0x88, 0, 0},
  10130. {0x51, 0xc, 0xc, 0, 0},
  10131. {0x52, 0, 0, 0, 0},
  10132. {0x53, 0x8, 0x8, 0, 0},
  10133. {0x54, 0x70, 0x70, 1, 1},
  10134. {0x55, 0x2, 0x2, 0, 0},
  10135. {0x56, 0xff, 0xff, 1, 1},
  10136. {0x57, 0, 0, 0, 0},
  10137. {0x58, 0x83, 0x83, 0, 0},
  10138. {0x59, 0x77, 0x77, 1, 1},
  10139. {0x5A, 0, 0, 0, 0},
  10140. {0x5B, 0x2, 0x2, 0, 0},
  10141. {0x5C, 0x88, 0x88, 0, 0},
  10142. {0x5D, 0, 0, 0, 0},
  10143. {0x5E, 0x8, 0x8, 0, 0},
  10144. {0x5F, 0x77, 0x77, 1, 1},
  10145. {0x60, 0x1, 0x1, 0, 0},
  10146. {0x61, 0, 0, 0, 0},
  10147. {0x62, 0x7, 0x7, 0, 0},
  10148. {0x63, 0, 0, 0, 0},
  10149. {0x64, 0x7, 0x7, 0, 0},
  10150. {0x65, 0, 0, 0, 0},
  10151. {0x66, 0, 0, 0, 0},
  10152. {0x67, 0, 0, 1, 1},
  10153. {0x68, 0, 0, 0, 0},
  10154. {0x69, 0xa, 0xa, 0, 0},
  10155. {0x6A, 0, 0, 0, 0},
  10156. {0x6B, 0, 0, 0, 0},
  10157. {0x6C, 0, 0, 0, 0},
  10158. {0x6D, 0, 0, 0, 0},
  10159. {0x6E, 0, 0, 0, 0},
  10160. {0x6F, 0, 0, 0, 0},
  10161. {0x70, 0, 0, 0, 0},
  10162. {0x71, 0x2, 0x2, 0, 0},
  10163. {0x72, 0, 0, 0, 0},
  10164. {0x73, 0, 0, 0, 0},
  10165. {0x74, 0xe, 0xe, 0, 0},
  10166. {0x75, 0xe, 0xe, 0, 0},
  10167. {0x76, 0xe, 0xe, 0, 0},
  10168. {0x77, 0x13, 0x13, 0, 0},
  10169. {0x78, 0x13, 0x13, 0, 0},
  10170. {0x79, 0x1b, 0x1b, 0, 0},
  10171. {0x7A, 0x1b, 0x1b, 0, 0},
  10172. {0x7B, 0x55, 0x55, 0, 0},
  10173. {0x7C, 0x5b, 0x5b, 0, 0},
  10174. {0x7D, 0x30, 0x30, 1, 1},
  10175. {0x7E, 0, 0, 0, 0},
  10176. {0x7F, 0, 0, 0, 0},
  10177. {0x80, 0, 0, 0, 0},
  10178. {0x81, 0, 0, 0, 0},
  10179. {0x82, 0, 0, 0, 0},
  10180. {0x83, 0, 0, 0, 0},
  10181. {0x84, 0, 0, 0, 0},
  10182. {0x85, 0, 0, 0, 0},
  10183. {0x86, 0, 0, 0, 0},
  10184. {0x87, 0, 0, 0, 0},
  10185. {0x88, 0, 0, 0, 0},
  10186. {0x89, 0, 0, 0, 0},
  10187. {0x8A, 0, 0, 0, 0},
  10188. {0x8B, 0, 0, 0, 0},
  10189. {0x8C, 0, 0, 0, 0},
  10190. {0x8D, 0, 0, 0, 0},
  10191. {0x8E, 0, 0, 0, 0},
  10192. {0x8F, 0, 0, 0, 0},
  10193. {0x90, 0, 0, 0, 0},
  10194. {0x91, 0, 0, 0, 0},
  10195. {0x92, 0, 0, 0, 0},
  10196. {0x93, 0x70, 0x70, 0, 0},
  10197. {0x94, 0x70, 0x70, 0, 0},
  10198. {0x95, 0x71, 0x71, 1, 1},
  10199. {0x96, 0x71, 0x71, 1, 1},
  10200. {0x97, 0x72, 0x72, 1, 1},
  10201. {0x98, 0x73, 0x73, 1, 1},
  10202. {0x99, 0x74, 0x74, 1, 1},
  10203. {0x9A, 0x75, 0x75, 1, 1},
  10204. {0xFFFF, 0, 0, 0, 0},
  10205. };
  10206. static struct radio_regs regs_RX_2056_rev7[] = {
  10207. {0x02, 0, 0, 0, 0},
  10208. {0x03, 0, 0, 0, 0},
  10209. {0x04, 0, 0, 0, 0},
  10210. {0x05, 0, 0, 0, 0},
  10211. {0x06, 0, 0, 0, 0},
  10212. {0x07, 0, 0, 0, 0},
  10213. {0x08, 0, 0, 0, 0},
  10214. {0x09, 0, 0, 0, 0},
  10215. {0x0A, 0, 0, 0, 0},
  10216. {0x0B, 0, 0, 0, 0},
  10217. {0x0C, 0, 0, 0, 0},
  10218. {0x0D, 0, 0, 0, 0},
  10219. {0x0E, 0, 0, 0, 0},
  10220. {0x0F, 0, 0, 0, 0},
  10221. {0x10, 0, 0, 0, 0},
  10222. {0x11, 0, 0, 0, 0},
  10223. {0x12, 0, 0, 0, 0},
  10224. {0x13, 0, 0, 0, 0},
  10225. {0x14, 0, 0, 0, 0},
  10226. {0x15, 0, 0, 0, 0},
  10227. {0x16, 0, 0, 0, 0},
  10228. {0x17, 0, 0, 0, 0},
  10229. {0x18, 0, 0, 0, 0},
  10230. {0x19, 0, 0, 0, 0},
  10231. {0x1A, 0, 0, 0, 0},
  10232. {0x1B, 0, 0, 0, 0},
  10233. {0x1C, 0, 0, 0, 0},
  10234. {0x1D, 0, 0, 0, 0},
  10235. {0x1E, 0, 0, 0, 0},
  10236. {0x1F, 0, 0, 0, 0},
  10237. {0x20, 0x3, 0x3, 0, 0},
  10238. {0x21, 0, 0, 0, 0},
  10239. {0x22, 0, 0, 0, 0},
  10240. {0x23, 0x90, 0x90, 0, 0},
  10241. {0x24, 0x55, 0x55, 0, 0},
  10242. {0x25, 0x15, 0x15, 0, 0},
  10243. {0x26, 0x5, 0x5, 0, 0},
  10244. {0x27, 0x15, 0x15, 0, 0},
  10245. {0x28, 0x5, 0x5, 0, 0},
  10246. {0x29, 0x20, 0x20, 0, 0},
  10247. {0x2A, 0x11, 0x11, 0, 0},
  10248. {0x2B, 0x90, 0x90, 0, 0},
  10249. {0x2C, 0, 0, 0, 0},
  10250. {0x2D, 0x88, 0x88, 0, 0},
  10251. {0x2E, 0x32, 0x32, 0, 0},
  10252. {0x2F, 0x77, 0x77, 0, 0},
  10253. {0x30, 0x17, 0x17, 1, 1},
  10254. {0x31, 0xff, 0xff, 1, 1},
  10255. {0x32, 0x20, 0x20, 0, 0},
  10256. {0x33, 0, 0, 0, 0},
  10257. {0x34, 0x88, 0x88, 0, 0},
  10258. {0x35, 0x32, 0x32, 0, 0},
  10259. {0x36, 0x77, 0x77, 0, 0},
  10260. {0x37, 0x17, 0x17, 1, 1},
  10261. {0x38, 0xf0, 0xf0, 1, 1},
  10262. {0x39, 0x20, 0x20, 0, 0},
  10263. {0x3A, 0x8, 0x8, 0, 0},
  10264. {0x3B, 0x55, 0x55, 1, 1},
  10265. {0x3C, 0, 0, 0, 0},
  10266. {0x3D, 0x88, 0x88, 1, 1},
  10267. {0x3E, 0, 0, 0, 0},
  10268. {0x3F, 0, 0, 1, 1},
  10269. {0x40, 0x7, 0x7, 1, 1},
  10270. {0x41, 0x6, 0x6, 0, 0},
  10271. {0x42, 0x4, 0x4, 0, 0},
  10272. {0x43, 0, 0, 0, 0},
  10273. {0x44, 0x8, 0x8, 0, 0},
  10274. {0x45, 0x55, 0x55, 1, 1},
  10275. {0x46, 0, 0, 0, 0},
  10276. {0x47, 0x11, 0x11, 0, 0},
  10277. {0x48, 0, 0, 0, 0},
  10278. {0x49, 0, 0, 1, 1},
  10279. {0x4A, 0x7, 0x7, 0, 0},
  10280. {0x4B, 0x6, 0x6, 0, 0},
  10281. {0x4C, 0x4, 0x4, 0, 0},
  10282. {0x4D, 0, 0, 0, 0},
  10283. {0x4E, 0, 0, 0, 0},
  10284. {0x4F, 0x26, 0x26, 1, 1},
  10285. {0x50, 0x26, 0x26, 1, 1},
  10286. {0x51, 0xf, 0xf, 1, 1},
  10287. {0x52, 0xf, 0xf, 1, 1},
  10288. {0x53, 0x44, 0x44, 0, 0},
  10289. {0x54, 0, 0, 0, 0},
  10290. {0x55, 0, 0, 0, 0},
  10291. {0x56, 0x8, 0x8, 0, 0},
  10292. {0x57, 0x8, 0x8, 0, 0},
  10293. {0x58, 0x7, 0x7, 0, 0},
  10294. {0x59, 0x22, 0x22, 0, 0},
  10295. {0x5A, 0x22, 0x22, 0, 0},
  10296. {0x5B, 0x2, 0x2, 0, 0},
  10297. {0x5C, 0x4, 0x4, 1, 1},
  10298. {0x5D, 0x7, 0x7, 0, 0},
  10299. {0x5E, 0x55, 0x55, 0, 0},
  10300. {0x5F, 0x23, 0x23, 0, 0},
  10301. {0x60, 0x41, 0x41, 0, 0},
  10302. {0x61, 0x1, 0x1, 0, 0},
  10303. {0x62, 0xa, 0xa, 0, 0},
  10304. {0x63, 0, 0, 0, 0},
  10305. {0x64, 0, 0, 0, 0},
  10306. {0x65, 0, 0, 0, 0},
  10307. {0x66, 0, 0, 0, 0},
  10308. {0x67, 0, 0, 0, 0},
  10309. {0x68, 0, 0, 0, 0},
  10310. {0x69, 0, 0, 0, 0},
  10311. {0x6A, 0, 0, 0, 0},
  10312. {0x6B, 0xc, 0xc, 0, 0},
  10313. {0x6C, 0, 0, 0, 0},
  10314. {0x6D, 0, 0, 0, 0},
  10315. {0x6E, 0, 0, 0, 0},
  10316. {0x6F, 0, 0, 0, 0},
  10317. {0x70, 0, 0, 0, 0},
  10318. {0x71, 0, 0, 0, 0},
  10319. {0x72, 0x22, 0x22, 0, 0},
  10320. {0x73, 0x22, 0x22, 0, 0},
  10321. {0x74, 0, 0, 1, 1},
  10322. {0x75, 0xa, 0xa, 0, 0},
  10323. {0x76, 0x1, 0x1, 0, 0},
  10324. {0x77, 0x22, 0x22, 0, 0},
  10325. {0x78, 0x30, 0x30, 0, 0},
  10326. {0x79, 0, 0, 0, 0},
  10327. {0x7A, 0, 0, 0, 0},
  10328. {0x7B, 0, 0, 0, 0},
  10329. {0x7C, 0, 0, 0, 0},
  10330. {0x7D, 0, 0, 0, 0},
  10331. {0x7E, 0, 0, 0, 0},
  10332. {0x7F, 0, 0, 0, 0},
  10333. {0x80, 0, 0, 0, 0},
  10334. {0x81, 0, 0, 0, 0},
  10335. {0x82, 0, 0, 0, 0},
  10336. {0x83, 0, 0, 0, 0},
  10337. {0x84, 0, 0, 0, 0},
  10338. {0x85, 0, 0, 0, 0},
  10339. {0x86, 0, 0, 0, 0},
  10340. {0x87, 0, 0, 0, 0},
  10341. {0x88, 0, 0, 0, 0},
  10342. {0x89, 0, 0, 0, 0},
  10343. {0x8A, 0, 0, 0, 0},
  10344. {0x8B, 0, 0, 0, 0},
  10345. {0x8C, 0, 0, 0, 0},
  10346. {0x8D, 0, 0, 0, 0},
  10347. {0x8E, 0, 0, 0, 0},
  10348. {0x8F, 0, 0, 0, 0},
  10349. {0x90, 0, 0, 0, 0},
  10350. {0x91, 0, 0, 0, 0},
  10351. {0x92, 0, 0, 0, 0},
  10352. {0x93, 0, 0, 0, 0},
  10353. {0x94, 0, 0, 0, 0},
  10354. {0xFFFF, 0, 0, 0, 0},
  10355. };
  10356. static struct radio_regs regs_SYN_2056_rev8[] = {
  10357. {0x02, 0, 0, 0, 0},
  10358. {0x03, 0, 0, 0, 0},
  10359. {0x04, 0, 0, 0, 0},
  10360. {0x05, 0, 0, 0, 0},
  10361. {0x06, 0, 0, 0, 0},
  10362. {0x07, 0, 0, 0, 0},
  10363. {0x08, 0, 0, 0, 0},
  10364. {0x09, 0x1, 0x1, 0, 0},
  10365. {0x0A, 0, 0, 0, 0},
  10366. {0x0B, 0, 0, 0, 0},
  10367. {0x0C, 0, 0, 0, 0},
  10368. {0x0D, 0, 0, 0, 0},
  10369. {0x0E, 0, 0, 0, 0},
  10370. {0x0F, 0, 0, 0, 0},
  10371. {0x10, 0, 0, 0, 0},
  10372. {0x11, 0, 0, 0, 0},
  10373. {0x12, 0, 0, 0, 0},
  10374. {0x13, 0, 0, 0, 0},
  10375. {0x14, 0, 0, 0, 0},
  10376. {0x15, 0, 0, 0, 0},
  10377. {0x16, 0, 0, 0, 0},
  10378. {0x17, 0, 0, 0, 0},
  10379. {0x18, 0, 0, 0, 0},
  10380. {0x19, 0, 0, 0, 0},
  10381. {0x1A, 0, 0, 0, 0},
  10382. {0x1B, 0, 0, 0, 0},
  10383. {0x1C, 0, 0, 0, 0},
  10384. {0x1D, 0, 0, 0, 0},
  10385. {0x1E, 0, 0, 0, 0},
  10386. {0x1F, 0, 0, 0, 0},
  10387. {0x20, 0, 0, 0, 0},
  10388. {0x21, 0, 0, 0, 0},
  10389. {0x22, 0x60, 0x60, 0, 0},
  10390. {0x23, 0x6, 0x6, 0, 0},
  10391. {0x24, 0xc, 0xc, 0, 0},
  10392. {0x25, 0, 0, 0, 0},
  10393. {0x26, 0, 0, 0, 0},
  10394. {0x27, 0, 0, 0, 0},
  10395. {0x28, 0x1, 0x1, 0, 0},
  10396. {0x29, 0, 0, 0, 0},
  10397. {0x2A, 0, 0, 0, 0},
  10398. {0x2B, 0, 0, 0, 0},
  10399. {0x2C, 0, 0, 0, 0},
  10400. {0x2D, 0, 0, 0, 0},
  10401. {0x2E, 0, 0, 0, 0},
  10402. {0x2F, 0x1f, 0x1f, 0, 0},
  10403. {0x30, 0x15, 0x15, 0, 0},
  10404. {0x31, 0xf, 0xf, 0, 0},
  10405. {0x32, 0, 0, 0, 0},
  10406. {0x33, 0, 0, 0, 0},
  10407. {0x34, 0, 0, 0, 0},
  10408. {0x35, 0, 0, 0, 0},
  10409. {0x36, 0, 0, 0, 0},
  10410. {0x37, 0, 0, 0, 0},
  10411. {0x38, 0, 0, 0, 0},
  10412. {0x39, 0, 0, 0, 0},
  10413. {0x3A, 0, 0, 0, 0},
  10414. {0x3B, 0, 0, 0, 0},
  10415. {0x3C, 0x13, 0x13, 0, 0},
  10416. {0x3D, 0xf, 0xf, 0, 0},
  10417. {0x3E, 0x18, 0x18, 0, 0},
  10418. {0x3F, 0, 0, 0, 0},
  10419. {0x40, 0, 0, 0, 0},
  10420. {0x41, 0x20, 0x20, 0, 0},
  10421. {0x42, 0x20, 0x20, 0, 0},
  10422. {0x43, 0, 0, 0, 0},
  10423. {0x44, 0x77, 0x77, 0, 0},
  10424. {0x45, 0x7, 0x7, 0, 0},
  10425. {0x46, 0x1, 0x1, 0, 0},
  10426. {0x47, 0x4, 0x4, 0, 0},
  10427. {0x48, 0xf, 0xf, 0, 0},
  10428. {0x49, 0x30, 0x30, 0, 0},
  10429. {0x4A, 0x32, 0x32, 0, 0},
  10430. {0x4B, 0xd, 0xd, 0, 0},
  10431. {0x4C, 0xd, 0xd, 0, 0},
  10432. {0x4D, 0x4, 0x4, 0, 0},
  10433. {0x4E, 0x6, 0x6, 0, 0},
  10434. {0x4F, 0x1, 0x1, 0, 0},
  10435. {0x50, 0x1c, 0x1c, 0, 0},
  10436. {0x51, 0x2, 0x2, 0, 0},
  10437. {0x52, 0x2, 0x2, 0, 0},
  10438. {0x53, 0xf7, 0xf7, 1, 1},
  10439. {0x54, 0xb4, 0xb4, 0, 0},
  10440. {0x55, 0xd2, 0xd2, 0, 0},
  10441. {0x56, 0, 0, 0, 0},
  10442. {0x57, 0, 0, 0, 0},
  10443. {0x58, 0x4, 0x4, 0, 0},
  10444. {0x59, 0x96, 0x96, 0, 0},
  10445. {0x5A, 0x3e, 0x3e, 0, 0},
  10446. {0x5B, 0x3e, 0x3e, 0, 0},
  10447. {0x5C, 0x13, 0x13, 0, 0},
  10448. {0x5D, 0x2, 0x2, 0, 0},
  10449. {0x5E, 0, 0, 0, 0},
  10450. {0x5F, 0x7, 0x7, 0, 0},
  10451. {0x60, 0x7, 0x7, 1, 1},
  10452. {0x61, 0x8, 0x8, 0, 0},
  10453. {0x62, 0x3, 0x3, 0, 0},
  10454. {0x63, 0, 0, 0, 0},
  10455. {0x64, 0, 0, 0, 0},
  10456. {0x65, 0, 0, 0, 0},
  10457. {0x66, 0, 0, 0, 0},
  10458. {0x67, 0, 0, 0, 0},
  10459. {0x68, 0x40, 0x40, 0, 0},
  10460. {0x69, 0, 0, 0, 0},
  10461. {0x6A, 0, 0, 0, 0},
  10462. {0x6B, 0, 0, 0, 0},
  10463. {0x6C, 0, 0, 0, 0},
  10464. {0x6D, 0x1, 0x1, 0, 0},
  10465. {0x6E, 0, 0, 0, 0},
  10466. {0x6F, 0, 0, 0, 0},
  10467. {0x70, 0x60, 0x60, 0, 0},
  10468. {0x71, 0x66, 0x66, 0, 0},
  10469. {0x72, 0xc, 0xc, 0, 0},
  10470. {0x73, 0x66, 0x66, 0, 0},
  10471. {0x74, 0x8f, 0x8f, 1, 1},
  10472. {0x75, 0, 0, 0, 0},
  10473. {0x76, 0xcc, 0xcc, 0, 0},
  10474. {0x77, 0x1, 0x1, 0, 0},
  10475. {0x78, 0x66, 0x66, 0, 0},
  10476. {0x79, 0x66, 0x66, 0, 0},
  10477. {0x7A, 0, 0, 0, 0},
  10478. {0x7B, 0, 0, 0, 0},
  10479. {0x7C, 0, 0, 0, 0},
  10480. {0x7D, 0, 0, 0, 0},
  10481. {0x7E, 0, 0, 0, 0},
  10482. {0x7F, 0, 0, 0, 0},
  10483. {0x80, 0, 0, 0, 0},
  10484. {0x81, 0, 0, 0, 0},
  10485. {0x82, 0, 0, 0, 0},
  10486. {0x83, 0, 0, 0, 0},
  10487. {0x84, 0, 0, 0, 0},
  10488. {0x85, 0xff, 0xff, 0, 0},
  10489. {0x86, 0, 0, 0, 0},
  10490. {0x87, 0, 0, 0, 0},
  10491. {0x88, 0, 0, 0, 0},
  10492. {0x89, 0, 0, 0, 0},
  10493. {0x8A, 0, 0, 0, 0},
  10494. {0x8B, 0, 0, 0, 0},
  10495. {0x8C, 0, 0, 0, 0},
  10496. {0x8D, 0, 0, 0, 0},
  10497. {0x8E, 0, 0, 0, 0},
  10498. {0x8F, 0, 0, 0, 0},
  10499. {0x90, 0, 0, 0, 0},
  10500. {0x91, 0, 0, 0, 0},
  10501. {0x92, 0, 0, 0, 0},
  10502. {0x93, 0, 0, 0, 0},
  10503. {0x94, 0, 0, 0, 0},
  10504. {0x95, 0, 0, 0, 0},
  10505. {0x96, 0, 0, 0, 0},
  10506. {0x97, 0, 0, 0, 0},
  10507. {0x98, 0, 0, 0, 0},
  10508. {0x99, 0, 0, 0, 0},
  10509. {0x9A, 0, 0, 0, 0},
  10510. {0x9B, 0, 0, 0, 0},
  10511. {0x9C, 0, 0, 0, 0},
  10512. {0x9D, 0, 0, 0, 0},
  10513. {0x9E, 0, 0, 0, 0},
  10514. {0x9F, 0x6, 0x6, 0, 0},
  10515. {0xA0, 0x66, 0x66, 0, 0},
  10516. {0xA1, 0x66, 0x66, 0, 0},
  10517. {0xA2, 0x66, 0x66, 0, 0},
  10518. {0xA3, 0x66, 0x66, 0, 0},
  10519. {0xA4, 0x66, 0x66, 0, 0},
  10520. {0xA5, 0x66, 0x66, 0, 0},
  10521. {0xA6, 0x66, 0x66, 0, 0},
  10522. {0xA7, 0x66, 0x66, 0, 0},
  10523. {0xA8, 0x66, 0x66, 0, 0},
  10524. {0xA9, 0x66, 0x66, 0, 0},
  10525. {0xAA, 0x66, 0x66, 0, 0},
  10526. {0xAB, 0x66, 0x66, 0, 0},
  10527. {0xAC, 0x66, 0x66, 0, 0},
  10528. {0xAD, 0x66, 0x66, 0, 0},
  10529. {0xAE, 0x66, 0x66, 0, 0},
  10530. {0xAF, 0x66, 0x66, 0, 0},
  10531. {0xB0, 0x66, 0x66, 0, 0},
  10532. {0xB1, 0x66, 0x66, 0, 0},
  10533. {0xB2, 0x66, 0x66, 0, 0},
  10534. {0xB3, 0xa, 0xa, 0, 0},
  10535. {0xB4, 0, 0, 0, 0},
  10536. {0xB5, 0, 0, 0, 0},
  10537. {0xB6, 0, 0, 0, 0},
  10538. {0xFFFF, 0, 0, 0, 0},
  10539. };
  10540. static struct radio_regs regs_TX_2056_rev8[] = {
  10541. {0x02, 0, 0, 0, 0},
  10542. {0x03, 0, 0, 0, 0},
  10543. {0x04, 0, 0, 0, 0},
  10544. {0x05, 0, 0, 0, 0},
  10545. {0x06, 0, 0, 0, 0},
  10546. {0x07, 0, 0, 0, 0},
  10547. {0x08, 0, 0, 0, 0},
  10548. {0x09, 0, 0, 0, 0},
  10549. {0x0A, 0, 0, 0, 0},
  10550. {0x0B, 0, 0, 0, 0},
  10551. {0x0C, 0, 0, 0, 0},
  10552. {0x0D, 0, 0, 0, 0},
  10553. {0x0E, 0, 0, 0, 0},
  10554. {0x0F, 0, 0, 0, 0},
  10555. {0x10, 0, 0, 0, 0},
  10556. {0x11, 0, 0, 0, 0},
  10557. {0x12, 0, 0, 0, 0},
  10558. {0x13, 0, 0, 0, 0},
  10559. {0x14, 0, 0, 0, 0},
  10560. {0x15, 0, 0, 0, 0},
  10561. {0x16, 0, 0, 0, 0},
  10562. {0x17, 0, 0, 0, 0},
  10563. {0x18, 0, 0, 0, 0},
  10564. {0x19, 0, 0, 0, 0},
  10565. {0x1A, 0, 0, 0, 0},
  10566. {0x1B, 0, 0, 0, 0},
  10567. {0x1C, 0, 0, 0, 0},
  10568. {0x1D, 0, 0, 0, 0},
  10569. {0x1E, 0, 0, 0, 0},
  10570. {0x1F, 0, 0, 0, 0},
  10571. {0x20, 0, 0, 0, 0},
  10572. {0x21, 0x88, 0x88, 0, 0},
  10573. {0x22, 0x88, 0x88, 0, 0},
  10574. {0x23, 0x88, 0x88, 0, 0},
  10575. {0x24, 0x88, 0x88, 0, 0},
  10576. {0x25, 0xc, 0xc, 0, 0},
  10577. {0x26, 0, 0, 0, 0},
  10578. {0x27, 0x3, 0x3, 0, 0},
  10579. {0x28, 0, 0, 0, 0},
  10580. {0x29, 0x3, 0x3, 0, 0},
  10581. {0x2A, 0x37, 0x37, 0, 0},
  10582. {0x2B, 0x3, 0x3, 0, 0},
  10583. {0x2C, 0, 0, 0, 0},
  10584. {0x2D, 0, 0, 0, 0},
  10585. {0x2E, 0x1, 0x1, 0, 0},
  10586. {0x2F, 0x1, 0x1, 0, 0},
  10587. {0x30, 0, 0, 0, 0},
  10588. {0x31, 0, 0, 0, 0},
  10589. {0x32, 0, 0, 0, 0},
  10590. {0x33, 0x11, 0x11, 0, 0},
  10591. {0x34, 0xee, 0xee, 1, 1},
  10592. {0x35, 0, 0, 0, 0},
  10593. {0x36, 0, 0, 0, 0},
  10594. {0x37, 0x3, 0x3, 0, 0},
  10595. {0x38, 0x50, 0x50, 1, 1},
  10596. {0x39, 0, 0, 0, 0},
  10597. {0x3A, 0x50, 0x50, 1, 1},
  10598. {0x3B, 0, 0, 0, 0},
  10599. {0x3C, 0x6e, 0x6e, 0, 0},
  10600. {0x3D, 0xf0, 0xf0, 1, 1},
  10601. {0x3E, 0, 0, 0, 0},
  10602. {0x3F, 0, 0, 0, 0},
  10603. {0x40, 0, 0, 0, 0},
  10604. {0x41, 0x3, 0x3, 0, 0},
  10605. {0x42, 0x3, 0x3, 0, 0},
  10606. {0x43, 0, 0, 0, 0},
  10607. {0x44, 0x1e, 0x1e, 0, 0},
  10608. {0x45, 0, 0, 0, 0},
  10609. {0x46, 0x6e, 0x6e, 0, 0},
  10610. {0x47, 0xf0, 0xf0, 1, 1},
  10611. {0x48, 0, 0, 0, 0},
  10612. {0x49, 0x2, 0x2, 0, 0},
  10613. {0x4A, 0xff, 0xff, 1, 1},
  10614. {0x4B, 0xc, 0xc, 0, 0},
  10615. {0x4C, 0, 0, 0, 0},
  10616. {0x4D, 0x38, 0x38, 0, 0},
  10617. {0x4E, 0x70, 0x70, 1, 1},
  10618. {0x4F, 0x2, 0x2, 0, 0},
  10619. {0x50, 0x88, 0x88, 0, 0},
  10620. {0x51, 0xc, 0xc, 0, 0},
  10621. {0x52, 0, 0, 0, 0},
  10622. {0x53, 0x8, 0x8, 0, 0},
  10623. {0x54, 0x70, 0x70, 1, 1},
  10624. {0x55, 0x2, 0x2, 0, 0},
  10625. {0x56, 0xff, 0xff, 1, 1},
  10626. {0x57, 0, 0, 0, 0},
  10627. {0x58, 0x83, 0x83, 0, 0},
  10628. {0x59, 0x77, 0x77, 1, 1},
  10629. {0x5A, 0, 0, 0, 0},
  10630. {0x5B, 0x2, 0x2, 0, 0},
  10631. {0x5C, 0x88, 0x88, 0, 0},
  10632. {0x5D, 0, 0, 0, 0},
  10633. {0x5E, 0x8, 0x8, 0, 0},
  10634. {0x5F, 0x77, 0x77, 1, 1},
  10635. {0x60, 0x1, 0x1, 0, 0},
  10636. {0x61, 0, 0, 0, 0},
  10637. {0x62, 0x7, 0x7, 0, 0},
  10638. {0x63, 0, 0, 0, 0},
  10639. {0x64, 0x7, 0x7, 0, 0},
  10640. {0x65, 0, 0, 0, 0},
  10641. {0x66, 0, 0, 0, 0},
  10642. {0x67, 0, 0, 1, 1},
  10643. {0x68, 0, 0, 0, 0},
  10644. {0x69, 0xa, 0xa, 0, 0},
  10645. {0x6A, 0, 0, 0, 0},
  10646. {0x6B, 0, 0, 0, 0},
  10647. {0x6C, 0, 0, 0, 0},
  10648. {0x6D, 0, 0, 0, 0},
  10649. {0x6E, 0, 0, 0, 0},
  10650. {0x6F, 0, 0, 0, 0},
  10651. {0x70, 0, 0, 0, 0},
  10652. {0x71, 0x2, 0x2, 0, 0},
  10653. {0x72, 0, 0, 0, 0},
  10654. {0x73, 0, 0, 0, 0},
  10655. {0x74, 0xe, 0xe, 0, 0},
  10656. {0x75, 0xe, 0xe, 0, 0},
  10657. {0x76, 0xe, 0xe, 0, 0},
  10658. {0x77, 0x13, 0x13, 0, 0},
  10659. {0x78, 0x13, 0x13, 0, 0},
  10660. {0x79, 0x1b, 0x1b, 0, 0},
  10661. {0x7A, 0x1b, 0x1b, 0, 0},
  10662. {0x7B, 0x55, 0x55, 0, 0},
  10663. {0x7C, 0x5b, 0x5b, 0, 0},
  10664. {0x7D, 0x30, 0x30, 1, 1},
  10665. {0x7E, 0, 0, 0, 0},
  10666. {0x7F, 0, 0, 0, 0},
  10667. {0x80, 0, 0, 0, 0},
  10668. {0x81, 0, 0, 0, 0},
  10669. {0x82, 0, 0, 0, 0},
  10670. {0x83, 0, 0, 0, 0},
  10671. {0x84, 0, 0, 0, 0},
  10672. {0x85, 0, 0, 0, 0},
  10673. {0x86, 0, 0, 0, 0},
  10674. {0x87, 0, 0, 0, 0},
  10675. {0x88, 0, 0, 0, 0},
  10676. {0x89, 0, 0, 0, 0},
  10677. {0x8A, 0, 0, 0, 0},
  10678. {0x8B, 0, 0, 0, 0},
  10679. {0x8C, 0, 0, 0, 0},
  10680. {0x8D, 0, 0, 0, 0},
  10681. {0x8E, 0, 0, 0, 0},
  10682. {0x8F, 0, 0, 0, 0},
  10683. {0x90, 0, 0, 0, 0},
  10684. {0x91, 0, 0, 0, 0},
  10685. {0x92, 0, 0, 0, 0},
  10686. {0x93, 0x70, 0x70, 0, 0},
  10687. {0x94, 0x70, 0x70, 0, 0},
  10688. {0x95, 0x70, 0x70, 0, 0},
  10689. {0x96, 0x70, 0x70, 0, 0},
  10690. {0x97, 0x70, 0x70, 0, 0},
  10691. {0x98, 0x70, 0x70, 0, 0},
  10692. {0x99, 0x70, 0x70, 0, 0},
  10693. {0x9A, 0x70, 0x70, 0, 0},
  10694. {0xFFFF, 0, 0, 0, 0},
  10695. };
  10696. static struct radio_regs regs_RX_2056_rev8[] = {
  10697. {0x02, 0, 0, 0, 0},
  10698. {0x03, 0, 0, 0, 0},
  10699. {0x04, 0, 0, 0, 0},
  10700. {0x05, 0, 0, 0, 0},
  10701. {0x06, 0, 0, 0, 0},
  10702. {0x07, 0, 0, 0, 0},
  10703. {0x08, 0, 0, 0, 0},
  10704. {0x09, 0, 0, 0, 0},
  10705. {0x0A, 0, 0, 0, 0},
  10706. {0x0B, 0, 0, 0, 0},
  10707. {0x0C, 0, 0, 0, 0},
  10708. {0x0D, 0, 0, 0, 0},
  10709. {0x0E, 0, 0, 0, 0},
  10710. {0x0F, 0, 0, 0, 0},
  10711. {0x10, 0, 0, 0, 0},
  10712. {0x11, 0, 0, 0, 0},
  10713. {0x12, 0, 0, 0, 0},
  10714. {0x13, 0, 0, 0, 0},
  10715. {0x14, 0, 0, 0, 0},
  10716. {0x15, 0, 0, 0, 0},
  10717. {0x16, 0, 0, 0, 0},
  10718. {0x17, 0, 0, 0, 0},
  10719. {0x18, 0, 0, 0, 0},
  10720. {0x19, 0, 0, 0, 0},
  10721. {0x1A, 0, 0, 0, 0},
  10722. {0x1B, 0, 0, 0, 0},
  10723. {0x1C, 0, 0, 0, 0},
  10724. {0x1D, 0, 0, 0, 0},
  10725. {0x1E, 0, 0, 0, 0},
  10726. {0x1F, 0, 0, 0, 0},
  10727. {0x20, 0x3, 0x3, 0, 0},
  10728. {0x21, 0, 0, 0, 0},
  10729. {0x22, 0, 0, 0, 0},
  10730. {0x23, 0x90, 0x90, 0, 0},
  10731. {0x24, 0x55, 0x55, 0, 0},
  10732. {0x25, 0x15, 0x15, 0, 0},
  10733. {0x26, 0x5, 0x5, 0, 0},
  10734. {0x27, 0x15, 0x15, 0, 0},
  10735. {0x28, 0x5, 0x5, 0, 0},
  10736. {0x29, 0x20, 0x20, 0, 0},
  10737. {0x2A, 0x11, 0x11, 0, 0},
  10738. {0x2B, 0x90, 0x90, 0, 0},
  10739. {0x2C, 0, 0, 0, 0},
  10740. {0x2D, 0x88, 0x88, 0, 0},
  10741. {0x2E, 0x32, 0x32, 0, 0},
  10742. {0x2F, 0x77, 0x77, 0, 0},
  10743. {0x30, 0x17, 0x17, 1, 1},
  10744. {0x31, 0xff, 0xff, 1, 1},
  10745. {0x32, 0x20, 0x20, 0, 0},
  10746. {0x33, 0, 0, 0, 0},
  10747. {0x34, 0x88, 0x88, 0, 0},
  10748. {0x35, 0x32, 0x32, 0, 0},
  10749. {0x36, 0x77, 0x77, 0, 0},
  10750. {0x37, 0x17, 0x17, 1, 1},
  10751. {0x38, 0xf0, 0xf0, 1, 1},
  10752. {0x39, 0x20, 0x20, 0, 0},
  10753. {0x3A, 0x8, 0x8, 0, 0},
  10754. {0x3B, 0x55, 0x55, 1, 1},
  10755. {0x3C, 0, 0, 0, 0},
  10756. {0x3D, 0x88, 0x88, 1, 1},
  10757. {0x3E, 0, 0, 0, 0},
  10758. {0x3F, 0x44, 0x44, 0, 0},
  10759. {0x40, 0x7, 0x7, 1, 1},
  10760. {0x41, 0x6, 0x6, 0, 0},
  10761. {0x42, 0x4, 0x4, 0, 0},
  10762. {0x43, 0, 0, 0, 0},
  10763. {0x44, 0x8, 0x8, 0, 0},
  10764. {0x45, 0x55, 0x55, 1, 1},
  10765. {0x46, 0, 0, 0, 0},
  10766. {0x47, 0x11, 0x11, 0, 0},
  10767. {0x48, 0, 0, 0, 0},
  10768. {0x49, 0x44, 0x44, 0, 0},
  10769. {0x4A, 0x7, 0x7, 0, 0},
  10770. {0x4B, 0x6, 0x6, 0, 0},
  10771. {0x4C, 0x4, 0x4, 0, 0},
  10772. {0x4D, 0, 0, 0, 0},
  10773. {0x4E, 0, 0, 0, 0},
  10774. {0x4F, 0x26, 0x26, 1, 1},
  10775. {0x50, 0x26, 0x26, 1, 1},
  10776. {0x51, 0xf, 0xf, 1, 1},
  10777. {0x52, 0xf, 0xf, 1, 1},
  10778. {0x53, 0x44, 0x44, 0, 0},
  10779. {0x54, 0, 0, 0, 0},
  10780. {0x55, 0, 0, 0, 0},
  10781. {0x56, 0x8, 0x8, 0, 0},
  10782. {0x57, 0x8, 0x8, 0, 0},
  10783. {0x58, 0x7, 0x7, 0, 0},
  10784. {0x59, 0x22, 0x22, 0, 0},
  10785. {0x5A, 0x22, 0x22, 0, 0},
  10786. {0x5B, 0x2, 0x2, 0, 0},
  10787. {0x5C, 0x4, 0x4, 1, 1},
  10788. {0x5D, 0x7, 0x7, 0, 0},
  10789. {0x5E, 0x55, 0x55, 0, 0},
  10790. {0x5F, 0x23, 0x23, 0, 0},
  10791. {0x60, 0x41, 0x41, 0, 0},
  10792. {0x61, 0x1, 0x1, 0, 0},
  10793. {0x62, 0xa, 0xa, 0, 0},
  10794. {0x63, 0, 0, 0, 0},
  10795. {0x64, 0, 0, 0, 0},
  10796. {0x65, 0, 0, 0, 0},
  10797. {0x66, 0, 0, 0, 0},
  10798. {0x67, 0, 0, 0, 0},
  10799. {0x68, 0, 0, 0, 0},
  10800. {0x69, 0, 0, 0, 0},
  10801. {0x6A, 0, 0, 0, 0},
  10802. {0x6B, 0xc, 0xc, 0, 0},
  10803. {0x6C, 0, 0, 0, 0},
  10804. {0x6D, 0, 0, 0, 0},
  10805. {0x6E, 0, 0, 0, 0},
  10806. {0x6F, 0, 0, 0, 0},
  10807. {0x70, 0, 0, 0, 0},
  10808. {0x71, 0, 0, 0, 0},
  10809. {0x72, 0x22, 0x22, 0, 0},
  10810. {0x73, 0x22, 0x22, 0, 0},
  10811. {0x74, 0, 0, 1, 1},
  10812. {0x75, 0xa, 0xa, 0, 0},
  10813. {0x76, 0x1, 0x1, 0, 0},
  10814. {0x77, 0x22, 0x22, 0, 0},
  10815. {0x78, 0x30, 0x30, 0, 0},
  10816. {0x79, 0, 0, 0, 0},
  10817. {0x7A, 0, 0, 0, 0},
  10818. {0x7B, 0, 0, 0, 0},
  10819. {0x7C, 0, 0, 0, 0},
  10820. {0x7D, 0x5, 0x5, 1, 1},
  10821. {0x7E, 0, 0, 0, 0},
  10822. {0x7F, 0, 0, 0, 0},
  10823. {0x80, 0, 0, 0, 0},
  10824. {0x81, 0, 0, 0, 0},
  10825. {0x82, 0, 0, 0, 0},
  10826. {0x83, 0, 0, 0, 0},
  10827. {0x84, 0, 0, 0, 0},
  10828. {0x85, 0, 0, 0, 0},
  10829. {0x86, 0, 0, 0, 0},
  10830. {0x87, 0, 0, 0, 0},
  10831. {0x88, 0, 0, 0, 0},
  10832. {0x89, 0, 0, 0, 0},
  10833. {0x8A, 0, 0, 0, 0},
  10834. {0x8B, 0, 0, 0, 0},
  10835. {0x8C, 0, 0, 0, 0},
  10836. {0x8D, 0, 0, 0, 0},
  10837. {0x8E, 0, 0, 0, 0},
  10838. {0x8F, 0, 0, 0, 0},
  10839. {0x90, 0, 0, 0, 0},
  10840. {0x91, 0, 0, 0, 0},
  10841. {0x92, 0, 0, 0, 0},
  10842. {0x93, 0, 0, 0, 0},
  10843. {0x94, 0, 0, 0, 0},
  10844. {0xFFFF, 0, 0, 0, 0},
  10845. };
  10846. static const struct radio_regs regs_SYN_2056_rev11[] = {
  10847. {0x02, 0, 0, 0, 0},
  10848. {0x03, 0, 0, 0, 0},
  10849. {0x04, 0, 0, 0, 0},
  10850. {0x05, 0, 0, 0, 0},
  10851. {0x06, 0, 0, 0, 0},
  10852. {0x07, 0, 0, 0, 0},
  10853. {0x08, 0, 0, 0, 0},
  10854. {0x09, 0x1, 0x1, 0, 0},
  10855. {0x0A, 0, 0, 0, 0},
  10856. {0x0B, 0, 0, 0, 0},
  10857. {0x0C, 0, 0, 0, 0},
  10858. {0x0D, 0, 0, 0, 0},
  10859. {0x0E, 0, 0, 0, 0},
  10860. {0x0F, 0, 0, 0, 0},
  10861. {0x10, 0, 0, 0, 0},
  10862. {0x11, 0, 0, 0, 0},
  10863. {0x12, 0, 0, 0, 0},
  10864. {0x13, 0, 0, 0, 0},
  10865. {0x14, 0, 0, 0, 0},
  10866. {0x15, 0, 0, 0, 0},
  10867. {0x16, 0, 0, 0, 0},
  10868. {0x17, 0, 0, 0, 0},
  10869. {0x18, 0, 0, 0, 0},
  10870. {0x19, 0, 0, 0, 0},
  10871. {0x1A, 0, 0, 0, 0},
  10872. {0x1B, 0, 0, 0, 0},
  10873. {0x1C, 0, 0, 0, 0},
  10874. {0x1D, 0, 0, 0, 0},
  10875. {0x1E, 0, 0, 0, 0},
  10876. {0x1F, 0, 0, 0, 0},
  10877. {0x20, 0, 0, 0, 0},
  10878. {0x21, 0, 0, 0, 0},
  10879. {0x22, 0x60, 0x60, 0, 0},
  10880. {0x23, 0x6, 0x6, 0, 0},
  10881. {0x24, 0xc, 0xc, 0, 0},
  10882. {0x25, 0, 0, 0, 0},
  10883. {0x26, 0, 0, 0, 0},
  10884. {0x27, 0, 0, 0, 0},
  10885. {0x28, 0x1, 0x1, 0, 0},
  10886. {0x29, 0, 0, 0, 0},
  10887. {0x2A, 0, 0, 0, 0},
  10888. {0x2B, 0, 0, 0, 0},
  10889. {0x2C, 0, 0, 0, 0},
  10890. {0x2D, 0, 0, 0, 0},
  10891. {0x2E, 0, 0, 0, 0},
  10892. {0x2F, 0x1f, 0x1f, 0, 0},
  10893. {0x30, 0x15, 0x15, 0, 0},
  10894. {0x31, 0xf, 0xf, 0, 0},
  10895. {0x32, 0, 0, 0, 0},
  10896. {0x33, 0, 0, 0, 0},
  10897. {0x34, 0, 0, 0, 0},
  10898. {0x35, 0, 0, 0, 0},
  10899. {0x36, 0, 0, 0, 0},
  10900. {0x37, 0, 0, 0, 0},
  10901. {0x38, 0, 0, 0, 0},
  10902. {0x39, 0, 0, 0, 0},
  10903. {0x3A, 0, 0, 0, 0},
  10904. {0x3B, 0, 0, 0, 0},
  10905. {0x3C, 0x13, 0x13, 0, 0},
  10906. {0x3D, 0xf, 0xf, 0, 0},
  10907. {0x3E, 0x18, 0x18, 0, 0},
  10908. {0x3F, 0, 0, 0, 0},
  10909. {0x40, 0, 0, 0, 0},
  10910. {0x41, 0x20, 0x20, 0, 0},
  10911. {0x42, 0x20, 0x20, 0, 0},
  10912. {0x43, 0, 0, 0, 0},
  10913. {0x44, 0x77, 0x77, 0, 0},
  10914. {0x45, 0x7, 0x7, 0, 0},
  10915. {0x46, 0x1, 0x1, 0, 0},
  10916. {0x47, 0x6, 0x6, 1, 1},
  10917. {0x48, 0xf, 0xf, 0, 0},
  10918. {0x49, 0x3f, 0x3f, 1, 1},
  10919. {0x4A, 0x32, 0x32, 0, 0},
  10920. {0x4B, 0x6, 0x6, 1, 1},
  10921. {0x4C, 0x6, 0x6, 1, 1},
  10922. {0x4D, 0x4, 0x4, 0, 0},
  10923. {0x4E, 0x2b, 0x2b, 1, 1},
  10924. {0x4F, 0x1, 0x1, 0, 0},
  10925. {0x50, 0x1c, 0x1c, 0, 0},
  10926. {0x51, 0x2, 0x2, 0, 0},
  10927. {0x52, 0x2, 0x2, 0, 0},
  10928. {0x53, 0xf7, 0xf7, 1, 1},
  10929. {0x54, 0xb4, 0xb4, 0, 0},
  10930. {0x55, 0xd2, 0xd2, 0, 0},
  10931. {0x56, 0, 0, 0, 0},
  10932. {0x57, 0, 0, 0, 0},
  10933. {0x58, 0x4, 0x4, 0, 0},
  10934. {0x59, 0x96, 0x96, 0, 0},
  10935. {0x5A, 0x3e, 0x3e, 0, 0},
  10936. {0x5B, 0x3e, 0x3e, 0, 0},
  10937. {0x5C, 0x13, 0x13, 0, 0},
  10938. {0x5D, 0x2, 0x2, 0, 0},
  10939. {0x5E, 0, 0, 0, 0},
  10940. {0x5F, 0x7, 0x7, 0, 0},
  10941. {0x60, 0x7, 0x7, 1, 1},
  10942. {0x61, 0x8, 0x8, 0, 0},
  10943. {0x62, 0x3, 0x3, 0, 0},
  10944. {0x63, 0, 0, 0, 0},
  10945. {0x64, 0, 0, 0, 0},
  10946. {0x65, 0, 0, 0, 0},
  10947. {0x66, 0, 0, 0, 0},
  10948. {0x67, 0, 0, 0, 0},
  10949. {0x68, 0x40, 0x40, 0, 0},
  10950. {0x69, 0, 0, 0, 0},
  10951. {0x6A, 0, 0, 0, 0},
  10952. {0x6B, 0, 0, 0, 0},
  10953. {0x6C, 0, 0, 0, 0},
  10954. {0x6D, 0x1, 0x1, 0, 0},
  10955. {0x6E, 0, 0, 0, 0},
  10956. {0x6F, 0, 0, 0, 0},
  10957. {0x70, 0x60, 0x60, 0, 0},
  10958. {0x71, 0x66, 0x66, 0, 0},
  10959. {0x72, 0xc, 0xc, 0, 0},
  10960. {0x73, 0x66, 0x66, 0, 0},
  10961. {0x74, 0x8f, 0x8f, 1, 1},
  10962. {0x75, 0, 0, 0, 0},
  10963. {0x76, 0xcc, 0xcc, 0, 0},
  10964. {0x77, 0x1, 0x1, 0, 0},
  10965. {0x78, 0x66, 0x66, 0, 0},
  10966. {0x79, 0x66, 0x66, 0, 0},
  10967. {0x7A, 0, 0, 0, 0},
  10968. {0x7B, 0, 0, 0, 0},
  10969. {0x7C, 0, 0, 0, 0},
  10970. {0x7D, 0, 0, 0, 0},
  10971. {0x7E, 0, 0, 0, 0},
  10972. {0x7F, 0, 0, 0, 0},
  10973. {0x80, 0, 0, 0, 0},
  10974. {0x81, 0, 0, 0, 0},
  10975. {0x82, 0, 0, 0, 0},
  10976. {0x83, 0, 0, 0, 0},
  10977. {0x84, 0, 0, 0, 0},
  10978. {0x85, 0xff, 0xff, 0, 0},
  10979. {0x86, 0, 0, 0, 0},
  10980. {0x87, 0, 0, 0, 0},
  10981. {0x88, 0, 0, 0, 0},
  10982. {0x89, 0, 0, 0, 0},
  10983. {0x8A, 0, 0, 0, 0},
  10984. {0x8B, 0, 0, 0, 0},
  10985. {0x8C, 0, 0, 0, 0},
  10986. {0x8D, 0, 0, 0, 0},
  10987. {0x8E, 0, 0, 0, 0},
  10988. {0x8F, 0, 0, 0, 0},
  10989. {0x90, 0, 0, 0, 0},
  10990. {0x91, 0, 0, 0, 0},
  10991. {0x92, 0, 0, 0, 0},
  10992. {0x93, 0, 0, 0, 0},
  10993. {0x94, 0, 0, 0, 0},
  10994. {0x95, 0, 0, 0, 0},
  10995. {0x96, 0, 0, 0, 0},
  10996. {0x97, 0, 0, 0, 0},
  10997. {0x98, 0, 0, 0, 0},
  10998. {0x99, 0, 0, 0, 0},
  10999. {0x9A, 0, 0, 0, 0},
  11000. {0x9B, 0, 0, 0, 0},
  11001. {0x9C, 0, 0, 0, 0},
  11002. {0x9D, 0, 0, 0, 0},
  11003. {0x9E, 0, 0, 0, 0},
  11004. {0x9F, 0x6, 0x6, 0, 0},
  11005. {0xA0, 0x66, 0x66, 0, 0},
  11006. {0xA1, 0x66, 0x66, 0, 0},
  11007. {0xA2, 0x66, 0x66, 0, 0},
  11008. {0xA3, 0x66, 0x66, 0, 0},
  11009. {0xA4, 0x66, 0x66, 0, 0},
  11010. {0xA5, 0x66, 0x66, 0, 0},
  11011. {0xA6, 0x66, 0x66, 0, 0},
  11012. {0xA7, 0x66, 0x66, 0, 0},
  11013. {0xA8, 0x66, 0x66, 0, 0},
  11014. {0xA9, 0x66, 0x66, 0, 0},
  11015. {0xAA, 0x66, 0x66, 0, 0},
  11016. {0xAB, 0x66, 0x66, 0, 0},
  11017. {0xAC, 0x66, 0x66, 0, 0},
  11018. {0xAD, 0x66, 0x66, 0, 0},
  11019. {0xAE, 0x66, 0x66, 0, 0},
  11020. {0xAF, 0x66, 0x66, 0, 0},
  11021. {0xB0, 0x66, 0x66, 0, 0},
  11022. {0xB1, 0x66, 0x66, 0, 0},
  11023. {0xB2, 0x66, 0x66, 0, 0},
  11024. {0xB3, 0xa, 0xa, 0, 0},
  11025. {0xB4, 0, 0, 0, 0},
  11026. {0xB5, 0, 0, 0, 0},
  11027. {0xB6, 0, 0, 0, 0},
  11028. {0xFFFF, 0, 0, 0, 0},
  11029. };
  11030. static const struct radio_regs regs_TX_2056_rev11[] = {
  11031. {0x02, 0, 0, 0, 0},
  11032. {0x03, 0, 0, 0, 0},
  11033. {0x04, 0, 0, 0, 0},
  11034. {0x05, 0, 0, 0, 0},
  11035. {0x06, 0, 0, 0, 0},
  11036. {0x07, 0, 0, 0, 0},
  11037. {0x08, 0, 0, 0, 0},
  11038. {0x09, 0, 0, 0, 0},
  11039. {0x0A, 0, 0, 0, 0},
  11040. {0x0B, 0, 0, 0, 0},
  11041. {0x0C, 0, 0, 0, 0},
  11042. {0x0D, 0, 0, 0, 0},
  11043. {0x0E, 0, 0, 0, 0},
  11044. {0x0F, 0, 0, 0, 0},
  11045. {0x10, 0, 0, 0, 0},
  11046. {0x11, 0, 0, 0, 0},
  11047. {0x12, 0, 0, 0, 0},
  11048. {0x13, 0, 0, 0, 0},
  11049. {0x14, 0, 0, 0, 0},
  11050. {0x15, 0, 0, 0, 0},
  11051. {0x16, 0, 0, 0, 0},
  11052. {0x17, 0, 0, 0, 0},
  11053. {0x18, 0, 0, 0, 0},
  11054. {0x19, 0, 0, 0, 0},
  11055. {0x1A, 0, 0, 0, 0},
  11056. {0x1B, 0, 0, 0, 0},
  11057. {0x1C, 0, 0, 0, 0},
  11058. {0x1D, 0, 0, 0, 0},
  11059. {0x1E, 0, 0, 0, 0},
  11060. {0x1F, 0, 0, 0, 0},
  11061. {0x20, 0, 0, 0, 0},
  11062. {0x21, 0x88, 0x88, 0, 0},
  11063. {0x22, 0x88, 0x88, 0, 0},
  11064. {0x23, 0x88, 0x88, 0, 0},
  11065. {0x24, 0x88, 0x88, 0, 0},
  11066. {0x25, 0xc, 0xc, 0, 0},
  11067. {0x26, 0, 0, 0, 0},
  11068. {0x27, 0x3, 0x3, 0, 0},
  11069. {0x28, 0, 0, 0, 0},
  11070. {0x29, 0x3, 0x3, 0, 0},
  11071. {0x2A, 0x37, 0x37, 0, 0},
  11072. {0x2B, 0x3, 0x3, 0, 0},
  11073. {0x2C, 0, 0, 0, 0},
  11074. {0x2D, 0, 0, 0, 0},
  11075. {0x2E, 0x1, 0x1, 0, 0},
  11076. {0x2F, 0x1, 0x1, 0, 0},
  11077. {0x30, 0, 0, 0, 0},
  11078. {0x31, 0, 0, 0, 0},
  11079. {0x32, 0, 0, 0, 0},
  11080. {0x33, 0x11, 0x11, 0, 0},
  11081. {0x34, 0xee, 0xee, 1, 1},
  11082. {0x35, 0, 0, 0, 0},
  11083. {0x36, 0, 0, 0, 0},
  11084. {0x37, 0x3, 0x3, 0, 0},
  11085. {0x38, 0x50, 0x50, 1, 1},
  11086. {0x39, 0, 0, 0, 0},
  11087. {0x3A, 0x50, 0x50, 1, 1},
  11088. {0x3B, 0, 0, 0, 0},
  11089. {0x3C, 0x6e, 0x6e, 0, 0},
  11090. {0x3D, 0xf0, 0xf0, 1, 1},
  11091. {0x3E, 0, 0, 0, 0},
  11092. {0x3F, 0, 0, 0, 0},
  11093. {0x40, 0, 0, 0, 0},
  11094. {0x41, 0x3, 0x3, 0, 0},
  11095. {0x42, 0x3, 0x3, 0, 0},
  11096. {0x43, 0, 0, 0, 0},
  11097. {0x44, 0x1e, 0x1e, 0, 0},
  11098. {0x45, 0, 0, 0, 0},
  11099. {0x46, 0x6e, 0x6e, 0, 0},
  11100. {0x47, 0xf0, 0xf0, 1, 1},
  11101. {0x48, 0, 0, 0, 0},
  11102. {0x49, 0x2, 0x2, 0, 0},
  11103. {0x4A, 0xff, 0xff, 1, 1},
  11104. {0x4B, 0xc, 0xc, 0, 0},
  11105. {0x4C, 0, 0, 0, 0},
  11106. {0x4D, 0x38, 0x38, 0, 0},
  11107. {0x4E, 0x70, 0x70, 1, 1},
  11108. {0x4F, 0x2, 0x2, 0, 0},
  11109. {0x50, 0x88, 0x88, 0, 0},
  11110. {0x51, 0xc, 0xc, 0, 0},
  11111. {0x52, 0, 0, 0, 0},
  11112. {0x53, 0x8, 0x8, 0, 0},
  11113. {0x54, 0x70, 0x70, 1, 1},
  11114. {0x55, 0x2, 0x2, 0, 0},
  11115. {0x56, 0xff, 0xff, 1, 1},
  11116. {0x57, 0, 0, 0, 0},
  11117. {0x58, 0x83, 0x83, 0, 0},
  11118. {0x59, 0x77, 0x77, 1, 1},
  11119. {0x5A, 0, 0, 0, 0},
  11120. {0x5B, 0x2, 0x2, 0, 0},
  11121. {0x5C, 0x88, 0x88, 0, 0},
  11122. {0x5D, 0, 0, 0, 0},
  11123. {0x5E, 0x8, 0x8, 0, 0},
  11124. {0x5F, 0x77, 0x77, 1, 1},
  11125. {0x60, 0x1, 0x1, 0, 0},
  11126. {0x61, 0, 0, 0, 0},
  11127. {0x62, 0x7, 0x7, 0, 0},
  11128. {0x63, 0, 0, 0, 0},
  11129. {0x64, 0x7, 0x7, 0, 0},
  11130. {0x65, 0, 0, 0, 0},
  11131. {0x66, 0, 0, 0, 0},
  11132. {0x67, 0, 0, 1, 1},
  11133. {0x68, 0, 0, 0, 0},
  11134. {0x69, 0xa, 0xa, 0, 0},
  11135. {0x6A, 0, 0, 0, 0},
  11136. {0x6B, 0, 0, 0, 0},
  11137. {0x6C, 0, 0, 0, 0},
  11138. {0x6D, 0, 0, 0, 0},
  11139. {0x6E, 0, 0, 0, 0},
  11140. {0x6F, 0, 0, 0, 0},
  11141. {0x70, 0, 0, 0, 0},
  11142. {0x71, 0x2, 0x2, 0, 0},
  11143. {0x72, 0, 0, 0, 0},
  11144. {0x73, 0, 0, 0, 0},
  11145. {0x74, 0xe, 0xe, 0, 0},
  11146. {0x75, 0xe, 0xe, 0, 0},
  11147. {0x76, 0xe, 0xe, 0, 0},
  11148. {0x77, 0x13, 0x13, 0, 0},
  11149. {0x78, 0x13, 0x13, 0, 0},
  11150. {0x79, 0x1b, 0x1b, 0, 0},
  11151. {0x7A, 0x1b, 0x1b, 0, 0},
  11152. {0x7B, 0x55, 0x55, 0, 0},
  11153. {0x7C, 0x5b, 0x5b, 0, 0},
  11154. {0x7D, 0x30, 0x30, 1, 1},
  11155. {0x7E, 0, 0, 0, 0},
  11156. {0x7F, 0, 0, 0, 0},
  11157. {0x80, 0, 0, 0, 0},
  11158. {0x81, 0, 0, 0, 0},
  11159. {0x82, 0, 0, 0, 0},
  11160. {0x83, 0, 0, 0, 0},
  11161. {0x84, 0, 0, 0, 0},
  11162. {0x85, 0, 0, 0, 0},
  11163. {0x86, 0, 0, 0, 0},
  11164. {0x87, 0, 0, 0, 0},
  11165. {0x88, 0, 0, 0, 0},
  11166. {0x89, 0, 0, 0, 0},
  11167. {0x8A, 0, 0, 0, 0},
  11168. {0x8B, 0, 0, 0, 0},
  11169. {0x8C, 0, 0, 0, 0},
  11170. {0x8D, 0, 0, 0, 0},
  11171. {0x8E, 0, 0, 0, 0},
  11172. {0x8F, 0, 0, 0, 0},
  11173. {0x90, 0, 0, 0, 0},
  11174. {0x91, 0, 0, 0, 0},
  11175. {0x92, 0, 0, 0, 0},
  11176. {0x93, 0x70, 0x70, 0, 0},
  11177. {0x94, 0x70, 0x70, 0, 0},
  11178. {0x95, 0x70, 0x70, 0, 0},
  11179. {0x96, 0x70, 0x70, 0, 0},
  11180. {0x97, 0x70, 0x70, 0, 0},
  11181. {0x98, 0x70, 0x70, 0, 0},
  11182. {0x99, 0x70, 0x70, 0, 0},
  11183. {0x9A, 0x70, 0x70, 0, 0},
  11184. {0xFFFF, 0, 0, 0, 0},
  11185. };
  11186. static const struct radio_regs regs_RX_2056_rev11[] = {
  11187. {0x02, 0, 0, 0, 0},
  11188. {0x03, 0, 0, 0, 0},
  11189. {0x04, 0, 0, 0, 0},
  11190. {0x05, 0, 0, 0, 0},
  11191. {0x06, 0, 0, 0, 0},
  11192. {0x07, 0, 0, 0, 0},
  11193. {0x08, 0, 0, 0, 0},
  11194. {0x09, 0, 0, 0, 0},
  11195. {0x0A, 0, 0, 0, 0},
  11196. {0x0B, 0, 0, 0, 0},
  11197. {0x0C, 0, 0, 0, 0},
  11198. {0x0D, 0, 0, 0, 0},
  11199. {0x0E, 0, 0, 0, 0},
  11200. {0x0F, 0, 0, 0, 0},
  11201. {0x10, 0, 0, 0, 0},
  11202. {0x11, 0, 0, 0, 0},
  11203. {0x12, 0, 0, 0, 0},
  11204. {0x13, 0, 0, 0, 0},
  11205. {0x14, 0, 0, 0, 0},
  11206. {0x15, 0, 0, 0, 0},
  11207. {0x16, 0, 0, 0, 0},
  11208. {0x17, 0, 0, 0, 0},
  11209. {0x18, 0, 0, 0, 0},
  11210. {0x19, 0, 0, 0, 0},
  11211. {0x1A, 0, 0, 0, 0},
  11212. {0x1B, 0, 0, 0, 0},
  11213. {0x1C, 0, 0, 0, 0},
  11214. {0x1D, 0, 0, 0, 0},
  11215. {0x1E, 0, 0, 0, 0},
  11216. {0x1F, 0, 0, 0, 0},
  11217. {0x20, 0x3, 0x3, 0, 0},
  11218. {0x21, 0, 0, 0, 0},
  11219. {0x22, 0, 0, 0, 0},
  11220. {0x23, 0x90, 0x90, 0, 0},
  11221. {0x24, 0x55, 0x55, 0, 0},
  11222. {0x25, 0x15, 0x15, 0, 0},
  11223. {0x26, 0x5, 0x5, 0, 0},
  11224. {0x27, 0x15, 0x15, 0, 0},
  11225. {0x28, 0x5, 0x5, 0, 0},
  11226. {0x29, 0x20, 0x20, 0, 0},
  11227. {0x2A, 0x11, 0x11, 0, 0},
  11228. {0x2B, 0x90, 0x90, 0, 0},
  11229. {0x2C, 0, 0, 0, 0},
  11230. {0x2D, 0x88, 0x88, 0, 0},
  11231. {0x2E, 0x32, 0x32, 0, 0},
  11232. {0x2F, 0x77, 0x77, 0, 0},
  11233. {0x30, 0x17, 0x17, 1, 1},
  11234. {0x31, 0xff, 0xff, 1, 1},
  11235. {0x32, 0x20, 0x20, 0, 0},
  11236. {0x33, 0, 0, 0, 0},
  11237. {0x34, 0x88, 0x88, 0, 0},
  11238. {0x35, 0x32, 0x32, 0, 0},
  11239. {0x36, 0x77, 0x77, 0, 0},
  11240. {0x37, 0x17, 0x17, 1, 1},
  11241. {0x38, 0xf0, 0xf0, 1, 1},
  11242. {0x39, 0x20, 0x20, 0, 0},
  11243. {0x3A, 0x8, 0x8, 0, 0},
  11244. {0x3B, 0x55, 0x55, 1, 1},
  11245. {0x3C, 0, 0, 0, 0},
  11246. {0x3D, 0x88, 0x88, 1, 1},
  11247. {0x3E, 0, 0, 0, 0},
  11248. {0x3F, 0x44, 0x44, 0, 0},
  11249. {0x40, 0x7, 0x7, 1, 1},
  11250. {0x41, 0x6, 0x6, 0, 0},
  11251. {0x42, 0x4, 0x4, 0, 0},
  11252. {0x43, 0, 0, 0, 0},
  11253. {0x44, 0x8, 0x8, 0, 0},
  11254. {0x45, 0x55, 0x55, 1, 1},
  11255. {0x46, 0, 0, 0, 0},
  11256. {0x47, 0x11, 0x11, 0, 0},
  11257. {0x48, 0, 0, 0, 0},
  11258. {0x49, 0x44, 0x44, 0, 0},
  11259. {0x4A, 0x7, 0x7, 0, 0},
  11260. {0x4B, 0x6, 0x6, 0, 0},
  11261. {0x4C, 0x4, 0x4, 0, 0},
  11262. {0x4D, 0, 0, 0, 0},
  11263. {0x4E, 0, 0, 0, 0},
  11264. {0x4F, 0x26, 0x26, 1, 1},
  11265. {0x50, 0x26, 0x26, 1, 1},
  11266. {0x51, 0xf, 0xf, 1, 1},
  11267. {0x52, 0xf, 0xf, 1, 1},
  11268. {0x53, 0x44, 0x44, 0, 0},
  11269. {0x54, 0, 0, 0, 0},
  11270. {0x55, 0, 0, 0, 0},
  11271. {0x56, 0x8, 0x8, 0, 0},
  11272. {0x57, 0x8, 0x8, 0, 0},
  11273. {0x58, 0x7, 0x7, 0, 0},
  11274. {0x59, 0x22, 0x22, 0, 0},
  11275. {0x5A, 0x22, 0x22, 0, 0},
  11276. {0x5B, 0x2, 0x2, 0, 0},
  11277. {0x5C, 0x4, 0x4, 1, 1},
  11278. {0x5D, 0x7, 0x7, 0, 0},
  11279. {0x5E, 0x55, 0x55, 0, 0},
  11280. {0x5F, 0x23, 0x23, 0, 0},
  11281. {0x60, 0x41, 0x41, 0, 0},
  11282. {0x61, 0x1, 0x1, 0, 0},
  11283. {0x62, 0xa, 0xa, 0, 0},
  11284. {0x63, 0, 0, 0, 0},
  11285. {0x64, 0, 0, 0, 0},
  11286. {0x65, 0, 0, 0, 0},
  11287. {0x66, 0, 0, 0, 0},
  11288. {0x67, 0, 0, 0, 0},
  11289. {0x68, 0, 0, 0, 0},
  11290. {0x69, 0, 0, 0, 0},
  11291. {0x6A, 0, 0, 0, 0},
  11292. {0x6B, 0xc, 0xc, 0, 0},
  11293. {0x6C, 0, 0, 0, 0},
  11294. {0x6D, 0, 0, 0, 0},
  11295. {0x6E, 0, 0, 0, 0},
  11296. {0x6F, 0, 0, 0, 0},
  11297. {0x70, 0, 0, 0, 0},
  11298. {0x71, 0, 0, 0, 0},
  11299. {0x72, 0x22, 0x22, 0, 0},
  11300. {0x73, 0x22, 0x22, 0, 0},
  11301. {0x74, 0, 0, 1, 1},
  11302. {0x75, 0xa, 0xa, 0, 0},
  11303. {0x76, 0x1, 0x1, 0, 0},
  11304. {0x77, 0x22, 0x22, 0, 0},
  11305. {0x78, 0x30, 0x30, 0, 0},
  11306. {0x79, 0, 0, 0, 0},
  11307. {0x7A, 0, 0, 0, 0},
  11308. {0x7B, 0, 0, 0, 0},
  11309. {0x7C, 0, 0, 0, 0},
  11310. {0x7D, 0x5, 0x5, 1, 1},
  11311. {0x7E, 0, 0, 0, 0},
  11312. {0x7F, 0, 0, 0, 0},
  11313. {0x80, 0, 0, 0, 0},
  11314. {0x81, 0, 0, 0, 0},
  11315. {0x82, 0, 0, 0, 0},
  11316. {0x83, 0, 0, 0, 0},
  11317. {0x84, 0, 0, 0, 0},
  11318. {0x85, 0, 0, 0, 0},
  11319. {0x86, 0, 0, 0, 0},
  11320. {0x87, 0, 0, 0, 0},
  11321. {0x88, 0, 0, 0, 0},
  11322. {0x89, 0, 0, 0, 0},
  11323. {0x8A, 0, 0, 0, 0},
  11324. {0x8B, 0, 0, 0, 0},
  11325. {0x8C, 0, 0, 0, 0},
  11326. {0x8D, 0, 0, 0, 0},
  11327. {0x8E, 0, 0, 0, 0},
  11328. {0x8F, 0, 0, 0, 0},
  11329. {0x90, 0, 0, 0, 0},
  11330. {0x91, 0, 0, 0, 0},
  11331. {0x92, 0, 0, 0, 0},
  11332. {0x93, 0, 0, 0, 0},
  11333. {0x94, 0, 0, 0, 0},
  11334. {0xFFFF, 0, 0, 0, 0},
  11335. };
  11336. static struct radio_20xx_regs regs_2057_rev4[] = {
  11337. {0x00, 0x84, 0},
  11338. {0x01, 0, 0},
  11339. {0x02, 0x60, 0},
  11340. {0x03, 0x1f, 0},
  11341. {0x04, 0x4, 0},
  11342. {0x05, 0x2, 0},
  11343. {0x06, 0x1, 0},
  11344. {0x07, 0x1, 0},
  11345. {0x08, 0x1, 0},
  11346. {0x09, 0x69, 0},
  11347. {0x0A, 0x66, 0},
  11348. {0x0B, 0x6, 0},
  11349. {0x0C, 0x18, 0},
  11350. {0x0D, 0x3, 0},
  11351. {0x0E, 0x20, 1},
  11352. {0x0F, 0x20, 0},
  11353. {0x10, 0, 0},
  11354. {0x11, 0x7c, 0},
  11355. {0x12, 0x42, 0},
  11356. {0x13, 0xbd, 0},
  11357. {0x14, 0x7, 0},
  11358. {0x15, 0xf7, 0},
  11359. {0x16, 0x8, 0},
  11360. {0x17, 0x17, 0},
  11361. {0x18, 0x7, 0},
  11362. {0x19, 0, 0},
  11363. {0x1A, 0x2, 0},
  11364. {0x1B, 0x13, 0},
  11365. {0x1C, 0x3e, 0},
  11366. {0x1D, 0x3e, 0},
  11367. {0x1E, 0x96, 0},
  11368. {0x1F, 0x4, 0},
  11369. {0x20, 0, 0},
  11370. {0x21, 0, 0},
  11371. {0x22, 0x17, 0},
  11372. {0x23, 0x4, 0},
  11373. {0x24, 0x1, 0},
  11374. {0x25, 0x6, 0},
  11375. {0x26, 0x4, 0},
  11376. {0x27, 0xd, 0},
  11377. {0x28, 0xd, 0},
  11378. {0x29, 0x30, 0},
  11379. {0x2A, 0x32, 0},
  11380. {0x2B, 0x8, 0},
  11381. {0x2C, 0x1c, 0},
  11382. {0x2D, 0x2, 0},
  11383. {0x2E, 0x4, 0},
  11384. {0x2F, 0x7f, 0},
  11385. {0x30, 0x27, 0},
  11386. {0x31, 0, 1},
  11387. {0x32, 0, 1},
  11388. {0x33, 0, 1},
  11389. {0x34, 0, 0},
  11390. {0x35, 0x26, 1},
  11391. {0x36, 0x18, 0},
  11392. {0x37, 0x7, 0},
  11393. {0x38, 0x66, 0},
  11394. {0x39, 0x66, 0},
  11395. {0x3A, 0x66, 0},
  11396. {0x3B, 0x66, 0},
  11397. {0x3C, 0xff, 1},
  11398. {0x3D, 0xff, 1},
  11399. {0x3E, 0xff, 1},
  11400. {0x3F, 0xff, 1},
  11401. {0x40, 0x16, 0},
  11402. {0x41, 0x7, 0},
  11403. {0x42, 0x19, 0},
  11404. {0x43, 0x7, 0},
  11405. {0x44, 0x6, 0},
  11406. {0x45, 0x3, 0},
  11407. {0x46, 0x1, 0},
  11408. {0x47, 0x7, 0},
  11409. {0x48, 0x33, 0},
  11410. {0x49, 0x5, 0},
  11411. {0x4A, 0x77, 0},
  11412. {0x4B, 0x66, 0},
  11413. {0x4C, 0x66, 0},
  11414. {0x4D, 0, 0},
  11415. {0x4E, 0x4, 0},
  11416. {0x4F, 0xc, 0},
  11417. {0x50, 0, 0},
  11418. {0x51, 0x75, 0},
  11419. {0x56, 0x7, 0},
  11420. {0x57, 0, 0},
  11421. {0x58, 0, 0},
  11422. {0x59, 0xa8, 0},
  11423. {0x5A, 0, 0},
  11424. {0x5B, 0x1f, 0},
  11425. {0x5C, 0x30, 0},
  11426. {0x5D, 0x1, 0},
  11427. {0x5E, 0x30, 0},
  11428. {0x5F, 0x70, 0},
  11429. {0x60, 0, 0},
  11430. {0x61, 0, 0},
  11431. {0x62, 0x33, 1},
  11432. {0x63, 0x19, 0},
  11433. {0x64, 0x62, 0},
  11434. {0x65, 0, 0},
  11435. {0x66, 0x11, 0},
  11436. {0x69, 0, 0},
  11437. {0x6A, 0x7e, 0},
  11438. {0x6B, 0x3f, 0},
  11439. {0x6C, 0x7f, 0},
  11440. {0x6D, 0x78, 0},
  11441. {0x6E, 0xc8, 0},
  11442. {0x6F, 0x88, 0},
  11443. {0x70, 0x8, 0},
  11444. {0x71, 0xf, 0},
  11445. {0x72, 0xbc, 0},
  11446. {0x73, 0x8, 0},
  11447. {0x74, 0x60, 0},
  11448. {0x75, 0x1e, 0},
  11449. {0x76, 0x70, 0},
  11450. {0x77, 0, 0},
  11451. {0x78, 0, 0},
  11452. {0x79, 0, 0},
  11453. {0x7A, 0x33, 0},
  11454. {0x7B, 0x1e, 0},
  11455. {0x7C, 0x62, 0},
  11456. {0x7D, 0x11, 0},
  11457. {0x80, 0x3c, 0},
  11458. {0x81, 0x9c, 0},
  11459. {0x82, 0xa, 0},
  11460. {0x83, 0x9d, 0},
  11461. {0x84, 0xa, 0},
  11462. {0x85, 0, 0},
  11463. {0x86, 0x40, 0},
  11464. {0x87, 0x40, 0},
  11465. {0x88, 0x88, 0},
  11466. {0x89, 0x10, 0},
  11467. {0x8A, 0xf0, 1},
  11468. {0x8B, 0x10, 1},
  11469. {0x8C, 0xf0, 1},
  11470. {0x8D, 0, 0},
  11471. {0x8E, 0, 0},
  11472. {0x8F, 0x10, 0},
  11473. {0x90, 0x55, 0},
  11474. {0x91, 0x3f, 1},
  11475. {0x92, 0x36, 1},
  11476. {0x93, 0, 0},
  11477. {0x94, 0, 0},
  11478. {0x95, 0, 0},
  11479. {0x96, 0x87, 0},
  11480. {0x97, 0x11, 0},
  11481. {0x98, 0, 0},
  11482. {0x99, 0x33, 0},
  11483. {0x9A, 0x88, 0},
  11484. {0x9B, 0, 0},
  11485. {0x9C, 0x87, 0},
  11486. {0x9D, 0x11, 0},
  11487. {0x9E, 0, 0},
  11488. {0x9F, 0x33, 0},
  11489. {0xA0, 0x88, 0},
  11490. {0xA1, 0xe1, 0},
  11491. {0xA2, 0x3f, 0},
  11492. {0xA3, 0x44, 0},
  11493. {0xA4, 0x8c, 1},
  11494. {0xA5, 0x6d, 0},
  11495. {0xA6, 0x22, 0},
  11496. {0xA7, 0xbe, 0},
  11497. {0xA8, 0x55, 1},
  11498. {0xA9, 0xc, 0},
  11499. {0xAA, 0xc, 0},
  11500. {0xAB, 0xaa, 0},
  11501. {0xAC, 0x2, 0},
  11502. {0xAD, 0, 0},
  11503. {0xAE, 0x10, 0},
  11504. {0xAF, 0x1, 1},
  11505. {0xB0, 0, 0},
  11506. {0xB1, 0, 0},
  11507. {0xB2, 0x80, 0},
  11508. {0xB3, 0x60, 0},
  11509. {0xB4, 0x44, 0},
  11510. {0xB5, 0x55, 0},
  11511. {0xB6, 0x1, 0},
  11512. {0xB7, 0x55, 0},
  11513. {0xB8, 0x1, 0},
  11514. {0xB9, 0x5, 0},
  11515. {0xBA, 0x55, 0},
  11516. {0xBB, 0x55, 0},
  11517. {0xC1, 0, 0},
  11518. {0xC2, 0, 0},
  11519. {0xC3, 0, 0},
  11520. {0xC4, 0, 0},
  11521. {0xC5, 0, 0},
  11522. {0xC6, 0, 0},
  11523. {0xC7, 0, 0},
  11524. {0xC8, 0, 0},
  11525. {0xC9, 0, 0},
  11526. {0xCA, 0, 0},
  11527. {0xCB, 0, 0},
  11528. {0xCC, 0, 0},
  11529. {0xCD, 0, 0},
  11530. {0xCE, 0x5e, 0},
  11531. {0xCF, 0xc, 0},
  11532. {0xD0, 0xc, 0},
  11533. {0xD1, 0xc, 0},
  11534. {0xD2, 0, 0},
  11535. {0xD3, 0x2b, 0},
  11536. {0xD4, 0xc, 0},
  11537. {0xD5, 0, 0},
  11538. {0xD6, 0x75, 0},
  11539. {0xDB, 0x7, 0},
  11540. {0xDC, 0, 0},
  11541. {0xDD, 0, 0},
  11542. {0xDE, 0xa8, 0},
  11543. {0xDF, 0, 0},
  11544. {0xE0, 0x1f, 0},
  11545. {0xE1, 0x30, 0},
  11546. {0xE2, 0x1, 0},
  11547. {0xE3, 0x30, 0},
  11548. {0xE4, 0x70, 0},
  11549. {0xE5, 0, 0},
  11550. {0xE6, 0, 0},
  11551. {0xE7, 0x33, 0},
  11552. {0xE8, 0x19, 0},
  11553. {0xE9, 0x62, 0},
  11554. {0xEA, 0, 0},
  11555. {0xEB, 0x11, 0},
  11556. {0xEE, 0, 0},
  11557. {0xEF, 0x7e, 0},
  11558. {0xF0, 0x3f, 0},
  11559. {0xF1, 0x7f, 0},
  11560. {0xF2, 0x78, 0},
  11561. {0xF3, 0xc8, 0},
  11562. {0xF4, 0x88, 0},
  11563. {0xF5, 0x8, 0},
  11564. {0xF6, 0xf, 0},
  11565. {0xF7, 0xbc, 0},
  11566. {0xF8, 0x8, 0},
  11567. {0xF9, 0x60, 0},
  11568. {0xFA, 0x1e, 0},
  11569. {0xFB, 0x70, 0},
  11570. {0xFC, 0, 0},
  11571. {0xFD, 0, 0},
  11572. {0xFE, 0, 0},
  11573. {0xFF, 0x33, 0},
  11574. {0x100, 0x1e, 0},
  11575. {0x101, 0x62, 0},
  11576. {0x102, 0x11, 0},
  11577. {0x105, 0x3c, 0},
  11578. {0x106, 0x9c, 0},
  11579. {0x107, 0xa, 0},
  11580. {0x108, 0x9d, 0},
  11581. {0x109, 0xa, 0},
  11582. {0x10A, 0, 0},
  11583. {0x10B, 0x40, 0},
  11584. {0x10C, 0x40, 0},
  11585. {0x10D, 0x88, 0},
  11586. {0x10E, 0x10, 0},
  11587. {0x10F, 0xf0, 1},
  11588. {0x110, 0x10, 1},
  11589. {0x111, 0xf0, 1},
  11590. {0x112, 0, 0},
  11591. {0x113, 0, 0},
  11592. {0x114, 0x10, 0},
  11593. {0x115, 0x55, 0},
  11594. {0x116, 0x3f, 1},
  11595. {0x117, 0x36, 1},
  11596. {0x118, 0, 0},
  11597. {0x119, 0, 0},
  11598. {0x11A, 0, 0},
  11599. {0x11B, 0x87, 0},
  11600. {0x11C, 0x11, 0},
  11601. {0x11D, 0, 0},
  11602. {0x11E, 0x33, 0},
  11603. {0x11F, 0x88, 0},
  11604. {0x120, 0, 0},
  11605. {0x121, 0x87, 0},
  11606. {0x122, 0x11, 0},
  11607. {0x123, 0, 0},
  11608. {0x124, 0x33, 0},
  11609. {0x125, 0x88, 0},
  11610. {0x126, 0xe1, 0},
  11611. {0x127, 0x3f, 0},
  11612. {0x128, 0x44, 0},
  11613. {0x129, 0x8c, 1},
  11614. {0x12A, 0x6d, 0},
  11615. {0x12B, 0x22, 0},
  11616. {0x12C, 0xbe, 0},
  11617. {0x12D, 0x55, 1},
  11618. {0x12E, 0xc, 0},
  11619. {0x12F, 0xc, 0},
  11620. {0x130, 0xaa, 0},
  11621. {0x131, 0x2, 0},
  11622. {0x132, 0, 0},
  11623. {0x133, 0x10, 0},
  11624. {0x134, 0x1, 1},
  11625. {0x135, 0, 0},
  11626. {0x136, 0, 0},
  11627. {0x137, 0x80, 0},
  11628. {0x138, 0x60, 0},
  11629. {0x139, 0x44, 0},
  11630. {0x13A, 0x55, 0},
  11631. {0x13B, 0x1, 0},
  11632. {0x13C, 0x55, 0},
  11633. {0x13D, 0x1, 0},
  11634. {0x13E, 0x5, 0},
  11635. {0x13F, 0x55, 0},
  11636. {0x140, 0x55, 0},
  11637. {0x146, 0, 0},
  11638. {0x147, 0, 0},
  11639. {0x148, 0, 0},
  11640. {0x149, 0, 0},
  11641. {0x14A, 0, 0},
  11642. {0x14B, 0, 0},
  11643. {0x14C, 0, 0},
  11644. {0x14D, 0, 0},
  11645. {0x14E, 0, 0},
  11646. {0x14F, 0, 0},
  11647. {0x150, 0, 0},
  11648. {0x151, 0, 0},
  11649. {0x152, 0, 0},
  11650. {0x153, 0, 0},
  11651. {0x154, 0xc, 0},
  11652. {0x155, 0xc, 0},
  11653. {0x156, 0xc, 0},
  11654. {0x157, 0, 0},
  11655. {0x158, 0x2b, 0},
  11656. {0x159, 0x84, 0},
  11657. {0x15A, 0x15, 0},
  11658. {0x15B, 0xf, 0},
  11659. {0x15C, 0, 0},
  11660. {0x15D, 0, 0},
  11661. {0x15E, 0, 1},
  11662. {0x15F, 0, 1},
  11663. {0x160, 0, 1},
  11664. {0x161, 0, 1},
  11665. {0x162, 0, 1},
  11666. {0x163, 0, 1},
  11667. {0x164, 0, 0},
  11668. {0x165, 0, 0},
  11669. {0x166, 0, 0},
  11670. {0x167, 0, 0},
  11671. {0x168, 0, 0},
  11672. {0x169, 0x2, 1},
  11673. {0x16A, 0, 1},
  11674. {0x16B, 0, 1},
  11675. {0x16C, 0, 1},
  11676. {0x16D, 0, 0},
  11677. {0x170, 0, 0},
  11678. {0x171, 0x77, 0},
  11679. {0x172, 0x77, 0},
  11680. {0x173, 0x77, 0},
  11681. {0x174, 0x77, 0},
  11682. {0x175, 0, 0},
  11683. {0x176, 0x3, 0},
  11684. {0x177, 0x37, 0},
  11685. {0x178, 0x3, 0},
  11686. {0x179, 0, 0},
  11687. {0x17A, 0x21, 0},
  11688. {0x17B, 0x21, 0},
  11689. {0x17C, 0, 0},
  11690. {0x17D, 0xaa, 0},
  11691. {0x17E, 0, 0},
  11692. {0x17F, 0xaa, 0},
  11693. {0x180, 0, 0},
  11694. {0x190, 0, 0},
  11695. {0x191, 0x77, 0},
  11696. {0x192, 0x77, 0},
  11697. {0x193, 0x77, 0},
  11698. {0x194, 0x77, 0},
  11699. {0x195, 0, 0},
  11700. {0x196, 0x3, 0},
  11701. {0x197, 0x37, 0},
  11702. {0x198, 0x3, 0},
  11703. {0x199, 0, 0},
  11704. {0x19A, 0x21, 0},
  11705. {0x19B, 0x21, 0},
  11706. {0x19C, 0, 0},
  11707. {0x19D, 0xaa, 0},
  11708. {0x19E, 0, 0},
  11709. {0x19F, 0xaa, 0},
  11710. {0x1A0, 0, 0},
  11711. {0x1A1, 0x2, 0},
  11712. {0x1A2, 0xf, 0},
  11713. {0x1A3, 0xf, 0},
  11714. {0x1A4, 0, 1},
  11715. {0x1A5, 0, 1},
  11716. {0x1A6, 0, 1},
  11717. {0x1A7, 0x2, 0},
  11718. {0x1A8, 0xf, 0},
  11719. {0x1A9, 0xf, 0},
  11720. {0x1AA, 0, 1},
  11721. {0x1AB, 0, 1},
  11722. {0x1AC, 0, 1},
  11723. {0xFFFF, 0, 0},
  11724. };
  11725. static struct radio_20xx_regs regs_2057_rev5[] = {
  11726. {0x00, 0, 1},
  11727. {0x01, 0x57, 1},
  11728. {0x02, 0x20, 1},
  11729. {0x03, 0x1f, 0},
  11730. {0x04, 0x4, 0},
  11731. {0x05, 0x2, 0},
  11732. {0x06, 0x1, 0},
  11733. {0x07, 0x1, 0},
  11734. {0x08, 0x1, 0},
  11735. {0x09, 0x69, 0},
  11736. {0x0A, 0x66, 0},
  11737. {0x0B, 0x6, 0},
  11738. {0x0C, 0x18, 0},
  11739. {0x0D, 0x3, 0},
  11740. {0x0E, 0x20, 0},
  11741. {0x0F, 0x20, 0},
  11742. {0x10, 0, 0},
  11743. {0x11, 0x7c, 0},
  11744. {0x12, 0x42, 0},
  11745. {0x13, 0xbd, 0},
  11746. {0x14, 0x7, 0},
  11747. {0x15, 0x87, 0},
  11748. {0x16, 0x8, 0},
  11749. {0x17, 0x17, 0},
  11750. {0x18, 0x7, 0},
  11751. {0x19, 0, 0},
  11752. {0x1A, 0x2, 0},
  11753. {0x1B, 0x13, 0},
  11754. {0x1C, 0x3e, 0},
  11755. {0x1D, 0x3e, 0},
  11756. {0x1E, 0x96, 0},
  11757. {0x1F, 0x4, 0},
  11758. {0x20, 0, 0},
  11759. {0x21, 0, 0},
  11760. {0x22, 0x17, 0},
  11761. {0x23, 0x6, 1},
  11762. {0x24, 0x1, 0},
  11763. {0x25, 0x6, 0},
  11764. {0x26, 0x4, 0},
  11765. {0x27, 0xd, 0},
  11766. {0x28, 0xd, 0},
  11767. {0x29, 0x30, 0},
  11768. {0x2A, 0x32, 0},
  11769. {0x2B, 0x8, 0},
  11770. {0x2C, 0x1c, 0},
  11771. {0x2D, 0x2, 0},
  11772. {0x2E, 0x4, 0},
  11773. {0x2F, 0x7f, 0},
  11774. {0x30, 0x27, 0},
  11775. {0x31, 0, 1},
  11776. {0x32, 0, 1},
  11777. {0x33, 0, 1},
  11778. {0x34, 0, 0},
  11779. {0x35, 0x20, 0},
  11780. {0x36, 0x18, 0},
  11781. {0x37, 0x7, 0},
  11782. {0x38, 0x66, 0},
  11783. {0x39, 0x66, 0},
  11784. {0x3C, 0xff, 0},
  11785. {0x3D, 0xff, 0},
  11786. {0x40, 0x16, 0},
  11787. {0x41, 0x7, 0},
  11788. {0x45, 0x3, 0},
  11789. {0x46, 0x1, 0},
  11790. {0x47, 0x7, 0},
  11791. {0x4B, 0x66, 0},
  11792. {0x4C, 0x66, 0},
  11793. {0x4D, 0, 0},
  11794. {0x4E, 0x4, 0},
  11795. {0x4F, 0xc, 0},
  11796. {0x50, 0, 0},
  11797. {0x51, 0x70, 1},
  11798. {0x56, 0x7, 0},
  11799. {0x57, 0, 0},
  11800. {0x58, 0, 0},
  11801. {0x59, 0x88, 1},
  11802. {0x5A, 0, 0},
  11803. {0x5B, 0x1f, 0},
  11804. {0x5C, 0x20, 1},
  11805. {0x5D, 0x1, 0},
  11806. {0x5E, 0x30, 0},
  11807. {0x5F, 0x70, 0},
  11808. {0x60, 0, 0},
  11809. {0x61, 0, 0},
  11810. {0x62, 0x33, 1},
  11811. {0x63, 0xf, 1},
  11812. {0x64, 0xf, 1},
  11813. {0x65, 0, 0},
  11814. {0x66, 0x11, 0},
  11815. {0x80, 0x3c, 0},
  11816. {0x81, 0x1, 1},
  11817. {0x82, 0xa, 0},
  11818. {0x85, 0, 0},
  11819. {0x86, 0x40, 0},
  11820. {0x87, 0x40, 0},
  11821. {0x88, 0x88, 0},
  11822. {0x89, 0x10, 0},
  11823. {0x8A, 0xf0, 0},
  11824. {0x8B, 0x10, 0},
  11825. {0x8C, 0xf0, 0},
  11826. {0x8F, 0x10, 0},
  11827. {0x90, 0x55, 0},
  11828. {0x91, 0x3f, 1},
  11829. {0x92, 0x36, 1},
  11830. {0x93, 0, 0},
  11831. {0x94, 0, 0},
  11832. {0x95, 0, 0},
  11833. {0x96, 0x87, 0},
  11834. {0x97, 0x11, 0},
  11835. {0x98, 0, 0},
  11836. {0x99, 0x33, 0},
  11837. {0x9A, 0x88, 0},
  11838. {0xA1, 0x20, 1},
  11839. {0xA2, 0x3f, 0},
  11840. {0xA3, 0x44, 0},
  11841. {0xA4, 0x8c, 0},
  11842. {0xA5, 0x6c, 0},
  11843. {0xA6, 0x22, 0},
  11844. {0xA7, 0xbe, 0},
  11845. {0xA8, 0x55, 0},
  11846. {0xAA, 0xc, 0},
  11847. {0xAB, 0xaa, 0},
  11848. {0xAC, 0x2, 0},
  11849. {0xAD, 0, 0},
  11850. {0xAE, 0x10, 0},
  11851. {0xAF, 0x1, 0},
  11852. {0xB0, 0, 0},
  11853. {0xB1, 0, 0},
  11854. {0xB2, 0x80, 0},
  11855. {0xB3, 0x60, 0},
  11856. {0xB4, 0x44, 0},
  11857. {0xB5, 0x55, 0},
  11858. {0xB6, 0x1, 0},
  11859. {0xB7, 0x55, 0},
  11860. {0xB8, 0x1, 0},
  11861. {0xB9, 0x5, 0},
  11862. {0xBA, 0x55, 0},
  11863. {0xBB, 0x55, 0},
  11864. {0xC3, 0, 0},
  11865. {0xC4, 0, 0},
  11866. {0xC5, 0, 0},
  11867. {0xC6, 0, 0},
  11868. {0xC7, 0, 0},
  11869. {0xC8, 0, 0},
  11870. {0xC9, 0, 0},
  11871. {0xCA, 0, 0},
  11872. {0xCB, 0, 0},
  11873. {0xCD, 0, 0},
  11874. {0xCE, 0x5e, 0},
  11875. {0xCF, 0xc, 0},
  11876. {0xD0, 0xc, 0},
  11877. {0xD1, 0xc, 0},
  11878. {0xD2, 0, 0},
  11879. {0xD3, 0x2b, 0},
  11880. {0xD4, 0xc, 0},
  11881. {0xD5, 0, 0},
  11882. {0xD6, 0x70, 1},
  11883. {0xDB, 0x7, 0},
  11884. {0xDC, 0, 0},
  11885. {0xDD, 0, 0},
  11886. {0xDE, 0x88, 1},
  11887. {0xDF, 0, 0},
  11888. {0xE0, 0x1f, 0},
  11889. {0xE1, 0x20, 1},
  11890. {0xE2, 0x1, 0},
  11891. {0xE3, 0x30, 0},
  11892. {0xE4, 0x70, 0},
  11893. {0xE5, 0, 0},
  11894. {0xE6, 0, 0},
  11895. {0xE7, 0x33, 0},
  11896. {0xE8, 0xf, 1},
  11897. {0xE9, 0xf, 1},
  11898. {0xEA, 0, 0},
  11899. {0xEB, 0x11, 0},
  11900. {0x105, 0x3c, 0},
  11901. {0x106, 0x1, 1},
  11902. {0x107, 0xa, 0},
  11903. {0x10A, 0, 0},
  11904. {0x10B, 0x40, 0},
  11905. {0x10C, 0x40, 0},
  11906. {0x10D, 0x88, 0},
  11907. {0x10E, 0x10, 0},
  11908. {0x10F, 0xf0, 0},
  11909. {0x110, 0x10, 0},
  11910. {0x111, 0xf0, 0},
  11911. {0x114, 0x10, 0},
  11912. {0x115, 0x55, 0},
  11913. {0x116, 0x3f, 1},
  11914. {0x117, 0x36, 1},
  11915. {0x118, 0, 0},
  11916. {0x119, 0, 0},
  11917. {0x11A, 0, 0},
  11918. {0x11B, 0x87, 0},
  11919. {0x11C, 0x11, 0},
  11920. {0x11D, 0, 0},
  11921. {0x11E, 0x33, 0},
  11922. {0x11F, 0x88, 0},
  11923. {0x126, 0x20, 1},
  11924. {0x127, 0x3f, 0},
  11925. {0x128, 0x44, 0},
  11926. {0x129, 0x8c, 0},
  11927. {0x12A, 0x6c, 0},
  11928. {0x12B, 0x22, 0},
  11929. {0x12C, 0xbe, 0},
  11930. {0x12D, 0x55, 0},
  11931. {0x12F, 0xc, 0},
  11932. {0x130, 0xaa, 0},
  11933. {0x131, 0x2, 0},
  11934. {0x132, 0, 0},
  11935. {0x133, 0x10, 0},
  11936. {0x134, 0x1, 0},
  11937. {0x135, 0, 0},
  11938. {0x136, 0, 0},
  11939. {0x137, 0x80, 0},
  11940. {0x138, 0x60, 0},
  11941. {0x139, 0x44, 0},
  11942. {0x13A, 0x55, 0},
  11943. {0x13B, 0x1, 0},
  11944. {0x13C, 0x55, 0},
  11945. {0x13D, 0x1, 0},
  11946. {0x13E, 0x5, 0},
  11947. {0x13F, 0x55, 0},
  11948. {0x140, 0x55, 0},
  11949. {0x148, 0, 0},
  11950. {0x149, 0, 0},
  11951. {0x14A, 0, 0},
  11952. {0x14B, 0, 0},
  11953. {0x14C, 0, 0},
  11954. {0x14D, 0, 0},
  11955. {0x14E, 0, 0},
  11956. {0x14F, 0, 0},
  11957. {0x150, 0, 0},
  11958. {0x154, 0xc, 0},
  11959. {0x155, 0xc, 0},
  11960. {0x156, 0xc, 0},
  11961. {0x157, 0, 0},
  11962. {0x158, 0x2b, 0},
  11963. {0x159, 0x84, 0},
  11964. {0x15A, 0x15, 0},
  11965. {0x15B, 0xf, 0},
  11966. {0x15C, 0, 0},
  11967. {0x15D, 0, 0},
  11968. {0x15E, 0, 1},
  11969. {0x15F, 0, 1},
  11970. {0x160, 0, 1},
  11971. {0x161, 0, 1},
  11972. {0x162, 0, 1},
  11973. {0x163, 0, 1},
  11974. {0x164, 0, 0},
  11975. {0x165, 0, 0},
  11976. {0x166, 0, 0},
  11977. {0x167, 0, 0},
  11978. {0x168, 0, 0},
  11979. {0x169, 0, 0},
  11980. {0x16A, 0, 1},
  11981. {0x16B, 0, 1},
  11982. {0x16C, 0, 1},
  11983. {0x16D, 0, 0},
  11984. {0x170, 0, 0},
  11985. {0x171, 0x77, 0},
  11986. {0x172, 0x77, 0},
  11987. {0x173, 0x77, 0},
  11988. {0x174, 0x77, 0},
  11989. {0x175, 0, 0},
  11990. {0x176, 0x3, 0},
  11991. {0x177, 0x37, 0},
  11992. {0x178, 0x3, 0},
  11993. {0x179, 0, 0},
  11994. {0x17B, 0x21, 0},
  11995. {0x17C, 0, 0},
  11996. {0x17D, 0xaa, 0},
  11997. {0x17E, 0, 0},
  11998. {0x190, 0, 0},
  11999. {0x191, 0x77, 0},
  12000. {0x192, 0x77, 0},
  12001. {0x193, 0x77, 0},
  12002. {0x194, 0x77, 0},
  12003. {0x195, 0, 0},
  12004. {0x196, 0x3, 0},
  12005. {0x197, 0x37, 0},
  12006. {0x198, 0x3, 0},
  12007. {0x199, 0, 0},
  12008. {0x19B, 0x21, 0},
  12009. {0x19C, 0, 0},
  12010. {0x19D, 0xaa, 0},
  12011. {0x19E, 0, 0},
  12012. {0x1A1, 0x2, 0},
  12013. {0x1A2, 0xf, 0},
  12014. {0x1A3, 0xf, 0},
  12015. {0x1A4, 0, 1},
  12016. {0x1A5, 0, 1},
  12017. {0x1A6, 0, 1},
  12018. {0x1A7, 0x2, 0},
  12019. {0x1A8, 0xf, 0},
  12020. {0x1A9, 0xf, 0},
  12021. {0x1AA, 0, 1},
  12022. {0x1AB, 0, 1},
  12023. {0x1AC, 0, 1},
  12024. {0x1AD, 0x84, 0},
  12025. {0x1AE, 0x60, 0},
  12026. {0x1AF, 0x47, 0},
  12027. {0x1B0, 0x47, 0},
  12028. {0x1B1, 0, 0},
  12029. {0x1B2, 0, 0},
  12030. {0x1B3, 0, 0},
  12031. {0x1B4, 0, 0},
  12032. {0x1B5, 0, 0},
  12033. {0x1B6, 0, 0},
  12034. {0x1B7, 0xc, 1},
  12035. {0x1B8, 0, 0},
  12036. {0x1B9, 0, 0},
  12037. {0x1BA, 0, 0},
  12038. {0x1BB, 0, 0},
  12039. {0x1BC, 0, 0},
  12040. {0x1BD, 0, 0},
  12041. {0x1BE, 0, 0},
  12042. {0x1BF, 0, 0},
  12043. {0x1C0, 0, 0},
  12044. {0x1C1, 0x1, 1},
  12045. {0x1C2, 0x80, 1},
  12046. {0x1C3, 0, 0},
  12047. {0x1C4, 0, 0},
  12048. {0x1C5, 0, 0},
  12049. {0x1C6, 0, 0},
  12050. {0x1C7, 0, 0},
  12051. {0x1C8, 0, 0},
  12052. {0x1C9, 0, 0},
  12053. {0x1CA, 0, 0},
  12054. {0xFFFF, 0, 0}
  12055. };
  12056. static struct radio_20xx_regs regs_2057_rev5v1[] = {
  12057. {0x00, 0x15, 1},
  12058. {0x01, 0x57, 1},
  12059. {0x02, 0x20, 1},
  12060. {0x03, 0x1f, 0},
  12061. {0x04, 0x4, 0},
  12062. {0x05, 0x2, 0},
  12063. {0x06, 0x1, 0},
  12064. {0x07, 0x1, 0},
  12065. {0x08, 0x1, 0},
  12066. {0x09, 0x69, 0},
  12067. {0x0A, 0x66, 0},
  12068. {0x0B, 0x6, 0},
  12069. {0x0C, 0x18, 0},
  12070. {0x0D, 0x3, 0},
  12071. {0x0E, 0x20, 0},
  12072. {0x0F, 0x20, 0},
  12073. {0x10, 0, 0},
  12074. {0x11, 0x7c, 0},
  12075. {0x12, 0x42, 0},
  12076. {0x13, 0xbd, 0},
  12077. {0x14, 0x7, 0},
  12078. {0x15, 0x87, 0},
  12079. {0x16, 0x8, 0},
  12080. {0x17, 0x17, 0},
  12081. {0x18, 0x7, 0},
  12082. {0x19, 0, 0},
  12083. {0x1A, 0x2, 0},
  12084. {0x1B, 0x13, 0},
  12085. {0x1C, 0x3e, 0},
  12086. {0x1D, 0x3e, 0},
  12087. {0x1E, 0x96, 0},
  12088. {0x1F, 0x4, 0},
  12089. {0x20, 0, 0},
  12090. {0x21, 0, 0},
  12091. {0x22, 0x17, 0},
  12092. {0x23, 0x6, 1},
  12093. {0x24, 0x1, 0},
  12094. {0x25, 0x6, 0},
  12095. {0x26, 0x4, 0},
  12096. {0x27, 0xd, 0},
  12097. {0x28, 0xd, 0},
  12098. {0x29, 0x30, 0},
  12099. {0x2A, 0x32, 0},
  12100. {0x2B, 0x8, 0},
  12101. {0x2C, 0x1c, 0},
  12102. {0x2D, 0x2, 0},
  12103. {0x2E, 0x4, 0},
  12104. {0x2F, 0x7f, 0},
  12105. {0x30, 0x27, 0},
  12106. {0x31, 0, 1},
  12107. {0x32, 0, 1},
  12108. {0x33, 0, 1},
  12109. {0x34, 0, 0},
  12110. {0x35, 0x20, 0},
  12111. {0x36, 0x18, 0},
  12112. {0x37, 0x7, 0},
  12113. {0x38, 0x66, 0},
  12114. {0x39, 0x66, 0},
  12115. {0x3C, 0xff, 0},
  12116. {0x3D, 0xff, 0},
  12117. {0x40, 0x16, 0},
  12118. {0x41, 0x7, 0},
  12119. {0x45, 0x3, 0},
  12120. {0x46, 0x1, 0},
  12121. {0x47, 0x7, 0},
  12122. {0x4B, 0x66, 0},
  12123. {0x4C, 0x66, 0},
  12124. {0x4D, 0, 0},
  12125. {0x4E, 0x4, 0},
  12126. {0x4F, 0xc, 0},
  12127. {0x50, 0, 0},
  12128. {0x51, 0x70, 1},
  12129. {0x56, 0x7, 0},
  12130. {0x57, 0, 0},
  12131. {0x58, 0, 0},
  12132. {0x59, 0x88, 1},
  12133. {0x5A, 0, 0},
  12134. {0x5B, 0x1f, 0},
  12135. {0x5C, 0x20, 1},
  12136. {0x5D, 0x1, 0},
  12137. {0x5E, 0x30, 0},
  12138. {0x5F, 0x70, 0},
  12139. {0x60, 0, 0},
  12140. {0x61, 0, 0},
  12141. {0x62, 0x33, 1},
  12142. {0x63, 0xf, 1},
  12143. {0x64, 0xf, 1},
  12144. {0x65, 0, 0},
  12145. {0x66, 0x11, 0},
  12146. {0x80, 0x3c, 0},
  12147. {0x81, 0x1, 1},
  12148. {0x82, 0xa, 0},
  12149. {0x85, 0, 0},
  12150. {0x86, 0x40, 0},
  12151. {0x87, 0x40, 0},
  12152. {0x88, 0x88, 0},
  12153. {0x89, 0x10, 0},
  12154. {0x8A, 0xf0, 0},
  12155. {0x8B, 0x10, 0},
  12156. {0x8C, 0xf0, 0},
  12157. {0x8F, 0x10, 0},
  12158. {0x90, 0x55, 0},
  12159. {0x91, 0x3f, 1},
  12160. {0x92, 0x36, 1},
  12161. {0x93, 0, 0},
  12162. {0x94, 0, 0},
  12163. {0x95, 0, 0},
  12164. {0x96, 0x87, 0},
  12165. {0x97, 0x11, 0},
  12166. {0x98, 0, 0},
  12167. {0x99, 0x33, 0},
  12168. {0x9A, 0x88, 0},
  12169. {0xA1, 0x20, 1},
  12170. {0xA2, 0x3f, 0},
  12171. {0xA3, 0x44, 0},
  12172. {0xA4, 0x8c, 0},
  12173. {0xA5, 0x6c, 0},
  12174. {0xA6, 0x22, 0},
  12175. {0xA7, 0xbe, 0},
  12176. {0xA8, 0x55, 0},
  12177. {0xAA, 0xc, 0},
  12178. {0xAB, 0xaa, 0},
  12179. {0xAC, 0x2, 0},
  12180. {0xAD, 0, 0},
  12181. {0xAE, 0x10, 0},
  12182. {0xAF, 0x1, 0},
  12183. {0xB0, 0, 0},
  12184. {0xB1, 0, 0},
  12185. {0xB2, 0x80, 0},
  12186. {0xB3, 0x60, 0},
  12187. {0xB4, 0x44, 0},
  12188. {0xB5, 0x55, 0},
  12189. {0xB6, 0x1, 0},
  12190. {0xB7, 0x55, 0},
  12191. {0xB8, 0x1, 0},
  12192. {0xB9, 0x5, 0},
  12193. {0xBA, 0x55, 0},
  12194. {0xBB, 0x55, 0},
  12195. {0xC3, 0, 0},
  12196. {0xC4, 0, 0},
  12197. {0xC5, 0, 0},
  12198. {0xC6, 0, 0},
  12199. {0xC7, 0, 0},
  12200. {0xC8, 0, 0},
  12201. {0xC9, 0x1, 1},
  12202. {0xCA, 0, 0},
  12203. {0xCB, 0, 0},
  12204. {0xCD, 0, 0},
  12205. {0xCE, 0x5e, 0},
  12206. {0xCF, 0xc, 0},
  12207. {0xD0, 0xc, 0},
  12208. {0xD1, 0xc, 0},
  12209. {0xD2, 0, 0},
  12210. {0xD3, 0x2b, 0},
  12211. {0xD4, 0xc, 0},
  12212. {0xD5, 0, 0},
  12213. {0xD6, 0x70, 1},
  12214. {0xDB, 0x7, 0},
  12215. {0xDC, 0, 0},
  12216. {0xDD, 0, 0},
  12217. {0xDE, 0x88, 1},
  12218. {0xDF, 0, 0},
  12219. {0xE0, 0x1f, 0},
  12220. {0xE1, 0x20, 1},
  12221. {0xE2, 0x1, 0},
  12222. {0xE3, 0x30, 0},
  12223. {0xE4, 0x70, 0},
  12224. {0xE5, 0, 0},
  12225. {0xE6, 0, 0},
  12226. {0xE7, 0x33, 0},
  12227. {0xE8, 0xf, 1},
  12228. {0xE9, 0xf, 1},
  12229. {0xEA, 0, 0},
  12230. {0xEB, 0x11, 0},
  12231. {0x105, 0x3c, 0},
  12232. {0x106, 0x1, 1},
  12233. {0x107, 0xa, 0},
  12234. {0x10A, 0, 0},
  12235. {0x10B, 0x40, 0},
  12236. {0x10C, 0x40, 0},
  12237. {0x10D, 0x88, 0},
  12238. {0x10E, 0x10, 0},
  12239. {0x10F, 0xf0, 0},
  12240. {0x110, 0x10, 0},
  12241. {0x111, 0xf0, 0},
  12242. {0x114, 0x10, 0},
  12243. {0x115, 0x55, 0},
  12244. {0x116, 0x3f, 1},
  12245. {0x117, 0x36, 1},
  12246. {0x118, 0, 0},
  12247. {0x119, 0, 0},
  12248. {0x11A, 0, 0},
  12249. {0x11B, 0x87, 0},
  12250. {0x11C, 0x11, 0},
  12251. {0x11D, 0, 0},
  12252. {0x11E, 0x33, 0},
  12253. {0x11F, 0x88, 0},
  12254. {0x126, 0x20, 1},
  12255. {0x127, 0x3f, 0},
  12256. {0x128, 0x44, 0},
  12257. {0x129, 0x8c, 0},
  12258. {0x12A, 0x6c, 0},
  12259. {0x12B, 0x22, 0},
  12260. {0x12C, 0xbe, 0},
  12261. {0x12D, 0x55, 0},
  12262. {0x12F, 0xc, 0},
  12263. {0x130, 0xaa, 0},
  12264. {0x131, 0x2, 0},
  12265. {0x132, 0, 0},
  12266. {0x133, 0x10, 0},
  12267. {0x134, 0x1, 0},
  12268. {0x135, 0, 0},
  12269. {0x136, 0, 0},
  12270. {0x137, 0x80, 0},
  12271. {0x138, 0x60, 0},
  12272. {0x139, 0x44, 0},
  12273. {0x13A, 0x55, 0},
  12274. {0x13B, 0x1, 0},
  12275. {0x13C, 0x55, 0},
  12276. {0x13D, 0x1, 0},
  12277. {0x13E, 0x5, 0},
  12278. {0x13F, 0x55, 0},
  12279. {0x140, 0x55, 0},
  12280. {0x148, 0, 0},
  12281. {0x149, 0, 0},
  12282. {0x14A, 0, 0},
  12283. {0x14B, 0, 0},
  12284. {0x14C, 0, 0},
  12285. {0x14D, 0, 0},
  12286. {0x14E, 0x1, 1},
  12287. {0x14F, 0, 0},
  12288. {0x150, 0, 0},
  12289. {0x154, 0xc, 0},
  12290. {0x155, 0xc, 0},
  12291. {0x156, 0xc, 0},
  12292. {0x157, 0, 0},
  12293. {0x158, 0x2b, 0},
  12294. {0x159, 0x84, 0},
  12295. {0x15A, 0x15, 0},
  12296. {0x15B, 0xf, 0},
  12297. {0x15C, 0, 0},
  12298. {0x15D, 0, 0},
  12299. {0x15E, 0, 1},
  12300. {0x15F, 0, 1},
  12301. {0x160, 0, 1},
  12302. {0x161, 0, 1},
  12303. {0x162, 0, 1},
  12304. {0x163, 0, 1},
  12305. {0x164, 0, 0},
  12306. {0x165, 0, 0},
  12307. {0x166, 0, 0},
  12308. {0x167, 0, 0},
  12309. {0x168, 0, 0},
  12310. {0x169, 0, 0},
  12311. {0x16A, 0, 1},
  12312. {0x16B, 0, 1},
  12313. {0x16C, 0, 1},
  12314. {0x16D, 0, 0},
  12315. {0x170, 0, 0},
  12316. {0x171, 0x77, 0},
  12317. {0x172, 0x77, 0},
  12318. {0x173, 0x77, 0},
  12319. {0x174, 0x77, 0},
  12320. {0x175, 0, 0},
  12321. {0x176, 0x3, 0},
  12322. {0x177, 0x37, 0},
  12323. {0x178, 0x3, 0},
  12324. {0x179, 0, 0},
  12325. {0x17B, 0x21, 0},
  12326. {0x17C, 0, 0},
  12327. {0x17D, 0xaa, 0},
  12328. {0x17E, 0, 0},
  12329. {0x190, 0, 0},
  12330. {0x191, 0x77, 0},
  12331. {0x192, 0x77, 0},
  12332. {0x193, 0x77, 0},
  12333. {0x194, 0x77, 0},
  12334. {0x195, 0, 0},
  12335. {0x196, 0x3, 0},
  12336. {0x197, 0x37, 0},
  12337. {0x198, 0x3, 0},
  12338. {0x199, 0, 0},
  12339. {0x19B, 0x21, 0},
  12340. {0x19C, 0, 0},
  12341. {0x19D, 0xaa, 0},
  12342. {0x19E, 0, 0},
  12343. {0x1A1, 0x2, 0},
  12344. {0x1A2, 0xf, 0},
  12345. {0x1A3, 0xf, 0},
  12346. {0x1A4, 0, 1},
  12347. {0x1A5, 0, 1},
  12348. {0x1A6, 0, 1},
  12349. {0x1A7, 0x2, 0},
  12350. {0x1A8, 0xf, 0},
  12351. {0x1A9, 0xf, 0},
  12352. {0x1AA, 0, 1},
  12353. {0x1AB, 0, 1},
  12354. {0x1AC, 0, 1},
  12355. {0x1AD, 0x84, 0},
  12356. {0x1AE, 0x60, 0},
  12357. {0x1AF, 0x47, 0},
  12358. {0x1B0, 0x47, 0},
  12359. {0x1B1, 0, 0},
  12360. {0x1B2, 0, 0},
  12361. {0x1B3, 0, 0},
  12362. {0x1B4, 0, 0},
  12363. {0x1B5, 0, 0},
  12364. {0x1B6, 0, 0},
  12365. {0x1B7, 0xc, 1},
  12366. {0x1B8, 0, 0},
  12367. {0x1B9, 0, 0},
  12368. {0x1BA, 0, 0},
  12369. {0x1BB, 0, 0},
  12370. {0x1BC, 0, 0},
  12371. {0x1BD, 0, 0},
  12372. {0x1BE, 0, 0},
  12373. {0x1BF, 0, 0},
  12374. {0x1C0, 0, 0},
  12375. {0x1C1, 0x1, 1},
  12376. {0x1C2, 0x80, 1},
  12377. {0x1C3, 0, 0},
  12378. {0x1C4, 0, 0},
  12379. {0x1C5, 0, 0},
  12380. {0x1C6, 0, 0},
  12381. {0x1C7, 0, 0},
  12382. {0x1C8, 0, 0},
  12383. {0x1C9, 0, 0},
  12384. {0x1CA, 0, 0},
  12385. {0xFFFF, 0, 0}
  12386. };
  12387. static struct radio_20xx_regs regs_2057_rev7[] = {
  12388. {0x00, 0, 1},
  12389. {0x01, 0x57, 1},
  12390. {0x02, 0x20, 1},
  12391. {0x03, 0x1f, 0},
  12392. {0x04, 0x4, 0},
  12393. {0x05, 0x2, 0},
  12394. {0x06, 0x1, 0},
  12395. {0x07, 0x1, 0},
  12396. {0x08, 0x1, 0},
  12397. {0x09, 0x69, 0},
  12398. {0x0A, 0x66, 0},
  12399. {0x0B, 0x6, 0},
  12400. {0x0C, 0x18, 0},
  12401. {0x0D, 0x3, 0},
  12402. {0x0E, 0x20, 0},
  12403. {0x0F, 0x20, 0},
  12404. {0x10, 0, 0},
  12405. {0x11, 0x7c, 0},
  12406. {0x12, 0x42, 0},
  12407. {0x13, 0xbd, 0},
  12408. {0x14, 0x7, 0},
  12409. {0x15, 0x87, 0},
  12410. {0x16, 0x8, 0},
  12411. {0x17, 0x17, 0},
  12412. {0x18, 0x7, 0},
  12413. {0x19, 0, 0},
  12414. {0x1A, 0x2, 0},
  12415. {0x1B, 0x13, 0},
  12416. {0x1C, 0x3e, 0},
  12417. {0x1D, 0x3e, 0},
  12418. {0x1E, 0x96, 0},
  12419. {0x1F, 0x4, 0},
  12420. {0x20, 0, 0},
  12421. {0x21, 0, 0},
  12422. {0x22, 0x17, 0},
  12423. {0x23, 0x6, 0},
  12424. {0x24, 0x1, 0},
  12425. {0x25, 0x6, 0},
  12426. {0x26, 0x4, 0},
  12427. {0x27, 0xd, 0},
  12428. {0x28, 0xd, 0},
  12429. {0x29, 0x30, 0},
  12430. {0x2A, 0x32, 0},
  12431. {0x2B, 0x8, 0},
  12432. {0x2C, 0x1c, 0},
  12433. {0x2D, 0x2, 0},
  12434. {0x2E, 0x4, 0},
  12435. {0x2F, 0x7f, 0},
  12436. {0x30, 0x27, 0},
  12437. {0x31, 0, 1},
  12438. {0x32, 0, 1},
  12439. {0x33, 0, 1},
  12440. {0x34, 0, 0},
  12441. {0x35, 0x20, 0},
  12442. {0x36, 0x18, 0},
  12443. {0x37, 0x7, 0},
  12444. {0x38, 0x66, 0},
  12445. {0x39, 0x66, 0},
  12446. {0x3A, 0x66, 0},
  12447. {0x3B, 0x66, 0},
  12448. {0x3C, 0xff, 0},
  12449. {0x3D, 0xff, 0},
  12450. {0x3E, 0xff, 0},
  12451. {0x3F, 0xff, 0},
  12452. {0x40, 0x16, 0},
  12453. {0x41, 0x7, 0},
  12454. {0x42, 0x19, 0},
  12455. {0x43, 0x7, 0},
  12456. {0x44, 0x6, 0},
  12457. {0x45, 0x3, 0},
  12458. {0x46, 0x1, 0},
  12459. {0x47, 0x7, 0},
  12460. {0x48, 0x33, 0},
  12461. {0x49, 0x5, 0},
  12462. {0x4A, 0x77, 0},
  12463. {0x4B, 0x66, 0},
  12464. {0x4C, 0x66, 0},
  12465. {0x4D, 0, 0},
  12466. {0x4E, 0x4, 0},
  12467. {0x4F, 0xc, 0},
  12468. {0x50, 0, 0},
  12469. {0x51, 0x70, 1},
  12470. {0x56, 0x7, 0},
  12471. {0x57, 0, 0},
  12472. {0x58, 0, 0},
  12473. {0x59, 0x88, 1},
  12474. {0x5A, 0, 0},
  12475. {0x5B, 0x1f, 0},
  12476. {0x5C, 0x20, 1},
  12477. {0x5D, 0x1, 0},
  12478. {0x5E, 0x30, 0},
  12479. {0x5F, 0x70, 0},
  12480. {0x60, 0, 0},
  12481. {0x61, 0, 0},
  12482. {0x62, 0x33, 1},
  12483. {0x63, 0xf, 1},
  12484. {0x64, 0x13, 1},
  12485. {0x65, 0, 0},
  12486. {0x66, 0xee, 1},
  12487. {0x69, 0, 0},
  12488. {0x6A, 0x7e, 0},
  12489. {0x6B, 0x3f, 0},
  12490. {0x6C, 0x7f, 0},
  12491. {0x6D, 0x78, 0},
  12492. {0x6E, 0x58, 1},
  12493. {0x6F, 0x88, 0},
  12494. {0x70, 0x8, 0},
  12495. {0x71, 0xf, 0},
  12496. {0x72, 0xbc, 0},
  12497. {0x73, 0x8, 0},
  12498. {0x74, 0x60, 0},
  12499. {0x75, 0x13, 1},
  12500. {0x76, 0x70, 0},
  12501. {0x77, 0, 0},
  12502. {0x78, 0, 0},
  12503. {0x79, 0, 0},
  12504. {0x7A, 0x33, 0},
  12505. {0x7B, 0x13, 1},
  12506. {0x7C, 0x14, 1},
  12507. {0x7D, 0xee, 1},
  12508. {0x80, 0x3c, 0},
  12509. {0x81, 0x1, 1},
  12510. {0x82, 0xa, 0},
  12511. {0x83, 0x9d, 0},
  12512. {0x84, 0xa, 0},
  12513. {0x85, 0, 0},
  12514. {0x86, 0x40, 0},
  12515. {0x87, 0x40, 0},
  12516. {0x88, 0x88, 0},
  12517. {0x89, 0x10, 0},
  12518. {0x8A, 0xf0, 0},
  12519. {0x8B, 0x10, 0},
  12520. {0x8C, 0xf0, 0},
  12521. {0x8D, 0, 0},
  12522. {0x8E, 0, 0},
  12523. {0x8F, 0x10, 0},
  12524. {0x90, 0x55, 0},
  12525. {0x91, 0x3f, 1},
  12526. {0x92, 0x36, 1},
  12527. {0x93, 0, 0},
  12528. {0x94, 0, 0},
  12529. {0x95, 0, 0},
  12530. {0x96, 0x87, 0},
  12531. {0x97, 0x11, 0},
  12532. {0x98, 0, 0},
  12533. {0x99, 0x33, 0},
  12534. {0x9A, 0x88, 0},
  12535. {0x9B, 0, 0},
  12536. {0x9C, 0x87, 0},
  12537. {0x9D, 0x11, 0},
  12538. {0x9E, 0, 0},
  12539. {0x9F, 0x33, 0},
  12540. {0xA0, 0x88, 0},
  12541. {0xA1, 0x20, 1},
  12542. {0xA2, 0x3f, 0},
  12543. {0xA3, 0x44, 0},
  12544. {0xA4, 0x8c, 0},
  12545. {0xA5, 0x6c, 0},
  12546. {0xA6, 0x22, 0},
  12547. {0xA7, 0xbe, 0},
  12548. {0xA8, 0x55, 0},
  12549. {0xAA, 0xc, 0},
  12550. {0xAB, 0xaa, 0},
  12551. {0xAC, 0x2, 0},
  12552. {0xAD, 0, 0},
  12553. {0xAE, 0x10, 0},
  12554. {0xAF, 0x1, 0},
  12555. {0xB0, 0, 0},
  12556. {0xB1, 0, 0},
  12557. {0xB2, 0x80, 0},
  12558. {0xB3, 0x60, 0},
  12559. {0xB4, 0x44, 0},
  12560. {0xB5, 0x55, 0},
  12561. {0xB6, 0x1, 0},
  12562. {0xB7, 0x55, 0},
  12563. {0xB8, 0x1, 0},
  12564. {0xB9, 0x5, 0},
  12565. {0xBA, 0x55, 0},
  12566. {0xBB, 0x55, 0},
  12567. {0xC1, 0, 0},
  12568. {0xC2, 0, 0},
  12569. {0xC3, 0, 0},
  12570. {0xC4, 0, 0},
  12571. {0xC5, 0, 0},
  12572. {0xC6, 0, 0},
  12573. {0xC7, 0, 0},
  12574. {0xC8, 0, 0},
  12575. {0xC9, 0, 0},
  12576. {0xCA, 0, 0},
  12577. {0xCB, 0, 0},
  12578. {0xCC, 0, 0},
  12579. {0xCD, 0, 0},
  12580. {0xCE, 0x5e, 0},
  12581. {0xCF, 0xc, 0},
  12582. {0xD0, 0xc, 0},
  12583. {0xD1, 0xc, 0},
  12584. {0xD2, 0, 0},
  12585. {0xD3, 0x2b, 0},
  12586. {0xD4, 0xc, 0},
  12587. {0xD5, 0, 0},
  12588. {0xD6, 0x70, 1},
  12589. {0xDB, 0x7, 0},
  12590. {0xDC, 0, 0},
  12591. {0xDD, 0, 0},
  12592. {0xDE, 0x88, 1},
  12593. {0xDF, 0, 0},
  12594. {0xE0, 0x1f, 0},
  12595. {0xE1, 0x20, 1},
  12596. {0xE2, 0x1, 0},
  12597. {0xE3, 0x30, 0},
  12598. {0xE4, 0x70, 0},
  12599. {0xE5, 0, 0},
  12600. {0xE6, 0, 0},
  12601. {0xE7, 0x33, 0},
  12602. {0xE8, 0xf, 1},
  12603. {0xE9, 0x13, 1},
  12604. {0xEA, 0, 0},
  12605. {0xEB, 0xee, 1},
  12606. {0xEE, 0, 0},
  12607. {0xEF, 0x7e, 0},
  12608. {0xF0, 0x3f, 0},
  12609. {0xF1, 0x7f, 0},
  12610. {0xF2, 0x78, 0},
  12611. {0xF3, 0x58, 1},
  12612. {0xF4, 0x88, 0},
  12613. {0xF5, 0x8, 0},
  12614. {0xF6, 0xf, 0},
  12615. {0xF7, 0xbc, 0},
  12616. {0xF8, 0x8, 0},
  12617. {0xF9, 0x60, 0},
  12618. {0xFA, 0x13, 1},
  12619. {0xFB, 0x70, 0},
  12620. {0xFC, 0, 0},
  12621. {0xFD, 0, 0},
  12622. {0xFE, 0, 0},
  12623. {0xFF, 0x33, 0},
  12624. {0x100, 0x13, 1},
  12625. {0x101, 0x14, 1},
  12626. {0x102, 0xee, 1},
  12627. {0x105, 0x3c, 0},
  12628. {0x106, 0x1, 1},
  12629. {0x107, 0xa, 0},
  12630. {0x108, 0x9d, 0},
  12631. {0x109, 0xa, 0},
  12632. {0x10A, 0, 0},
  12633. {0x10B, 0x40, 0},
  12634. {0x10C, 0x40, 0},
  12635. {0x10D, 0x88, 0},
  12636. {0x10E, 0x10, 0},
  12637. {0x10F, 0xf0, 0},
  12638. {0x110, 0x10, 0},
  12639. {0x111, 0xf0, 0},
  12640. {0x112, 0, 0},
  12641. {0x113, 0, 0},
  12642. {0x114, 0x10, 0},
  12643. {0x115, 0x55, 0},
  12644. {0x116, 0x3f, 1},
  12645. {0x117, 0x36, 1},
  12646. {0x118, 0, 0},
  12647. {0x119, 0, 0},
  12648. {0x11A, 0, 0},
  12649. {0x11B, 0x87, 0},
  12650. {0x11C, 0x11, 0},
  12651. {0x11D, 0, 0},
  12652. {0x11E, 0x33, 0},
  12653. {0x11F, 0x88, 0},
  12654. {0x120, 0, 0},
  12655. {0x121, 0x87, 0},
  12656. {0x122, 0x11, 0},
  12657. {0x123, 0, 0},
  12658. {0x124, 0x33, 0},
  12659. {0x125, 0x88, 0},
  12660. {0x126, 0x20, 1},
  12661. {0x127, 0x3f, 0},
  12662. {0x128, 0x44, 0},
  12663. {0x129, 0x8c, 0},
  12664. {0x12A, 0x6c, 0},
  12665. {0x12B, 0x22, 0},
  12666. {0x12C, 0xbe, 0},
  12667. {0x12D, 0x55, 0},
  12668. {0x12F, 0xc, 0},
  12669. {0x130, 0xaa, 0},
  12670. {0x131, 0x2, 0},
  12671. {0x132, 0, 0},
  12672. {0x133, 0x10, 0},
  12673. {0x134, 0x1, 0},
  12674. {0x135, 0, 0},
  12675. {0x136, 0, 0},
  12676. {0x137, 0x80, 0},
  12677. {0x138, 0x60, 0},
  12678. {0x139, 0x44, 0},
  12679. {0x13A, 0x55, 0},
  12680. {0x13B, 0x1, 0},
  12681. {0x13C, 0x55, 0},
  12682. {0x13D, 0x1, 0},
  12683. {0x13E, 0x5, 0},
  12684. {0x13F, 0x55, 0},
  12685. {0x140, 0x55, 0},
  12686. {0x146, 0, 0},
  12687. {0x147, 0, 0},
  12688. {0x148, 0, 0},
  12689. {0x149, 0, 0},
  12690. {0x14A, 0, 0},
  12691. {0x14B, 0, 0},
  12692. {0x14C, 0, 0},
  12693. {0x14D, 0, 0},
  12694. {0x14E, 0, 0},
  12695. {0x14F, 0, 0},
  12696. {0x150, 0, 0},
  12697. {0x151, 0, 0},
  12698. {0x154, 0xc, 0},
  12699. {0x155, 0xc, 0},
  12700. {0x156, 0xc, 0},
  12701. {0x157, 0, 0},
  12702. {0x158, 0x2b, 0},
  12703. {0x159, 0x84, 0},
  12704. {0x15A, 0x15, 0},
  12705. {0x15B, 0xf, 0},
  12706. {0x15C, 0, 0},
  12707. {0x15D, 0, 0},
  12708. {0x15E, 0, 1},
  12709. {0x15F, 0, 1},
  12710. {0x160, 0, 1},
  12711. {0x161, 0, 1},
  12712. {0x162, 0, 1},
  12713. {0x163, 0, 1},
  12714. {0x164, 0, 0},
  12715. {0x165, 0, 0},
  12716. {0x166, 0, 0},
  12717. {0x167, 0, 0},
  12718. {0x168, 0, 0},
  12719. {0x169, 0, 0},
  12720. {0x16A, 0, 1},
  12721. {0x16B, 0, 1},
  12722. {0x16C, 0, 1},
  12723. {0x16D, 0, 0},
  12724. {0x170, 0, 0},
  12725. {0x171, 0x77, 0},
  12726. {0x172, 0x77, 0},
  12727. {0x173, 0x77, 0},
  12728. {0x174, 0x77, 0},
  12729. {0x175, 0, 0},
  12730. {0x176, 0x3, 0},
  12731. {0x177, 0x37, 0},
  12732. {0x178, 0x3, 0},
  12733. {0x179, 0, 0},
  12734. {0x17A, 0x21, 0},
  12735. {0x17B, 0x21, 0},
  12736. {0x17C, 0, 0},
  12737. {0x17D, 0xaa, 0},
  12738. {0x17E, 0, 0},
  12739. {0x17F, 0xaa, 0},
  12740. {0x180, 0, 0},
  12741. {0x190, 0, 0},
  12742. {0x191, 0x77, 0},
  12743. {0x192, 0x77, 0},
  12744. {0x193, 0x77, 0},
  12745. {0x194, 0x77, 0},
  12746. {0x195, 0, 0},
  12747. {0x196, 0x3, 0},
  12748. {0x197, 0x37, 0},
  12749. {0x198, 0x3, 0},
  12750. {0x199, 0, 0},
  12751. {0x19A, 0x21, 0},
  12752. {0x19B, 0x21, 0},
  12753. {0x19C, 0, 0},
  12754. {0x19D, 0xaa, 0},
  12755. {0x19E, 0, 0},
  12756. {0x19F, 0xaa, 0},
  12757. {0x1A0, 0, 0},
  12758. {0x1A1, 0x2, 0},
  12759. {0x1A2, 0xf, 0},
  12760. {0x1A3, 0xf, 0},
  12761. {0x1A4, 0, 1},
  12762. {0x1A5, 0, 1},
  12763. {0x1A6, 0, 1},
  12764. {0x1A7, 0x2, 0},
  12765. {0x1A8, 0xf, 0},
  12766. {0x1A9, 0xf, 0},
  12767. {0x1AA, 0, 1},
  12768. {0x1AB, 0, 1},
  12769. {0x1AC, 0, 1},
  12770. {0x1AD, 0x84, 0},
  12771. {0x1AE, 0x60, 0},
  12772. {0x1AF, 0x47, 0},
  12773. {0x1B0, 0x47, 0},
  12774. {0x1B1, 0, 0},
  12775. {0x1B2, 0, 0},
  12776. {0x1B3, 0, 0},
  12777. {0x1B4, 0, 0},
  12778. {0x1B5, 0, 0},
  12779. {0x1B6, 0, 0},
  12780. {0x1B7, 0x5, 1},
  12781. {0x1B8, 0, 0},
  12782. {0x1B9, 0, 0},
  12783. {0x1BA, 0, 0},
  12784. {0x1BB, 0, 0},
  12785. {0x1BC, 0, 0},
  12786. {0x1BD, 0, 0},
  12787. {0x1BE, 0, 0},
  12788. {0x1BF, 0, 0},
  12789. {0x1C0, 0, 0},
  12790. {0x1C1, 0, 0},
  12791. {0x1C2, 0xa0, 1},
  12792. {0x1C3, 0, 0},
  12793. {0x1C4, 0, 0},
  12794. {0x1C5, 0, 0},
  12795. {0x1C6, 0, 0},
  12796. {0x1C7, 0, 0},
  12797. {0x1C8, 0, 0},
  12798. {0x1C9, 0, 0},
  12799. {0x1CA, 0, 0},
  12800. {0xFFFF, 0, 0}
  12801. };
  12802. static struct radio_20xx_regs regs_2057_rev8[] = {
  12803. {0x00, 0x8, 1},
  12804. {0x01, 0x57, 1},
  12805. {0x02, 0x20, 1},
  12806. {0x03, 0x1f, 0},
  12807. {0x04, 0x4, 0},
  12808. {0x05, 0x2, 0},
  12809. {0x06, 0x1, 0},
  12810. {0x07, 0x1, 0},
  12811. {0x08, 0x1, 0},
  12812. {0x09, 0x69, 0},
  12813. {0x0A, 0x66, 0},
  12814. {0x0B, 0x6, 0},
  12815. {0x0C, 0x18, 0},
  12816. {0x0D, 0x3, 0},
  12817. {0x0E, 0x20, 0},
  12818. {0x0F, 0x20, 0},
  12819. {0x10, 0, 0},
  12820. {0x11, 0x7c, 0},
  12821. {0x12, 0x42, 0},
  12822. {0x13, 0xbd, 0},
  12823. {0x14, 0x7, 0},
  12824. {0x15, 0x87, 0},
  12825. {0x16, 0x8, 0},
  12826. {0x17, 0x17, 0},
  12827. {0x18, 0x7, 0},
  12828. {0x19, 0, 0},
  12829. {0x1A, 0x2, 0},
  12830. {0x1B, 0x13, 0},
  12831. {0x1C, 0x3e, 0},
  12832. {0x1D, 0x3e, 0},
  12833. {0x1E, 0x96, 0},
  12834. {0x1F, 0x4, 0},
  12835. {0x20, 0, 0},
  12836. {0x21, 0, 0},
  12837. {0x22, 0x17, 0},
  12838. {0x23, 0x6, 0},
  12839. {0x24, 0x1, 0},
  12840. {0x25, 0x6, 0},
  12841. {0x26, 0x4, 0},
  12842. {0x27, 0xd, 0},
  12843. {0x28, 0xd, 0},
  12844. {0x29, 0x30, 0},
  12845. {0x2A, 0x32, 0},
  12846. {0x2B, 0x8, 0},
  12847. {0x2C, 0x1c, 0},
  12848. {0x2D, 0x2, 0},
  12849. {0x2E, 0x4, 0},
  12850. {0x2F, 0x7f, 0},
  12851. {0x30, 0x27, 0},
  12852. {0x31, 0, 1},
  12853. {0x32, 0, 1},
  12854. {0x33, 0, 1},
  12855. {0x34, 0, 0},
  12856. {0x35, 0x20, 0},
  12857. {0x36, 0x18, 0},
  12858. {0x37, 0x7, 0},
  12859. {0x38, 0x66, 0},
  12860. {0x39, 0x66, 0},
  12861. {0x3A, 0x66, 0},
  12862. {0x3B, 0x66, 0},
  12863. {0x3C, 0xff, 0},
  12864. {0x3D, 0xff, 0},
  12865. {0x3E, 0xff, 0},
  12866. {0x3F, 0xff, 0},
  12867. {0x40, 0x16, 0},
  12868. {0x41, 0x7, 0},
  12869. {0x42, 0x19, 0},
  12870. {0x43, 0x7, 0},
  12871. {0x44, 0x6, 0},
  12872. {0x45, 0x3, 0},
  12873. {0x46, 0x1, 0},
  12874. {0x47, 0x7, 0},
  12875. {0x48, 0x33, 0},
  12876. {0x49, 0x5, 0},
  12877. {0x4A, 0x77, 0},
  12878. {0x4B, 0x66, 0},
  12879. {0x4C, 0x66, 0},
  12880. {0x4D, 0, 0},
  12881. {0x4E, 0x4, 0},
  12882. {0x4F, 0xc, 0},
  12883. {0x50, 0, 0},
  12884. {0x51, 0x70, 1},
  12885. {0x56, 0x7, 0},
  12886. {0x57, 0, 0},
  12887. {0x58, 0, 0},
  12888. {0x59, 0x88, 1},
  12889. {0x5A, 0, 0},
  12890. {0x5B, 0x1f, 0},
  12891. {0x5C, 0x20, 1},
  12892. {0x5D, 0x1, 0},
  12893. {0x5E, 0x30, 0},
  12894. {0x5F, 0x70, 0},
  12895. {0x60, 0, 0},
  12896. {0x61, 0, 0},
  12897. {0x62, 0x33, 1},
  12898. {0x63, 0xf, 1},
  12899. {0x64, 0xf, 1},
  12900. {0x65, 0, 0},
  12901. {0x66, 0x11, 0},
  12902. {0x69, 0, 0},
  12903. {0x6A, 0x7e, 0},
  12904. {0x6B, 0x3f, 0},
  12905. {0x6C, 0x7f, 0},
  12906. {0x6D, 0x78, 0},
  12907. {0x6E, 0x58, 1},
  12908. {0x6F, 0x88, 0},
  12909. {0x70, 0x8, 0},
  12910. {0x71, 0xf, 0},
  12911. {0x72, 0xbc, 0},
  12912. {0x73, 0x8, 0},
  12913. {0x74, 0x60, 0},
  12914. {0x75, 0x13, 1},
  12915. {0x76, 0x70, 0},
  12916. {0x77, 0, 0},
  12917. {0x78, 0, 0},
  12918. {0x79, 0, 0},
  12919. {0x7A, 0x33, 0},
  12920. {0x7B, 0x13, 1},
  12921. {0x7C, 0xf, 1},
  12922. {0x7D, 0xee, 1},
  12923. {0x80, 0x3c, 0},
  12924. {0x81, 0x1, 1},
  12925. {0x82, 0xa, 0},
  12926. {0x83, 0x9d, 0},
  12927. {0x84, 0xa, 0},
  12928. {0x85, 0, 0},
  12929. {0x86, 0x40, 0},
  12930. {0x87, 0x40, 0},
  12931. {0x88, 0x88, 0},
  12932. {0x89, 0x10, 0},
  12933. {0x8A, 0xf0, 0},
  12934. {0x8B, 0x10, 0},
  12935. {0x8C, 0xf0, 0},
  12936. {0x8D, 0, 0},
  12937. {0x8E, 0, 0},
  12938. {0x8F, 0x10, 0},
  12939. {0x90, 0x55, 0},
  12940. {0x91, 0x3f, 1},
  12941. {0x92, 0x36, 1},
  12942. {0x93, 0, 0},
  12943. {0x94, 0, 0},
  12944. {0x95, 0, 0},
  12945. {0x96, 0x87, 0},
  12946. {0x97, 0x11, 0},
  12947. {0x98, 0, 0},
  12948. {0x99, 0x33, 0},
  12949. {0x9A, 0x88, 0},
  12950. {0x9B, 0, 0},
  12951. {0x9C, 0x87, 0},
  12952. {0x9D, 0x11, 0},
  12953. {0x9E, 0, 0},
  12954. {0x9F, 0x33, 0},
  12955. {0xA0, 0x88, 0},
  12956. {0xA1, 0x20, 1},
  12957. {0xA2, 0x3f, 0},
  12958. {0xA3, 0x44, 0},
  12959. {0xA4, 0x8c, 0},
  12960. {0xA5, 0x6c, 0},
  12961. {0xA6, 0x22, 0},
  12962. {0xA7, 0xbe, 0},
  12963. {0xA8, 0x55, 0},
  12964. {0xAA, 0xc, 0},
  12965. {0xAB, 0xaa, 0},
  12966. {0xAC, 0x2, 0},
  12967. {0xAD, 0, 0},
  12968. {0xAE, 0x10, 0},
  12969. {0xAF, 0x1, 0},
  12970. {0xB0, 0, 0},
  12971. {0xB1, 0, 0},
  12972. {0xB2, 0x80, 0},
  12973. {0xB3, 0x60, 0},
  12974. {0xB4, 0x44, 0},
  12975. {0xB5, 0x55, 0},
  12976. {0xB6, 0x1, 0},
  12977. {0xB7, 0x55, 0},
  12978. {0xB8, 0x1, 0},
  12979. {0xB9, 0x5, 0},
  12980. {0xBA, 0x55, 0},
  12981. {0xBB, 0x55, 0},
  12982. {0xC1, 0, 0},
  12983. {0xC2, 0, 0},
  12984. {0xC3, 0, 0},
  12985. {0xC4, 0, 0},
  12986. {0xC5, 0, 0},
  12987. {0xC6, 0, 0},
  12988. {0xC7, 0, 0},
  12989. {0xC8, 0, 0},
  12990. {0xC9, 0x1, 1},
  12991. {0xCA, 0, 0},
  12992. {0xCB, 0, 0},
  12993. {0xCC, 0, 0},
  12994. {0xCD, 0, 0},
  12995. {0xCE, 0x5e, 0},
  12996. {0xCF, 0xc, 0},
  12997. {0xD0, 0xc, 0},
  12998. {0xD1, 0xc, 0},
  12999. {0xD2, 0, 0},
  13000. {0xD3, 0x2b, 0},
  13001. {0xD4, 0xc, 0},
  13002. {0xD5, 0, 0},
  13003. {0xD6, 0x70, 1},
  13004. {0xDB, 0x7, 0},
  13005. {0xDC, 0, 0},
  13006. {0xDD, 0, 0},
  13007. {0xDE, 0x88, 1},
  13008. {0xDF, 0, 0},
  13009. {0xE0, 0x1f, 0},
  13010. {0xE1, 0x20, 1},
  13011. {0xE2, 0x1, 0},
  13012. {0xE3, 0x30, 0},
  13013. {0xE4, 0x70, 0},
  13014. {0xE5, 0, 0},
  13015. {0xE6, 0, 0},
  13016. {0xE7, 0x33, 0},
  13017. {0xE8, 0xf, 1},
  13018. {0xE9, 0xf, 1},
  13019. {0xEA, 0, 0},
  13020. {0xEB, 0x11, 0},
  13021. {0xEE, 0, 0},
  13022. {0xEF, 0x7e, 0},
  13023. {0xF0, 0x3f, 0},
  13024. {0xF1, 0x7f, 0},
  13025. {0xF2, 0x78, 0},
  13026. {0xF3, 0x58, 1},
  13027. {0xF4, 0x88, 0},
  13028. {0xF5, 0x8, 0},
  13029. {0xF6, 0xf, 0},
  13030. {0xF7, 0xbc, 0},
  13031. {0xF8, 0x8, 0},
  13032. {0xF9, 0x60, 0},
  13033. {0xFA, 0x13, 1},
  13034. {0xFB, 0x70, 0},
  13035. {0xFC, 0, 0},
  13036. {0xFD, 0, 0},
  13037. {0xFE, 0, 0},
  13038. {0xFF, 0x33, 0},
  13039. {0x100, 0x13, 1},
  13040. {0x101, 0xf, 1},
  13041. {0x102, 0xee, 1},
  13042. {0x105, 0x3c, 0},
  13043. {0x106, 0x1, 1},
  13044. {0x107, 0xa, 0},
  13045. {0x108, 0x9d, 0},
  13046. {0x109, 0xa, 0},
  13047. {0x10A, 0, 0},
  13048. {0x10B, 0x40, 0},
  13049. {0x10C, 0x40, 0},
  13050. {0x10D, 0x88, 0},
  13051. {0x10E, 0x10, 0},
  13052. {0x10F, 0xf0, 0},
  13053. {0x110, 0x10, 0},
  13054. {0x111, 0xf0, 0},
  13055. {0x112, 0, 0},
  13056. {0x113, 0, 0},
  13057. {0x114, 0x10, 0},
  13058. {0x115, 0x55, 0},
  13059. {0x116, 0x3f, 1},
  13060. {0x117, 0x36, 1},
  13061. {0x118, 0, 0},
  13062. {0x119, 0, 0},
  13063. {0x11A, 0, 0},
  13064. {0x11B, 0x87, 0},
  13065. {0x11C, 0x11, 0},
  13066. {0x11D, 0, 0},
  13067. {0x11E, 0x33, 0},
  13068. {0x11F, 0x88, 0},
  13069. {0x120, 0, 0},
  13070. {0x121, 0x87, 0},
  13071. {0x122, 0x11, 0},
  13072. {0x123, 0, 0},
  13073. {0x124, 0x33, 0},
  13074. {0x125, 0x88, 0},
  13075. {0x126, 0x20, 1},
  13076. {0x127, 0x3f, 0},
  13077. {0x128, 0x44, 0},
  13078. {0x129, 0x8c, 0},
  13079. {0x12A, 0x6c, 0},
  13080. {0x12B, 0x22, 0},
  13081. {0x12C, 0xbe, 0},
  13082. {0x12D, 0x55, 0},
  13083. {0x12F, 0xc, 0},
  13084. {0x130, 0xaa, 0},
  13085. {0x131, 0x2, 0},
  13086. {0x132, 0, 0},
  13087. {0x133, 0x10, 0},
  13088. {0x134, 0x1, 0},
  13089. {0x135, 0, 0},
  13090. {0x136, 0, 0},
  13091. {0x137, 0x80, 0},
  13092. {0x138, 0x60, 0},
  13093. {0x139, 0x44, 0},
  13094. {0x13A, 0x55, 0},
  13095. {0x13B, 0x1, 0},
  13096. {0x13C, 0x55, 0},
  13097. {0x13D, 0x1, 0},
  13098. {0x13E, 0x5, 0},
  13099. {0x13F, 0x55, 0},
  13100. {0x140, 0x55, 0},
  13101. {0x146, 0, 0},
  13102. {0x147, 0, 0},
  13103. {0x148, 0, 0},
  13104. {0x149, 0, 0},
  13105. {0x14A, 0, 0},
  13106. {0x14B, 0, 0},
  13107. {0x14C, 0, 0},
  13108. {0x14D, 0, 0},
  13109. {0x14E, 0x1, 1},
  13110. {0x14F, 0, 0},
  13111. {0x150, 0, 0},
  13112. {0x151, 0, 0},
  13113. {0x154, 0xc, 0},
  13114. {0x155, 0xc, 0},
  13115. {0x156, 0xc, 0},
  13116. {0x157, 0, 0},
  13117. {0x158, 0x2b, 0},
  13118. {0x159, 0x84, 0},
  13119. {0x15A, 0x15, 0},
  13120. {0x15B, 0xf, 0},
  13121. {0x15C, 0, 0},
  13122. {0x15D, 0, 0},
  13123. {0x15E, 0, 1},
  13124. {0x15F, 0, 1},
  13125. {0x160, 0, 1},
  13126. {0x161, 0, 1},
  13127. {0x162, 0, 1},
  13128. {0x163, 0, 1},
  13129. {0x164, 0, 0},
  13130. {0x165, 0, 0},
  13131. {0x166, 0, 0},
  13132. {0x167, 0, 0},
  13133. {0x168, 0, 0},
  13134. {0x169, 0, 0},
  13135. {0x16A, 0, 1},
  13136. {0x16B, 0, 1},
  13137. {0x16C, 0, 1},
  13138. {0x16D, 0, 0},
  13139. {0x170, 0, 0},
  13140. {0x171, 0x77, 0},
  13141. {0x172, 0x77, 0},
  13142. {0x173, 0x77, 0},
  13143. {0x174, 0x77, 0},
  13144. {0x175, 0, 0},
  13145. {0x176, 0x3, 0},
  13146. {0x177, 0x37, 0},
  13147. {0x178, 0x3, 0},
  13148. {0x179, 0, 0},
  13149. {0x17A, 0x21, 0},
  13150. {0x17B, 0x21, 0},
  13151. {0x17C, 0, 0},
  13152. {0x17D, 0xaa, 0},
  13153. {0x17E, 0, 0},
  13154. {0x17F, 0xaa, 0},
  13155. {0x180, 0, 0},
  13156. {0x190, 0, 0},
  13157. {0x191, 0x77, 0},
  13158. {0x192, 0x77, 0},
  13159. {0x193, 0x77, 0},
  13160. {0x194, 0x77, 0},
  13161. {0x195, 0, 0},
  13162. {0x196, 0x3, 0},
  13163. {0x197, 0x37, 0},
  13164. {0x198, 0x3, 0},
  13165. {0x199, 0, 0},
  13166. {0x19A, 0x21, 0},
  13167. {0x19B, 0x21, 0},
  13168. {0x19C, 0, 0},
  13169. {0x19D, 0xaa, 0},
  13170. {0x19E, 0, 0},
  13171. {0x19F, 0xaa, 0},
  13172. {0x1A0, 0, 0},
  13173. {0x1A1, 0x2, 0},
  13174. {0x1A2, 0xf, 0},
  13175. {0x1A3, 0xf, 0},
  13176. {0x1A4, 0, 1},
  13177. {0x1A5, 0, 1},
  13178. {0x1A6, 0, 1},
  13179. {0x1A7, 0x2, 0},
  13180. {0x1A8, 0xf, 0},
  13181. {0x1A9, 0xf, 0},
  13182. {0x1AA, 0, 1},
  13183. {0x1AB, 0, 1},
  13184. {0x1AC, 0, 1},
  13185. {0x1AD, 0x84, 0},
  13186. {0x1AE, 0x60, 0},
  13187. {0x1AF, 0x47, 0},
  13188. {0x1B0, 0x47, 0},
  13189. {0x1B1, 0, 0},
  13190. {0x1B2, 0, 0},
  13191. {0x1B3, 0, 0},
  13192. {0x1B4, 0, 0},
  13193. {0x1B5, 0, 0},
  13194. {0x1B6, 0, 0},
  13195. {0x1B7, 0x5, 1},
  13196. {0x1B8, 0, 0},
  13197. {0x1B9, 0, 0},
  13198. {0x1BA, 0, 0},
  13199. {0x1BB, 0, 0},
  13200. {0x1BC, 0, 0},
  13201. {0x1BD, 0, 0},
  13202. {0x1BE, 0, 0},
  13203. {0x1BF, 0, 0},
  13204. {0x1C0, 0, 0},
  13205. {0x1C1, 0, 0},
  13206. {0x1C2, 0xa0, 1},
  13207. {0x1C3, 0, 0},
  13208. {0x1C4, 0, 0},
  13209. {0x1C5, 0, 0},
  13210. {0x1C6, 0, 0},
  13211. {0x1C7, 0, 0},
  13212. {0x1C8, 0, 0},
  13213. {0x1C9, 0, 0},
  13214. {0x1CA, 0, 0},
  13215. {0xFFFF, 0, 0}
  13216. };
  13217. static s16 nphy_def_lnagains[] = { -2, 10, 19, 25 };
  13218. static s32 nphy_lnagain_est0[] = { -315, 40370 };
  13219. static s32 nphy_lnagain_est1[] = { -224, 23242 };
  13220. static const u16 tbl_iqcal_gainparams_nphy[2][NPHY_IQCAL_NUMGAINS][8] = {
  13221. {
  13222. {0x000, 0, 0, 2, 0x69, 0x69, 0x69, 0x69},
  13223. {0x700, 7, 0, 0, 0x69, 0x69, 0x69, 0x69},
  13224. {0x710, 7, 1, 0, 0x68, 0x68, 0x68, 0x68},
  13225. {0x720, 7, 2, 0, 0x67, 0x67, 0x67, 0x67},
  13226. {0x730, 7, 3, 0, 0x66, 0x66, 0x66, 0x66},
  13227. {0x740, 7, 4, 0, 0x65, 0x65, 0x65, 0x65},
  13228. {0x741, 7, 4, 1, 0x65, 0x65, 0x65, 0x65},
  13229. {0x742, 7, 4, 2, 0x65, 0x65, 0x65, 0x65},
  13230. {0x743, 7, 4, 3, 0x65, 0x65, 0x65, 0x65}
  13231. },
  13232. {
  13233. {0x000, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13234. {0x700, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13235. {0x710, 7, 1, 0, 0x79, 0x79, 0x79, 0x79},
  13236. {0x720, 7, 2, 0, 0x78, 0x78, 0x78, 0x78},
  13237. {0x730, 7, 3, 0, 0x78, 0x78, 0x78, 0x78},
  13238. {0x740, 7, 4, 0, 0x78, 0x78, 0x78, 0x78},
  13239. {0x741, 7, 4, 1, 0x78, 0x78, 0x78, 0x78},
  13240. {0x742, 7, 4, 2, 0x78, 0x78, 0x78, 0x78},
  13241. {0x743, 7, 4, 3, 0x78, 0x78, 0x78, 0x78}
  13242. }
  13243. };
  13244. static const u32 nphy_tpc_txgain[] = {
  13245. 0x03cc2b44, 0x03cc2b42, 0x03cc2a44, 0x03cc2a42,
  13246. 0x03cc2944, 0x03c82b44, 0x03c82b42, 0x03c82a44,
  13247. 0x03c82a42, 0x03c82944, 0x03c82942, 0x03c82844,
  13248. 0x03c82842, 0x03c42b44, 0x03c42b42, 0x03c42a44,
  13249. 0x03c42a42, 0x03c42944, 0x03c42942, 0x03c42844,
  13250. 0x03c42842, 0x03c42744, 0x03c42742, 0x03c42644,
  13251. 0x03c42642, 0x03c42544, 0x03c42542, 0x03c42444,
  13252. 0x03c42442, 0x03c02b44, 0x03c02b42, 0x03c02a44,
  13253. 0x03c02a42, 0x03c02944, 0x03c02942, 0x03c02844,
  13254. 0x03c02842, 0x03c02744, 0x03c02742, 0x03b02b44,
  13255. 0x03b02b42, 0x03b02a44, 0x03b02a42, 0x03b02944,
  13256. 0x03b02942, 0x03b02844, 0x03b02842, 0x03b02744,
  13257. 0x03b02742, 0x03b02644, 0x03b02642, 0x03b02544,
  13258. 0x03b02542, 0x03a02b44, 0x03a02b42, 0x03a02a44,
  13259. 0x03a02a42, 0x03a02944, 0x03a02942, 0x03a02844,
  13260. 0x03a02842, 0x03a02744, 0x03a02742, 0x03902b44,
  13261. 0x03902b42, 0x03902a44, 0x03902a42, 0x03902944,
  13262. 0x03902942, 0x03902844, 0x03902842, 0x03902744,
  13263. 0x03902742, 0x03902644, 0x03902642, 0x03902544,
  13264. 0x03902542, 0x03802b44, 0x03802b42, 0x03802a44,
  13265. 0x03802a42, 0x03802944, 0x03802942, 0x03802844,
  13266. 0x03802842, 0x03802744, 0x03802742, 0x03802644,
  13267. 0x03802642, 0x03802544, 0x03802542, 0x03802444,
  13268. 0x03802442, 0x03802344, 0x03802342, 0x03802244,
  13269. 0x03802242, 0x03802144, 0x03802142, 0x03802044,
  13270. 0x03802042, 0x03801f44, 0x03801f42, 0x03801e44,
  13271. 0x03801e42, 0x03801d44, 0x03801d42, 0x03801c44,
  13272. 0x03801c42, 0x03801b44, 0x03801b42, 0x03801a44,
  13273. 0x03801a42, 0x03801944, 0x03801942, 0x03801844,
  13274. 0x03801842, 0x03801744, 0x03801742, 0x03801644,
  13275. 0x03801642, 0x03801544, 0x03801542, 0x03801444,
  13276. 0x03801442, 0x03801344, 0x03801342, 0x00002b00
  13277. };
  13278. static const u16 nphy_tpc_loscale[] = {
  13279. 256, 256, 271, 271, 287, 256, 256, 271,
  13280. 271, 287, 287, 304, 304, 256, 256, 271,
  13281. 271, 287, 287, 304, 304, 322, 322, 341,
  13282. 341, 362, 362, 383, 383, 256, 256, 271,
  13283. 271, 287, 287, 304, 304, 322, 322, 256,
  13284. 256, 271, 271, 287, 287, 304, 304, 322,
  13285. 322, 341, 341, 362, 362, 256, 256, 271,
  13286. 271, 287, 287, 304, 304, 322, 322, 256,
  13287. 256, 271, 271, 287, 287, 304, 304, 322,
  13288. 322, 341, 341, 362, 362, 256, 256, 271,
  13289. 271, 287, 287, 304, 304, 322, 322, 341,
  13290. 341, 362, 362, 383, 383, 406, 406, 430,
  13291. 430, 455, 455, 482, 482, 511, 511, 541,
  13292. 541, 573, 573, 607, 607, 643, 643, 681,
  13293. 681, 722, 722, 764, 764, 810, 810, 858,
  13294. 858, 908, 908, 962, 962, 1019, 1019, 256
  13295. };
  13296. static u32 nphy_tpc_txgain_ipa[] = {
  13297. 0x5ff7002d, 0x5ff7002b, 0x5ff7002a, 0x5ff70029,
  13298. 0x5ff70028, 0x5ff70027, 0x5ff70026, 0x5ff70025,
  13299. 0x5ef7002d, 0x5ef7002b, 0x5ef7002a, 0x5ef70029,
  13300. 0x5ef70028, 0x5ef70027, 0x5ef70026, 0x5ef70025,
  13301. 0x5df7002d, 0x5df7002b, 0x5df7002a, 0x5df70029,
  13302. 0x5df70028, 0x5df70027, 0x5df70026, 0x5df70025,
  13303. 0x5cf7002d, 0x5cf7002b, 0x5cf7002a, 0x5cf70029,
  13304. 0x5cf70028, 0x5cf70027, 0x5cf70026, 0x5cf70025,
  13305. 0x5bf7002d, 0x5bf7002b, 0x5bf7002a, 0x5bf70029,
  13306. 0x5bf70028, 0x5bf70027, 0x5bf70026, 0x5bf70025,
  13307. 0x5af7002d, 0x5af7002b, 0x5af7002a, 0x5af70029,
  13308. 0x5af70028, 0x5af70027, 0x5af70026, 0x5af70025,
  13309. 0x59f7002d, 0x59f7002b, 0x59f7002a, 0x59f70029,
  13310. 0x59f70028, 0x59f70027, 0x59f70026, 0x59f70025,
  13311. 0x58f7002d, 0x58f7002b, 0x58f7002a, 0x58f70029,
  13312. 0x58f70028, 0x58f70027, 0x58f70026, 0x58f70025,
  13313. 0x57f7002d, 0x57f7002b, 0x57f7002a, 0x57f70029,
  13314. 0x57f70028, 0x57f70027, 0x57f70026, 0x57f70025,
  13315. 0x56f7002d, 0x56f7002b, 0x56f7002a, 0x56f70029,
  13316. 0x56f70028, 0x56f70027, 0x56f70026, 0x56f70025,
  13317. 0x55f7002d, 0x55f7002b, 0x55f7002a, 0x55f70029,
  13318. 0x55f70028, 0x55f70027, 0x55f70026, 0x55f70025,
  13319. 0x54f7002d, 0x54f7002b, 0x54f7002a, 0x54f70029,
  13320. 0x54f70028, 0x54f70027, 0x54f70026, 0x54f70025,
  13321. 0x53f7002d, 0x53f7002b, 0x53f7002a, 0x53f70029,
  13322. 0x53f70028, 0x53f70027, 0x53f70026, 0x53f70025,
  13323. 0x52f7002d, 0x52f7002b, 0x52f7002a, 0x52f70029,
  13324. 0x52f70028, 0x52f70027, 0x52f70026, 0x52f70025,
  13325. 0x51f7002d, 0x51f7002b, 0x51f7002a, 0x51f70029,
  13326. 0x51f70028, 0x51f70027, 0x51f70026, 0x51f70025,
  13327. 0x50f7002d, 0x50f7002b, 0x50f7002a, 0x50f70029,
  13328. 0x50f70028, 0x50f70027, 0x50f70026, 0x50f70025
  13329. };
  13330. static u32 nphy_tpc_txgain_ipa_rev5[] = {
  13331. 0x1ff7002d, 0x1ff7002b, 0x1ff7002a, 0x1ff70029,
  13332. 0x1ff70028, 0x1ff70027, 0x1ff70026, 0x1ff70025,
  13333. 0x1ef7002d, 0x1ef7002b, 0x1ef7002a, 0x1ef70029,
  13334. 0x1ef70028, 0x1ef70027, 0x1ef70026, 0x1ef70025,
  13335. 0x1df7002d, 0x1df7002b, 0x1df7002a, 0x1df70029,
  13336. 0x1df70028, 0x1df70027, 0x1df70026, 0x1df70025,
  13337. 0x1cf7002d, 0x1cf7002b, 0x1cf7002a, 0x1cf70029,
  13338. 0x1cf70028, 0x1cf70027, 0x1cf70026, 0x1cf70025,
  13339. 0x1bf7002d, 0x1bf7002b, 0x1bf7002a, 0x1bf70029,
  13340. 0x1bf70028, 0x1bf70027, 0x1bf70026, 0x1bf70025,
  13341. 0x1af7002d, 0x1af7002b, 0x1af7002a, 0x1af70029,
  13342. 0x1af70028, 0x1af70027, 0x1af70026, 0x1af70025,
  13343. 0x19f7002d, 0x19f7002b, 0x19f7002a, 0x19f70029,
  13344. 0x19f70028, 0x19f70027, 0x19f70026, 0x19f70025,
  13345. 0x18f7002d, 0x18f7002b, 0x18f7002a, 0x18f70029,
  13346. 0x18f70028, 0x18f70027, 0x18f70026, 0x18f70025,
  13347. 0x17f7002d, 0x17f7002b, 0x17f7002a, 0x17f70029,
  13348. 0x17f70028, 0x17f70027, 0x17f70026, 0x17f70025,
  13349. 0x16f7002d, 0x16f7002b, 0x16f7002a, 0x16f70029,
  13350. 0x16f70028, 0x16f70027, 0x16f70026, 0x16f70025,
  13351. 0x15f7002d, 0x15f7002b, 0x15f7002a, 0x15f70029,
  13352. 0x15f70028, 0x15f70027, 0x15f70026, 0x15f70025,
  13353. 0x14f7002d, 0x14f7002b, 0x14f7002a, 0x14f70029,
  13354. 0x14f70028, 0x14f70027, 0x14f70026, 0x14f70025,
  13355. 0x13f7002d, 0x13f7002b, 0x13f7002a, 0x13f70029,
  13356. 0x13f70028, 0x13f70027, 0x13f70026, 0x13f70025,
  13357. 0x12f7002d, 0x12f7002b, 0x12f7002a, 0x12f70029,
  13358. 0x12f70028, 0x12f70027, 0x12f70026, 0x12f70025,
  13359. 0x11f7002d, 0x11f7002b, 0x11f7002a, 0x11f70029,
  13360. 0x11f70028, 0x11f70027, 0x11f70026, 0x11f70025,
  13361. 0x10f7002d, 0x10f7002b, 0x10f7002a, 0x10f70029,
  13362. 0x10f70028, 0x10f70027, 0x10f70026, 0x10f70025
  13363. };
  13364. static u32 nphy_tpc_txgain_ipa_rev6[] = {
  13365. 0x0ff7002d, 0x0ff7002b, 0x0ff7002a, 0x0ff70029,
  13366. 0x0ff70028, 0x0ff70027, 0x0ff70026, 0x0ff70025,
  13367. 0x0ef7002d, 0x0ef7002b, 0x0ef7002a, 0x0ef70029,
  13368. 0x0ef70028, 0x0ef70027, 0x0ef70026, 0x0ef70025,
  13369. 0x0df7002d, 0x0df7002b, 0x0df7002a, 0x0df70029,
  13370. 0x0df70028, 0x0df70027, 0x0df70026, 0x0df70025,
  13371. 0x0cf7002d, 0x0cf7002b, 0x0cf7002a, 0x0cf70029,
  13372. 0x0cf70028, 0x0cf70027, 0x0cf70026, 0x0cf70025,
  13373. 0x0bf7002d, 0x0bf7002b, 0x0bf7002a, 0x0bf70029,
  13374. 0x0bf70028, 0x0bf70027, 0x0bf70026, 0x0bf70025,
  13375. 0x0af7002d, 0x0af7002b, 0x0af7002a, 0x0af70029,
  13376. 0x0af70028, 0x0af70027, 0x0af70026, 0x0af70025,
  13377. 0x09f7002d, 0x09f7002b, 0x09f7002a, 0x09f70029,
  13378. 0x09f70028, 0x09f70027, 0x09f70026, 0x09f70025,
  13379. 0x08f7002d, 0x08f7002b, 0x08f7002a, 0x08f70029,
  13380. 0x08f70028, 0x08f70027, 0x08f70026, 0x08f70025,
  13381. 0x07f7002d, 0x07f7002b, 0x07f7002a, 0x07f70029,
  13382. 0x07f70028, 0x07f70027, 0x07f70026, 0x07f70025,
  13383. 0x06f7002d, 0x06f7002b, 0x06f7002a, 0x06f70029,
  13384. 0x06f70028, 0x06f70027, 0x06f70026, 0x06f70025,
  13385. 0x05f7002d, 0x05f7002b, 0x05f7002a, 0x05f70029,
  13386. 0x05f70028, 0x05f70027, 0x05f70026, 0x05f70025,
  13387. 0x04f7002d, 0x04f7002b, 0x04f7002a, 0x04f70029,
  13388. 0x04f70028, 0x04f70027, 0x04f70026, 0x04f70025,
  13389. 0x03f7002d, 0x03f7002b, 0x03f7002a, 0x03f70029,
  13390. 0x03f70028, 0x03f70027, 0x03f70026, 0x03f70025,
  13391. 0x02f7002d, 0x02f7002b, 0x02f7002a, 0x02f70029,
  13392. 0x02f70028, 0x02f70027, 0x02f70026, 0x02f70025,
  13393. 0x01f7002d, 0x01f7002b, 0x01f7002a, 0x01f70029,
  13394. 0x01f70028, 0x01f70027, 0x01f70026, 0x01f70025,
  13395. 0x00f7002d, 0x00f7002b, 0x00f7002a, 0x00f70029,
  13396. 0x00f70028, 0x00f70027, 0x00f70026, 0x00f70025
  13397. };
  13398. static u32 nphy_tpc_txgain_ipa_2g_2057rev3[] = {
  13399. 0x70ff0040, 0x70f7003e, 0x70ef003b, 0x70e70039,
  13400. 0x70df0037, 0x70d70036, 0x70cf0033, 0x70c70032,
  13401. 0x70bf0031, 0x70b7002f, 0x70af002e, 0x70a7002d,
  13402. 0x709f002d, 0x7097002c, 0x708f002c, 0x7087002c,
  13403. 0x707f002b, 0x7077002c, 0x706f002c, 0x7067002d,
  13404. 0x705f002e, 0x705f002b, 0x705f0029, 0x7057002a,
  13405. 0x70570028, 0x704f002a, 0x7047002c, 0x7047002a,
  13406. 0x70470028, 0x70470026, 0x70470024, 0x70470022,
  13407. 0x7047001f, 0x70370027, 0x70370024, 0x70370022,
  13408. 0x70370020, 0x7037001f, 0x7037001d, 0x7037001b,
  13409. 0x7037001a, 0x70370018, 0x70370017, 0x7027001e,
  13410. 0x7027001d, 0x7027001a, 0x701f0024, 0x701f0022,
  13411. 0x701f0020, 0x701f001f, 0x701f001d, 0x701f001b,
  13412. 0x701f001a, 0x701f0018, 0x701f0017, 0x701f0015,
  13413. 0x701f0014, 0x701f0013, 0x701f0012, 0x701f0011,
  13414. 0x70170019, 0x70170018, 0x70170016, 0x70170015,
  13415. 0x70170014, 0x70170013, 0x70170012, 0x70170010,
  13416. 0x70170010, 0x7017000f, 0x700f001d, 0x700f001b,
  13417. 0x700f001a, 0x700f0018, 0x700f0017, 0x700f0015,
  13418. 0x700f0015, 0x700f0013, 0x700f0013, 0x700f0011,
  13419. 0x700f0010, 0x700f0010, 0x700f000f, 0x700f000e,
  13420. 0x700f000d, 0x700f000c, 0x700f000b, 0x700f000b,
  13421. 0x700f000b, 0x700f000a, 0x700f0009, 0x700f0009,
  13422. 0x700f0009, 0x700f0008, 0x700f0007, 0x700f0007,
  13423. 0x700f0006, 0x700f0006, 0x700f0006, 0x700f0006,
  13424. 0x700f0005, 0x700f0005, 0x700f0005, 0x700f0004,
  13425. 0x700f0004, 0x700f0004, 0x700f0004, 0x700f0004,
  13426. 0x700f0004, 0x700f0003, 0x700f0003, 0x700f0003,
  13427. 0x700f0003, 0x700f0002, 0x700f0002, 0x700f0002,
  13428. 0x700f0002, 0x700f0002, 0x700f0002, 0x700f0001,
  13429. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001,
  13430. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001
  13431. };
  13432. static u32 nphy_tpc_txgain_ipa_2g_2057rev4n6[] = {
  13433. 0xf0ff0040, 0xf0f7003e, 0xf0ef003b, 0xf0e70039,
  13434. 0xf0df0037, 0xf0d70036, 0xf0cf0033, 0xf0c70032,
  13435. 0xf0bf0031, 0xf0b7002f, 0xf0af002e, 0xf0a7002d,
  13436. 0xf09f002d, 0xf097002c, 0xf08f002c, 0xf087002c,
  13437. 0xf07f002b, 0xf077002c, 0xf06f002c, 0xf067002d,
  13438. 0xf05f002e, 0xf05f002b, 0xf05f0029, 0xf057002a,
  13439. 0xf0570028, 0xf04f002a, 0xf047002c, 0xf047002a,
  13440. 0xf0470028, 0xf0470026, 0xf0470024, 0xf0470022,
  13441. 0xf047001f, 0xf0370027, 0xf0370024, 0xf0370022,
  13442. 0xf0370020, 0xf037001f, 0xf037001d, 0xf037001b,
  13443. 0xf037001a, 0xf0370018, 0xf0370017, 0xf027001e,
  13444. 0xf027001d, 0xf027001a, 0xf01f0024, 0xf01f0022,
  13445. 0xf01f0020, 0xf01f001f, 0xf01f001d, 0xf01f001b,
  13446. 0xf01f001a, 0xf01f0018, 0xf01f0017, 0xf01f0015,
  13447. 0xf01f0014, 0xf01f0013, 0xf01f0012, 0xf01f0011,
  13448. 0xf0170019, 0xf0170018, 0xf0170016, 0xf0170015,
  13449. 0xf0170014, 0xf0170013, 0xf0170012, 0xf0170010,
  13450. 0xf0170010, 0xf017000f, 0xf00f001d, 0xf00f001b,
  13451. 0xf00f001a, 0xf00f0018, 0xf00f0017, 0xf00f0015,
  13452. 0xf00f0015, 0xf00f0013, 0xf00f0013, 0xf00f0011,
  13453. 0xf00f0010, 0xf00f0010, 0xf00f000f, 0xf00f000e,
  13454. 0xf00f000d, 0xf00f000c, 0xf00f000b, 0xf00f000b,
  13455. 0xf00f000b, 0xf00f000a, 0xf00f0009, 0xf00f0009,
  13456. 0xf00f0009, 0xf00f0008, 0xf00f0007, 0xf00f0007,
  13457. 0xf00f0006, 0xf00f0006, 0xf00f0006, 0xf00f0006,
  13458. 0xf00f0005, 0xf00f0005, 0xf00f0005, 0xf00f0004,
  13459. 0xf00f0004, 0xf00f0004, 0xf00f0004, 0xf00f0004,
  13460. 0xf00f0004, 0xf00f0003, 0xf00f0003, 0xf00f0003,
  13461. 0xf00f0003, 0xf00f0002, 0xf00f0002, 0xf00f0002,
  13462. 0xf00f0002, 0xf00f0002, 0xf00f0002, 0xf00f0001,
  13463. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001,
  13464. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001
  13465. };
  13466. static u32 nphy_tpc_txgain_ipa_2g_2057rev5[] = {
  13467. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13468. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13469. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13470. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13471. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13472. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13473. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13474. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13475. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13476. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13477. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13478. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13479. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13480. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13481. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13482. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13483. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13484. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13485. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13486. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13487. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13488. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13489. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13490. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13491. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13492. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13493. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13494. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13495. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13496. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13497. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13498. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13499. };
  13500. static u32 nphy_tpc_txgain_ipa_2g_2057rev7[] = {
  13501. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13502. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13503. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13504. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13505. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13506. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13507. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13508. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13509. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13510. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13511. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13512. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13513. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13514. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13515. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13516. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13517. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13518. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13519. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13520. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13521. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13522. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13523. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13524. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13525. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13526. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13527. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13528. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13529. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13530. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13531. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13532. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13533. };
  13534. static u32 nphy_tpc_txgain_ipa_5g[] = {
  13535. 0x7ff70035, 0x7ff70033, 0x7ff70032, 0x7ff70031,
  13536. 0x7ff7002f, 0x7ff7002e, 0x7ff7002d, 0x7ff7002b,
  13537. 0x7ff7002a, 0x7ff70029, 0x7ff70028, 0x7ff70027,
  13538. 0x7ff70026, 0x7ff70024, 0x7ff70023, 0x7ff70022,
  13539. 0x7ef70028, 0x7ef70027, 0x7ef70026, 0x7ef70025,
  13540. 0x7ef70024, 0x7ef70023, 0x7df70028, 0x7df70027,
  13541. 0x7df70026, 0x7df70025, 0x7df70024, 0x7df70023,
  13542. 0x7df70022, 0x7cf70029, 0x7cf70028, 0x7cf70027,
  13543. 0x7cf70026, 0x7cf70025, 0x7cf70023, 0x7cf70022,
  13544. 0x7bf70029, 0x7bf70028, 0x7bf70026, 0x7bf70025,
  13545. 0x7bf70024, 0x7bf70023, 0x7bf70022, 0x7bf70021,
  13546. 0x7af70029, 0x7af70028, 0x7af70027, 0x7af70026,
  13547. 0x7af70025, 0x7af70024, 0x7af70023, 0x7af70022,
  13548. 0x79f70029, 0x79f70028, 0x79f70027, 0x79f70026,
  13549. 0x79f70025, 0x79f70024, 0x79f70023, 0x79f70022,
  13550. 0x78f70029, 0x78f70028, 0x78f70027, 0x78f70026,
  13551. 0x78f70025, 0x78f70024, 0x78f70023, 0x78f70022,
  13552. 0x77f70029, 0x77f70028, 0x77f70027, 0x77f70026,
  13553. 0x77f70025, 0x77f70024, 0x77f70023, 0x77f70022,
  13554. 0x76f70029, 0x76f70028, 0x76f70027, 0x76f70026,
  13555. 0x76f70024, 0x76f70023, 0x76f70022, 0x76f70021,
  13556. 0x75f70029, 0x75f70028, 0x75f70027, 0x75f70026,
  13557. 0x75f70025, 0x75f70024, 0x75f70023, 0x74f70029,
  13558. 0x74f70028, 0x74f70026, 0x74f70025, 0x74f70024,
  13559. 0x74f70023, 0x74f70022, 0x73f70029, 0x73f70027,
  13560. 0x73f70026, 0x73f70025, 0x73f70024, 0x73f70023,
  13561. 0x73f70022, 0x72f70028, 0x72f70027, 0x72f70026,
  13562. 0x72f70025, 0x72f70024, 0x72f70023, 0x72f70022,
  13563. 0x71f70028, 0x71f70027, 0x71f70026, 0x71f70025,
  13564. 0x71f70024, 0x71f70023, 0x70f70028, 0x70f70027,
  13565. 0x70f70026, 0x70f70024, 0x70f70023, 0x70f70022,
  13566. 0x70f70021, 0x70f70020, 0x70f70020, 0x70f7001f
  13567. };
  13568. static u32 nphy_tpc_txgain_ipa_5g_2057[] = {
  13569. 0x7f7f0044, 0x7f7f0040, 0x7f7f003c, 0x7f7f0039,
  13570. 0x7f7f0036, 0x7e7f003c, 0x7e7f0038, 0x7e7f0035,
  13571. 0x7d7f003c, 0x7d7f0039, 0x7d7f0036, 0x7d7f0033,
  13572. 0x7c7f003b, 0x7c7f0037, 0x7c7f0034, 0x7b7f003a,
  13573. 0x7b7f0036, 0x7b7f0033, 0x7a7f003c, 0x7a7f0039,
  13574. 0x7a7f0036, 0x7a7f0033, 0x797f003b, 0x797f0038,
  13575. 0x797f0035, 0x797f0032, 0x787f003b, 0x787f0038,
  13576. 0x787f0035, 0x787f0032, 0x777f003a, 0x777f0037,
  13577. 0x777f0034, 0x777f0031, 0x767f003a, 0x767f0036,
  13578. 0x767f0033, 0x767f0031, 0x757f003a, 0x757f0037,
  13579. 0x757f0034, 0x747f003c, 0x747f0039, 0x747f0036,
  13580. 0x747f0033, 0x737f003b, 0x737f0038, 0x737f0035,
  13581. 0x737f0032, 0x727f0039, 0x727f0036, 0x727f0033,
  13582. 0x727f0030, 0x717f003a, 0x717f0037, 0x717f0034,
  13583. 0x707f003b, 0x707f0038, 0x707f0035, 0x707f0032,
  13584. 0x707f002f, 0x707f002d, 0x707f002a, 0x707f0028,
  13585. 0x707f0025, 0x707f0023, 0x707f0021, 0x707f0020,
  13586. 0x707f001e, 0x707f001c, 0x707f001b, 0x707f0019,
  13587. 0x707f0018, 0x707f0016, 0x707f0015, 0x707f0014,
  13588. 0x707f0013, 0x707f0012, 0x707f0011, 0x707f0010,
  13589. 0x707f000f, 0x707f000e, 0x707f000d, 0x707f000d,
  13590. 0x707f000c, 0x707f000b, 0x707f000b, 0x707f000a,
  13591. 0x707f0009, 0x707f0009, 0x707f0008, 0x707f0008,
  13592. 0x707f0007, 0x707f0007, 0x707f0007, 0x707f0006,
  13593. 0x707f0006, 0x707f0006, 0x707f0005, 0x707f0005,
  13594. 0x707f0005, 0x707f0004, 0x707f0004, 0x707f0004,
  13595. 0x707f0004, 0x707f0004, 0x707f0003, 0x707f0003,
  13596. 0x707f0003, 0x707f0003, 0x707f0003, 0x707f0003,
  13597. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13598. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13599. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001,
  13600. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001
  13601. };
  13602. static u32 nphy_tpc_txgain_ipa_5g_2057rev7[] = {
  13603. 0x6f7f0031, 0x6f7f002e, 0x6f7f002c, 0x6f7f002a,
  13604. 0x6f7f0027, 0x6e7f002e, 0x6e7f002c, 0x6e7f002a,
  13605. 0x6d7f0030, 0x6d7f002d, 0x6d7f002a, 0x6d7f0028,
  13606. 0x6c7f0030, 0x6c7f002d, 0x6c7f002b, 0x6b7f002e,
  13607. 0x6b7f002c, 0x6b7f002a, 0x6b7f0027, 0x6a7f002e,
  13608. 0x6a7f002c, 0x6a7f002a, 0x697f0030, 0x697f002e,
  13609. 0x697f002b, 0x697f0029, 0x687f002f, 0x687f002d,
  13610. 0x687f002a, 0x687f0027, 0x677f002f, 0x677f002d,
  13611. 0x677f002a, 0x667f0031, 0x667f002e, 0x667f002c,
  13612. 0x667f002a, 0x657f0030, 0x657f002e, 0x657f002b,
  13613. 0x657f0029, 0x647f0030, 0x647f002d, 0x647f002b,
  13614. 0x647f0029, 0x637f002f, 0x637f002d, 0x637f002a,
  13615. 0x627f0030, 0x627f002d, 0x627f002b, 0x627f0029,
  13616. 0x617f0030, 0x617f002e, 0x617f002b, 0x617f0029,
  13617. 0x607f002f, 0x607f002d, 0x607f002a, 0x607f0027,
  13618. 0x607f0026, 0x607f0023, 0x607f0021, 0x607f0020,
  13619. 0x607f001e, 0x607f001c, 0x607f001a, 0x607f0019,
  13620. 0x607f0018, 0x607f0016, 0x607f0015, 0x607f0014,
  13621. 0x607f0012, 0x607f0012, 0x607f0011, 0x607f000f,
  13622. 0x607f000f, 0x607f000e, 0x607f000d, 0x607f000c,
  13623. 0x607f000c, 0x607f000b, 0x607f000b, 0x607f000a,
  13624. 0x607f0009, 0x607f0009, 0x607f0008, 0x607f0008,
  13625. 0x607f0008, 0x607f0007, 0x607f0007, 0x607f0006,
  13626. 0x607f0006, 0x607f0005, 0x607f0005, 0x607f0005,
  13627. 0x607f0005, 0x607f0005, 0x607f0004, 0x607f0004,
  13628. 0x607f0004, 0x607f0004, 0x607f0003, 0x607f0003,
  13629. 0x607f0003, 0x607f0003, 0x607f0002, 0x607f0002,
  13630. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13631. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13632. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13633. 0x607f0002, 0x607f0001, 0x607f0001, 0x607f0001,
  13634. 0x607f0001, 0x607f0001, 0x607f0001, 0x607f0001
  13635. };
  13636. static s8 nphy_papd_pga_gain_delta_ipa_2g[] = {
  13637. -114, -108, -98, -91, -84, -78, -70, -62,
  13638. -54, -46, -39, -31, -23, -15, -8, 0
  13639. };
  13640. static s8 nphy_papd_pga_gain_delta_ipa_5g[] = {
  13641. -100, -95, -89, -83, -77, -70, -63, -56,
  13642. -48, -41, -33, -25, -19, -12, -6, 0
  13643. };
  13644. static s16 nphy_papd_padgain_dlt_2g_2057rev3n4[] = {
  13645. -159, -113, -86, -72, -62, -54, -48, -43,
  13646. -39, -35, -31, -28, -25, -23, -20, -18,
  13647. -17, -15, -13, -11, -10, -8, -7, -6,
  13648. -5, -4, -3, -3, -2, -1, -1, 0
  13649. };
  13650. static s16 nphy_papd_padgain_dlt_2g_2057rev5[] = {
  13651. -109, -109, -82, -68, -58, -50, -44, -39,
  13652. -35, -31, -28, -26, -23, -21, -19, -17,
  13653. -16, -14, -13, -11, -10, -9, -8, -7,
  13654. -5, -5, -4, -3, -2, -1, -1, 0
  13655. };
  13656. static s16 nphy_papd_padgain_dlt_2g_2057rev7[] = {
  13657. -122, -122, -95, -80, -69, -61, -54, -49,
  13658. -43, -39, -35, -32, -28, -26, -23, -21,
  13659. -18, -16, -15, -13, -11, -10, -8, -7,
  13660. -6, -5, -4, -3, -2, -1, -1, 0
  13661. };
  13662. static s8 nphy_papd_pgagain_dlt_5g_2057[] = {
  13663. -107, -101, -92, -85, -78, -71, -62, -55,
  13664. -47, -39, -32, -24, -19, -12, -6, 0
  13665. };
  13666. static s8 nphy_papd_pgagain_dlt_5g_2057rev7[] = {
  13667. -110, -104, -95, -88, -81, -74, -66, -58,
  13668. -50, -44, -36, -28, -23, -15, -8, 0
  13669. };
  13670. static u8 pad_gain_codes_used_2057rev5[] = {
  13671. 20, 19, 18, 17, 16, 15, 14, 13, 12, 11,
  13672. 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
  13673. };
  13674. static u8 pad_gain_codes_used_2057rev7[] = {
  13675. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6,
  13676. 5, 4, 3, 2, 1
  13677. };
  13678. static u8 pad_all_gain_codes_2057[] = {
  13679. 31, 30, 29, 28, 27, 26, 25, 24, 23, 22,
  13680. 21, 20, 19, 18, 17, 16, 15, 14, 13, 12,
  13681. 11, 10, 9, 8, 7, 6, 5, 4, 3, 2,
  13682. 1, 0
  13683. };
  13684. static u8 pga_all_gain_codes_2057[] = {
  13685. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
  13686. };
  13687. static u32 nphy_papd_scaltbl[] = {
  13688. 0x0ae2002f, 0x0a3b0032, 0x09a70035, 0x09220038,
  13689. 0x0887003c, 0x081f003f, 0x07a20043, 0x07340047,
  13690. 0x06d2004b, 0x067a004f, 0x06170054, 0x05bf0059,
  13691. 0x0571005e, 0x051e0064, 0x04d3006a, 0x04910070,
  13692. 0x044c0077, 0x040f007e, 0x03d90085, 0x03a1008d,
  13693. 0x036f0095, 0x033d009e, 0x030b00a8, 0x02e000b2,
  13694. 0x02b900bc, 0x029200c7, 0x026d00d3, 0x024900e0,
  13695. 0x022900ed, 0x020a00fb, 0x01ec010a, 0x01d0011a,
  13696. 0x01b7012a, 0x019e013c, 0x0187014f, 0x01720162,
  13697. 0x015d0177, 0x0149018e, 0x013701a5, 0x012601be,
  13698. 0x011501d9, 0x010501f5, 0x00f70212, 0x00e90232,
  13699. 0x00dc0253, 0x00d00276, 0x00c4029c, 0x00b902c3,
  13700. 0x00af02ed, 0x00a5031a, 0x009c0349, 0x0093037a,
  13701. 0x008b03af, 0x008303e7, 0x007c0422, 0x00750461,
  13702. 0x006e04a3, 0x006804ea, 0x00620534, 0x005d0583,
  13703. 0x005805d7, 0x0053062f, 0x004e068d, 0x004a06f1
  13704. };
  13705. static u32 nphy_tpc_txgain_rev3[] = {
  13706. 0x1f410044, 0x1f410042, 0x1f410040, 0x1f41003e,
  13707. 0x1f41003c, 0x1f41003b, 0x1f410039, 0x1f410037,
  13708. 0x1e410044, 0x1e410042, 0x1e410040, 0x1e41003e,
  13709. 0x1e41003c, 0x1e41003b, 0x1e410039, 0x1e410037,
  13710. 0x1d410044, 0x1d410042, 0x1d410040, 0x1d41003e,
  13711. 0x1d41003c, 0x1d41003b, 0x1d410039, 0x1d410037,
  13712. 0x1c410044, 0x1c410042, 0x1c410040, 0x1c41003e,
  13713. 0x1c41003c, 0x1c41003b, 0x1c410039, 0x1c410037,
  13714. 0x1b410044, 0x1b410042, 0x1b410040, 0x1b41003e,
  13715. 0x1b41003c, 0x1b41003b, 0x1b410039, 0x1b410037,
  13716. 0x1a410044, 0x1a410042, 0x1a410040, 0x1a41003e,
  13717. 0x1a41003c, 0x1a41003b, 0x1a410039, 0x1a410037,
  13718. 0x19410044, 0x19410042, 0x19410040, 0x1941003e,
  13719. 0x1941003c, 0x1941003b, 0x19410039, 0x19410037,
  13720. 0x18410044, 0x18410042, 0x18410040, 0x1841003e,
  13721. 0x1841003c, 0x1841003b, 0x18410039, 0x18410037,
  13722. 0x17410044, 0x17410042, 0x17410040, 0x1741003e,
  13723. 0x1741003c, 0x1741003b, 0x17410039, 0x17410037,
  13724. 0x16410044, 0x16410042, 0x16410040, 0x1641003e,
  13725. 0x1641003c, 0x1641003b, 0x16410039, 0x16410037,
  13726. 0x15410044, 0x15410042, 0x15410040, 0x1541003e,
  13727. 0x1541003c, 0x1541003b, 0x15410039, 0x15410037,
  13728. 0x14410044, 0x14410042, 0x14410040, 0x1441003e,
  13729. 0x1441003c, 0x1441003b, 0x14410039, 0x14410037,
  13730. 0x13410044, 0x13410042, 0x13410040, 0x1341003e,
  13731. 0x1341003c, 0x1341003b, 0x13410039, 0x13410037,
  13732. 0x12410044, 0x12410042, 0x12410040, 0x1241003e,
  13733. 0x1241003c, 0x1241003b, 0x12410039, 0x12410037,
  13734. 0x11410044, 0x11410042, 0x11410040, 0x1141003e,
  13735. 0x1141003c, 0x1141003b, 0x11410039, 0x11410037,
  13736. 0x10410044, 0x10410042, 0x10410040, 0x1041003e,
  13737. 0x1041003c, 0x1041003b, 0x10410039, 0x10410037
  13738. };
  13739. static u32 nphy_tpc_txgain_HiPwrEPA[] = {
  13740. 0x0f410044, 0x0f410042, 0x0f410040, 0x0f41003e,
  13741. 0x0f41003c, 0x0f41003b, 0x0f410039, 0x0f410037,
  13742. 0x0e410044, 0x0e410042, 0x0e410040, 0x0e41003e,
  13743. 0x0e41003c, 0x0e41003b, 0x0e410039, 0x0e410037,
  13744. 0x0d410044, 0x0d410042, 0x0d410040, 0x0d41003e,
  13745. 0x0d41003c, 0x0d41003b, 0x0d410039, 0x0d410037,
  13746. 0x0c410044, 0x0c410042, 0x0c410040, 0x0c41003e,
  13747. 0x0c41003c, 0x0c41003b, 0x0c410039, 0x0c410037,
  13748. 0x0b410044, 0x0b410042, 0x0b410040, 0x0b41003e,
  13749. 0x0b41003c, 0x0b41003b, 0x0b410039, 0x0b410037,
  13750. 0x0a410044, 0x0a410042, 0x0a410040, 0x0a41003e,
  13751. 0x0a41003c, 0x0a41003b, 0x0a410039, 0x0a410037,
  13752. 0x09410044, 0x09410042, 0x09410040, 0x0941003e,
  13753. 0x0941003c, 0x0941003b, 0x09410039, 0x09410037,
  13754. 0x08410044, 0x08410042, 0x08410040, 0x0841003e,
  13755. 0x0841003c, 0x0841003b, 0x08410039, 0x08410037,
  13756. 0x07410044, 0x07410042, 0x07410040, 0x0741003e,
  13757. 0x0741003c, 0x0741003b, 0x07410039, 0x07410037,
  13758. 0x06410044, 0x06410042, 0x06410040, 0x0641003e,
  13759. 0x0641003c, 0x0641003b, 0x06410039, 0x06410037,
  13760. 0x05410044, 0x05410042, 0x05410040, 0x0541003e,
  13761. 0x0541003c, 0x0541003b, 0x05410039, 0x05410037,
  13762. 0x04410044, 0x04410042, 0x04410040, 0x0441003e,
  13763. 0x0441003c, 0x0441003b, 0x04410039, 0x04410037,
  13764. 0x03410044, 0x03410042, 0x03410040, 0x0341003e,
  13765. 0x0341003c, 0x0341003b, 0x03410039, 0x03410037,
  13766. 0x02410044, 0x02410042, 0x02410040, 0x0241003e,
  13767. 0x0241003c, 0x0241003b, 0x02410039, 0x02410037,
  13768. 0x01410044, 0x01410042, 0x01410040, 0x0141003e,
  13769. 0x0141003c, 0x0141003b, 0x01410039, 0x01410037,
  13770. 0x00410044, 0x00410042, 0x00410040, 0x0041003e,
  13771. 0x0041003c, 0x0041003b, 0x00410039, 0x00410037
  13772. };
  13773. static u32 nphy_tpc_txgain_epa_2057rev3[] = {
  13774. 0x80f90040, 0x80e10040, 0x80e1003c, 0x80c9003d,
  13775. 0x80b9003c, 0x80a9003d, 0x80a1003c, 0x8099003b,
  13776. 0x8091003b, 0x8089003a, 0x8081003a, 0x80790039,
  13777. 0x80710039, 0x8069003a, 0x8061003b, 0x8059003d,
  13778. 0x8051003f, 0x80490042, 0x8049003e, 0x8049003b,
  13779. 0x8041003e, 0x8041003b, 0x8039003e, 0x8039003b,
  13780. 0x80390038, 0x80390035, 0x8031003a, 0x80310036,
  13781. 0x80310033, 0x8029003a, 0x80290037, 0x80290034,
  13782. 0x80290031, 0x80210039, 0x80210036, 0x80210033,
  13783. 0x80210030, 0x8019003c, 0x80190039, 0x80190036,
  13784. 0x80190033, 0x80190030, 0x8019002d, 0x8019002b,
  13785. 0x80190028, 0x8011003a, 0x80110036, 0x80110033,
  13786. 0x80110030, 0x8011002e, 0x8011002b, 0x80110029,
  13787. 0x80110027, 0x80110024, 0x80110022, 0x80110020,
  13788. 0x8011001f, 0x8011001d, 0x8009003a, 0x80090037,
  13789. 0x80090034, 0x80090031, 0x8009002e, 0x8009002c,
  13790. 0x80090029, 0x80090027, 0x80090025, 0x80090023,
  13791. 0x80090021, 0x8009001f, 0x8009001d, 0x8009011d,
  13792. 0x8009021d, 0x8009031d, 0x8009041d, 0x8009051d,
  13793. 0x8009061d, 0x8009071d, 0x8009071d, 0x8009071d,
  13794. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13795. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13796. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13797. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13798. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13799. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13800. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13801. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13802. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13803. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13804. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13805. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d
  13806. };
  13807. static u32 nphy_tpc_txgain_epa_2057rev5[] = {
  13808. 0x10f90040, 0x10e10040, 0x10e1003c, 0x10c9003d,
  13809. 0x10b9003c, 0x10a9003d, 0x10a1003c, 0x1099003b,
  13810. 0x1091003b, 0x1089003a, 0x1081003a, 0x10790039,
  13811. 0x10710039, 0x1069003a, 0x1061003b, 0x1059003d,
  13812. 0x1051003f, 0x10490042, 0x1049003e, 0x1049003b,
  13813. 0x1041003e, 0x1041003b, 0x1039003e, 0x1039003b,
  13814. 0x10390038, 0x10390035, 0x1031003a, 0x10310036,
  13815. 0x10310033, 0x1029003a, 0x10290037, 0x10290034,
  13816. 0x10290031, 0x10210039, 0x10210036, 0x10210033,
  13817. 0x10210030, 0x1019003c, 0x10190039, 0x10190036,
  13818. 0x10190033, 0x10190030, 0x1019002d, 0x1019002b,
  13819. 0x10190028, 0x1011003a, 0x10110036, 0x10110033,
  13820. 0x10110030, 0x1011002e, 0x1011002b, 0x10110029,
  13821. 0x10110027, 0x10110024, 0x10110022, 0x10110020,
  13822. 0x1011001f, 0x1011001d, 0x1009003a, 0x10090037,
  13823. 0x10090034, 0x10090031, 0x1009002e, 0x1009002c,
  13824. 0x10090029, 0x10090027, 0x10090025, 0x10090023,
  13825. 0x10090021, 0x1009001f, 0x1009001d, 0x1009001b,
  13826. 0x1009001a, 0x10090018, 0x10090017, 0x10090016,
  13827. 0x10090015, 0x10090013, 0x10090012, 0x10090011,
  13828. 0x10090010, 0x1009000f, 0x1009000f, 0x1009000e,
  13829. 0x1009000d, 0x1009000c, 0x1009000c, 0x1009000b,
  13830. 0x1009000a, 0x1009000a, 0x10090009, 0x10090009,
  13831. 0x10090008, 0x10090008, 0x10090007, 0x10090007,
  13832. 0x10090007, 0x10090006, 0x10090006, 0x10090005,
  13833. 0x10090005, 0x10090005, 0x10090005, 0x10090004,
  13834. 0x10090004, 0x10090004, 0x10090004, 0x10090003,
  13835. 0x10090003, 0x10090003, 0x10090003, 0x10090003,
  13836. 0x10090003, 0x10090002, 0x10090002, 0x10090002,
  13837. 0x10090002, 0x10090002, 0x10090002, 0x10090002,
  13838. 0x10090002, 0x10090002, 0x10090001, 0x10090001,
  13839. 0x10090001, 0x10090001, 0x10090001, 0x10090001
  13840. };
  13841. static u32 nphy_tpc_5GHz_txgain_rev3[] = {
  13842. 0xcff70044, 0xcff70042, 0xcff70040, 0xcff7003e,
  13843. 0xcff7003c, 0xcff7003b, 0xcff70039, 0xcff70037,
  13844. 0xcef70044, 0xcef70042, 0xcef70040, 0xcef7003e,
  13845. 0xcef7003c, 0xcef7003b, 0xcef70039, 0xcef70037,
  13846. 0xcdf70044, 0xcdf70042, 0xcdf70040, 0xcdf7003e,
  13847. 0xcdf7003c, 0xcdf7003b, 0xcdf70039, 0xcdf70037,
  13848. 0xccf70044, 0xccf70042, 0xccf70040, 0xccf7003e,
  13849. 0xccf7003c, 0xccf7003b, 0xccf70039, 0xccf70037,
  13850. 0xcbf70044, 0xcbf70042, 0xcbf70040, 0xcbf7003e,
  13851. 0xcbf7003c, 0xcbf7003b, 0xcbf70039, 0xcbf70037,
  13852. 0xcaf70044, 0xcaf70042, 0xcaf70040, 0xcaf7003e,
  13853. 0xcaf7003c, 0xcaf7003b, 0xcaf70039, 0xcaf70037,
  13854. 0xc9f70044, 0xc9f70042, 0xc9f70040, 0xc9f7003e,
  13855. 0xc9f7003c, 0xc9f7003b, 0xc9f70039, 0xc9f70037,
  13856. 0xc8f70044, 0xc8f70042, 0xc8f70040, 0xc8f7003e,
  13857. 0xc8f7003c, 0xc8f7003b, 0xc8f70039, 0xc8f70037,
  13858. 0xc7f70044, 0xc7f70042, 0xc7f70040, 0xc7f7003e,
  13859. 0xc7f7003c, 0xc7f7003b, 0xc7f70039, 0xc7f70037,
  13860. 0xc6f70044, 0xc6f70042, 0xc6f70040, 0xc6f7003e,
  13861. 0xc6f7003c, 0xc6f7003b, 0xc6f70039, 0xc6f70037,
  13862. 0xc5f70044, 0xc5f70042, 0xc5f70040, 0xc5f7003e,
  13863. 0xc5f7003c, 0xc5f7003b, 0xc5f70039, 0xc5f70037,
  13864. 0xc4f70044, 0xc4f70042, 0xc4f70040, 0xc4f7003e,
  13865. 0xc4f7003c, 0xc4f7003b, 0xc4f70039, 0xc4f70037,
  13866. 0xc3f70044, 0xc3f70042, 0xc3f70040, 0xc3f7003e,
  13867. 0xc3f7003c, 0xc3f7003b, 0xc3f70039, 0xc3f70037,
  13868. 0xc2f70044, 0xc2f70042, 0xc2f70040, 0xc2f7003e,
  13869. 0xc2f7003c, 0xc2f7003b, 0xc2f70039, 0xc2f70037,
  13870. 0xc1f70044, 0xc1f70042, 0xc1f70040, 0xc1f7003e,
  13871. 0xc1f7003c, 0xc1f7003b, 0xc1f70039, 0xc1f70037,
  13872. 0xc0f70044, 0xc0f70042, 0xc0f70040, 0xc0f7003e,
  13873. 0xc0f7003c, 0xc0f7003b, 0xc0f70039, 0xc0f70037
  13874. };
  13875. static u32 nphy_tpc_5GHz_txgain_rev4[] = {
  13876. 0x2ff20044, 0x2ff20042, 0x2ff20040, 0x2ff2003e,
  13877. 0x2ff2003c, 0x2ff2003b, 0x2ff20039, 0x2ff20037,
  13878. 0x2ef20044, 0x2ef20042, 0x2ef20040, 0x2ef2003e,
  13879. 0x2ef2003c, 0x2ef2003b, 0x2ef20039, 0x2ef20037,
  13880. 0x2df20044, 0x2df20042, 0x2df20040, 0x2df2003e,
  13881. 0x2df2003c, 0x2df2003b, 0x2df20039, 0x2df20037,
  13882. 0x2cf20044, 0x2cf20042, 0x2cf20040, 0x2cf2003e,
  13883. 0x2cf2003c, 0x2cf2003b, 0x2cf20039, 0x2cf20037,
  13884. 0x2bf20044, 0x2bf20042, 0x2bf20040, 0x2bf2003e,
  13885. 0x2bf2003c, 0x2bf2003b, 0x2bf20039, 0x2bf20037,
  13886. 0x2af20044, 0x2af20042, 0x2af20040, 0x2af2003e,
  13887. 0x2af2003c, 0x2af2003b, 0x2af20039, 0x2af20037,
  13888. 0x29f20044, 0x29f20042, 0x29f20040, 0x29f2003e,
  13889. 0x29f2003c, 0x29f2003b, 0x29f20039, 0x29f20037,
  13890. 0x28f20044, 0x28f20042, 0x28f20040, 0x28f2003e,
  13891. 0x28f2003c, 0x28f2003b, 0x28f20039, 0x28f20037,
  13892. 0x27f20044, 0x27f20042, 0x27f20040, 0x27f2003e,
  13893. 0x27f2003c, 0x27f2003b, 0x27f20039, 0x27f20037,
  13894. 0x26f20044, 0x26f20042, 0x26f20040, 0x26f2003e,
  13895. 0x26f2003c, 0x26f2003b, 0x26f20039, 0x26f20037,
  13896. 0x25f20044, 0x25f20042, 0x25f20040, 0x25f2003e,
  13897. 0x25f2003c, 0x25f2003b, 0x25f20039, 0x25f20037,
  13898. 0x24f20044, 0x24f20042, 0x24f20040, 0x24f2003e,
  13899. 0x24f2003c, 0x24f2003b, 0x24f20039, 0x24f20038,
  13900. 0x23f20041, 0x23f20040, 0x23f2003f, 0x23f2003e,
  13901. 0x23f2003c, 0x23f2003b, 0x23f20039, 0x23f20037,
  13902. 0x22f20044, 0x22f20042, 0x22f20040, 0x22f2003e,
  13903. 0x22f2003c, 0x22f2003b, 0x22f20039, 0x22f20037,
  13904. 0x21f20044, 0x21f20042, 0x21f20040, 0x21f2003e,
  13905. 0x21f2003c, 0x21f2003b, 0x21f20039, 0x21f20037,
  13906. 0x20d20043, 0x20d20041, 0x20d2003e, 0x20d2003c,
  13907. 0x20d2003a, 0x20d20038, 0x20d20036, 0x20d20034
  13908. };
  13909. static u32 nphy_tpc_5GHz_txgain_rev5[] = {
  13910. 0x0f62004a, 0x0f620048, 0x0f620046, 0x0f620044,
  13911. 0x0f620042, 0x0f620040, 0x0f62003e, 0x0f62003c,
  13912. 0x0e620044, 0x0e620042, 0x0e620040, 0x0e62003e,
  13913. 0x0e62003c, 0x0e62003d, 0x0e62003b, 0x0e62003a,
  13914. 0x0d620043, 0x0d620041, 0x0d620040, 0x0d62003e,
  13915. 0x0d62003d, 0x0d62003c, 0x0d62003b, 0x0d62003a,
  13916. 0x0c620041, 0x0c620040, 0x0c62003f, 0x0c62003e,
  13917. 0x0c62003c, 0x0c62003b, 0x0c620039, 0x0c620037,
  13918. 0x0b620046, 0x0b620044, 0x0b620042, 0x0b620040,
  13919. 0x0b62003e, 0x0b62003c, 0x0b62003b, 0x0b62003a,
  13920. 0x0a620041, 0x0a620040, 0x0a62003e, 0x0a62003c,
  13921. 0x0a62003b, 0x0a62003a, 0x0a620039, 0x0a620038,
  13922. 0x0962003e, 0x0962003d, 0x0962003c, 0x0962003b,
  13923. 0x09620039, 0x09620037, 0x09620035, 0x09620033,
  13924. 0x08620044, 0x08620042, 0x08620040, 0x0862003e,
  13925. 0x0862003c, 0x0862003b, 0x0862003a, 0x08620039,
  13926. 0x07620043, 0x07620042, 0x07620040, 0x0762003f,
  13927. 0x0762003d, 0x0762003b, 0x0762003a, 0x07620039,
  13928. 0x0662003e, 0x0662003d, 0x0662003c, 0x0662003b,
  13929. 0x06620039, 0x06620037, 0x06620035, 0x06620033,
  13930. 0x05620046, 0x05620044, 0x05620042, 0x05620040,
  13931. 0x0562003e, 0x0562003c, 0x0562003b, 0x05620039,
  13932. 0x04620044, 0x04620042, 0x04620040, 0x0462003e,
  13933. 0x0462003c, 0x0462003b, 0x04620039, 0x04620038,
  13934. 0x0362003c, 0x0362003b, 0x0362003a, 0x03620039,
  13935. 0x03620038, 0x03620037, 0x03620035, 0x03620033,
  13936. 0x0262004c, 0x0262004a, 0x02620048, 0x02620047,
  13937. 0x02620046, 0x02620044, 0x02620043, 0x02620042,
  13938. 0x0162004a, 0x01620048, 0x01620046, 0x01620044,
  13939. 0x01620043, 0x01620042, 0x01620041, 0x01620040,
  13940. 0x00620042, 0x00620040, 0x0062003e, 0x0062003c,
  13941. 0x0062003b, 0x00620039, 0x00620037, 0x00620035
  13942. };
  13943. static u32 nphy_tpc_5GHz_txgain_HiPwrEPA[] = {
  13944. 0x2ff10044, 0x2ff10042, 0x2ff10040, 0x2ff1003e,
  13945. 0x2ff1003c, 0x2ff1003b, 0x2ff10039, 0x2ff10037,
  13946. 0x2ef10044, 0x2ef10042, 0x2ef10040, 0x2ef1003e,
  13947. 0x2ef1003c, 0x2ef1003b, 0x2ef10039, 0x2ef10037,
  13948. 0x2df10044, 0x2df10042, 0x2df10040, 0x2df1003e,
  13949. 0x2df1003c, 0x2df1003b, 0x2df10039, 0x2df10037,
  13950. 0x2cf10044, 0x2cf10042, 0x2cf10040, 0x2cf1003e,
  13951. 0x2cf1003c, 0x2cf1003b, 0x2cf10039, 0x2cf10037,
  13952. 0x2bf10044, 0x2bf10042, 0x2bf10040, 0x2bf1003e,
  13953. 0x2bf1003c, 0x2bf1003b, 0x2bf10039, 0x2bf10037,
  13954. 0x2af10044, 0x2af10042, 0x2af10040, 0x2af1003e,
  13955. 0x2af1003c, 0x2af1003b, 0x2af10039, 0x2af10037,
  13956. 0x29f10044, 0x29f10042, 0x29f10040, 0x29f1003e,
  13957. 0x29f1003c, 0x29f1003b, 0x29f10039, 0x29f10037,
  13958. 0x28f10044, 0x28f10042, 0x28f10040, 0x28f1003e,
  13959. 0x28f1003c, 0x28f1003b, 0x28f10039, 0x28f10037,
  13960. 0x27f10044, 0x27f10042, 0x27f10040, 0x27f1003e,
  13961. 0x27f1003c, 0x27f1003b, 0x27f10039, 0x27f10037,
  13962. 0x26f10044, 0x26f10042, 0x26f10040, 0x26f1003e,
  13963. 0x26f1003c, 0x26f1003b, 0x26f10039, 0x26f10037,
  13964. 0x25f10044, 0x25f10042, 0x25f10040, 0x25f1003e,
  13965. 0x25f1003c, 0x25f1003b, 0x25f10039, 0x25f10037,
  13966. 0x24f10044, 0x24f10042, 0x24f10040, 0x24f1003e,
  13967. 0x24f1003c, 0x24f1003b, 0x24f10039, 0x24f10038,
  13968. 0x23f10041, 0x23f10040, 0x23f1003f, 0x23f1003e,
  13969. 0x23f1003c, 0x23f1003b, 0x23f10039, 0x23f10037,
  13970. 0x22f10044, 0x22f10042, 0x22f10040, 0x22f1003e,
  13971. 0x22f1003c, 0x22f1003b, 0x22f10039, 0x22f10037,
  13972. 0x21f10044, 0x21f10042, 0x21f10040, 0x21f1003e,
  13973. 0x21f1003c, 0x21f1003b, 0x21f10039, 0x21f10037,
  13974. 0x20d10043, 0x20d10041, 0x20d1003e, 0x20d1003c,
  13975. 0x20d1003a, 0x20d10038, 0x20d10036, 0x20d10034
  13976. };
  13977. static u8 ant_sw_ctrl_tbl_rev8_2o3[] = { 0x14, 0x18 };
  13978. static u8 ant_sw_ctrl_tbl_rev8[] = { 0x4, 0x8, 0x4, 0x8, 0x11, 0x12 };
  13979. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core0[] = {
  13980. 0x09, 0x0a, 0x15, 0x16, 0x09, 0x0a
  13981. };
  13982. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core1[] = {
  13983. 0x09, 0x0a, 0x09, 0x0a, 0x15, 0x16
  13984. };
  13985. bool wlc_phy_bist_check_phy(struct brcms_phy_pub *pih)
  13986. {
  13987. struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro);
  13988. u32 phybist0, phybist1, phybist2, phybist3, phybist4;
  13989. if (NREV_GE(pi->pubpi.phy_rev, 16))
  13990. return true;
  13991. phybist0 = read_phy_reg(pi, 0x0e);
  13992. phybist1 = read_phy_reg(pi, 0x0f);
  13993. phybist2 = read_phy_reg(pi, 0xea);
  13994. phybist3 = read_phy_reg(pi, 0xeb);
  13995. phybist4 = read_phy_reg(pi, 0x156);
  13996. if ((phybist0 == 0) && (phybist1 == 0x4000) && (phybist2 == 0x1fe0) &&
  13997. (phybist3 == 0) && (phybist4 == 0))
  13998. return true;
  13999. return false;
  14000. }
  14001. static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi)
  14002. {
  14003. u16 addr, val;
  14004. val = 0x1e1f;
  14005. for (addr = (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT);
  14006. addr <= (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT_END); addr++) {
  14007. write_phy_reg(pi, addr, val);
  14008. if (addr == (NPHY_TO_BPHY_OFF + 0x97))
  14009. val = 0x3e3f;
  14010. else
  14011. val -= 0x0202;
  14012. }
  14013. write_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_STEP, 0x668);
  14014. }
  14015. void
  14016. wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14017. u32 width, const void *data)
  14018. {
  14019. struct phytbl_info tbl;
  14020. tbl.tbl_id = id;
  14021. tbl.tbl_len = len;
  14022. tbl.tbl_offset = offset;
  14023. tbl.tbl_width = width;
  14024. tbl.tbl_ptr = data;
  14025. wlc_phy_write_table_nphy(pi, &tbl);
  14026. }
  14027. void
  14028. wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14029. u32 width, void *data)
  14030. {
  14031. struct phytbl_info tbl;
  14032. tbl.tbl_id = id;
  14033. tbl.tbl_len = len;
  14034. tbl.tbl_offset = offset;
  14035. tbl.tbl_width = width;
  14036. tbl.tbl_ptr = data;
  14037. wlc_phy_read_table_nphy(pi, &tbl);
  14038. }
  14039. static void
  14040. wlc_phy_static_table_download_nphy(struct brcms_phy *pi)
  14041. {
  14042. uint idx;
  14043. if (NREV_GE(pi->pubpi.phy_rev, 16)) {
  14044. for (idx = 0; idx < mimophytbl_info_sz_rev16; idx++)
  14045. wlc_phy_write_table_nphy(pi,
  14046. &mimophytbl_info_rev16[idx]);
  14047. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14048. for (idx = 0; idx < mimophytbl_info_sz_rev7; idx++)
  14049. wlc_phy_write_table_nphy(pi,
  14050. &mimophytbl_info_rev7[idx]);
  14051. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14052. for (idx = 0; idx < mimophytbl_info_sz_rev3; idx++)
  14053. wlc_phy_write_table_nphy(pi,
  14054. &mimophytbl_info_rev3[idx]);
  14055. } else {
  14056. for (idx = 0; idx < mimophytbl_info_sz_rev0; idx++)
  14057. wlc_phy_write_table_nphy(pi,
  14058. &mimophytbl_info_rev0[idx]);
  14059. }
  14060. }
  14061. static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi)
  14062. {
  14063. uint idx = 0;
  14064. u8 antswctrllut;
  14065. if (pi->phy_init_por)
  14066. wlc_phy_static_table_download_nphy(pi);
  14067. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14068. antswctrllut = CHSPEC_IS2G(pi->radio_chanspec) ?
  14069. pi->srom_fem2g.antswctrllut : pi->srom_fem5g.
  14070. antswctrllut;
  14071. switch (antswctrllut) {
  14072. case 0:
  14073. break;
  14074. case 1:
  14075. if (pi->aa2g == 7)
  14076. wlc_phy_table_write_nphy(
  14077. pi,
  14078. NPHY_TBL_ID_ANTSWCTRLLUT,
  14079. 2, 0x21, 8,
  14080. &ant_sw_ctrl_tbl_rev8_2o3[0]);
  14081. else
  14082. wlc_phy_table_write_nphy(
  14083. pi,
  14084. NPHY_TBL_ID_ANTSWCTRLLUT,
  14085. 2, 0x21, 8,
  14086. &ant_sw_ctrl_tbl_rev8
  14087. [0]);
  14088. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14089. 2, 0x25, 8,
  14090. &ant_sw_ctrl_tbl_rev8[2]);
  14091. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14092. 2, 0x29, 8,
  14093. &ant_sw_ctrl_tbl_rev8[4]);
  14094. break;
  14095. case 2:
  14096. wlc_phy_table_write_nphy(
  14097. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14098. 2, 0x1, 8,
  14099. &ant_sw_ctrl_tbl_rev8_2057v7_core0[0]);
  14100. wlc_phy_table_write_nphy(
  14101. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14102. 2, 0x5, 8,
  14103. &ant_sw_ctrl_tbl_rev8_2057v7_core0[2]);
  14104. wlc_phy_table_write_nphy(
  14105. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14106. 2, 0x9, 8,
  14107. &ant_sw_ctrl_tbl_rev8_2057v7_core0[4]);
  14108. wlc_phy_table_write_nphy(
  14109. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14110. 2, 0x21, 8,
  14111. &ant_sw_ctrl_tbl_rev8_2057v7_core1[0]);
  14112. wlc_phy_table_write_nphy(
  14113. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14114. 2, 0x25, 8,
  14115. &ant_sw_ctrl_tbl_rev8_2057v7_core1[2]);
  14116. wlc_phy_table_write_nphy(
  14117. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14118. 2, 0x29, 8,
  14119. &ant_sw_ctrl_tbl_rev8_2057v7_core1[4]);
  14120. break;
  14121. default:
  14122. break;
  14123. }
  14124. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14125. for (idx = 0; idx < mimophytbl_info_sz_rev3_volatile; idx++) {
  14126. if (idx == ANT_SWCTRL_TBL_REV3_IDX) {
  14127. antswctrllut =
  14128. CHSPEC_IS2G(pi->radio_chanspec) ?
  14129. pi->srom_fem2g.antswctrllut :
  14130. pi->srom_fem5g.antswctrllut;
  14131. switch (antswctrllut) {
  14132. case 0:
  14133. wlc_phy_write_table_nphy(
  14134. pi,
  14135. &mimophytbl_info_rev3_volatile
  14136. [idx]);
  14137. break;
  14138. case 1:
  14139. wlc_phy_write_table_nphy(
  14140. pi,
  14141. &mimophytbl_info_rev3_volatile1
  14142. [idx]);
  14143. break;
  14144. case 2:
  14145. wlc_phy_write_table_nphy(
  14146. pi,
  14147. &mimophytbl_info_rev3_volatile2
  14148. [idx]);
  14149. break;
  14150. case 3:
  14151. wlc_phy_write_table_nphy(
  14152. pi,
  14153. &mimophytbl_info_rev3_volatile3
  14154. [idx]);
  14155. break;
  14156. default:
  14157. break;
  14158. }
  14159. } else {
  14160. wlc_phy_write_table_nphy(
  14161. pi,
  14162. &mimophytbl_info_rev3_volatile[idx]);
  14163. }
  14164. }
  14165. } else {
  14166. for (idx = 0; idx < mimophytbl_info_sz_rev0_volatile; idx++)
  14167. wlc_phy_write_table_nphy(pi,
  14168. &mimophytbl_info_rev0_volatile
  14169. [idx]);
  14170. }
  14171. }
  14172. static void
  14173. wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay)
  14174. {
  14175. write_phy_reg(pi, 0x77, holdoff);
  14176. write_phy_reg(pi, 0xb4, delay);
  14177. }
  14178. void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs)
  14179. {
  14180. u16 holdoff, delay;
  14181. if (rifs) {
  14182. holdoff = 0x10;
  14183. delay = 0x258;
  14184. } else {
  14185. holdoff = 0x15;
  14186. delay = 0x320;
  14187. }
  14188. wlc_phy_write_txmacreg_nphy(pi, holdoff, delay);
  14189. if (pi->sh && (pi->sh->_rifs_phy != rifs))
  14190. pi->sh->_rifs_phy = rifs;
  14191. }
  14192. static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi)
  14193. {
  14194. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14195. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14196. pi->phy_5g_pwrgain = true;
  14197. return;
  14198. }
  14199. pi->nphy_txpwrctrl = PHY_TPC_HW_OFF;
  14200. pi->phy_5g_pwrgain = false;
  14201. if ((pi->sh->boardflags2 & BFL2_TXPWRCTRL_EN) &&
  14202. NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4))
  14203. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14204. else if ((pi->sh->sromrev >= 4)
  14205. && (pi->sh->boardflags2 & BFL2_5G_PWRGAIN))
  14206. pi->phy_5g_pwrgain = true;
  14207. }
  14208. static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi)
  14209. {
  14210. u16 bw40po, cddpo, stbcpo, bwduppo;
  14211. uint band_num;
  14212. struct ssb_sprom *sprom = &pi->d11core->bus->sprom;
  14213. if (pi->sh->sromrev >= 9)
  14214. return;
  14215. bw40po = sprom->bw40po;
  14216. pi->bw402gpo = bw40po & 0xf;
  14217. pi->bw405gpo = (bw40po & 0xf0) >> 4;
  14218. pi->bw405glpo = (bw40po & 0xf00) >> 8;
  14219. pi->bw405ghpo = (bw40po & 0xf000) >> 12;
  14220. cddpo = sprom->cddpo;
  14221. pi->cdd2gpo = cddpo & 0xf;
  14222. pi->cdd5gpo = (cddpo & 0xf0) >> 4;
  14223. pi->cdd5glpo = (cddpo & 0xf00) >> 8;
  14224. pi->cdd5ghpo = (cddpo & 0xf000) >> 12;
  14225. stbcpo = sprom->stbcpo;
  14226. pi->stbc2gpo = stbcpo & 0xf;
  14227. pi->stbc5gpo = (stbcpo & 0xf0) >> 4;
  14228. pi->stbc5glpo = (stbcpo & 0xf00) >> 8;
  14229. pi->stbc5ghpo = (stbcpo & 0xf000) >> 12;
  14230. bwduppo = sprom->bwduppo;
  14231. pi->bwdup2gpo = bwduppo & 0xf;
  14232. pi->bwdup5gpo = (bwduppo & 0xf0) >> 4;
  14233. pi->bwdup5glpo = (bwduppo & 0xf00) >> 8;
  14234. pi->bwdup5ghpo = (bwduppo & 0xf000) >> 12;
  14235. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  14236. band_num++) {
  14237. switch (band_num) {
  14238. case 0:
  14239. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_2g =
  14240. sprom->core_pwr_info[0].maxpwr_2g;
  14241. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_2g =
  14242. sprom->core_pwr_info[1].maxpwr_2g;
  14243. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_a1 =
  14244. sprom->core_pwr_info[0].pa_2g[0];
  14245. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_a1 =
  14246. sprom->core_pwr_info[1].pa_2g[0];
  14247. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b0 =
  14248. sprom->core_pwr_info[0].pa_2g[1];
  14249. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b0 =
  14250. sprom->core_pwr_info[1].pa_2g[1];
  14251. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b1 =
  14252. sprom->core_pwr_info[0].pa_2g[2];
  14253. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b1 =
  14254. sprom->core_pwr_info[1].pa_2g[2];
  14255. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_2g =
  14256. sprom->core_pwr_info[0].itssi_2g;
  14257. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_2g =
  14258. sprom->core_pwr_info[1].itssi_2g;
  14259. pi->cck2gpo = sprom->cck2gpo;
  14260. pi->ofdm2gpo = sprom->ofdm2gpo;
  14261. pi->mcs2gpo[0] = sprom->mcs2gpo[0];
  14262. pi->mcs2gpo[1] = sprom->mcs2gpo[1];
  14263. pi->mcs2gpo[2] = sprom->mcs2gpo[2];
  14264. pi->mcs2gpo[3] = sprom->mcs2gpo[3];
  14265. pi->mcs2gpo[4] = sprom->mcs2gpo[4];
  14266. pi->mcs2gpo[5] = sprom->mcs2gpo[5];
  14267. pi->mcs2gpo[6] = sprom->mcs2gpo[6];
  14268. pi->mcs2gpo[7] = sprom->mcs2gpo[7];
  14269. break;
  14270. case 1:
  14271. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_5gm =
  14272. sprom->core_pwr_info[0].maxpwr_5g;
  14273. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_5gm =
  14274. sprom->core_pwr_info[1].maxpwr_5g;
  14275. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_a1 =
  14276. sprom->core_pwr_info[0].pa_5g[0];
  14277. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_a1 =
  14278. sprom->core_pwr_info[1].pa_5g[0];
  14279. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b0 =
  14280. sprom->core_pwr_info[0].pa_5g[1];
  14281. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b0 =
  14282. sprom->core_pwr_info[1].pa_5g[1];
  14283. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b1 =
  14284. sprom->core_pwr_info[0].pa_5g[2];
  14285. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b1 =
  14286. sprom->core_pwr_info[1].pa_5g[2];
  14287. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_5gm =
  14288. sprom->core_pwr_info[0].itssi_5g;
  14289. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_5gm =
  14290. sprom->core_pwr_info[1].itssi_5g;
  14291. pi->ofdm5gpo = sprom->ofdm5gpo;
  14292. pi->mcs5gpo[0] = sprom->mcs5gpo[0];
  14293. pi->mcs5gpo[1] = sprom->mcs5gpo[1];
  14294. pi->mcs5gpo[2] = sprom->mcs5gpo[2];
  14295. pi->mcs5gpo[3] = sprom->mcs5gpo[3];
  14296. pi->mcs5gpo[4] = sprom->mcs5gpo[4];
  14297. pi->mcs5gpo[5] = sprom->mcs5gpo[5];
  14298. pi->mcs5gpo[6] = sprom->mcs5gpo[6];
  14299. pi->mcs5gpo[7] = sprom->mcs5gpo[7];
  14300. break;
  14301. case 2:
  14302. pi->nphy_pwrctrl_info[0].max_pwr_5gl =
  14303. sprom->core_pwr_info[0].maxpwr_5gl;
  14304. pi->nphy_pwrctrl_info[1].max_pwr_5gl =
  14305. sprom->core_pwr_info[1].maxpwr_5gl;
  14306. pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1 =
  14307. sprom->core_pwr_info[0].pa_5gl[0];
  14308. pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1 =
  14309. sprom->core_pwr_info[1].pa_5gl[0];
  14310. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0 =
  14311. sprom->core_pwr_info[0].pa_5gl[1];
  14312. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0 =
  14313. sprom->core_pwr_info[1].pa_5gl[1];
  14314. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1 =
  14315. sprom->core_pwr_info[0].pa_5gl[2];
  14316. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1 =
  14317. sprom->core_pwr_info[1].pa_5gl[2];
  14318. pi->nphy_pwrctrl_info[0].idle_targ_5gl = 0;
  14319. pi->nphy_pwrctrl_info[1].idle_targ_5gl = 0;
  14320. pi->ofdm5glpo = sprom->ofdm5glpo;
  14321. pi->mcs5glpo[0] = sprom->mcs5glpo[0];
  14322. pi->mcs5glpo[1] = sprom->mcs5glpo[1];
  14323. pi->mcs5glpo[2] = sprom->mcs5glpo[2];
  14324. pi->mcs5glpo[3] = sprom->mcs5glpo[3];
  14325. pi->mcs5glpo[4] = sprom->mcs5glpo[4];
  14326. pi->mcs5glpo[5] = sprom->mcs5glpo[5];
  14327. pi->mcs5glpo[6] = sprom->mcs5glpo[6];
  14328. pi->mcs5glpo[7] = sprom->mcs5glpo[7];
  14329. break;
  14330. case 3:
  14331. pi->nphy_pwrctrl_info[0].max_pwr_5gh =
  14332. sprom->core_pwr_info[0].maxpwr_5gh;
  14333. pi->nphy_pwrctrl_info[1].max_pwr_5gh =
  14334. sprom->core_pwr_info[1].maxpwr_5gh;
  14335. pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1 =
  14336. sprom->core_pwr_info[0].pa_5gh[0];
  14337. pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1 =
  14338. sprom->core_pwr_info[1].pa_5gh[0];
  14339. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0 =
  14340. sprom->core_pwr_info[0].pa_5gh[1];
  14341. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0 =
  14342. sprom->core_pwr_info[1].pa_5gh[1];
  14343. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1 =
  14344. sprom->core_pwr_info[0].pa_5gh[2];
  14345. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1 =
  14346. sprom->core_pwr_info[1].pa_5gh[2];
  14347. pi->nphy_pwrctrl_info[0].idle_targ_5gh = 0;
  14348. pi->nphy_pwrctrl_info[1].idle_targ_5gh = 0;
  14349. pi->ofdm5ghpo = sprom->ofdm5ghpo;
  14350. pi->mcs5ghpo[0] = sprom->mcs5ghpo[0];
  14351. pi->mcs5ghpo[1] = sprom->mcs5ghpo[1];
  14352. pi->mcs5ghpo[2] = sprom->mcs5ghpo[2];
  14353. pi->mcs5ghpo[3] = sprom->mcs5ghpo[3];
  14354. pi->mcs5ghpo[4] = sprom->mcs5ghpo[4];
  14355. pi->mcs5ghpo[5] = sprom->mcs5ghpo[5];
  14356. pi->mcs5ghpo[6] = sprom->mcs5ghpo[6];
  14357. pi->mcs5ghpo[7] = sprom->mcs5ghpo[7];
  14358. break;
  14359. }
  14360. }
  14361. wlc_phy_txpwr_apply_nphy(pi);
  14362. }
  14363. static bool wlc_phy_txpwr_srom_read_nphy(struct brcms_phy *pi)
  14364. {
  14365. struct ssb_sprom *sprom = &pi->d11core->bus->sprom;
  14366. pi->antswitch = sprom->antswitch;
  14367. pi->aa2g = sprom->ant_available_bg;
  14368. pi->aa5g = sprom->ant_available_a;
  14369. pi->srom_fem2g.tssipos = sprom->fem.ghz2.tssipos;
  14370. pi->srom_fem2g.extpagain = sprom->fem.ghz2.extpa_gain;
  14371. pi->srom_fem2g.pdetrange = sprom->fem.ghz2.pdet_range;
  14372. pi->srom_fem2g.triso = sprom->fem.ghz2.tr_iso;
  14373. pi->srom_fem2g.antswctrllut = sprom->fem.ghz2.antswlut;
  14374. pi->srom_fem5g.tssipos = sprom->fem.ghz5.tssipos;
  14375. pi->srom_fem5g.extpagain = sprom->fem.ghz5.extpa_gain;
  14376. pi->srom_fem5g.pdetrange = sprom->fem.ghz5.pdet_range;
  14377. pi->srom_fem5g.triso = sprom->fem.ghz5.tr_iso;
  14378. if (sprom->fem.ghz5.antswlut)
  14379. pi->srom_fem5g.antswctrllut = sprom->fem.ghz5.antswlut;
  14380. else
  14381. pi->srom_fem5g.antswctrllut = sprom->fem.ghz2.antswlut;
  14382. wlc_phy_txpower_ipa_upd(pi);
  14383. pi->phy_txcore_disable_temp = sprom->tempthresh;
  14384. if (pi->phy_txcore_disable_temp == 0)
  14385. pi->phy_txcore_disable_temp = PHY_CHAIN_TX_DISABLE_TEMP;
  14386. pi->phy_tempsense_offset = sprom->tempoffset;
  14387. if (pi->phy_tempsense_offset != 0) {
  14388. if (pi->phy_tempsense_offset >
  14389. (NPHY_SROM_TEMPSHIFT + NPHY_SROM_MAXTEMPOFFSET))
  14390. pi->phy_tempsense_offset = NPHY_SROM_MAXTEMPOFFSET;
  14391. else if (pi->phy_tempsense_offset < (NPHY_SROM_TEMPSHIFT +
  14392. NPHY_SROM_MINTEMPOFFSET))
  14393. pi->phy_tempsense_offset = NPHY_SROM_MINTEMPOFFSET;
  14394. else
  14395. pi->phy_tempsense_offset -= NPHY_SROM_TEMPSHIFT;
  14396. }
  14397. pi->phy_txcore_enable_temp =
  14398. pi->phy_txcore_disable_temp - PHY_HYSTERESIS_DELTATEMP;
  14399. pi->phycal_tempdelta = sprom->phycal_tempdelta;
  14400. if (pi->phycal_tempdelta > NPHY_CAL_MAXTEMPDELTA)
  14401. pi->phycal_tempdelta = 0;
  14402. wlc_phy_txpwr_srom_read_ppr_nphy(pi);
  14403. return true;
  14404. }
  14405. bool wlc_phy_attach_nphy(struct brcms_phy *pi)
  14406. {
  14407. uint i;
  14408. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 6))
  14409. pi->phyhang_avoid = true;
  14410. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14411. pi->nphy_gband_spurwar_en = true;
  14412. if (pi->sh->boardflags2 & BFL2_SPUR_WAR)
  14413. pi->nphy_aband_spurwar_en = true;
  14414. }
  14415. if (NREV_GE(pi->pubpi.phy_rev, 6) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14416. if (pi->sh->boardflags2 & BFL2_2G_SPUR_WAR)
  14417. pi->nphy_gband_spurwar2_en = true;
  14418. }
  14419. pi->n_preamble_override = AUTO;
  14420. if (NREV_IS(pi->pubpi.phy_rev, 3) || NREV_IS(pi->pubpi.phy_rev, 4))
  14421. pi->n_preamble_override = BRCMS_N_PREAMBLE_MIXEDMODE;
  14422. pi->nphy_txrx_chain = AUTO;
  14423. pi->phy_scraminit = AUTO;
  14424. pi->nphy_rxcalparams = 0x010100B5;
  14425. pi->nphy_perical = PHY_PERICAL_MPHASE;
  14426. pi->mphase_cal_phase_id = MPHASE_CAL_STATE_IDLE;
  14427. pi->mphase_txcal_numcmds = MPHASE_TXCAL_NUMCMDS;
  14428. pi->nphy_gain_boost = true;
  14429. pi->nphy_elna_gain_config = false;
  14430. pi->radio_is_on = false;
  14431. for (i = 0; i < pi->pubpi.phy_corenum; i++)
  14432. pi->nphy_txpwrindex[i].index = AUTO;
  14433. wlc_phy_txpwrctrl_config_nphy(pi);
  14434. if (pi->nphy_txpwrctrl == PHY_TPC_HW_ON)
  14435. pi->hwpwrctrl_capable = true;
  14436. pi->pi_fptr.init = wlc_phy_init_nphy;
  14437. pi->pi_fptr.calinit = wlc_phy_cal_init_nphy;
  14438. pi->pi_fptr.chanset = wlc_phy_chanspec_set_nphy;
  14439. pi->pi_fptr.txpwrrecalc = wlc_phy_txpower_recalc_target_nphy;
  14440. if (!wlc_phy_txpwr_srom_read_nphy(pi))
  14441. return false;
  14442. return true;
  14443. }
  14444. static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn)
  14445. {
  14446. s32 rfpwr_offset = 0;
  14447. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  14448. if ((pi->pubpi.radiorev == 3) ||
  14449. (pi->pubpi.radiorev == 4) ||
  14450. (pi->pubpi.radiorev == 6))
  14451. rfpwr_offset = (s16)
  14452. nphy_papd_padgain_dlt_2g_2057rev3n4
  14453. [pad_gn];
  14454. else if (pi->pubpi.radiorev == 5)
  14455. rfpwr_offset = (s16)
  14456. nphy_papd_padgain_dlt_2g_2057rev5
  14457. [pad_gn];
  14458. else if ((pi->pubpi.radiorev == 7)
  14459. || (pi->pubpi.radiorev ==
  14460. 8))
  14461. rfpwr_offset = (s16)
  14462. nphy_papd_padgain_dlt_2g_2057rev7
  14463. [pad_gn];
  14464. } else {
  14465. if ((pi->pubpi.radiorev == 3) ||
  14466. (pi->pubpi.radiorev == 4) ||
  14467. (pi->pubpi.radiorev == 6))
  14468. rfpwr_offset = (s16)
  14469. nphy_papd_pgagain_dlt_5g_2057
  14470. [pga_gn];
  14471. else if ((pi->pubpi.radiorev == 7)
  14472. || (pi->pubpi.radiorev ==
  14473. 8))
  14474. rfpwr_offset = (s16)
  14475. nphy_papd_pgagain_dlt_5g_2057rev7
  14476. [pga_gn];
  14477. }
  14478. return rfpwr_offset;
  14479. }
  14480. static void wlc_phy_update_mimoconfig_nphy(struct brcms_phy *pi, s32 preamble)
  14481. {
  14482. bool gf_preamble = false;
  14483. u16 val;
  14484. if (preamble == BRCMS_N_PREAMBLE_GF)
  14485. gf_preamble = true;
  14486. val = read_phy_reg(pi, 0xed);
  14487. val |= RX_GF_MM_AUTO;
  14488. val &= ~RX_GF_OR_MM;
  14489. if (gf_preamble)
  14490. val |= RX_GF_OR_MM;
  14491. write_phy_reg(pi, 0xed, val);
  14492. }
  14493. static void wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  14494. {
  14495. int j, type;
  14496. u16 addr_offset[] = { 0x186, 0x195, 0x2c5};
  14497. for (type = 0; type < 3; type++) {
  14498. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14499. write_phy_reg(pi, addr_offset[type] + j,
  14500. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  14501. }
  14502. if (pi->bw == WL_CHANSPEC_BW_40) {
  14503. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14504. write_phy_reg(pi, 0x186 + j,
  14505. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14506. } else {
  14507. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  14508. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14509. write_phy_reg(pi, 0x186 + j,
  14510. NPHY_IPA_REV4_txdigi_filtcoeffs[5][j]);
  14511. }
  14512. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  14513. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14514. write_phy_reg(pi, 0x2c5 + j,
  14515. NPHY_IPA_REV4_txdigi_filtcoeffs[6][j]);
  14516. }
  14517. }
  14518. }
  14519. static void wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy *pi)
  14520. {
  14521. int j;
  14522. if (pi->bw == WL_CHANSPEC_BW_40) {
  14523. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14524. write_phy_reg(pi, 0x195 + j,
  14525. NPHY_IPA_REV4_txdigi_filtcoeffs[4][j]);
  14526. } else {
  14527. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14528. write_phy_reg(pi, 0x186 + j,
  14529. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14530. }
  14531. }
  14532. static void
  14533. wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, const u8 *events,
  14534. const u8 *dlys, u8 len)
  14535. {
  14536. u32 t1_offset, t2_offset;
  14537. u8 ctr;
  14538. u8 end_event =
  14539. NREV_GE(pi->pubpi.phy_rev,
  14540. 3) ? NPHY_REV3_RFSEQ_CMD_END : NPHY_RFSEQ_CMD_END;
  14541. u8 end_dly = 1;
  14542. if (pi->phyhang_avoid)
  14543. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14544. t1_offset = cmd << 4;
  14545. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t1_offset, 8,
  14546. events);
  14547. t2_offset = t1_offset + 0x080;
  14548. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t2_offset, 8,
  14549. dlys);
  14550. for (ctr = len; ctr < 16; ctr++) {
  14551. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14552. t1_offset + ctr, 8, &end_event);
  14553. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14554. t2_offset + ctr, 8, &end_dly);
  14555. }
  14556. if (pi->phyhang_avoid)
  14557. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  14558. }
  14559. static u16 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy *pi, u16 offset)
  14560. {
  14561. u16 lpf_bw_ctl_val = 0;
  14562. u16 rx2tx_lpf_rc_lut_offset = 0;
  14563. if (offset == 0) {
  14564. if (CHSPEC_IS40(pi->radio_chanspec))
  14565. rx2tx_lpf_rc_lut_offset = 0x159;
  14566. else
  14567. rx2tx_lpf_rc_lut_offset = 0x154;
  14568. } else {
  14569. rx2tx_lpf_rc_lut_offset = offset;
  14570. }
  14571. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14572. (u32) rx2tx_lpf_rc_lut_offset, 16,
  14573. &lpf_bw_ctl_val);
  14574. lpf_bw_ctl_val = lpf_bw_ctl_val & 0x7;
  14575. return lpf_bw_ctl_val;
  14576. }
  14577. static void
  14578. wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value,
  14579. u8 core_mask, u8 off, u8 override_id)
  14580. {
  14581. u8 core_num;
  14582. u16 addr = 0, en_addr = 0, val_addr = 0, en_mask = 0, val_mask = 0;
  14583. u8 val_shift = 0;
  14584. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14585. en_mask = field;
  14586. for (core_num = 0; core_num < 2; core_num++) {
  14587. if (override_id == NPHY_REV7_RFCTRLOVERRIDE_ID0) {
  14588. switch (field) {
  14589. case (0x1 << 2):
  14590. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14591. val_addr = (core_num == 0) ? 0x7a :
  14592. 0x7d;
  14593. val_mask = (0x1 << 1);
  14594. val_shift = 1;
  14595. break;
  14596. case (0x1 << 3):
  14597. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14598. val_addr = (core_num == 0) ? 0x7a :
  14599. 0x7d;
  14600. val_mask = (0x1 << 2);
  14601. val_shift = 2;
  14602. break;
  14603. case (0x1 << 4):
  14604. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14605. val_addr = (core_num == 0) ? 0x7a :
  14606. 0x7d;
  14607. val_mask = (0x1 << 4);
  14608. val_shift = 4;
  14609. break;
  14610. case (0x1 << 5):
  14611. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14612. val_addr = (core_num == 0) ? 0x7a :
  14613. 0x7d;
  14614. val_mask = (0x1 << 5);
  14615. val_shift = 5;
  14616. break;
  14617. case (0x1 << 6):
  14618. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14619. val_addr = (core_num == 0) ? 0x7a :
  14620. 0x7d;
  14621. val_mask = (0x1 << 6);
  14622. val_shift = 6;
  14623. break;
  14624. case (0x1 << 7):
  14625. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14626. val_addr = (core_num == 0) ? 0x7a :
  14627. 0x7d;
  14628. val_mask = (0x1 << 7);
  14629. val_shift = 7;
  14630. break;
  14631. case (0x1 << 10):
  14632. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14633. val_addr = (core_num == 0) ? 0xf8 :
  14634. 0xfa;
  14635. val_mask = (0x7 << 4);
  14636. val_shift = 4;
  14637. break;
  14638. case (0x1 << 11):
  14639. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14640. val_addr = (core_num == 0) ? 0x7b :
  14641. 0x7e;
  14642. val_mask = (0xffff << 0);
  14643. val_shift = 0;
  14644. break;
  14645. case (0x1 << 12):
  14646. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14647. val_addr = (core_num == 0) ? 0x7c :
  14648. 0x7f;
  14649. val_mask = (0xffff << 0);
  14650. val_shift = 0;
  14651. break;
  14652. case (0x3 << 13):
  14653. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14654. val_addr = (core_num == 0) ? 0x348 :
  14655. 0x349;
  14656. val_mask = (0xff << 0);
  14657. val_shift = 0;
  14658. break;
  14659. case (0x1 << 13):
  14660. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14661. val_addr = (core_num == 0) ? 0x348 :
  14662. 0x349;
  14663. val_mask = (0xf << 0);
  14664. val_shift = 0;
  14665. break;
  14666. default:
  14667. addr = 0xffff;
  14668. break;
  14669. }
  14670. } else if (override_id ==
  14671. NPHY_REV7_RFCTRLOVERRIDE_ID1) {
  14672. switch (field) {
  14673. case (0x1 << 1):
  14674. en_addr = (core_num == 0) ? 0x342 :
  14675. 0x343;
  14676. val_addr = (core_num == 0) ? 0x340 :
  14677. 0x341;
  14678. val_mask = (0x1 << 1);
  14679. val_shift = 1;
  14680. break;
  14681. case (0x1 << 3):
  14682. en_addr = (core_num == 0) ? 0x342 :
  14683. 0x343;
  14684. val_addr = (core_num == 0) ? 0x340 :
  14685. 0x341;
  14686. val_mask = (0x1 << 3);
  14687. val_shift = 3;
  14688. break;
  14689. case (0x1 << 5):
  14690. en_addr = (core_num == 0) ? 0x342 :
  14691. 0x343;
  14692. val_addr = (core_num == 0) ? 0x340 :
  14693. 0x341;
  14694. val_mask = (0x1 << 5);
  14695. val_shift = 5;
  14696. break;
  14697. case (0x1 << 4):
  14698. en_addr = (core_num == 0) ? 0x342 :
  14699. 0x343;
  14700. val_addr = (core_num == 0) ? 0x340 :
  14701. 0x341;
  14702. val_mask = (0x1 << 4);
  14703. val_shift = 4;
  14704. break;
  14705. case (0x1 << 2):
  14706. en_addr = (core_num == 0) ? 0x342 :
  14707. 0x343;
  14708. val_addr = (core_num == 0) ? 0x340 :
  14709. 0x341;
  14710. val_mask = (0x1 << 2);
  14711. val_shift = 2;
  14712. break;
  14713. case (0x1 << 7):
  14714. en_addr = (core_num == 0) ? 0x342 :
  14715. 0x343;
  14716. val_addr = (core_num == 0) ? 0x340 :
  14717. 0x341;
  14718. val_mask = (0x7 << 8);
  14719. val_shift = 8;
  14720. break;
  14721. case (0x1 << 11):
  14722. en_addr = (core_num == 0) ? 0x342 :
  14723. 0x343;
  14724. val_addr = (core_num == 0) ? 0x340 :
  14725. 0x341;
  14726. val_mask = (0x1 << 14);
  14727. val_shift = 14;
  14728. break;
  14729. case (0x1 << 10):
  14730. en_addr = (core_num == 0) ? 0x342 :
  14731. 0x343;
  14732. val_addr = (core_num == 0) ? 0x340 :
  14733. 0x341;
  14734. val_mask = (0x1 << 13);
  14735. val_shift = 13;
  14736. break;
  14737. case (0x1 << 9):
  14738. en_addr = (core_num == 0) ? 0x342 :
  14739. 0x343;
  14740. val_addr = (core_num == 0) ? 0x340 :
  14741. 0x341;
  14742. val_mask = (0x1 << 12);
  14743. val_shift = 12;
  14744. break;
  14745. case (0x1 << 8):
  14746. en_addr = (core_num == 0) ? 0x342 :
  14747. 0x343;
  14748. val_addr = (core_num == 0) ? 0x340 :
  14749. 0x341;
  14750. val_mask = (0x1 << 11);
  14751. val_shift = 11;
  14752. break;
  14753. case (0x1 << 6):
  14754. en_addr = (core_num == 0) ? 0x342 :
  14755. 0x343;
  14756. val_addr = (core_num == 0) ? 0x340 :
  14757. 0x341;
  14758. val_mask = (0x1 << 6);
  14759. val_shift = 6;
  14760. break;
  14761. case (0x1 << 0):
  14762. en_addr = (core_num == 0) ? 0x342 :
  14763. 0x343;
  14764. val_addr = (core_num == 0) ? 0x340 :
  14765. 0x341;
  14766. val_mask = (0x1 << 0);
  14767. val_shift = 0;
  14768. break;
  14769. default:
  14770. addr = 0xffff;
  14771. break;
  14772. }
  14773. } else if (override_id ==
  14774. NPHY_REV7_RFCTRLOVERRIDE_ID2) {
  14775. switch (field) {
  14776. case (0x1 << 3):
  14777. en_addr = (core_num == 0) ? 0x346 :
  14778. 0x347;
  14779. val_addr = (core_num == 0) ? 0x344 :
  14780. 0x345;
  14781. val_mask = (0x1 << 3);
  14782. val_shift = 3;
  14783. break;
  14784. case (0x1 << 1):
  14785. en_addr = (core_num == 0) ? 0x346 :
  14786. 0x347;
  14787. val_addr = (core_num == 0) ? 0x344 :
  14788. 0x345;
  14789. val_mask = (0x1 << 1);
  14790. val_shift = 1;
  14791. break;
  14792. case (0x1 << 0):
  14793. en_addr = (core_num == 0) ? 0x346 :
  14794. 0x347;
  14795. val_addr = (core_num == 0) ? 0x344 :
  14796. 0x345;
  14797. val_mask = (0x1 << 0);
  14798. val_shift = 0;
  14799. break;
  14800. case (0x1 << 2):
  14801. en_addr = (core_num == 0) ? 0x346 :
  14802. 0x347;
  14803. val_addr = (core_num == 0) ? 0x344 :
  14804. 0x345;
  14805. val_mask = (0x1 << 2);
  14806. val_shift = 2;
  14807. break;
  14808. case (0x1 << 4):
  14809. en_addr = (core_num == 0) ? 0x346 :
  14810. 0x347;
  14811. val_addr = (core_num == 0) ? 0x344 :
  14812. 0x345;
  14813. val_mask = (0x1 << 4);
  14814. val_shift = 4;
  14815. break;
  14816. default:
  14817. addr = 0xffff;
  14818. break;
  14819. }
  14820. }
  14821. if (off) {
  14822. and_phy_reg(pi, en_addr, ~en_mask);
  14823. and_phy_reg(pi, val_addr, ~val_mask);
  14824. } else {
  14825. if ((core_mask == 0)
  14826. || (core_mask & (1 << core_num))) {
  14827. or_phy_reg(pi, en_addr, en_mask);
  14828. if (addr != 0xffff)
  14829. mod_phy_reg(pi, val_addr,
  14830. val_mask,
  14831. (value <<
  14832. val_shift));
  14833. }
  14834. }
  14835. }
  14836. }
  14837. }
  14838. static void wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy *pi)
  14839. {
  14840. uint core;
  14841. int ctr;
  14842. s16 gain_delta[2];
  14843. u8 curr_channel;
  14844. u16 minmax_gain[2];
  14845. u16 regval[4];
  14846. if (pi->phyhang_avoid)
  14847. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14848. if (pi->nphy_gain_boost) {
  14849. if ((CHSPEC_IS2G(pi->radio_chanspec))) {
  14850. gain_delta[0] = 6;
  14851. gain_delta[1] = 6;
  14852. } else {
  14853. curr_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  14854. gain_delta[0] =
  14855. (s16)
  14856. PHY_HW_ROUND(((nphy_lnagain_est0[0] *
  14857. curr_channel) +
  14858. nphy_lnagain_est0[1]), 13);
  14859. gain_delta[1] =
  14860. (s16)
  14861. PHY_HW_ROUND(((nphy_lnagain_est1[0] *
  14862. curr_channel) +
  14863. nphy_lnagain_est1[1]), 13);
  14864. }
  14865. } else {
  14866. gain_delta[0] = 0;
  14867. gain_delta[1] = 0;
  14868. }
  14869. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  14870. if (pi->nphy_elna_gain_config) {
  14871. regval[0] = nphy_def_lnagains[2] + gain_delta[core];
  14872. regval[1] = nphy_def_lnagains[3] + gain_delta[core];
  14873. regval[2] = nphy_def_lnagains[3] + gain_delta[core];
  14874. regval[3] = nphy_def_lnagains[3] + gain_delta[core];
  14875. } else {
  14876. for (ctr = 0; ctr < 4; ctr++)
  14877. regval[ctr] =
  14878. nphy_def_lnagains[ctr] +
  14879. gain_delta[core];
  14880. }
  14881. wlc_phy_table_write_nphy(pi, core, 4, 8, 16, regval);
  14882. minmax_gain[core] =
  14883. (u16) (nphy_def_lnagains[2] + gain_delta[core] + 4);
  14884. }
  14885. mod_phy_reg(pi, 0x1e, (0xff << 0), (minmax_gain[0] << 0));
  14886. mod_phy_reg(pi, 0x34, (0xff << 0), (minmax_gain[1] << 0));
  14887. if (pi->phyhang_avoid)
  14888. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  14889. }
  14890. static void
  14891. wlc_phy_war_force_trsw_to_R_cliplo_nphy(struct brcms_phy *pi, u8 core)
  14892. {
  14893. if (core == PHY_CORE_0) {
  14894. write_phy_reg(pi, 0x38, 0x4);
  14895. if (CHSPEC_IS2G(pi->radio_chanspec))
  14896. write_phy_reg(pi, 0x37, 0x0060);
  14897. else
  14898. write_phy_reg(pi, 0x37, 0x1080);
  14899. } else if (core == PHY_CORE_1) {
  14900. write_phy_reg(pi, 0x2ae, 0x4);
  14901. if (CHSPEC_IS2G(pi->radio_chanspec))
  14902. write_phy_reg(pi, 0x2ad, 0x0060);
  14903. else
  14904. write_phy_reg(pi, 0x2ad, 0x1080);
  14905. }
  14906. }
  14907. static void wlc_phy_war_txchain_upd_nphy(struct brcms_phy *pi, u8 txchain)
  14908. {
  14909. u8 txchain0, txchain1;
  14910. txchain0 = txchain & 0x1;
  14911. txchain1 = (txchain & 0x2) >> 1;
  14912. if (!txchain0)
  14913. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  14914. if (!txchain1)
  14915. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  14916. }
  14917. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy *pi)
  14918. {
  14919. s8 lna1_gain_db[] = { 8, 13, 17, 22 };
  14920. s8 lna2_gain_db[] = { -2, 7, 11, 15 };
  14921. s8 tia_gain_db[] = { -4, -1, 2, 5, 5, 5, 5, 5, 5, 5 };
  14922. s8 tia_gainbits[] = {
  14923. 0x0, 0x01, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  14924. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  14925. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  14926. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  14927. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3c << 0));
  14928. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3c << 0));
  14929. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x8, 8,
  14930. lna1_gain_db);
  14931. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x8, 8,
  14932. lna1_gain_db);
  14933. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10, 8,
  14934. lna2_gain_db);
  14935. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10, 8,
  14936. lna2_gain_db);
  14937. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  14938. tia_gain_db);
  14939. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  14940. tia_gain_db);
  14941. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  14942. tia_gainbits);
  14943. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  14944. tia_gainbits);
  14945. write_phy_reg(pi, 0x37, 0x74);
  14946. write_phy_reg(pi, 0x2ad, 0x74);
  14947. write_phy_reg(pi, 0x38, 0x18);
  14948. write_phy_reg(pi, 0x2ae, 0x18);
  14949. write_phy_reg(pi, 0x2b, 0xe8);
  14950. write_phy_reg(pi, 0x41, 0xe8);
  14951. if (CHSPEC_IS20(pi->radio_chanspec)) {
  14952. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x12 << 0));
  14953. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x12 << 0));
  14954. } else {
  14955. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x10 << 0));
  14956. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x10 << 0));
  14957. }
  14958. }
  14959. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy *pi)
  14960. {
  14961. u16 currband;
  14962. static const s8 lna1G_gain_db_rev7[] = { 9, 14, 19, 24 };
  14963. const s8 *lna1_gain_db = NULL;
  14964. const s8 *lna1_gain_db_2 = NULL;
  14965. const s8 *lna2_gain_db = NULL;
  14966. static const s8 tiaA_gain_db_rev7[] = { -9, -6, -3, 0, 3, 3, 3, 3, 3, 3 };
  14967. const s8 *tia_gain_db;
  14968. static const s8 tiaA_gainbits_rev7[] = { 0, 1, 2, 3, 4, 4, 4, 4, 4, 4 };
  14969. const s8 *tia_gainbits;
  14970. static const u16 rfseqA_init_gain_rev7[] = { 0x624f, 0x624f };
  14971. const u16 *rfseq_init_gain;
  14972. u16 init_gaincode;
  14973. u16 clip1hi_gaincode;
  14974. u16 clip1md_gaincode = 0;
  14975. u16 clip1md_gaincode_B;
  14976. u16 clip1lo_gaincode;
  14977. u16 clip1lo_gaincode_B;
  14978. u8 crsminl_th = 0;
  14979. u8 crsminu_th;
  14980. u16 nbclip_th = 0;
  14981. u8 w1clip_th;
  14982. u16 freq;
  14983. s8 nvar_baseline_offset0 = 0, nvar_baseline_offset1 = 0;
  14984. u8 chg_nbclip_th = 0;
  14985. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  14986. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  14987. currband = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  14988. if (currband == 0) {
  14989. lna1_gain_db = lna1G_gain_db_rev7;
  14990. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  14991. lna1_gain_db);
  14992. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  14993. lna1_gain_db);
  14994. mod_phy_reg(pi, 0x283, (0xff << 0), (0x40 << 0));
  14995. if (CHSPEC_IS40(pi->radio_chanspec)) {
  14996. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3e << 0));
  14997. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3e << 0));
  14998. }
  14999. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15000. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15001. mod_phy_reg(pi, 0x300, (0x3f << 0), (13 << 0));
  15002. mod_phy_reg(pi, 0x301, (0x3f << 0), (13 << 0));
  15003. }
  15004. } else {
  15005. init_gaincode = 0x9e;
  15006. clip1hi_gaincode = 0x9e;
  15007. clip1md_gaincode_B = 0x24;
  15008. clip1lo_gaincode = 0x8a;
  15009. clip1lo_gaincode_B = 8;
  15010. rfseq_init_gain = rfseqA_init_gain_rev7;
  15011. tia_gain_db = tiaA_gain_db_rev7;
  15012. tia_gainbits = tiaA_gainbits_rev7;
  15013. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  15014. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15015. w1clip_th = 25;
  15016. clip1md_gaincode = 0x82;
  15017. if ((freq <= 5080) || (freq == 5825)) {
  15018. static const s8 lna1A_gain_db_rev7[] = { 11, 16, 20, 24 };
  15019. static const s8 lna1A_gain_db_2_rev7[] = { 11, 17, 22, 25};
  15020. static const s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15021. crsminu_th = 0x3e;
  15022. lna1_gain_db = lna1A_gain_db_rev7;
  15023. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15024. lna2_gain_db = lna2A_gain_db_rev7;
  15025. } else if ((freq >= 5500) && (freq <= 5700)) {
  15026. static const s8 lna1A_gain_db_rev7[] = { 11, 17, 21, 25 };
  15027. static const s8 lna1A_gain_db_2_rev7[] = { 12, 18, 22, 26};
  15028. static const s8 lna2A_gain_db_rev7[] = { 1, 8, 12, 16 };
  15029. crsminu_th = 0x45;
  15030. clip1md_gaincode_B = 0x14;
  15031. nbclip_th = 0xff;
  15032. chg_nbclip_th = 1;
  15033. lna1_gain_db = lna1A_gain_db_rev7;
  15034. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15035. lna2_gain_db = lna2A_gain_db_rev7;
  15036. } else {
  15037. static const s8 lna1A_gain_db_rev7[] = { 12, 18, 22, 26 };
  15038. static const s8 lna1A_gain_db_2_rev7[] = { 12, 18, 22, 26};
  15039. static const s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15040. crsminu_th = 0x41;
  15041. lna1_gain_db = lna1A_gain_db_rev7;
  15042. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15043. lna2_gain_db = lna2A_gain_db_rev7;
  15044. }
  15045. if (freq <= 4920) {
  15046. nvar_baseline_offset0 = 5;
  15047. nvar_baseline_offset1 = 5;
  15048. } else if ((freq > 4920) && (freq <= 5320)) {
  15049. nvar_baseline_offset0 = 3;
  15050. nvar_baseline_offset1 = 5;
  15051. } else if ((freq > 5320) && (freq <= 5700)) {
  15052. nvar_baseline_offset0 = 3;
  15053. nvar_baseline_offset1 = 2;
  15054. } else {
  15055. nvar_baseline_offset0 = 4;
  15056. nvar_baseline_offset1 = 0;
  15057. }
  15058. } else {
  15059. crsminu_th = 0x3a;
  15060. crsminl_th = 0x3a;
  15061. w1clip_th = 20;
  15062. if ((freq >= 4920) && (freq <= 5320)) {
  15063. nvar_baseline_offset0 = 4;
  15064. nvar_baseline_offset1 = 5;
  15065. } else if ((freq > 5320) && (freq <= 5550)) {
  15066. nvar_baseline_offset0 = 4;
  15067. nvar_baseline_offset1 = 2;
  15068. } else {
  15069. nvar_baseline_offset0 = 5;
  15070. nvar_baseline_offset1 = 3;
  15071. }
  15072. }
  15073. write_phy_reg(pi, 0x20, init_gaincode);
  15074. write_phy_reg(pi, 0x2a7, init_gaincode);
  15075. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15076. pi->pubpi.phy_corenum, 0x106, 16,
  15077. rfseq_init_gain);
  15078. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15079. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15080. write_phy_reg(pi, 0x36, clip1md_gaincode_B);
  15081. write_phy_reg(pi, 0x2ac, clip1md_gaincode_B);
  15082. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15083. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15084. write_phy_reg(pi, 0x38, clip1lo_gaincode_B);
  15085. write_phy_reg(pi, 0x2ae, clip1lo_gaincode_B);
  15086. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15087. tia_gain_db);
  15088. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15089. tia_gain_db);
  15090. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15091. tia_gainbits);
  15092. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15093. tia_gainbits);
  15094. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15095. if (chg_nbclip_th == 1) {
  15096. write_phy_reg(pi, 0x2b, nbclip_th);
  15097. write_phy_reg(pi, 0x41, nbclip_th);
  15098. }
  15099. mod_phy_reg(pi, 0x300, (0x3f << 0), (w1clip_th << 0));
  15100. mod_phy_reg(pi, 0x301, (0x3f << 0), (w1clip_th << 0));
  15101. mod_phy_reg(pi, 0x2e4,
  15102. (0x3f << 0), (nvar_baseline_offset0 << 0));
  15103. mod_phy_reg(pi, 0x2e4,
  15104. (0x3f << 6), (nvar_baseline_offset1 << 6));
  15105. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15106. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15107. lna1_gain_db);
  15108. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15109. lna1_gain_db_2);
  15110. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15111. 8, lna2_gain_db);
  15112. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15113. 8, lna2_gain_db);
  15114. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15115. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15116. } else {
  15117. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15118. }
  15119. }
  15120. }
  15121. static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi)
  15122. {
  15123. u16 w1th, hpf_code, currband;
  15124. int ctr;
  15125. u8 rfseq_updategainu_events[] = {
  15126. NPHY_RFSEQ_CMD_RX_GAIN,
  15127. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15128. NPHY_RFSEQ_CMD_SET_HPF_BW
  15129. };
  15130. static const u8 rfseq_updategainu_dlys[] = { 10, 30, 1 };
  15131. static const s8 lna1G_gain_db[] = { 7, 11, 16, 23 };
  15132. static const s8 lna1G_gain_db_rev4[] = { 8, 12, 17, 25 };
  15133. static const s8 lna1G_gain_db_rev5[] = { 9, 13, 18, 26 };
  15134. static const s8 lna1G_gain_db_rev6[] = { 8, 13, 18, 25 };
  15135. static const s8 lna1G_gain_db_rev6_224B0[] = { 10, 14, 19, 27 };
  15136. static const s8 lna1A_gain_db[] = { 7, 11, 17, 23 };
  15137. static const s8 lna1A_gain_db_rev4[] = { 8, 12, 18, 23 };
  15138. static const s8 lna1A_gain_db_rev5[] = { 6, 10, 16, 21 };
  15139. static const s8 lna1A_gain_db_rev6[] = { 6, 10, 16, 21 };
  15140. const s8 *lna1_gain_db = NULL;
  15141. static const s8 lna2G_gain_db[] = { -5, 6, 10, 14 };
  15142. static const s8 lna2G_gain_db_rev5[] = { -3, 7, 11, 16 };
  15143. static const s8 lna2G_gain_db_rev6[] = { -5, 6, 10, 14 };
  15144. static const s8 lna2G_gain_db_rev6_224B0[] = { -5, 6, 10, 15 };
  15145. static const s8 lna2A_gain_db[] = { -6, 2, 6, 10 };
  15146. static const s8 lna2A_gain_db_rev4[] = { -5, 2, 6, 10 };
  15147. static const s8 lna2A_gain_db_rev5[] = { -7, 0, 4, 8 };
  15148. static const s8 lna2A_gain_db_rev6[] = { -7, 0, 4, 8 };
  15149. const s8 *lna2_gain_db = NULL;
  15150. static const s8 tiaG_gain_db[] = {
  15151. 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A };
  15152. static const s8 tiaA_gain_db[] = {
  15153. 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13 };
  15154. static const s8 tiaA_gain_db_rev4[] = {
  15155. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15156. static const s8 tiaA_gain_db_rev5[] = {
  15157. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15158. static const s8 tiaA_gain_db_rev6[] = {
  15159. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15160. const s8 *tia_gain_db;
  15161. static const s8 tiaG_gainbits[] = {
  15162. 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15163. static const s8 tiaA_gainbits[] = {
  15164. 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06 };
  15165. static const s8 tiaA_gainbits_rev4[] = {
  15166. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15167. static const s8 tiaA_gainbits_rev5[] = {
  15168. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15169. static const s8 tiaA_gainbits_rev6[] = {
  15170. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15171. const s8 *tia_gainbits;
  15172. static const s8 lpf_gain_db[] = { 0x00, 0x06, 0x0c, 0x12, 0x12, 0x12 };
  15173. static const s8 lpf_gainbits[] = { 0x00, 0x01, 0x02, 0x03, 0x03, 0x03 };
  15174. static const u16 rfseqG_init_gain[] = { 0x613f, 0x613f, 0x613f, 0x613f };
  15175. static const u16 rfseqG_init_gain_rev4[] = { 0x513f, 0x513f, 0x513f, 0x513f };
  15176. static const u16 rfseqG_init_gain_rev5[] = { 0x413f, 0x413f, 0x413f, 0x413f };
  15177. static const u16 rfseqG_init_gain_rev5_elna[] = {
  15178. 0x013f, 0x013f, 0x013f, 0x013f };
  15179. static const u16 rfseqG_init_gain_rev6[] = { 0x513f, 0x513f };
  15180. static const u16 rfseqG_init_gain_rev6_224B0[] = { 0x413f, 0x413f };
  15181. static const u16 rfseqG_init_gain_rev6_elna[] = { 0x113f, 0x113f };
  15182. static const u16 rfseqA_init_gain[] = { 0x516f, 0x516f, 0x516f, 0x516f };
  15183. static const u16 rfseqA_init_gain_rev4[] = { 0x614f, 0x614f, 0x614f, 0x614f };
  15184. static const u16 rfseqA_init_gain_rev4_elna[] = {
  15185. 0x314f, 0x314f, 0x314f, 0x314f };
  15186. static const u16 rfseqA_init_gain_rev5[] = { 0x714f, 0x714f, 0x714f, 0x714f };
  15187. static const u16 rfseqA_init_gain_rev6[] = { 0x714f, 0x714f };
  15188. const u16 *rfseq_init_gain;
  15189. u16 initG_gaincode = 0x627e;
  15190. u16 initG_gaincode_rev4 = 0x527e;
  15191. u16 initG_gaincode_rev5 = 0x427e;
  15192. u16 initG_gaincode_rev5_elna = 0x027e;
  15193. u16 initG_gaincode_rev6 = 0x527e;
  15194. u16 initG_gaincode_rev6_224B0 = 0x427e;
  15195. u16 initG_gaincode_rev6_elna = 0x127e;
  15196. u16 initA_gaincode = 0x52de;
  15197. u16 initA_gaincode_rev4 = 0x629e;
  15198. u16 initA_gaincode_rev4_elna = 0x329e;
  15199. u16 initA_gaincode_rev5 = 0x729e;
  15200. u16 initA_gaincode_rev6 = 0x729e;
  15201. u16 init_gaincode;
  15202. u16 clip1hiG_gaincode = 0x107e;
  15203. u16 clip1hiG_gaincode_rev4 = 0x007e;
  15204. u16 clip1hiG_gaincode_rev5 = 0x1076;
  15205. u16 clip1hiG_gaincode_rev6 = 0x007e;
  15206. u16 clip1hiA_gaincode = 0x00de;
  15207. u16 clip1hiA_gaincode_rev4 = 0x029e;
  15208. u16 clip1hiA_gaincode_rev5 = 0x029e;
  15209. u16 clip1hiA_gaincode_rev6 = 0x029e;
  15210. u16 clip1hi_gaincode;
  15211. u16 clip1mdG_gaincode = 0x0066;
  15212. u16 clip1mdA_gaincode = 0x00ca;
  15213. u16 clip1mdA_gaincode_rev4 = 0x1084;
  15214. u16 clip1mdA_gaincode_rev5 = 0x2084;
  15215. u16 clip1mdA_gaincode_rev6 = 0x2084;
  15216. u16 clip1md_gaincode = 0;
  15217. u16 clip1loG_gaincode = 0x0074;
  15218. static const u16 clip1loG_gaincode_rev5[] = {
  15219. 0x0062, 0x0064, 0x006a, 0x106a, 0x106c, 0x1074, 0x107c, 0x207c
  15220. };
  15221. static const u16 clip1loG_gaincode_rev6[] = {
  15222. 0x106a, 0x106c, 0x1074, 0x107c, 0x007e, 0x107e, 0x207e, 0x307e
  15223. };
  15224. u16 clip1loG_gaincode_rev6_224B0 = 0x1074;
  15225. u16 clip1loA_gaincode = 0x00cc;
  15226. u16 clip1loA_gaincode_rev4 = 0x0086;
  15227. u16 clip1loA_gaincode_rev5 = 0x2086;
  15228. u16 clip1loA_gaincode_rev6 = 0x2086;
  15229. u16 clip1lo_gaincode;
  15230. u8 crsminG_th = 0x18;
  15231. u8 crsminG_th_rev5 = 0x18;
  15232. u8 crsminG_th_rev6 = 0x18;
  15233. u8 crsminA_th = 0x1e;
  15234. u8 crsminA_th_rev4 = 0x24;
  15235. u8 crsminA_th_rev5 = 0x24;
  15236. u8 crsminA_th_rev6 = 0x24;
  15237. u8 crsmin_th;
  15238. u8 crsminlG_th = 0x18;
  15239. u8 crsminlG_th_rev5 = 0x18;
  15240. u8 crsminlG_th_rev6 = 0x18;
  15241. u8 crsminlA_th = 0x1e;
  15242. u8 crsminlA_th_rev4 = 0x24;
  15243. u8 crsminlA_th_rev5 = 0x24;
  15244. u8 crsminlA_th_rev6 = 0x24;
  15245. u8 crsminl_th = 0;
  15246. u8 crsminuG_th = 0x18;
  15247. u8 crsminuG_th_rev5 = 0x18;
  15248. u8 crsminuG_th_rev6 = 0x18;
  15249. u8 crsminuA_th = 0x1e;
  15250. u8 crsminuA_th_rev4 = 0x24;
  15251. u8 crsminuA_th_rev5 = 0x24;
  15252. u8 crsminuA_th_rev6 = 0x24;
  15253. u8 crsminuA_th_rev6_224B0 = 0x2d;
  15254. u8 crsminu_th;
  15255. u16 nbclipG_th = 0x20d;
  15256. u16 nbclipG_th_rev4 = 0x1a1;
  15257. u16 nbclipG_th_rev5 = 0x1d0;
  15258. u16 nbclipG_th_rev6 = 0x1d0;
  15259. u16 nbclipA_th = 0x1a1;
  15260. u16 nbclipA_th_rev4 = 0x107;
  15261. u16 nbclipA_th_rev5 = 0x0a9;
  15262. u16 nbclipA_th_rev6 = 0x0f0;
  15263. u16 nbclip_th = 0;
  15264. u8 w1clipG_th = 5;
  15265. u8 w1clipG_th_rev5 = 9;
  15266. u8 w1clipG_th_rev6 = 5;
  15267. u8 w1clipA_th = 25, w1clip_th;
  15268. u8 rssi_gain_default = 0x50;
  15269. u8 rssiG_gain_rev6_224B0 = 0x50;
  15270. u8 rssiA_gain_rev5 = 0x90;
  15271. u8 rssiA_gain_rev6 = 0x90;
  15272. u8 rssi_gain;
  15273. u16 regval[21];
  15274. u8 triso;
  15275. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.triso :
  15276. pi->srom_fem2g.triso;
  15277. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15278. if (pi->pubpi.radiorev == 5) {
  15279. wlc_phy_workarounds_nphy_gainctrl_2057_rev5(pi);
  15280. } else if (pi->pubpi.radiorev == 7) {
  15281. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15282. mod_phy_reg(pi, 0x283, (0xff << 0), (0x44 << 0));
  15283. mod_phy_reg(pi, 0x280, (0xff << 0), (0x44 << 0));
  15284. } else if ((pi->pubpi.radiorev == 3)
  15285. || (pi->pubpi.radiorev == 8)) {
  15286. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15287. if (pi->pubpi.radiorev == 8) {
  15288. mod_phy_reg(pi, 0x283,
  15289. (0xff << 0), (0x44 << 0));
  15290. mod_phy_reg(pi, 0x280,
  15291. (0xff << 0), (0x44 << 0));
  15292. }
  15293. } else {
  15294. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15295. }
  15296. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  15297. mod_phy_reg(pi, 0xa0, (0x1 << 6), (1 << 6));
  15298. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15299. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15300. currband =
  15301. read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15302. if (currband == 0) {
  15303. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15304. if (pi->pubpi.radiorev == 11) {
  15305. lna1_gain_db = lna1G_gain_db_rev6_224B0;
  15306. lna2_gain_db = lna2G_gain_db_rev6_224B0;
  15307. rfseq_init_gain =
  15308. rfseqG_init_gain_rev6_224B0;
  15309. init_gaincode =
  15310. initG_gaincode_rev6_224B0;
  15311. clip1hi_gaincode =
  15312. clip1hiG_gaincode_rev6;
  15313. clip1lo_gaincode =
  15314. clip1loG_gaincode_rev6_224B0;
  15315. nbclip_th = nbclipG_th_rev6;
  15316. w1clip_th = w1clipG_th_rev6;
  15317. crsmin_th = crsminG_th_rev6;
  15318. crsminl_th = crsminlG_th_rev6;
  15319. crsminu_th = crsminuG_th_rev6;
  15320. rssi_gain = rssiG_gain_rev6_224B0;
  15321. } else {
  15322. lna1_gain_db = lna1G_gain_db_rev6;
  15323. lna2_gain_db = lna2G_gain_db_rev6;
  15324. if (pi->sh->boardflags & BFL_EXTLNA) {
  15325. rfseq_init_gain =
  15326. rfseqG_init_gain_rev6_elna;
  15327. init_gaincode =
  15328. initG_gaincode_rev6_elna;
  15329. } else {
  15330. rfseq_init_gain =
  15331. rfseqG_init_gain_rev6;
  15332. init_gaincode =
  15333. initG_gaincode_rev6;
  15334. }
  15335. clip1hi_gaincode =
  15336. clip1hiG_gaincode_rev6;
  15337. switch (triso) {
  15338. case 0:
  15339. clip1lo_gaincode =
  15340. clip1loG_gaincode_rev6
  15341. [0];
  15342. break;
  15343. case 1:
  15344. clip1lo_gaincode =
  15345. clip1loG_gaincode_rev6
  15346. [1];
  15347. break;
  15348. case 2:
  15349. clip1lo_gaincode =
  15350. clip1loG_gaincode_rev6
  15351. [2];
  15352. break;
  15353. case 3:
  15354. default:
  15355. clip1lo_gaincode =
  15356. clip1loG_gaincode_rev6
  15357. [3];
  15358. break;
  15359. case 4:
  15360. clip1lo_gaincode =
  15361. clip1loG_gaincode_rev6
  15362. [4];
  15363. break;
  15364. case 5:
  15365. clip1lo_gaincode =
  15366. clip1loG_gaincode_rev6
  15367. [5];
  15368. break;
  15369. case 6:
  15370. clip1lo_gaincode =
  15371. clip1loG_gaincode_rev6
  15372. [6];
  15373. break;
  15374. case 7:
  15375. clip1lo_gaincode =
  15376. clip1loG_gaincode_rev6
  15377. [7];
  15378. break;
  15379. }
  15380. nbclip_th = nbclipG_th_rev6;
  15381. w1clip_th = w1clipG_th_rev6;
  15382. crsmin_th = crsminG_th_rev6;
  15383. crsminl_th = crsminlG_th_rev6;
  15384. crsminu_th = crsminuG_th_rev6;
  15385. rssi_gain = rssi_gain_default;
  15386. }
  15387. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15388. lna1_gain_db = lna1G_gain_db_rev5;
  15389. lna2_gain_db = lna2G_gain_db_rev5;
  15390. if (pi->sh->boardflags & BFL_EXTLNA) {
  15391. rfseq_init_gain =
  15392. rfseqG_init_gain_rev5_elna;
  15393. init_gaincode =
  15394. initG_gaincode_rev5_elna;
  15395. } else {
  15396. rfseq_init_gain = rfseqG_init_gain_rev5;
  15397. init_gaincode = initG_gaincode_rev5;
  15398. }
  15399. clip1hi_gaincode = clip1hiG_gaincode_rev5;
  15400. switch (triso) {
  15401. case 0:
  15402. clip1lo_gaincode =
  15403. clip1loG_gaincode_rev5[0];
  15404. break;
  15405. case 1:
  15406. clip1lo_gaincode =
  15407. clip1loG_gaincode_rev5[1];
  15408. break;
  15409. case 2:
  15410. clip1lo_gaincode =
  15411. clip1loG_gaincode_rev5[2];
  15412. break;
  15413. case 3:
  15414. clip1lo_gaincode =
  15415. clip1loG_gaincode_rev5[3];
  15416. break;
  15417. case 4:
  15418. clip1lo_gaincode =
  15419. clip1loG_gaincode_rev5[4];
  15420. break;
  15421. case 5:
  15422. clip1lo_gaincode =
  15423. clip1loG_gaincode_rev5[5];
  15424. break;
  15425. case 6:
  15426. clip1lo_gaincode =
  15427. clip1loG_gaincode_rev5[6];
  15428. break;
  15429. case 7:
  15430. clip1lo_gaincode =
  15431. clip1loG_gaincode_rev5[7];
  15432. break;
  15433. default:
  15434. clip1lo_gaincode =
  15435. clip1loG_gaincode_rev5[3];
  15436. break;
  15437. }
  15438. nbclip_th = nbclipG_th_rev5;
  15439. w1clip_th = w1clipG_th_rev5;
  15440. crsmin_th = crsminG_th_rev5;
  15441. crsminl_th = crsminlG_th_rev5;
  15442. crsminu_th = crsminuG_th_rev5;
  15443. rssi_gain = rssi_gain_default;
  15444. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15445. lna1_gain_db = lna1G_gain_db_rev4;
  15446. lna2_gain_db = lna2G_gain_db;
  15447. rfseq_init_gain = rfseqG_init_gain_rev4;
  15448. init_gaincode = initG_gaincode_rev4;
  15449. clip1hi_gaincode = clip1hiG_gaincode_rev4;
  15450. clip1lo_gaincode = clip1loG_gaincode;
  15451. nbclip_th = nbclipG_th_rev4;
  15452. w1clip_th = w1clipG_th;
  15453. crsmin_th = crsminG_th;
  15454. crsminl_th = crsminlG_th;
  15455. crsminu_th = crsminuG_th;
  15456. rssi_gain = rssi_gain_default;
  15457. } else {
  15458. lna1_gain_db = lna1G_gain_db;
  15459. lna2_gain_db = lna2G_gain_db;
  15460. rfseq_init_gain = rfseqG_init_gain;
  15461. init_gaincode = initG_gaincode;
  15462. clip1hi_gaincode = clip1hiG_gaincode;
  15463. clip1lo_gaincode = clip1loG_gaincode;
  15464. nbclip_th = nbclipG_th;
  15465. w1clip_th = w1clipG_th;
  15466. crsmin_th = crsminG_th;
  15467. crsminl_th = crsminlG_th;
  15468. crsminu_th = crsminuG_th;
  15469. rssi_gain = rssi_gain_default;
  15470. }
  15471. tia_gain_db = tiaG_gain_db;
  15472. tia_gainbits = tiaG_gainbits;
  15473. clip1md_gaincode = clip1mdG_gaincode;
  15474. } else {
  15475. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15476. lna1_gain_db = lna1A_gain_db_rev6;
  15477. lna2_gain_db = lna2A_gain_db_rev6;
  15478. tia_gain_db = tiaA_gain_db_rev6;
  15479. tia_gainbits = tiaA_gainbits_rev6;
  15480. rfseq_init_gain = rfseqA_init_gain_rev6;
  15481. init_gaincode = initA_gaincode_rev6;
  15482. clip1hi_gaincode = clip1hiA_gaincode_rev6;
  15483. clip1md_gaincode = clip1mdA_gaincode_rev6;
  15484. clip1lo_gaincode = clip1loA_gaincode_rev6;
  15485. crsmin_th = crsminA_th_rev6;
  15486. crsminl_th = crsminlA_th_rev6;
  15487. if ((pi->pubpi.radiorev == 11) &&
  15488. (CHSPEC_IS40(pi->radio_chanspec) == 0))
  15489. crsminu_th = crsminuA_th_rev6_224B0;
  15490. else
  15491. crsminu_th = crsminuA_th_rev6;
  15492. nbclip_th = nbclipA_th_rev6;
  15493. rssi_gain = rssiA_gain_rev6;
  15494. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15495. lna1_gain_db = lna1A_gain_db_rev5;
  15496. lna2_gain_db = lna2A_gain_db_rev5;
  15497. tia_gain_db = tiaA_gain_db_rev5;
  15498. tia_gainbits = tiaA_gainbits_rev5;
  15499. rfseq_init_gain = rfseqA_init_gain_rev5;
  15500. init_gaincode = initA_gaincode_rev5;
  15501. clip1hi_gaincode = clip1hiA_gaincode_rev5;
  15502. clip1md_gaincode = clip1mdA_gaincode_rev5;
  15503. clip1lo_gaincode = clip1loA_gaincode_rev5;
  15504. crsmin_th = crsminA_th_rev5;
  15505. crsminl_th = crsminlA_th_rev5;
  15506. crsminu_th = crsminuA_th_rev5;
  15507. nbclip_th = nbclipA_th_rev5;
  15508. rssi_gain = rssiA_gain_rev5;
  15509. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15510. lna1_gain_db = lna1A_gain_db_rev4;
  15511. lna2_gain_db = lna2A_gain_db_rev4;
  15512. tia_gain_db = tiaA_gain_db_rev4;
  15513. tia_gainbits = tiaA_gainbits_rev4;
  15514. if (pi->sh->boardflags & BFL_EXTLNA_5GHz) {
  15515. rfseq_init_gain =
  15516. rfseqA_init_gain_rev4_elna;
  15517. init_gaincode =
  15518. initA_gaincode_rev4_elna;
  15519. } else {
  15520. rfseq_init_gain = rfseqA_init_gain_rev4;
  15521. init_gaincode = initA_gaincode_rev4;
  15522. }
  15523. clip1hi_gaincode = clip1hiA_gaincode_rev4;
  15524. clip1md_gaincode = clip1mdA_gaincode_rev4;
  15525. clip1lo_gaincode = clip1loA_gaincode_rev4;
  15526. crsmin_th = crsminA_th_rev4;
  15527. crsminl_th = crsminlA_th_rev4;
  15528. crsminu_th = crsminuA_th_rev4;
  15529. nbclip_th = nbclipA_th_rev4;
  15530. rssi_gain = rssi_gain_default;
  15531. } else {
  15532. lna1_gain_db = lna1A_gain_db;
  15533. lna2_gain_db = lna2A_gain_db;
  15534. tia_gain_db = tiaA_gain_db;
  15535. tia_gainbits = tiaA_gainbits;
  15536. rfseq_init_gain = rfseqA_init_gain;
  15537. init_gaincode = initA_gaincode;
  15538. clip1hi_gaincode = clip1hiA_gaincode;
  15539. clip1md_gaincode = clip1mdA_gaincode;
  15540. clip1lo_gaincode = clip1loA_gaincode;
  15541. crsmin_th = crsminA_th;
  15542. crsminl_th = crsminlA_th;
  15543. crsminu_th = crsminuA_th;
  15544. nbclip_th = nbclipA_th;
  15545. rssi_gain = rssi_gain_default;
  15546. }
  15547. w1clip_th = w1clipA_th;
  15548. }
  15549. write_radio_reg(pi,
  15550. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15551. RADIO_2056_RX0), 0x17);
  15552. write_radio_reg(pi,
  15553. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15554. RADIO_2056_RX1), 0x17);
  15555. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX0),
  15556. 0xf0);
  15557. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX1),
  15558. 0xf0);
  15559. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX0),
  15560. 0x0);
  15561. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX1),
  15562. 0x0);
  15563. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX0),
  15564. rssi_gain);
  15565. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX1),
  15566. rssi_gain);
  15567. write_radio_reg(pi,
  15568. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15569. RADIO_2056_RX0), 0x17);
  15570. write_radio_reg(pi,
  15571. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15572. RADIO_2056_RX1), 0x17);
  15573. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX0),
  15574. 0xFF);
  15575. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX1),
  15576. 0xFF);
  15577. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8,
  15578. 8, lna1_gain_db);
  15579. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8,
  15580. 8, lna1_gain_db);
  15581. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15582. 8, lna2_gain_db);
  15583. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15584. 8, lna2_gain_db);
  15585. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20,
  15586. 8, tia_gain_db);
  15587. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20,
  15588. 8, tia_gain_db);
  15589. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20,
  15590. 8, tia_gainbits);
  15591. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20,
  15592. 8, tia_gainbits);
  15593. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 6, 0x40,
  15594. 8, &lpf_gain_db);
  15595. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 6, 0x40,
  15596. 8, &lpf_gain_db);
  15597. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 6, 0x40,
  15598. 8, &lpf_gainbits);
  15599. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 6, 0x40,
  15600. 8, &lpf_gainbits);
  15601. write_phy_reg(pi, 0x20, init_gaincode);
  15602. write_phy_reg(pi, 0x2a7, init_gaincode);
  15603. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15604. pi->pubpi.phy_corenum, 0x106, 16,
  15605. rfseq_init_gain);
  15606. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15607. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15608. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15609. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15610. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15611. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15612. mod_phy_reg(pi, 0x27d, (0xff << 0), (crsmin_th << 0));
  15613. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15614. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15615. write_phy_reg(pi, 0x2b, nbclip_th);
  15616. write_phy_reg(pi, 0x41, nbclip_th);
  15617. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1clip_th << 0));
  15618. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1clip_th << 0));
  15619. write_phy_reg(pi, 0x150, 0x809c);
  15620. } else {
  15621. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15622. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15623. write_phy_reg(pi, 0x2b, 0x84);
  15624. write_phy_reg(pi, 0x41, 0x84);
  15625. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15626. write_phy_reg(pi, 0x6b, 0x2b);
  15627. write_phy_reg(pi, 0x6c, 0x2b);
  15628. write_phy_reg(pi, 0x6d, 0x9);
  15629. write_phy_reg(pi, 0x6e, 0x9);
  15630. }
  15631. w1th = NPHY_RSSICAL_W1_TARGET - 4;
  15632. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1th << 0));
  15633. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1th << 0));
  15634. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15635. mod_phy_reg(pi, 0x1c, (0x1f << 0), (0x1 << 0));
  15636. mod_phy_reg(pi, 0x32, (0x1f << 0), (0x1 << 0));
  15637. mod_phy_reg(pi, 0x1d, (0x1f << 0), (0x1 << 0));
  15638. mod_phy_reg(pi, 0x33, (0x1f << 0), (0x1 << 0));
  15639. }
  15640. write_phy_reg(pi, 0x150, 0x809c);
  15641. if (pi->nphy_gain_boost)
  15642. if ((CHSPEC_IS2G(pi->radio_chanspec)) &&
  15643. (CHSPEC_IS40(pi->radio_chanspec)))
  15644. hpf_code = 4;
  15645. else
  15646. hpf_code = 5;
  15647. else if (CHSPEC_IS40(pi->radio_chanspec))
  15648. hpf_code = 6;
  15649. else
  15650. hpf_code = 7;
  15651. mod_phy_reg(pi, 0x20, (0x1f << 7), (hpf_code << 7));
  15652. mod_phy_reg(pi, 0x36, (0x1f << 7), (hpf_code << 7));
  15653. for (ctr = 0; ctr < 4; ctr++)
  15654. regval[ctr] = (hpf_code << 8) | 0x7c;
  15655. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15656. wlc_phy_adjust_lnagaintbl_nphy(pi);
  15657. if (pi->nphy_elna_gain_config) {
  15658. regval[0] = 0;
  15659. regval[1] = 1;
  15660. regval[2] = 1;
  15661. regval[3] = 1;
  15662. wlc_phy_table_write_nphy(pi, 2, 4, 8, 16, regval);
  15663. wlc_phy_table_write_nphy(pi, 3, 4, 8, 16, regval);
  15664. for (ctr = 0; ctr < 4; ctr++)
  15665. regval[ctr] = (hpf_code << 8) | 0x74;
  15666. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15667. }
  15668. if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  15669. for (ctr = 0; ctr < 21; ctr++)
  15670. regval[ctr] = 3 * ctr;
  15671. wlc_phy_table_write_nphy(pi, 0, 21, 32, 16, regval);
  15672. wlc_phy_table_write_nphy(pi, 1, 21, 32, 16, regval);
  15673. for (ctr = 0; ctr < 21; ctr++)
  15674. regval[ctr] = (u16) ctr;
  15675. wlc_phy_table_write_nphy(pi, 2, 21, 32, 16, regval);
  15676. wlc_phy_table_write_nphy(pi, 3, 21, 32, 16, regval);
  15677. }
  15678. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_UPDATEGAINU,
  15679. rfseq_updategainu_events,
  15680. rfseq_updategainu_dlys,
  15681. ARRAY_SIZE(rfseq_updategainu_events));
  15682. mod_phy_reg(pi, 0x153, (0xff << 8), (90 << 8));
  15683. if (CHSPEC_IS2G(pi->radio_chanspec))
  15684. mod_phy_reg(pi,
  15685. (NPHY_TO_BPHY_OFF + BPHY_OPTIONAL_MODES),
  15686. 0x7f, 0x4);
  15687. }
  15688. }
  15689. static void wlc_phy_workarounds_nphy_rev7(struct brcms_phy *pi)
  15690. {
  15691. static const u8 rfseq_rx2tx_events_rev3_ipa[] = {
  15692. NPHY_REV3_RFSEQ_CMD_NOP,
  15693. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15694. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15695. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15696. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15697. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15698. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  15699. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15700. NPHY_REV3_RFSEQ_CMD_END
  15701. };
  15702. static const u8 rfseq_rx2tx_dlys_rev3_ipa[] =
  15703. { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  15704. static const u16 rfseq_rx2tx_dacbufpu_rev7[] = { 0x10f, 0x10f };
  15705. u32 leg_data_weights;
  15706. u8 chan_freq_range = 0;
  15707. static const u16 dac_control = 0x0002;
  15708. u16 aux_adc_vmid_rev7_core0[] = { 0x8e, 0x96, 0x96, 0x96 };
  15709. u16 aux_adc_vmid_rev7_core1[] = { 0x8f, 0x9f, 0x9f, 0x96 };
  15710. u16 aux_adc_gain_rev7[] = { 0x02, 0x02, 0x02, 0x02 };
  15711. s32 min_nvar_val = 0x18d;
  15712. s32 min_nvar_offset_6mbps = 20;
  15713. u8 pdetrange;
  15714. u16 afectrl_adc_ctrl1_rev7 = 0x20;
  15715. u16 afectrl_adc_ctrl2_rev7 = 0x0;
  15716. u16 rfseq_rx2tx_lpf_h_hpc_rev7 = 0x77;
  15717. u16 rfseq_tx2rx_lpf_h_hpc_rev7 = 0x77;
  15718. u16 rfseq_pktgn_lpf_h_hpc_rev7 = 0x77;
  15719. static const u16 rfseq_htpktgn_lpf_hpc_rev7[] = { 0x77, 0x11, 0x11 };
  15720. static const u16 rfseq_pktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15721. static const u16 rfseq_cckpktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15722. u16 ipalvlshift_3p3_war_en = 0;
  15723. u16 rccal_bcap_val, rccal_scap_val;
  15724. u16 rccal_tx20_11b_bcap = 0;
  15725. u16 rccal_tx20_11b_scap = 0;
  15726. u16 rccal_tx20_11n_bcap = 0;
  15727. u16 rccal_tx20_11n_scap = 0;
  15728. u16 rccal_tx40_11n_bcap = 0;
  15729. u16 rccal_tx40_11n_scap = 0;
  15730. u16 rx2tx_lpf_rc_lut_tx20_11b = 0;
  15731. u16 rx2tx_lpf_rc_lut_tx20_11n = 0;
  15732. u16 rx2tx_lpf_rc_lut_tx40_11n = 0;
  15733. u16 tx_lpf_bw_ofdm_20mhz = 0;
  15734. u16 tx_lpf_bw_ofdm_40mhz = 0;
  15735. u16 tx_lpf_bw_11b = 0;
  15736. u16 ipa2g_mainbias, ipa2g_casconv, ipa2g_biasfilt;
  15737. u16 txgm_idac_bleed = 0;
  15738. bool rccal_ovrd = false;
  15739. u16 freq;
  15740. int coreNum;
  15741. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  15742. mod_phy_reg(pi, 0x221, (0x1 << 4), (1 << 4));
  15743. mod_phy_reg(pi, 0x160, (0x7f << 0), (32 << 0));
  15744. mod_phy_reg(pi, 0x160, (0x7f << 8), (39 << 8));
  15745. mod_phy_reg(pi, 0x161, (0x7f << 0), (46 << 0));
  15746. mod_phy_reg(pi, 0x161, (0x7f << 8), (51 << 8));
  15747. mod_phy_reg(pi, 0x162, (0x7f << 0), (55 << 0));
  15748. mod_phy_reg(pi, 0x162, (0x7f << 8), (58 << 8));
  15749. mod_phy_reg(pi, 0x163, (0x7f << 0), (60 << 0));
  15750. mod_phy_reg(pi, 0x163, (0x7f << 8), (62 << 8));
  15751. mod_phy_reg(pi, 0x164, (0x7f << 0), (62 << 0));
  15752. mod_phy_reg(pi, 0x164, (0x7f << 8), (63 << 8));
  15753. mod_phy_reg(pi, 0x165, (0x7f << 0), (63 << 0));
  15754. mod_phy_reg(pi, 0x165, (0x7f << 8), (64 << 8));
  15755. mod_phy_reg(pi, 0x166, (0x7f << 0), (64 << 0));
  15756. mod_phy_reg(pi, 0x166, (0x7f << 8), (64 << 8));
  15757. mod_phy_reg(pi, 0x167, (0x7f << 0), (64 << 0));
  15758. mod_phy_reg(pi, 0x167, (0x7f << 8), (64 << 8));
  15759. }
  15760. if (NREV_LE(pi->pubpi.phy_rev, 8)) {
  15761. write_phy_reg(pi, 0x23f, 0x1b0);
  15762. write_phy_reg(pi, 0x240, 0x1b0);
  15763. }
  15764. if (NREV_GE(pi->pubpi.phy_rev, 8))
  15765. mod_phy_reg(pi, 0xbd, (0xff << 0), (114 << 0));
  15766. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  15767. &dac_control);
  15768. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  15769. &dac_control);
  15770. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15771. 1, 0, 32, &leg_data_weights);
  15772. leg_data_weights = leg_data_weights & 0xffffff;
  15773. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15774. 1, 0, 32, &leg_data_weights);
  15775. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15776. 2, 0x15e, 16, rfseq_rx2tx_dacbufpu_rev7);
  15777. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x16e, 16,
  15778. rfseq_rx2tx_dacbufpu_rev7);
  15779. if (PHY_IPA(pi))
  15780. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  15781. rfseq_rx2tx_events_rev3_ipa,
  15782. rfseq_rx2tx_dlys_rev3_ipa,
  15783. ARRAY_SIZE
  15784. (rfseq_rx2tx_events_rev3_ipa));
  15785. mod_phy_reg(pi, 0x299, (0x3 << 14), (0x1 << 14));
  15786. mod_phy_reg(pi, 0x29d, (0x3 << 14), (0x1 << 14));
  15787. tx_lpf_bw_ofdm_20mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x154);
  15788. tx_lpf_bw_ofdm_40mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x159);
  15789. tx_lpf_bw_11b = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x152);
  15790. if (PHY_IPA(pi)) {
  15791. if (((pi->pubpi.radiorev == 5)
  15792. && (CHSPEC_IS40(pi->radio_chanspec) == 1))
  15793. || (pi->pubpi.radiorev == 7)
  15794. || (pi->pubpi.radiorev == 8)) {
  15795. rccal_bcap_val =
  15796. read_radio_reg(pi, RADIO_2057_RCCAL_BCAP_VAL);
  15797. rccal_scap_val =
  15798. read_radio_reg(pi, RADIO_2057_RCCAL_SCAP_VAL);
  15799. rccal_tx20_11b_bcap = rccal_bcap_val;
  15800. rccal_tx20_11b_scap = rccal_scap_val;
  15801. if ((pi->pubpi.radiorev == 5) &&
  15802. (CHSPEC_IS40(pi->radio_chanspec) == 1)) {
  15803. rccal_tx20_11n_bcap = rccal_bcap_val;
  15804. rccal_tx20_11n_scap = rccal_scap_val;
  15805. rccal_tx40_11n_bcap = 0xc;
  15806. rccal_tx40_11n_scap = 0xc;
  15807. rccal_ovrd = true;
  15808. } else if ((pi->pubpi.radiorev == 7)
  15809. || (pi->pubpi.radiorev == 8)) {
  15810. tx_lpf_bw_ofdm_20mhz = 4;
  15811. tx_lpf_bw_11b = 1;
  15812. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  15813. rccal_tx20_11n_bcap = 0xc;
  15814. rccal_tx20_11n_scap = 0xc;
  15815. rccal_tx40_11n_bcap = 0xa;
  15816. rccal_tx40_11n_scap = 0xa;
  15817. } else {
  15818. rccal_tx20_11n_bcap = 0x14;
  15819. rccal_tx20_11n_scap = 0x14;
  15820. rccal_tx40_11n_bcap = 0xf;
  15821. rccal_tx40_11n_scap = 0xf;
  15822. }
  15823. rccal_ovrd = true;
  15824. }
  15825. }
  15826. } else {
  15827. if (pi->pubpi.radiorev == 5) {
  15828. tx_lpf_bw_ofdm_20mhz = 1;
  15829. tx_lpf_bw_ofdm_40mhz = 3;
  15830. rccal_bcap_val =
  15831. read_radio_reg(pi, RADIO_2057_RCCAL_BCAP_VAL);
  15832. rccal_scap_val =
  15833. read_radio_reg(pi, RADIO_2057_RCCAL_SCAP_VAL);
  15834. rccal_tx20_11b_bcap = rccal_bcap_val;
  15835. rccal_tx20_11b_scap = rccal_scap_val;
  15836. rccal_tx20_11n_bcap = 0x13;
  15837. rccal_tx20_11n_scap = 0x11;
  15838. rccal_tx40_11n_bcap = 0x13;
  15839. rccal_tx40_11n_scap = 0x11;
  15840. rccal_ovrd = true;
  15841. }
  15842. }
  15843. if (rccal_ovrd) {
  15844. rx2tx_lpf_rc_lut_tx20_11b =
  15845. (rccal_tx20_11b_bcap << 8) |
  15846. (rccal_tx20_11b_scap << 3) | tx_lpf_bw_11b;
  15847. rx2tx_lpf_rc_lut_tx20_11n =
  15848. (rccal_tx20_11n_bcap << 8) |
  15849. (rccal_tx20_11n_scap << 3) | tx_lpf_bw_ofdm_20mhz;
  15850. rx2tx_lpf_rc_lut_tx40_11n =
  15851. (rccal_tx40_11n_bcap << 8) |
  15852. (rccal_tx40_11n_scap << 3) | tx_lpf_bw_ofdm_40mhz;
  15853. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15854. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15855. 0x152 + coreNum * 0x10, 16,
  15856. &rx2tx_lpf_rc_lut_tx20_11b);
  15857. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15858. 0x153 + coreNum * 0x10, 16,
  15859. &rx2tx_lpf_rc_lut_tx20_11n);
  15860. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15861. 0x154 + coreNum * 0x10, 16,
  15862. &rx2tx_lpf_rc_lut_tx20_11n);
  15863. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15864. 0x155 + coreNum * 0x10, 16,
  15865. &rx2tx_lpf_rc_lut_tx40_11n);
  15866. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15867. 0x156 + coreNum * 0x10, 16,
  15868. &rx2tx_lpf_rc_lut_tx40_11n);
  15869. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15870. 0x157 + coreNum * 0x10, 16,
  15871. &rx2tx_lpf_rc_lut_tx40_11n);
  15872. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15873. 0x158 + coreNum * 0x10, 16,
  15874. &rx2tx_lpf_rc_lut_tx40_11n);
  15875. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15876. 0x159 + coreNum * 0x10, 16,
  15877. &rx2tx_lpf_rc_lut_tx40_11n);
  15878. }
  15879. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 1, 0x3, 0,
  15880. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  15881. }
  15882. write_phy_reg(pi, 0x32f, 0x3);
  15883. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  15884. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 0,
  15885. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  15886. if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) ||
  15887. (pi->pubpi.radiorev == 6)) {
  15888. if ((pi->sh->sromrev >= 8)
  15889. && (pi->sh->boardflags2 & BFL2_IPALVLSHIFT_3P3))
  15890. ipalvlshift_3p3_war_en = 1;
  15891. if (ipalvlshift_3p3_war_en) {
  15892. write_radio_reg(pi, RADIO_2057_GPAIO_CONFIG, 0x5);
  15893. write_radio_reg(pi, RADIO_2057_GPAIO_SEL1, 0x30);
  15894. write_radio_reg(pi, RADIO_2057_GPAIO_SEL0, 0x0);
  15895. or_radio_reg(pi, RADIO_2057_RXTXBIAS_CONFIG_CORE0, 0x1);
  15896. or_radio_reg(pi, RADIO_2057_RXTXBIAS_CONFIG_CORE1, 0x1);
  15897. ipa2g_mainbias = 0x1f;
  15898. ipa2g_casconv = 0x6f;
  15899. ipa2g_biasfilt = 0xaa;
  15900. } else {
  15901. ipa2g_mainbias = 0x2b;
  15902. ipa2g_casconv = 0x7f;
  15903. ipa2g_biasfilt = 0xee;
  15904. }
  15905. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  15906. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15907. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15908. coreNum, IPA2G_IMAIN,
  15909. ipa2g_mainbias);
  15910. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15911. coreNum, IPA2G_CASCONV,
  15912. ipa2g_casconv);
  15913. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15914. coreNum,
  15915. IPA2G_BIAS_FILTER,
  15916. ipa2g_biasfilt);
  15917. }
  15918. }
  15919. }
  15920. if (PHY_IPA(pi)) {
  15921. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  15922. if ((pi->pubpi.radiorev == 3)
  15923. || (pi->pubpi.radiorev == 4)
  15924. || (pi->pubpi.radiorev == 6))
  15925. txgm_idac_bleed = 0x7f;
  15926. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15927. if (txgm_idac_bleed != 0)
  15928. WRITE_RADIO_REG4(pi, RADIO_2057,
  15929. CORE, coreNum,
  15930. TXGM_IDAC_BLEED,
  15931. txgm_idac_bleed);
  15932. }
  15933. if (pi->pubpi.radiorev == 5) {
  15934. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15935. WRITE_RADIO_REG4(pi, RADIO_2057,
  15936. CORE, coreNum,
  15937. IPA2G_CASCONV,
  15938. 0x13);
  15939. WRITE_RADIO_REG4(pi, RADIO_2057,
  15940. CORE, coreNum,
  15941. IPA2G_IMAIN,
  15942. 0x1f);
  15943. WRITE_RADIO_REG4(pi, RADIO_2057,
  15944. CORE, coreNum,
  15945. IPA2G_BIAS_FILTER,
  15946. 0xee);
  15947. WRITE_RADIO_REG4(pi, RADIO_2057,
  15948. CORE, coreNum,
  15949. PAD2G_IDACS,
  15950. 0x8a);
  15951. WRITE_RADIO_REG4(pi, RADIO_2057,
  15952. CORE, coreNum,
  15953. PAD_BIAS_FILTER_BWS,
  15954. 0x3e);
  15955. }
  15956. } else if ((pi->pubpi.radiorev == 7) ||
  15957. (pi->pubpi.radiorev == 8)) {
  15958. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  15959. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15960. 0, IPA2G_IMAIN, 0x14);
  15961. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15962. 1, IPA2G_IMAIN, 0x12);
  15963. } else {
  15964. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15965. 0, IPA2G_IMAIN, 0x16);
  15966. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15967. 1, IPA2G_IMAIN, 0x16);
  15968. }
  15969. }
  15970. } else {
  15971. freq =
  15972. CHAN5G_FREQ(CHSPEC_CHANNEL
  15973. (pi->radio_chanspec));
  15974. if (((freq >= 5180) && (freq <= 5230))
  15975. || ((freq >= 5745) && (freq <= 5805))) {
  15976. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15977. 0, IPA5G_BIAS_FILTER, 0xff);
  15978. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15979. 1, IPA5G_BIAS_FILTER, 0xff);
  15980. }
  15981. }
  15982. } else {
  15983. if (pi->pubpi.radiorev != 5) {
  15984. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15985. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  15986. TXMIX2G_TUNE_BOOST_PU, 0x61);
  15987. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  15988. TXGM_IDAC_BLEED, 0x70);
  15989. }
  15990. }
  15991. }
  15992. if (pi->pubpi.radiorev == 4) {
  15993. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x05, 16,
  15994. &afectrl_adc_ctrl1_rev7);
  15995. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x15, 16,
  15996. &afectrl_adc_ctrl1_rev7);
  15997. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15998. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  15999. AFE_VCM_CAL_MASTER, 0x0);
  16000. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16001. AFE_SET_VCM_I, 0x3f);
  16002. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16003. AFE_SET_VCM_Q, 0x3f);
  16004. }
  16005. } else {
  16006. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  16007. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  16008. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  16009. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  16010. mod_phy_reg(pi, 0xa6, (0x1 << 0), 0);
  16011. mod_phy_reg(pi, 0x8f, (0x1 << 0), (0x1 << 0));
  16012. mod_phy_reg(pi, 0xa7, (0x1 << 0), 0);
  16013. mod_phy_reg(pi, 0xa5, (0x1 << 0), (0x1 << 0));
  16014. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x05, 16,
  16015. &afectrl_adc_ctrl2_rev7);
  16016. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x15, 16,
  16017. &afectrl_adc_ctrl2_rev7);
  16018. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  16019. mod_phy_reg(pi, 0x8f, (0x1 << 2), 0);
  16020. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  16021. mod_phy_reg(pi, 0xa5, (0x1 << 2), 0);
  16022. }
  16023. write_phy_reg(pi, 0x6a, 0x2);
  16024. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 256, 32,
  16025. &min_nvar_offset_6mbps);
  16026. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x138, 16,
  16027. &rfseq_pktgn_lpf_hpc_rev7);
  16028. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x141, 16,
  16029. &rfseq_pktgn_lpf_h_hpc_rev7);
  16030. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 3, 0x133, 16,
  16031. &rfseq_htpktgn_lpf_hpc_rev7);
  16032. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x146, 16,
  16033. &rfseq_cckpktgn_lpf_hpc_rev7);
  16034. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x123, 16,
  16035. &rfseq_tx2rx_lpf_h_hpc_rev7);
  16036. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x12A, 16,
  16037. &rfseq_rx2tx_lpf_h_hpc_rev7);
  16038. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16039. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16040. 32, &min_nvar_val);
  16041. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16042. 127, 32, &min_nvar_val);
  16043. } else {
  16044. min_nvar_val = noise_var_tbl_rev7[3];
  16045. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16046. 32, &min_nvar_val);
  16047. min_nvar_val = noise_var_tbl_rev7[127];
  16048. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16049. 127, 32, &min_nvar_val);
  16050. }
  16051. wlc_phy_workarounds_nphy_gainctrl(pi);
  16052. pdetrange = (CHSPEC_IS5G(pi->radio_chanspec)) ?
  16053. pi->srom_fem5g.pdetrange : pi->srom_fem2g.pdetrange;
  16054. if (pdetrange == 0) {
  16055. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16056. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16057. aux_adc_vmid_rev7_core0[3] = 0x70;
  16058. aux_adc_vmid_rev7_core1[3] = 0x70;
  16059. aux_adc_gain_rev7[3] = 2;
  16060. } else {
  16061. aux_adc_vmid_rev7_core0[3] = 0x80;
  16062. aux_adc_vmid_rev7_core1[3] = 0x80;
  16063. aux_adc_gain_rev7[3] = 3;
  16064. }
  16065. } else if (pdetrange == 1) {
  16066. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16067. aux_adc_vmid_rev7_core0[3] = 0x7c;
  16068. aux_adc_vmid_rev7_core1[3] = 0x7c;
  16069. aux_adc_gain_rev7[3] = 2;
  16070. } else {
  16071. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16072. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16073. aux_adc_gain_rev7[3] = 1;
  16074. }
  16075. } else if (pdetrange == 2) {
  16076. if (pi->pubpi.radioid == BCM2057_ID) {
  16077. if ((pi->pubpi.radiorev == 5)
  16078. || (pi->pubpi.radiorev == 7)
  16079. || (pi->pubpi.radiorev == 8)) {
  16080. if (chan_freq_range ==
  16081. WL_CHAN_FREQ_RANGE_2G) {
  16082. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16083. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16084. aux_adc_gain_rev7[3] = 0;
  16085. } else {
  16086. aux_adc_vmid_rev7_core0[3] = 0x96;
  16087. aux_adc_vmid_rev7_core1[3] = 0x96;
  16088. aux_adc_gain_rev7[3] = 0;
  16089. }
  16090. }
  16091. }
  16092. } else if (pdetrange == 3) {
  16093. if (chan_freq_range == WL_CHAN_FREQ_RANGE_2G) {
  16094. aux_adc_vmid_rev7_core0[3] = 0x89;
  16095. aux_adc_vmid_rev7_core1[3] = 0x89;
  16096. aux_adc_gain_rev7[3] = 0;
  16097. }
  16098. } else if (pdetrange == 5) {
  16099. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16100. aux_adc_vmid_rev7_core0[3] = 0x80;
  16101. aux_adc_vmid_rev7_core1[3] = 0x80;
  16102. aux_adc_gain_rev7[3] = 3;
  16103. } else {
  16104. aux_adc_vmid_rev7_core0[3] = 0x70;
  16105. aux_adc_vmid_rev7_core1[3] = 0x70;
  16106. aux_adc_gain_rev7[3] = 2;
  16107. }
  16108. }
  16109. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x08, 16,
  16110. &aux_adc_vmid_rev7_core0);
  16111. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x18, 16,
  16112. &aux_adc_vmid_rev7_core1);
  16113. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x0c, 16,
  16114. &aux_adc_gain_rev7);
  16115. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x1c, 16,
  16116. &aux_adc_gain_rev7);
  16117. }
  16118. static void wlc_phy_workarounds_nphy_rev3(struct brcms_phy *pi)
  16119. {
  16120. static const u8 rfseq_tx2rx_events_rev3[] = {
  16121. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  16122. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  16123. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  16124. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  16125. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  16126. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  16127. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  16128. NPHY_REV3_RFSEQ_CMD_END
  16129. };
  16130. static const u8 rfseq_tx2rx_dlys_rev3[] = { 8, 4, 2, 2, 4, 4, 6, 1 };
  16131. u8 rfseq_rx2tx_events_rev3[] = {
  16132. NPHY_REV3_RFSEQ_CMD_NOP,
  16133. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  16134. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  16135. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  16136. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  16137. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  16138. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  16139. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  16140. NPHY_REV3_RFSEQ_CMD_END
  16141. };
  16142. u8 rfseq_rx2tx_dlys_rev3[] = { 8, 6, 6, 4, 4, 18, 42, 1, 1 };
  16143. static const u8 rfseq_rx2tx_events_rev3_ipa[] = {
  16144. NPHY_REV3_RFSEQ_CMD_NOP,
  16145. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  16146. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  16147. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  16148. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  16149. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  16150. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  16151. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  16152. NPHY_REV3_RFSEQ_CMD_END
  16153. };
  16154. static const u8 rfseq_rx2tx_dlys_rev3_ipa[] =
  16155. { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  16156. s16 alpha0, alpha1, alpha2;
  16157. s16 beta0, beta1, beta2;
  16158. u32 leg_data_weights, ht_data_weights, nss1_data_weights,
  16159. stbc_data_weights;
  16160. u8 chan_freq_range = 0;
  16161. static const u16 dac_control = 0x0002;
  16162. u16 aux_adc_vmid_rev4[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  16163. u16 aux_adc_vmid_rev3[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  16164. u16 *aux_adc_vmid;
  16165. u16 aux_adc_gain_rev4[] = { 0x02, 0x02, 0x02, 0x00 };
  16166. u16 aux_adc_gain_rev3[] = { 0x02, 0x02, 0x02, 0x00 };
  16167. u16 *aux_adc_gain;
  16168. static const u16 sk_adc_vmid[] = { 0xb4, 0xb4, 0xb4, 0x24 };
  16169. static const u16 sk_adc_gain[] = { 0x02, 0x02, 0x02, 0x02 };
  16170. s32 min_nvar_val = 0x18d;
  16171. u8 pdetrange;
  16172. u8 triso;
  16173. write_phy_reg(pi, 0x23f, 0x1f8);
  16174. write_phy_reg(pi, 0x240, 0x1f8);
  16175. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16176. 1, 0, 32, &leg_data_weights);
  16177. leg_data_weights = leg_data_weights & 0xffffff;
  16178. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16179. 1, 0, 32, &leg_data_weights);
  16180. alpha0 = 293;
  16181. alpha1 = 435;
  16182. alpha2 = 261;
  16183. beta0 = 366;
  16184. beta1 = 205;
  16185. beta2 = 32;
  16186. write_phy_reg(pi, 0x145, alpha0);
  16187. write_phy_reg(pi, 0x146, alpha1);
  16188. write_phy_reg(pi, 0x147, alpha2);
  16189. write_phy_reg(pi, 0x148, beta0);
  16190. write_phy_reg(pi, 0x149, beta1);
  16191. write_phy_reg(pi, 0x14a, beta2);
  16192. write_phy_reg(pi, 0x38, 0xC);
  16193. write_phy_reg(pi, 0x2ae, 0xC);
  16194. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX,
  16195. rfseq_tx2rx_events_rev3,
  16196. rfseq_tx2rx_dlys_rev3,
  16197. ARRAY_SIZE(rfseq_tx2rx_events_rev3));
  16198. if (PHY_IPA(pi))
  16199. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16200. rfseq_rx2tx_events_rev3_ipa,
  16201. rfseq_rx2tx_dlys_rev3_ipa,
  16202. ARRAY_SIZE (rfseq_rx2tx_events_rev3_ipa));
  16203. if ((pi->sh->hw_phyrxchain != 0x3) &&
  16204. (pi->sh->hw_phyrxchain != pi->sh->hw_phytxchain)) {
  16205. if (PHY_IPA(pi)) {
  16206. rfseq_rx2tx_dlys_rev3[5] = 59;
  16207. rfseq_rx2tx_dlys_rev3[6] = 1;
  16208. rfseq_rx2tx_events_rev3[7] = NPHY_REV3_RFSEQ_CMD_END;
  16209. }
  16210. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16211. rfseq_rx2tx_events_rev3,
  16212. rfseq_rx2tx_dlys_rev3,
  16213. ARRAY_SIZE (rfseq_rx2tx_events_rev3));
  16214. }
  16215. if (CHSPEC_IS2G(pi->radio_chanspec))
  16216. write_phy_reg(pi, 0x6a, 0x2);
  16217. else
  16218. write_phy_reg(pi, 0x6a, 0x9c40);
  16219. mod_phy_reg(pi, 0x294, (0xf << 8), (7 << 8));
  16220. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16221. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16222. 32, &min_nvar_val);
  16223. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16224. 127, 32, &min_nvar_val);
  16225. } else {
  16226. min_nvar_val = noise_var_tbl_rev3[3];
  16227. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16228. 32, &min_nvar_val);
  16229. min_nvar_val = noise_var_tbl_rev3[127];
  16230. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16231. 127, 32, &min_nvar_val);
  16232. }
  16233. wlc_phy_workarounds_nphy_gainctrl(pi);
  16234. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  16235. &dac_control);
  16236. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  16237. &dac_control);
  16238. pdetrange = (CHSPEC_IS5G(pi->radio_chanspec)) ?
  16239. pi->srom_fem5g.pdetrange : pi->srom_fem2g.pdetrange;
  16240. if (pdetrange == 0) {
  16241. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  16242. aux_adc_vmid = aux_adc_vmid_rev4;
  16243. aux_adc_gain = aux_adc_gain_rev4;
  16244. } else {
  16245. aux_adc_vmid = aux_adc_vmid_rev3;
  16246. aux_adc_gain = aux_adc_gain_rev3;
  16247. }
  16248. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16249. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16250. switch (chan_freq_range) {
  16251. case WL_CHAN_FREQ_RANGE_5GL:
  16252. aux_adc_vmid[3] = 0x89;
  16253. aux_adc_gain[3] = 0;
  16254. break;
  16255. case WL_CHAN_FREQ_RANGE_5GM:
  16256. aux_adc_vmid[3] = 0x89;
  16257. aux_adc_gain[3] = 0;
  16258. break;
  16259. case WL_CHAN_FREQ_RANGE_5GH:
  16260. aux_adc_vmid[3] = 0x89;
  16261. aux_adc_gain[3] = 0;
  16262. break;
  16263. default:
  16264. break;
  16265. }
  16266. }
  16267. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16268. 0x08, 16, aux_adc_vmid);
  16269. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16270. 0x18, 16, aux_adc_vmid);
  16271. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16272. 0x0c, 16, aux_adc_gain);
  16273. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16274. 0x1c, 16, aux_adc_gain);
  16275. } else if (pdetrange == 1) {
  16276. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16277. 0x08, 16, sk_adc_vmid);
  16278. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16279. 0x18, 16, sk_adc_vmid);
  16280. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16281. 0x0c, 16, sk_adc_gain);
  16282. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16283. 0x1c, 16, sk_adc_gain);
  16284. } else if (pdetrange == 2) {
  16285. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x74 };
  16286. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x04 };
  16287. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16288. chan_freq_range =
  16289. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16290. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16291. bcm_adc_vmid[3] = 0x8e;
  16292. bcm_adc_gain[3] = 0x03;
  16293. } else {
  16294. bcm_adc_vmid[3] = 0x94;
  16295. bcm_adc_gain[3] = 0x03;
  16296. }
  16297. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  16298. bcm_adc_vmid[3] = 0x84;
  16299. bcm_adc_gain[3] = 0x02;
  16300. }
  16301. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16302. 0x08, 16, bcm_adc_vmid);
  16303. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16304. 0x18, 16, bcm_adc_vmid);
  16305. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16306. 0x0c, 16, bcm_adc_gain);
  16307. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16308. 0x1c, 16, bcm_adc_gain);
  16309. } else if (pdetrange == 3) {
  16310. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16311. if ((NREV_GE(pi->pubpi.phy_rev, 4)) &&
  16312. (chan_freq_range == WL_CHAN_FREQ_RANGE_2G)) {
  16313. u16 auxadc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x270 };
  16314. u16 auxadc_gain[] = { 0x02, 0x02, 0x02, 0x00 };
  16315. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16316. 0x08, 16, auxadc_vmid);
  16317. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16318. 0x18, 16, auxadc_vmid);
  16319. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16320. 0x0c, 16, auxadc_gain);
  16321. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16322. 0x1c, 16, auxadc_gain);
  16323. }
  16324. } else if ((pdetrange == 4) || (pdetrange == 5)) {
  16325. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x0 };
  16326. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x0 };
  16327. u16 Vmid[2], Av[2];
  16328. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16329. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16330. Vmid[0] = (pdetrange == 4) ? 0x8e : 0x89;
  16331. Vmid[1] = (pdetrange == 4) ? 0x96 : 0x89;
  16332. Av[0] = (pdetrange == 4) ? 2 : 0;
  16333. Av[1] = (pdetrange == 4) ? 2 : 0;
  16334. } else {
  16335. Vmid[0] = (pdetrange == 4) ? 0x89 : 0x74;
  16336. Vmid[1] = (pdetrange == 4) ? 0x8b : 0x70;
  16337. Av[0] = (pdetrange == 4) ? 2 : 0;
  16338. Av[1] = (pdetrange == 4) ? 2 : 0;
  16339. }
  16340. bcm_adc_vmid[3] = Vmid[0];
  16341. bcm_adc_gain[3] = Av[0];
  16342. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16343. 0x08, 16, bcm_adc_vmid);
  16344. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16345. 0x0c, 16, bcm_adc_gain);
  16346. bcm_adc_vmid[3] = Vmid[1];
  16347. bcm_adc_gain[3] = Av[1];
  16348. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16349. 0x18, 16, bcm_adc_vmid);
  16350. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16351. 0x1c, 16, bcm_adc_gain);
  16352. }
  16353. write_radio_reg(pi, (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX0), 0x0);
  16354. write_radio_reg(pi, (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX1), 0x0);
  16355. write_radio_reg(pi, (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX0), 0x6);
  16356. write_radio_reg(pi, (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX1), 0x6);
  16357. write_radio_reg(pi, (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX0), 0x7);
  16358. write_radio_reg(pi, (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX1), 0x7);
  16359. write_radio_reg(pi, (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX0), 0x88);
  16360. write_radio_reg(pi, (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX1), 0x88);
  16361. write_radio_reg(pi, (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX0), 0x0);
  16362. write_radio_reg(pi, (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX1), 0x0);
  16363. write_radio_reg(pi, (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX0), 0x0);
  16364. write_radio_reg(pi, (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX1), 0x0);
  16365. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ?
  16366. pi->srom_fem5g.triso : pi->srom_fem2g.triso;
  16367. if (triso == 7) {
  16368. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  16369. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  16370. }
  16371. wlc_phy_war_txchain_upd_nphy(pi, pi->sh->hw_phytxchain);
  16372. if (((pi->sh->boardflags2 & BFL2_APLL_WAR) &&
  16373. (CHSPEC_IS5G(pi->radio_chanspec))) ||
  16374. (((pi->sh->boardflags2 & BFL2_GPLL_WAR) ||
  16375. (pi->sh->boardflags2 & BFL2_GPLL_WAR2)) &&
  16376. (CHSPEC_IS2G(pi->radio_chanspec)))) {
  16377. nss1_data_weights = 0x00088888;
  16378. ht_data_weights = 0x00088888;
  16379. stbc_data_weights = 0x00088888;
  16380. } else {
  16381. nss1_data_weights = 0x88888888;
  16382. ht_data_weights = 0x88888888;
  16383. stbc_data_weights = 0x88888888;
  16384. }
  16385. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16386. 1, 1, 32, &nss1_data_weights);
  16387. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16388. 1, 2, 32, &ht_data_weights);
  16389. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16390. 1, 3, 32, &stbc_data_weights);
  16391. if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  16392. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  16393. write_radio_reg(pi,
  16394. RADIO_2056_TX_GMBB_IDAC |
  16395. RADIO_2056_TX0, 0x70);
  16396. write_radio_reg(pi,
  16397. RADIO_2056_TX_GMBB_IDAC |
  16398. RADIO_2056_TX1, 0x70);
  16399. }
  16400. }
  16401. if (!pi->edcrs_threshold_lock) {
  16402. write_phy_reg(pi, 0x224, 0x3eb);
  16403. write_phy_reg(pi, 0x225, 0x3eb);
  16404. write_phy_reg(pi, 0x226, 0x341);
  16405. write_phy_reg(pi, 0x227, 0x341);
  16406. write_phy_reg(pi, 0x228, 0x42b);
  16407. write_phy_reg(pi, 0x229, 0x42b);
  16408. write_phy_reg(pi, 0x22a, 0x381);
  16409. write_phy_reg(pi, 0x22b, 0x381);
  16410. write_phy_reg(pi, 0x22c, 0x42b);
  16411. write_phy_reg(pi, 0x22d, 0x42b);
  16412. write_phy_reg(pi, 0x22e, 0x381);
  16413. write_phy_reg(pi, 0x22f, 0x381);
  16414. }
  16415. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16416. if (pi->sh->boardflags2 & BFL2_SINGLEANT_CCK)
  16417. wlapi_bmac_mhf(pi->sh->physhim, MHF4,
  16418. MHF4_BPHY_TXCORE0,
  16419. MHF4_BPHY_TXCORE0, BRCM_BAND_ALL);
  16420. }
  16421. }
  16422. static void wlc_phy_workarounds_nphy_rev1(struct brcms_phy *pi)
  16423. {
  16424. static const u8 rfseq_rx2tx_events[] = {
  16425. NPHY_RFSEQ_CMD_NOP,
  16426. NPHY_RFSEQ_CMD_RXG_FBW,
  16427. NPHY_RFSEQ_CMD_TR_SWITCH,
  16428. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  16429. NPHY_RFSEQ_CMD_RXPD_TXPD,
  16430. NPHY_RFSEQ_CMD_TX_GAIN,
  16431. NPHY_RFSEQ_CMD_EXT_PA
  16432. };
  16433. u8 rfseq_rx2tx_dlys[] = { 8, 6, 6, 2, 4, 60, 1 };
  16434. static const u8 rfseq_tx2rx_events[] = {
  16435. NPHY_RFSEQ_CMD_NOP,
  16436. NPHY_RFSEQ_CMD_EXT_PA,
  16437. NPHY_RFSEQ_CMD_TX_GAIN,
  16438. NPHY_RFSEQ_CMD_RXPD_TXPD,
  16439. NPHY_RFSEQ_CMD_TR_SWITCH,
  16440. NPHY_RFSEQ_CMD_RXG_FBW,
  16441. NPHY_RFSEQ_CMD_CLR_HIQ_DIS
  16442. };
  16443. static const u8 rfseq_tx2rx_dlys[] = { 8, 6, 2, 4, 4, 6, 1 };
  16444. s16 alpha0, alpha1, alpha2;
  16445. s16 beta0, beta1, beta2;
  16446. u16 regval;
  16447. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD ||
  16448. (pi->sh->boardtype == 0x8b)) {
  16449. uint i;
  16450. u8 war_dlys[] = { 1, 6, 6, 2, 4, 20, 1 };
  16451. for (i = 0; i < ARRAY_SIZE(rfseq_rx2tx_dlys); i++)
  16452. rfseq_rx2tx_dlys[i] = war_dlys[i];
  16453. }
  16454. if (CHSPEC_IS5G(pi->radio_chanspec) && pi->phy_5g_pwrgain) {
  16455. and_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0xf7);
  16456. and_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0xf7);
  16457. } else {
  16458. or_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0x8);
  16459. or_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0x8);
  16460. }
  16461. regval = 0x000a;
  16462. wlc_phy_table_write_nphy(pi, 8, 1, 0, 16, &regval);
  16463. wlc_phy_table_write_nphy(pi, 8, 1, 0x10, 16, &regval);
  16464. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16465. regval = 0xcdaa;
  16466. wlc_phy_table_write_nphy(pi, 8, 1, 0x02, 16, &regval);
  16467. wlc_phy_table_write_nphy(pi, 8, 1, 0x12, 16, &regval);
  16468. }
  16469. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16470. regval = 0x0000;
  16471. wlc_phy_table_write_nphy(pi, 8, 1, 0x08, 16, &regval);
  16472. wlc_phy_table_write_nphy(pi, 8, 1, 0x18, 16, &regval);
  16473. regval = 0x7aab;
  16474. wlc_phy_table_write_nphy(pi, 8, 1, 0x07, 16, &regval);
  16475. wlc_phy_table_write_nphy(pi, 8, 1, 0x17, 16, &regval);
  16476. regval = 0x0800;
  16477. wlc_phy_table_write_nphy(pi, 8, 1, 0x06, 16, &regval);
  16478. wlc_phy_table_write_nphy(pi, 8, 1, 0x16, 16, &regval);
  16479. }
  16480. write_phy_reg(pi, 0xf8, 0x02d8);
  16481. write_phy_reg(pi, 0xf9, 0x0301);
  16482. write_phy_reg(pi, 0xfa, 0x02d8);
  16483. write_phy_reg(pi, 0xfb, 0x0301);
  16484. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX, rfseq_rx2tx_events,
  16485. rfseq_rx2tx_dlys,
  16486. ARRAY_SIZE(rfseq_rx2tx_events));
  16487. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX, rfseq_tx2rx_events,
  16488. rfseq_tx2rx_dlys,
  16489. ARRAY_SIZE(rfseq_tx2rx_events));
  16490. wlc_phy_workarounds_nphy_gainctrl(pi);
  16491. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16492. if (read_phy_reg(pi, 0xa0) & NPHY_MLenable)
  16493. wlapi_bmac_mhf(pi->sh->physhim, MHF3,
  16494. MHF3_NPHY_MLADV_WAR,
  16495. MHF3_NPHY_MLADV_WAR, BRCM_BAND_ALL);
  16496. } else if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  16497. write_phy_reg(pi, 0x1e3, 0x0);
  16498. write_phy_reg(pi, 0x1e4, 0x0);
  16499. }
  16500. if (NREV_LT(pi->pubpi.phy_rev, 2))
  16501. mod_phy_reg(pi, 0x90, (0x1 << 7), 0);
  16502. alpha0 = 293;
  16503. alpha1 = 435;
  16504. alpha2 = 261;
  16505. beta0 = 366;
  16506. beta1 = 205;
  16507. beta2 = 32;
  16508. write_phy_reg(pi, 0x145, alpha0);
  16509. write_phy_reg(pi, 0x146, alpha1);
  16510. write_phy_reg(pi, 0x147, alpha2);
  16511. write_phy_reg(pi, 0x148, beta0);
  16512. write_phy_reg(pi, 0x149, beta1);
  16513. write_phy_reg(pi, 0x14a, beta2);
  16514. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16515. mod_phy_reg(pi, 0x142, (0xf << 12), 0);
  16516. write_phy_reg(pi, 0x192, 0xb5);
  16517. write_phy_reg(pi, 0x193, 0xa4);
  16518. write_phy_reg(pi, 0x194, 0x0);
  16519. }
  16520. if (NREV_IS(pi->pubpi.phy_rev, 2))
  16521. mod_phy_reg(pi, 0x221,
  16522. NPHY_FORCESIG_DECODEGATEDCLKS,
  16523. NPHY_FORCESIG_DECODEGATEDCLKS);
  16524. }
  16525. static void wlc_phy_workarounds_nphy(struct brcms_phy *pi)
  16526. {
  16527. if (CHSPEC_IS5G(pi->radio_chanspec))
  16528. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 0);
  16529. else
  16530. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 1);
  16531. if (pi->phyhang_avoid)
  16532. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  16533. or_phy_reg(pi, 0xb1, NPHY_IQFlip_ADC1 | NPHY_IQFlip_ADC2);
  16534. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16535. wlc_phy_workarounds_nphy_rev7(pi);
  16536. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16537. wlc_phy_workarounds_nphy_rev3(pi);
  16538. else
  16539. wlc_phy_workarounds_nphy_rev1(pi);
  16540. if (pi->phyhang_avoid)
  16541. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  16542. }
  16543. static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  16544. {
  16545. int j, type = 2;
  16546. u16 addr_offset = 0x2c5;
  16547. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  16548. write_phy_reg(pi, addr_offset + j,
  16549. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  16550. }
  16551. static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals)
  16552. {
  16553. if (write == 0) {
  16554. vals[0] = read_phy_reg(pi, 0x2c);
  16555. vals[1] = read_phy_reg(pi, 0x42);
  16556. } else {
  16557. write_phy_reg(pi, 0x2c, vals[0]);
  16558. write_phy_reg(pi, 0x42, vals[1]);
  16559. }
  16560. }
  16561. static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi)
  16562. {
  16563. u8 core;
  16564. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  16565. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16566. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16567. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16568. TX_SSI_MASTER, 0x5);
  16569. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16570. TX_SSI_MUX, 0xe);
  16571. if (pi->pubpi.radiorev != 5)
  16572. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16573. core, TSSIA, 0);
  16574. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16575. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16576. core, TSSIG, 0x1);
  16577. else
  16578. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16579. core, TSSIG, 0x31);
  16580. } else {
  16581. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16582. TX_SSI_MASTER, 0x9);
  16583. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16584. TX_SSI_MUX, 0xc);
  16585. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16586. TSSIG, 0);
  16587. if (pi->pubpi.radiorev != 5) {
  16588. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16589. WRITE_RADIO_REG3(pi, RADIO_2057,
  16590. TX, core,
  16591. TSSIA, 0x1);
  16592. else
  16593. WRITE_RADIO_REG3(pi, RADIO_2057,
  16594. TX, core,
  16595. TSSIA, 0x31);
  16596. }
  16597. }
  16598. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  16599. 0);
  16600. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  16601. 0);
  16602. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  16603. 0x3);
  16604. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  16605. 0x0);
  16606. }
  16607. } else {
  16608. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR31,
  16609. (CHSPEC_IS2G(pi->radio_chanspec)) ? 0x128 :
  16610. 0x80);
  16611. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR30, 0x0);
  16612. WRITE_RADIO_SYN(pi, RADIO_2056, GPIO_MASTER1, 0x29);
  16613. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16614. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_VCM_HG,
  16615. 0x0);
  16616. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_IDAC,
  16617. 0x0);
  16618. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_VCM,
  16619. 0x3);
  16620. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TX_AMP_DET,
  16621. 0x0);
  16622. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC1,
  16623. 0x8);
  16624. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC2,
  16625. 0x0);
  16626. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC3,
  16627. 0x0);
  16628. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16629. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16630. TX_SSI_MASTER, 0x5);
  16631. if (pi->pubpi.radiorev != 5)
  16632. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16633. core, TSSIA, 0x0);
  16634. if (NREV_GE(pi->pubpi.phy_rev, 5))
  16635. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16636. core, TSSIG, 0x31);
  16637. else
  16638. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16639. core, TSSIG, 0x11);
  16640. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16641. TX_SSI_MUX, 0xe);
  16642. } else {
  16643. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16644. TX_SSI_MASTER, 0x9);
  16645. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16646. TSSIA, 0x31);
  16647. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16648. TSSIG, 0x0);
  16649. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16650. TX_SSI_MUX, 0xc);
  16651. }
  16652. }
  16653. }
  16654. }
  16655. static void
  16656. wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value,
  16657. u8 core_mask, u8 off)
  16658. {
  16659. u8 core_num;
  16660. u16 addr = 0, mask = 0, en_addr = 0, val_addr = 0, en_mask =
  16661. 0, val_mask = 0;
  16662. u8 shift = 0, val_shift = 0;
  16663. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  16664. en_mask = field;
  16665. for (core_num = 0; core_num < 2; core_num++) {
  16666. switch (field) {
  16667. case (0x1 << 1):
  16668. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16669. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16670. val_mask = (0x1 << 0);
  16671. val_shift = 0;
  16672. break;
  16673. case (0x1 << 2):
  16674. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16675. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16676. val_mask = (0x1 << 1);
  16677. val_shift = 1;
  16678. break;
  16679. case (0x1 << 3):
  16680. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16681. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16682. val_mask = (0x1 << 2);
  16683. val_shift = 2;
  16684. break;
  16685. case (0x1 << 4):
  16686. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16687. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16688. val_mask = (0x1 << 4);
  16689. val_shift = 4;
  16690. break;
  16691. case (0x1 << 5):
  16692. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16693. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16694. val_mask = (0x1 << 5);
  16695. val_shift = 5;
  16696. break;
  16697. case (0x1 << 6):
  16698. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16699. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16700. val_mask = (0x1 << 6);
  16701. val_shift = 6;
  16702. break;
  16703. case (0x1 << 7):
  16704. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16705. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16706. val_mask = (0x1 << 7);
  16707. val_shift = 7;
  16708. break;
  16709. case (0x1 << 8):
  16710. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16711. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16712. val_mask = (0x7 << 8);
  16713. val_shift = 8;
  16714. break;
  16715. case (0x1 << 11):
  16716. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16717. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16718. val_mask = (0x7 << 13);
  16719. val_shift = 13;
  16720. break;
  16721. case (0x1 << 9):
  16722. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16723. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16724. val_mask = (0x7 << 0);
  16725. val_shift = 0;
  16726. break;
  16727. case (0x1 << 10):
  16728. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16729. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16730. val_mask = (0x7 << 4);
  16731. val_shift = 4;
  16732. break;
  16733. case (0x1 << 12):
  16734. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16735. val_addr = (core_num == 0) ? 0x7b : 0x7e;
  16736. val_mask = (0xffff << 0);
  16737. val_shift = 0;
  16738. break;
  16739. case (0x1 << 13):
  16740. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16741. val_addr = (core_num == 0) ? 0x7c : 0x7f;
  16742. val_mask = (0xffff << 0);
  16743. val_shift = 0;
  16744. break;
  16745. case (0x1 << 14):
  16746. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16747. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16748. val_mask = (0x3 << 6);
  16749. val_shift = 6;
  16750. break;
  16751. case (0x1 << 0):
  16752. en_addr = (core_num == 0) ? 0xe5 : 0xe6;
  16753. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16754. val_mask = (0x1 << 15);
  16755. val_shift = 15;
  16756. break;
  16757. default:
  16758. addr = 0xffff;
  16759. break;
  16760. }
  16761. if (off) {
  16762. and_phy_reg(pi, en_addr, ~en_mask);
  16763. and_phy_reg(pi, val_addr, ~val_mask);
  16764. } else {
  16765. if ((core_mask == 0)
  16766. || (core_mask & (1 << core_num))) {
  16767. or_phy_reg(pi, en_addr, en_mask);
  16768. if (addr != 0xffff)
  16769. mod_phy_reg(pi, val_addr,
  16770. val_mask,
  16771. (value <<
  16772. val_shift));
  16773. }
  16774. }
  16775. }
  16776. } else {
  16777. if (off) {
  16778. and_phy_reg(pi, 0xec, ~field);
  16779. value = 0x0;
  16780. } else {
  16781. or_phy_reg(pi, 0xec, field);
  16782. }
  16783. for (core_num = 0; core_num < 2; core_num++) {
  16784. switch (field) {
  16785. case (0x1 << 1):
  16786. case (0x1 << 9):
  16787. case (0x1 << 12):
  16788. case (0x1 << 13):
  16789. case (0x1 << 14):
  16790. addr = 0x78;
  16791. core_mask = 0x1;
  16792. break;
  16793. case (0x1 << 2):
  16794. case (0x1 << 3):
  16795. case (0x1 << 4):
  16796. case (0x1 << 5):
  16797. case (0x1 << 6):
  16798. case (0x1 << 7):
  16799. case (0x1 << 8):
  16800. addr = (core_num == 0) ? 0x7a : 0x7d;
  16801. break;
  16802. case (0x1 << 10):
  16803. addr = (core_num == 0) ? 0x7b : 0x7e;
  16804. break;
  16805. case (0x1 << 11):
  16806. addr = (core_num == 0) ? 0x7c : 0x7f;
  16807. break;
  16808. default:
  16809. addr = 0xffff;
  16810. }
  16811. switch (field) {
  16812. case (0x1 << 1):
  16813. mask = (0x7 << 3);
  16814. shift = 3;
  16815. break;
  16816. case (0x1 << 9):
  16817. mask = (0x1 << 2);
  16818. shift = 2;
  16819. break;
  16820. case (0x1 << 12):
  16821. mask = (0x1 << 8);
  16822. shift = 8;
  16823. break;
  16824. case (0x1 << 13):
  16825. mask = (0x1 << 9);
  16826. shift = 9;
  16827. break;
  16828. case (0x1 << 14):
  16829. mask = (0xf << 12);
  16830. shift = 12;
  16831. break;
  16832. case (0x1 << 2):
  16833. mask = (0x1 << 0);
  16834. shift = 0;
  16835. break;
  16836. case (0x1 << 3):
  16837. mask = (0x1 << 1);
  16838. shift = 1;
  16839. break;
  16840. case (0x1 << 4):
  16841. mask = (0x1 << 2);
  16842. shift = 2;
  16843. break;
  16844. case (0x1 << 5):
  16845. mask = (0x3 << 4);
  16846. shift = 4;
  16847. break;
  16848. case (0x1 << 6):
  16849. mask = (0x3 << 6);
  16850. shift = 6;
  16851. break;
  16852. case (0x1 << 7):
  16853. mask = (0x1 << 8);
  16854. shift = 8;
  16855. break;
  16856. case (0x1 << 8):
  16857. mask = (0x1 << 9);
  16858. shift = 9;
  16859. break;
  16860. case (0x1 << 10):
  16861. mask = 0x1fff;
  16862. shift = 0x0;
  16863. break;
  16864. case (0x1 << 11):
  16865. mask = 0x1fff;
  16866. shift = 0x0;
  16867. break;
  16868. default:
  16869. mask = 0x0;
  16870. shift = 0x0;
  16871. break;
  16872. }
  16873. if ((addr != 0xffff) && (core_mask & (1 << core_num)))
  16874. mod_phy_reg(pi, addr, mask, (value << shift));
  16875. }
  16876. or_phy_reg(pi, 0xec, (0x1 << 0));
  16877. or_phy_reg(pi, 0x78, (0x1 << 0));
  16878. udelay(1);
  16879. and_phy_reg(pi, 0xec, ~(0x1 << 0));
  16880. }
  16881. }
  16882. static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi)
  16883. {
  16884. s32 rssi_buf[4];
  16885. s32 int_val;
  16886. if (SCAN_RM_IN_PROGRESS(pi) || PLT_INPROG_PHY(pi) || PHY_MUTED(pi))
  16887. return;
  16888. if (PHY_IPA(pi))
  16889. wlc_phy_ipa_internal_tssi_setup_nphy(pi);
  16890. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16891. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  16892. 0, 0x3, 0,
  16893. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16894. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16895. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 0);
  16896. wlc_phy_stopplayback_nphy(pi);
  16897. wlc_phy_tx_tone_nphy(pi, 4000, 0, 0, 0, false);
  16898. udelay(20);
  16899. int_val =
  16900. wlc_phy_poll_rssi_nphy(pi, (u8) NPHY_RSSI_SEL_TSSI_2G, rssi_buf,
  16901. 1);
  16902. wlc_phy_stopplayback_nphy(pi);
  16903. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, 0);
  16904. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16905. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  16906. 0, 0x3, 1,
  16907. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16908. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16909. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 1);
  16910. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16911. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  16912. (u8) ((int_val >> 24) & 0xff);
  16913. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  16914. (u8) ((int_val >> 24) & 0xff);
  16915. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  16916. (u8) ((int_val >> 8) & 0xff);
  16917. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  16918. (u8) ((int_val >> 8) & 0xff);
  16919. } else {
  16920. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  16921. (u8) ((int_val >> 24) & 0xff);
  16922. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  16923. (u8) ((int_val >> 8) & 0xff);
  16924. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  16925. (u8) ((int_val >> 16) & 0xff);
  16926. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  16927. (u8) ((int_val) & 0xff);
  16928. }
  16929. }
  16930. static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi)
  16931. {
  16932. u8 idx, idx2, i, delta_ind;
  16933. for (idx = TXP_FIRST_CCK; idx <= TXP_LAST_CCK; idx++)
  16934. pi->adj_pwr_tbl_nphy[idx] = pi->tx_power_offset[idx];
  16935. for (i = 0; i < 4; i++) {
  16936. idx2 = 0;
  16937. delta_ind = 0;
  16938. switch (i) {
  16939. case 0:
  16940. if (CHSPEC_IS40(pi->radio_chanspec)
  16941. && NPHY_IS_SROM_REINTERPRET) {
  16942. idx = TXP_FIRST_MCS_40_SISO;
  16943. } else {
  16944. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  16945. TXP_FIRST_OFDM_40_SISO : TXP_FIRST_OFDM;
  16946. delta_ind = 1;
  16947. }
  16948. break;
  16949. case 1:
  16950. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  16951. TXP_FIRST_MCS_40_CDD : TXP_FIRST_MCS_20_CDD;
  16952. break;
  16953. case 2:
  16954. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  16955. TXP_FIRST_MCS_40_STBC : TXP_FIRST_MCS_20_STBC;
  16956. break;
  16957. case 3:
  16958. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  16959. TXP_FIRST_MCS_40_SDM : TXP_FIRST_MCS_20_SDM;
  16960. break;
  16961. }
  16962. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16963. pi->tx_power_offset[idx];
  16964. idx = idx + delta_ind;
  16965. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16966. pi->tx_power_offset[idx];
  16967. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16968. pi->tx_power_offset[idx];
  16969. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16970. pi->tx_power_offset[idx++];
  16971. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16972. pi->tx_power_offset[idx++];
  16973. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16974. pi->tx_power_offset[idx];
  16975. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16976. pi->tx_power_offset[idx];
  16977. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16978. pi->tx_power_offset[idx++];
  16979. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16980. pi->tx_power_offset[idx++];
  16981. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16982. pi->tx_power_offset[idx];
  16983. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16984. pi->tx_power_offset[idx];
  16985. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16986. pi->tx_power_offset[idx++];
  16987. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16988. pi->tx_power_offset[idx];
  16989. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16990. pi->tx_power_offset[idx++];
  16991. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16992. pi->tx_power_offset[idx];
  16993. idx = idx + 1 - delta_ind;
  16994. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16995. pi->tx_power_offset[idx];
  16996. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16997. pi->tx_power_offset[idx];
  16998. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16999. pi->tx_power_offset[idx];
  17000. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17001. pi->tx_power_offset[idx];
  17002. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17003. pi->tx_power_offset[idx];
  17004. }
  17005. }
  17006. static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi)
  17007. {
  17008. u32 idx;
  17009. s16 a1[2], b0[2], b1[2];
  17010. s8 target_pwr_qtrdbm[2];
  17011. s32 num, den, pwr_est;
  17012. u8 chan_freq_range;
  17013. u8 idle_tssi[2];
  17014. u32 tbl_id, tbl_len, tbl_offset;
  17015. u32 regval[64];
  17016. u8 core;
  17017. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17018. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17019. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17020. udelay(1);
  17021. }
  17022. if (pi->phyhang_avoid)
  17023. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17024. or_phy_reg(pi, 0x122, (0x1 << 0));
  17025. if (NREV_GE(pi->pubpi.phy_rev, 3))
  17026. and_phy_reg(pi, 0x1e7, (u16) (~(0x1 << 15)));
  17027. else
  17028. or_phy_reg(pi, 0x1e7, (0x1 << 15));
  17029. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17030. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17031. if (pi->sh->sromrev < 4) {
  17032. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17033. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17034. a1[0] = -424;
  17035. a1[1] = -424;
  17036. b0[0] = 5612;
  17037. b0[1] = 5612;
  17038. b1[1] = -1393;
  17039. b1[0] = -1393;
  17040. } else {
  17041. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  17042. switch (chan_freq_range) {
  17043. case WL_CHAN_FREQ_RANGE_2G:
  17044. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17045. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17046. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_a1;
  17047. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_a1;
  17048. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b0;
  17049. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b0;
  17050. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b1;
  17051. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b1;
  17052. break;
  17053. case WL_CHAN_FREQ_RANGE_5GL:
  17054. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17055. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17056. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1;
  17057. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1;
  17058. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0;
  17059. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0;
  17060. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1;
  17061. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1;
  17062. break;
  17063. case WL_CHAN_FREQ_RANGE_5GM:
  17064. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17065. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17066. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_a1;
  17067. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_a1;
  17068. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b0;
  17069. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b0;
  17070. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b1;
  17071. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b1;
  17072. break;
  17073. case WL_CHAN_FREQ_RANGE_5GH:
  17074. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17075. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17076. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1;
  17077. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1;
  17078. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0;
  17079. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0;
  17080. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1;
  17081. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1;
  17082. break;
  17083. default:
  17084. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17085. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17086. a1[0] = -424;
  17087. a1[1] = -424;
  17088. b0[0] = 5612;
  17089. b0[1] = 5612;
  17090. b1[1] = -1393;
  17091. b1[0] = -1393;
  17092. break;
  17093. }
  17094. }
  17095. /* use the provided transmit power */
  17096. target_pwr_qtrdbm[0] = (s8) pi->tx_power_max;
  17097. target_pwr_qtrdbm[1] = (s8) pi->tx_power_max;
  17098. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17099. if (pi->srom_fem2g.tssipos)
  17100. or_phy_reg(pi, 0x1e9, (0x1 << 14));
  17101. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17102. for (core = 0; core <= 1; core++) {
  17103. if (PHY_IPA(pi)) {
  17104. if (CHSPEC_IS2G(pi->radio_chanspec))
  17105. WRITE_RADIO_REG3(pi, RADIO_2057,
  17106. TX, core,
  17107. TX_SSI_MUX,
  17108. 0xe);
  17109. else
  17110. WRITE_RADIO_REG3(pi, RADIO_2057,
  17111. TX, core,
  17112. TX_SSI_MUX,
  17113. 0xc);
  17114. }
  17115. }
  17116. } else {
  17117. if (PHY_IPA(pi)) {
  17118. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17119. RADIO_2056_TX0,
  17120. (CHSPEC_IS5G
  17121. (pi->radio_chanspec)) ?
  17122. 0xc : 0xe);
  17123. write_radio_reg(pi,
  17124. RADIO_2056_TX_TX_SSI_MUX |
  17125. RADIO_2056_TX1,
  17126. (CHSPEC_IS5G
  17127. (pi->radio_chanspec)) ?
  17128. 0xc : 0xe);
  17129. } else {
  17130. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17131. RADIO_2056_TX0, 0x11);
  17132. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17133. RADIO_2056_TX1, 0x11);
  17134. }
  17135. }
  17136. }
  17137. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17138. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17139. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17140. udelay(1);
  17141. }
  17142. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17143. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17144. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17145. else
  17146. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17147. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17148. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17149. mod_phy_reg(pi, 0x222, (0xff << 0),
  17150. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17151. else if (NREV_GT(pi->pubpi.phy_rev, 1))
  17152. mod_phy_reg(pi, 0x222, (0xff << 0),
  17153. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17154. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17155. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17156. write_phy_reg(pi, 0x1e8, (0x3 << 8) | (240 << 0));
  17157. write_phy_reg(pi, 0x1e9,
  17158. (1 << 15) | (idle_tssi[0] << 0) | (idle_tssi[1] << 8));
  17159. write_phy_reg(pi, 0x1ea,
  17160. (target_pwr_qtrdbm[0] << 0) |
  17161. (target_pwr_qtrdbm[1] << 8));
  17162. tbl_len = 64;
  17163. tbl_offset = 0;
  17164. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  17165. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  17166. for (idx = 0; idx < tbl_len; idx++) {
  17167. num = 8 *
  17168. (16 * b0[tbl_id - 26] + b1[tbl_id - 26] * idx);
  17169. den = 32768 + a1[tbl_id - 26] * idx;
  17170. pwr_est = max(((4 * num + den / 2) / den), -8);
  17171. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  17172. if (idx <=
  17173. (uint) (31 - idle_tssi[tbl_id - 26] + 1))
  17174. pwr_est =
  17175. max(pwr_est,
  17176. target_pwr_qtrdbm
  17177. [tbl_id - 26] + 1);
  17178. }
  17179. regval[idx] = (u32) pwr_est;
  17180. }
  17181. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  17182. regval);
  17183. }
  17184. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  17185. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64, 8,
  17186. pi->adj_pwr_tbl_nphy);
  17187. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64, 8,
  17188. pi->adj_pwr_tbl_nphy);
  17189. if (pi->phyhang_avoid)
  17190. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17191. }
  17192. static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi)
  17193. {
  17194. u32 *tx_pwrctrl_tbl = NULL;
  17195. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17196. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17197. if ((pi->pubpi.radiorev == 4)
  17198. || (pi->pubpi.radiorev == 6))
  17199. tx_pwrctrl_tbl =
  17200. nphy_tpc_txgain_ipa_2g_2057rev4n6;
  17201. else if (pi->pubpi.radiorev == 3)
  17202. tx_pwrctrl_tbl =
  17203. nphy_tpc_txgain_ipa_2g_2057rev3;
  17204. else if (pi->pubpi.radiorev == 5)
  17205. tx_pwrctrl_tbl =
  17206. nphy_tpc_txgain_ipa_2g_2057rev5;
  17207. else if ((pi->pubpi.radiorev == 7)
  17208. || (pi->pubpi.radiorev == 8))
  17209. tx_pwrctrl_tbl =
  17210. nphy_tpc_txgain_ipa_2g_2057rev7;
  17211. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17212. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev6;
  17213. if (pi->sh->chip == BCMA_CHIP_ID_BCM47162)
  17214. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17215. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17216. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17217. } else {
  17218. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa;
  17219. }
  17220. } else {
  17221. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17222. if ((pi->pubpi.radiorev == 3) ||
  17223. (pi->pubpi.radiorev == 4) ||
  17224. (pi->pubpi.radiorev == 6))
  17225. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g_2057;
  17226. else if ((pi->pubpi.radiorev == 7)
  17227. || (pi->pubpi.radiorev == 8))
  17228. tx_pwrctrl_tbl =
  17229. nphy_tpc_txgain_ipa_5g_2057rev7;
  17230. } else {
  17231. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g;
  17232. }
  17233. }
  17234. return tx_pwrctrl_tbl;
  17235. }
  17236. static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi)
  17237. {
  17238. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17239. if (pi->nphy_rssical_chanspec_2G == 0)
  17240. return;
  17241. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17242. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17243. RADIO_2057_VCM_MASK,
  17244. pi->rssical_cache.
  17245. rssical_radio_regs_2G[0]);
  17246. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17247. RADIO_2057_VCM_MASK,
  17248. pi->rssical_cache.
  17249. rssical_radio_regs_2G[1]);
  17250. } else {
  17251. mod_radio_reg(pi,
  17252. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17253. RADIO_2056_VCM_MASK,
  17254. pi->rssical_cache.
  17255. rssical_radio_regs_2G[0]);
  17256. mod_radio_reg(pi,
  17257. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17258. RADIO_2056_VCM_MASK,
  17259. pi->rssical_cache.
  17260. rssical_radio_regs_2G[1]);
  17261. }
  17262. write_phy_reg(pi, 0x1a6,
  17263. pi->rssical_cache.rssical_phyregs_2G[0]);
  17264. write_phy_reg(pi, 0x1ac,
  17265. pi->rssical_cache.rssical_phyregs_2G[1]);
  17266. write_phy_reg(pi, 0x1b2,
  17267. pi->rssical_cache.rssical_phyregs_2G[2]);
  17268. write_phy_reg(pi, 0x1b8,
  17269. pi->rssical_cache.rssical_phyregs_2G[3]);
  17270. write_phy_reg(pi, 0x1a4,
  17271. pi->rssical_cache.rssical_phyregs_2G[4]);
  17272. write_phy_reg(pi, 0x1aa,
  17273. pi->rssical_cache.rssical_phyregs_2G[5]);
  17274. write_phy_reg(pi, 0x1b0,
  17275. pi->rssical_cache.rssical_phyregs_2G[6]);
  17276. write_phy_reg(pi, 0x1b6,
  17277. pi->rssical_cache.rssical_phyregs_2G[7]);
  17278. write_phy_reg(pi, 0x1a5,
  17279. pi->rssical_cache.rssical_phyregs_2G[8]);
  17280. write_phy_reg(pi, 0x1ab,
  17281. pi->rssical_cache.rssical_phyregs_2G[9]);
  17282. write_phy_reg(pi, 0x1b1,
  17283. pi->rssical_cache.rssical_phyregs_2G[10]);
  17284. write_phy_reg(pi, 0x1b7,
  17285. pi->rssical_cache.rssical_phyregs_2G[11]);
  17286. } else {
  17287. if (pi->nphy_rssical_chanspec_5G == 0)
  17288. return;
  17289. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17290. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17291. RADIO_2057_VCM_MASK,
  17292. pi->rssical_cache.
  17293. rssical_radio_regs_5G[0]);
  17294. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17295. RADIO_2057_VCM_MASK,
  17296. pi->rssical_cache.
  17297. rssical_radio_regs_5G[1]);
  17298. } else {
  17299. mod_radio_reg(pi,
  17300. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17301. RADIO_2056_VCM_MASK,
  17302. pi->rssical_cache.
  17303. rssical_radio_regs_5G[0]);
  17304. mod_radio_reg(pi,
  17305. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17306. RADIO_2056_VCM_MASK,
  17307. pi->rssical_cache.
  17308. rssical_radio_regs_5G[1]);
  17309. }
  17310. write_phy_reg(pi, 0x1a6,
  17311. pi->rssical_cache.rssical_phyregs_5G[0]);
  17312. write_phy_reg(pi, 0x1ac,
  17313. pi->rssical_cache.rssical_phyregs_5G[1]);
  17314. write_phy_reg(pi, 0x1b2,
  17315. pi->rssical_cache.rssical_phyregs_5G[2]);
  17316. write_phy_reg(pi, 0x1b8,
  17317. pi->rssical_cache.rssical_phyregs_5G[3]);
  17318. write_phy_reg(pi, 0x1a4,
  17319. pi->rssical_cache.rssical_phyregs_5G[4]);
  17320. write_phy_reg(pi, 0x1aa,
  17321. pi->rssical_cache.rssical_phyregs_5G[5]);
  17322. write_phy_reg(pi, 0x1b0,
  17323. pi->rssical_cache.rssical_phyregs_5G[6]);
  17324. write_phy_reg(pi, 0x1b6,
  17325. pi->rssical_cache.rssical_phyregs_5G[7]);
  17326. write_phy_reg(pi, 0x1a5,
  17327. pi->rssical_cache.rssical_phyregs_5G[8]);
  17328. write_phy_reg(pi, 0x1ab,
  17329. pi->rssical_cache.rssical_phyregs_5G[9]);
  17330. write_phy_reg(pi, 0x1b1,
  17331. pi->rssical_cache.rssical_phyregs_5G[10]);
  17332. write_phy_reg(pi, 0x1b7,
  17333. pi->rssical_cache.rssical_phyregs_5G[11]);
  17334. }
  17335. }
  17336. static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi)
  17337. {
  17338. u16 txcal_gain[2];
  17339. pi->nphy_txcal_pwr_idx[0] = pi->nphy_cal_orig_pwr_idx[0];
  17340. pi->nphy_txcal_pwr_idx[1] = pi->nphy_cal_orig_pwr_idx[0];
  17341. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17342. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17343. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17344. txcal_gain);
  17345. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17346. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F40;
  17347. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F40;
  17348. } else {
  17349. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F60;
  17350. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F60;
  17351. }
  17352. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17353. txcal_gain);
  17354. }
  17355. static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi)
  17356. {
  17357. bool save_bbmult = false;
  17358. u8 txcal_index_2057_rev5n7 = 0;
  17359. u8 txcal_index_2057_rev3n4n6 = 10;
  17360. if (pi->use_int_tx_iqlo_cal_nphy) {
  17361. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17362. if ((pi->pubpi.radiorev == 3) ||
  17363. (pi->pubpi.radiorev == 4) ||
  17364. (pi->pubpi.radiorev == 6)) {
  17365. pi->nphy_txcal_pwr_idx[0] =
  17366. txcal_index_2057_rev3n4n6;
  17367. pi->nphy_txcal_pwr_idx[1] =
  17368. txcal_index_2057_rev3n4n6;
  17369. wlc_phy_txpwr_index_nphy(
  17370. pi, 3,
  17371. txcal_index_2057_rev3n4n6,
  17372. false);
  17373. } else {
  17374. pi->nphy_txcal_pwr_idx[0] =
  17375. txcal_index_2057_rev5n7;
  17376. pi->nphy_txcal_pwr_idx[1] =
  17377. txcal_index_2057_rev5n7;
  17378. wlc_phy_txpwr_index_nphy(
  17379. pi, 3,
  17380. txcal_index_2057_rev5n7,
  17381. false);
  17382. }
  17383. save_bbmult = true;
  17384. } else if (NREV_LT(pi->pubpi.phy_rev, 5)) {
  17385. wlc_phy_cal_txgainctrl_nphy(pi, 11, false);
  17386. if (pi->sh->hw_phytxchain != 3) {
  17387. pi->nphy_txcal_pwr_idx[1] =
  17388. pi->nphy_txcal_pwr_idx[0];
  17389. wlc_phy_txpwr_index_nphy(pi, 3,
  17390. pi->
  17391. nphy_txcal_pwr_idx[0],
  17392. true);
  17393. save_bbmult = true;
  17394. }
  17395. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17396. if (PHY_IPA(pi)) {
  17397. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17398. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17399. false);
  17400. } else {
  17401. pi->nphy_txcal_pwr_idx[0] = 80;
  17402. pi->nphy_txcal_pwr_idx[1] = 80;
  17403. wlc_phy_txpwr_index_nphy(pi, 3, 80,
  17404. false);
  17405. save_bbmult = true;
  17406. }
  17407. } else {
  17408. wlc_phy_internal_cal_txgain_nphy(pi);
  17409. save_bbmult = true;
  17410. }
  17411. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17412. if (PHY_IPA(pi)) {
  17413. if (CHSPEC_IS2G(pi->radio_chanspec))
  17414. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17415. false);
  17416. else
  17417. wlc_phy_cal_txgainctrl_nphy(pi, 14,
  17418. false);
  17419. } else {
  17420. wlc_phy_internal_cal_txgain_nphy(pi);
  17421. save_bbmult = true;
  17422. }
  17423. }
  17424. } else {
  17425. wlc_phy_cal_txgainctrl_nphy(pi, 10, false);
  17426. }
  17427. if (save_bbmult)
  17428. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  17429. &pi->nphy_txcal_bbmult);
  17430. }
  17431. static void
  17432. wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value,
  17433. u8 core_code)
  17434. {
  17435. u16 mask;
  17436. u16 val;
  17437. u8 core;
  17438. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17439. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17440. if (core_code == RADIO_MIMO_CORESEL_CORE1
  17441. && core == PHY_CORE_1)
  17442. continue;
  17443. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  17444. && core == PHY_CORE_0)
  17445. continue;
  17446. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  17447. mask = (0x1 << 10);
  17448. val = 1 << 10;
  17449. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17450. 0x92, mask, val);
  17451. }
  17452. if (field == NPHY_RfctrlIntc_override_OFF) {
  17453. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17454. 0x92, 0);
  17455. wlc_phy_force_rfseq_nphy(pi,
  17456. NPHY_RFSEQ_RESET2RX);
  17457. } else if (field == NPHY_RfctrlIntc_override_TRSW) {
  17458. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17459. mask = (0x1 << 6) | (0x1 << 7);
  17460. val = value << 6;
  17461. mod_phy_reg(pi,
  17462. (core ==
  17463. PHY_CORE_0) ? 0x91 : 0x92,
  17464. mask, val);
  17465. or_phy_reg(pi,
  17466. (core ==
  17467. PHY_CORE_0) ? 0x91 : 0x92,
  17468. (0x1 << 10));
  17469. and_phy_reg(pi, 0x2ff, (u16)
  17470. ~(0x3 << 14));
  17471. or_phy_reg(pi, 0x2ff, (0x1 << 13));
  17472. or_phy_reg(pi, 0x2ff, (0x1 << 0));
  17473. } else {
  17474. mask = (0x1 << 6) |
  17475. (0x1 << 7) |
  17476. (0x1 << 8) | (0x1 << 9);
  17477. val = value << 6;
  17478. mod_phy_reg(pi,
  17479. (core ==
  17480. PHY_CORE_0) ? 0x91 : 0x92,
  17481. mask, val);
  17482. mask = (0x1 << 0);
  17483. val = 1 << 0;
  17484. mod_phy_reg(pi,
  17485. (core ==
  17486. PHY_CORE_0) ? 0xe7 : 0xec,
  17487. mask, val);
  17488. mask = (core == PHY_CORE_0) ?
  17489. (0x1 << 0) : (0x1 << 1);
  17490. val = 1 << ((core == PHY_CORE_0) ?
  17491. 0 : 1);
  17492. mod_phy_reg(pi, 0x78, mask, val);
  17493. SPINWAIT(((read_phy_reg(pi, 0x78) & val)
  17494. != 0), 10000);
  17495. if (WARN(read_phy_reg(pi, 0x78) & val,
  17496. "HW error: override failed"))
  17497. return;
  17498. mask = (0x1 << 0);
  17499. val = 0 << 0;
  17500. mod_phy_reg(pi,
  17501. (core ==
  17502. PHY_CORE_0) ? 0xe7 : 0xec,
  17503. mask, val);
  17504. }
  17505. } else if (field == NPHY_RfctrlIntc_override_PA) {
  17506. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17507. mask = (0x1 << 4) | (0x1 << 5);
  17508. if (CHSPEC_IS5G(pi->radio_chanspec))
  17509. val = value << 5;
  17510. else
  17511. val = value << 4;
  17512. mod_phy_reg(pi,
  17513. (core ==
  17514. PHY_CORE_0) ? 0x91 : 0x92,
  17515. mask, val);
  17516. or_phy_reg(pi,
  17517. (core ==
  17518. PHY_CORE_0) ? 0x91 : 0x92,
  17519. (0x1 << 12));
  17520. } else {
  17521. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17522. mask = (0x1 << 5);
  17523. val = value << 5;
  17524. } else {
  17525. mask = (0x1 << 4);
  17526. val = value << 4;
  17527. }
  17528. mod_phy_reg(pi,
  17529. (core ==
  17530. PHY_CORE_0) ? 0x91 : 0x92,
  17531. mask, val);
  17532. }
  17533. } else if (field ==
  17534. NPHY_RfctrlIntc_override_EXT_LNA_PU) {
  17535. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17536. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17537. mask = (0x1 << 0);
  17538. val = value << 0;
  17539. mod_phy_reg(pi,
  17540. (core ==
  17541. PHY_CORE_0) ? 0x91
  17542. : 0x92, mask, val);
  17543. mask = (0x1 << 2);
  17544. mod_phy_reg(pi,
  17545. (core ==
  17546. PHY_CORE_0) ? 0x91
  17547. : 0x92, mask, 0);
  17548. } else {
  17549. mask = (0x1 << 2);
  17550. val = value << 2;
  17551. mod_phy_reg(pi,
  17552. (core ==
  17553. PHY_CORE_0) ? 0x91
  17554. : 0x92, mask, val);
  17555. mask = (0x1 << 0);
  17556. mod_phy_reg(pi,
  17557. (core ==
  17558. PHY_CORE_0) ? 0x91
  17559. : 0x92, mask, 0);
  17560. }
  17561. mask = (0x1 << 11);
  17562. val = 1 << 11;
  17563. mod_phy_reg(pi,
  17564. (core ==
  17565. PHY_CORE_0) ? 0x91 : 0x92,
  17566. mask, val);
  17567. } else {
  17568. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17569. mask = (0x1 << 0);
  17570. val = value << 0;
  17571. } else {
  17572. mask = (0x1 << 2);
  17573. val = value << 2;
  17574. }
  17575. mod_phy_reg(pi,
  17576. (core ==
  17577. PHY_CORE_0) ? 0x91 : 0x92,
  17578. mask, val);
  17579. }
  17580. } else if (field ==
  17581. NPHY_RfctrlIntc_override_EXT_LNA_GAIN) {
  17582. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17583. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17584. mask = (0x1 << 1);
  17585. val = value << 1;
  17586. mod_phy_reg(pi,
  17587. (core ==
  17588. PHY_CORE_0) ? 0x91
  17589. : 0x92, mask, val);
  17590. mask = (0x1 << 3);
  17591. mod_phy_reg(pi,
  17592. (core ==
  17593. PHY_CORE_0) ? 0x91
  17594. : 0x92, mask, 0);
  17595. } else {
  17596. mask = (0x1 << 3);
  17597. val = value << 3;
  17598. mod_phy_reg(pi,
  17599. (core ==
  17600. PHY_CORE_0) ? 0x91
  17601. : 0x92, mask, val);
  17602. mask = (0x1 << 1);
  17603. mod_phy_reg(pi,
  17604. (core ==
  17605. PHY_CORE_0) ? 0x91
  17606. : 0x92, mask, 0);
  17607. }
  17608. mask = (0x1 << 11);
  17609. val = 1 << 11;
  17610. mod_phy_reg(pi,
  17611. (core ==
  17612. PHY_CORE_0) ? 0x91 : 0x92,
  17613. mask, val);
  17614. } else {
  17615. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17616. mask = (0x1 << 1);
  17617. val = value << 1;
  17618. } else {
  17619. mask = (0x1 << 3);
  17620. val = value << 3;
  17621. }
  17622. mod_phy_reg(pi,
  17623. (core ==
  17624. PHY_CORE_0) ? 0x91 : 0x92,
  17625. mask, val);
  17626. }
  17627. }
  17628. }
  17629. }
  17630. }
  17631. void
  17632. wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower,
  17633. bool debug)
  17634. {
  17635. int gainctrl_loopidx;
  17636. uint core;
  17637. u16 m0m1, curr_m0m1;
  17638. s32 delta_power;
  17639. s32 txpwrindex;
  17640. s32 qdBm_power[2];
  17641. u16 orig_BBConfig;
  17642. u16 phy_saveregs[4];
  17643. u32 freq_test;
  17644. u16 ampl_test = 250;
  17645. uint stepsize;
  17646. bool phyhang_avoid_state = false;
  17647. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17648. stepsize = 2;
  17649. else
  17650. stepsize = 1;
  17651. if (CHSPEC_IS40(pi->radio_chanspec))
  17652. freq_test = 5000;
  17653. else
  17654. freq_test = 2500;
  17655. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17656. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17657. if (pi->phyhang_avoid)
  17658. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17659. phyhang_avoid_state = pi->phyhang_avoid;
  17660. pi->phyhang_avoid = false;
  17661. phy_saveregs[0] = read_phy_reg(pi, 0x91);
  17662. phy_saveregs[1] = read_phy_reg(pi, 0x92);
  17663. phy_saveregs[2] = read_phy_reg(pi, 0xe7);
  17664. phy_saveregs[3] = read_phy_reg(pi, 0xec);
  17665. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 1,
  17666. RADIO_MIMO_CORESEL_CORE1 |
  17667. RADIO_MIMO_CORESEL_CORE2);
  17668. if (!debug) {
  17669. wlc_phy_rfctrlintc_override_nphy(pi,
  17670. NPHY_RfctrlIntc_override_TRSW,
  17671. 0x2, RADIO_MIMO_CORESEL_CORE1);
  17672. wlc_phy_rfctrlintc_override_nphy(pi,
  17673. NPHY_RfctrlIntc_override_TRSW,
  17674. 0x8, RADIO_MIMO_CORESEL_CORE2);
  17675. } else {
  17676. wlc_phy_rfctrlintc_override_nphy(pi,
  17677. NPHY_RfctrlIntc_override_TRSW,
  17678. 0x1, RADIO_MIMO_CORESEL_CORE1);
  17679. wlc_phy_rfctrlintc_override_nphy(pi,
  17680. NPHY_RfctrlIntc_override_TRSW,
  17681. 0x7, RADIO_MIMO_CORESEL_CORE2);
  17682. }
  17683. orig_BBConfig = read_phy_reg(pi, 0x01);
  17684. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  17685. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  17686. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17687. txpwrindex = (s32) pi->nphy_cal_orig_pwr_idx[core];
  17688. for (gainctrl_loopidx = 0; gainctrl_loopidx < 2;
  17689. gainctrl_loopidx++) {
  17690. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17691. false);
  17692. if (core == PHY_CORE_0)
  17693. curr_m0m1 = m0m1 & 0xff00;
  17694. else
  17695. curr_m0m1 = m0m1 & 0x00ff;
  17696. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &curr_m0m1);
  17697. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &curr_m0m1);
  17698. udelay(50);
  17699. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17700. NPHY_CAL_TSSISAMPS);
  17701. pi->nphy_bb_mult_save = 0;
  17702. wlc_phy_stopplayback_nphy(pi);
  17703. delta_power = (dBm_targetpower * 4) - qdBm_power[core];
  17704. txpwrindex -= stepsize * delta_power;
  17705. if (txpwrindex < 0)
  17706. txpwrindex = 0;
  17707. else if (txpwrindex > 127)
  17708. txpwrindex = 127;
  17709. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17710. if (NREV_IS(pi->pubpi.phy_rev, 4) &&
  17711. (pi->srom_fem5g.extpagain == 3)) {
  17712. if (txpwrindex < 30)
  17713. txpwrindex = 30;
  17714. }
  17715. } else {
  17716. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  17717. (pi->srom_fem2g.extpagain == 3)) {
  17718. if (txpwrindex < 50)
  17719. txpwrindex = 50;
  17720. }
  17721. }
  17722. wlc_phy_txpwr_index_nphy(pi, (1 << core),
  17723. (u8) txpwrindex, true);
  17724. }
  17725. pi->nphy_txcal_pwr_idx[core] = (u8) txpwrindex;
  17726. if (debug) {
  17727. u16 radio_gain;
  17728. u16 dbg_m0m1;
  17729. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17730. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17731. false);
  17732. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17733. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &dbg_m0m1);
  17734. udelay(100);
  17735. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17736. NPHY_CAL_TSSISAMPS);
  17737. wlc_phy_table_read_nphy(pi, 7, 1, (0x110 + core), 16,
  17738. &radio_gain);
  17739. mdelay(4000);
  17740. pi->nphy_bb_mult_save = 0;
  17741. wlc_phy_stopplayback_nphy(pi);
  17742. }
  17743. }
  17744. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_txcal_pwr_idx[0], true);
  17745. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_txcal_pwr_idx[1], true);
  17746. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &pi->nphy_txcal_bbmult);
  17747. write_phy_reg(pi, 0x01, orig_BBConfig);
  17748. write_phy_reg(pi, 0x91, phy_saveregs[0]);
  17749. write_phy_reg(pi, 0x92, phy_saveregs[1]);
  17750. write_phy_reg(pi, 0xe7, phy_saveregs[2]);
  17751. write_phy_reg(pi, 0xec, phy_saveregs[3]);
  17752. pi->phyhang_avoid = phyhang_avoid_state;
  17753. if (pi->phyhang_avoid)
  17754. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17755. }
  17756. static void wlc_phy_savecal_nphy(struct brcms_phy *pi)
  17757. {
  17758. void *tbl_ptr;
  17759. int coreNum;
  17760. u16 *txcal_radio_regs = NULL;
  17761. if (pi->phyhang_avoid)
  17762. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17763. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17764. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17765. &pi->calibration_cache.
  17766. rxcal_coeffs_2G);
  17767. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17768. txcal_radio_regs =
  17769. pi->calibration_cache.txcal_radio_regs_2G;
  17770. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17771. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17772. read_radio_reg(pi,
  17773. RADIO_2056_TX_LOFT_FINE_I |
  17774. RADIO_2056_TX0);
  17775. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17776. read_radio_reg(pi,
  17777. RADIO_2056_TX_LOFT_FINE_Q |
  17778. RADIO_2056_TX0);
  17779. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17780. read_radio_reg(pi,
  17781. RADIO_2056_TX_LOFT_FINE_I |
  17782. RADIO_2056_TX1);
  17783. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17784. read_radio_reg(pi,
  17785. RADIO_2056_TX_LOFT_FINE_Q |
  17786. RADIO_2056_TX1);
  17787. pi->calibration_cache.txcal_radio_regs_2G[4] =
  17788. read_radio_reg(pi,
  17789. RADIO_2056_TX_LOFT_COARSE_I |
  17790. RADIO_2056_TX0);
  17791. pi->calibration_cache.txcal_radio_regs_2G[5] =
  17792. read_radio_reg(pi,
  17793. RADIO_2056_TX_LOFT_COARSE_Q |
  17794. RADIO_2056_TX0);
  17795. pi->calibration_cache.txcal_radio_regs_2G[6] =
  17796. read_radio_reg(pi,
  17797. RADIO_2056_TX_LOFT_COARSE_I |
  17798. RADIO_2056_TX1);
  17799. pi->calibration_cache.txcal_radio_regs_2G[7] =
  17800. read_radio_reg(pi,
  17801. RADIO_2056_TX_LOFT_COARSE_Q |
  17802. RADIO_2056_TX1);
  17803. } else {
  17804. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17805. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  17806. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17807. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  17808. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17809. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  17810. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17811. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  17812. }
  17813. pi->nphy_iqcal_chanspec_2G = pi->radio_chanspec;
  17814. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  17815. } else {
  17816. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17817. &pi->calibration_cache.
  17818. rxcal_coeffs_5G);
  17819. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17820. txcal_radio_regs =
  17821. pi->calibration_cache.txcal_radio_regs_5G;
  17822. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17823. pi->calibration_cache.txcal_radio_regs_5G[0] =
  17824. read_radio_reg(pi,
  17825. RADIO_2056_TX_LOFT_FINE_I |
  17826. RADIO_2056_TX0);
  17827. pi->calibration_cache.txcal_radio_regs_5G[1] =
  17828. read_radio_reg(pi,
  17829. RADIO_2056_TX_LOFT_FINE_Q |
  17830. RADIO_2056_TX0);
  17831. pi->calibration_cache.txcal_radio_regs_5G[2] =
  17832. read_radio_reg(pi,
  17833. RADIO_2056_TX_LOFT_FINE_I |
  17834. RADIO_2056_TX1);
  17835. pi->calibration_cache.txcal_radio_regs_5G[3] =
  17836. read_radio_reg(pi,
  17837. RADIO_2056_TX_LOFT_FINE_Q |
  17838. RADIO_2056_TX1);
  17839. pi->calibration_cache.txcal_radio_regs_5G[4] =
  17840. read_radio_reg(pi,
  17841. RADIO_2056_TX_LOFT_COARSE_I |
  17842. RADIO_2056_TX0);
  17843. pi->calibration_cache.txcal_radio_regs_5G[5] =
  17844. read_radio_reg(pi,
  17845. RADIO_2056_TX_LOFT_COARSE_Q |
  17846. RADIO_2056_TX0);
  17847. pi->calibration_cache.txcal_radio_regs_5G[6] =
  17848. read_radio_reg(pi,
  17849. RADIO_2056_TX_LOFT_COARSE_I |
  17850. RADIO_2056_TX1);
  17851. pi->calibration_cache.txcal_radio_regs_5G[7] =
  17852. read_radio_reg(pi,
  17853. RADIO_2056_TX_LOFT_COARSE_Q |
  17854. RADIO_2056_TX1);
  17855. } else {
  17856. pi->calibration_cache.txcal_radio_regs_5G[0] =
  17857. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  17858. pi->calibration_cache.txcal_radio_regs_5G[1] =
  17859. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  17860. pi->calibration_cache.txcal_radio_regs_5G[2] =
  17861. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  17862. pi->calibration_cache.txcal_radio_regs_5G[3] =
  17863. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  17864. }
  17865. pi->nphy_iqcal_chanspec_5G = pi->radio_chanspec;
  17866. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  17867. }
  17868. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17869. for (coreNum = 0; coreNum <= 1; coreNum++) {
  17870. txcal_radio_regs[2 * coreNum] =
  17871. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17872. LOFT_FINE_I);
  17873. txcal_radio_regs[2 * coreNum + 1] =
  17874. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17875. LOFT_FINE_Q);
  17876. txcal_radio_regs[2 * coreNum + 4] =
  17877. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17878. LOFT_COARSE_I);
  17879. txcal_radio_regs[2 * coreNum + 5] =
  17880. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17881. LOFT_COARSE_Q);
  17882. }
  17883. }
  17884. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 8, 80, 16, tbl_ptr);
  17885. if (pi->phyhang_avoid)
  17886. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17887. }
  17888. static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi)
  17889. {
  17890. struct nphy_iq_comp tx_comp;
  17891. wlc_phy_table_read_nphy(pi, 15, 4, 0x50, 16, &tx_comp);
  17892. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0);
  17893. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0);
  17894. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 4, tx_comp.a1);
  17895. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 6, tx_comp.b1);
  17896. }
  17897. static void wlc_phy_restorecal_nphy(struct brcms_phy *pi)
  17898. {
  17899. u16 *loft_comp;
  17900. u16 txcal_coeffs_bphy[4];
  17901. u16 *tbl_ptr;
  17902. int coreNum;
  17903. u16 *txcal_radio_regs = NULL;
  17904. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17905. if (pi->nphy_iqcal_chanspec_2G == 0)
  17906. return;
  17907. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  17908. loft_comp = &pi->calibration_cache.txcal_coeffs_2G[5];
  17909. } else {
  17910. if (pi->nphy_iqcal_chanspec_5G == 0)
  17911. return;
  17912. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  17913. loft_comp = &pi->calibration_cache.txcal_coeffs_5G[5];
  17914. }
  17915. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80, 16, tbl_ptr);
  17916. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17917. txcal_coeffs_bphy[0] = tbl_ptr[0];
  17918. txcal_coeffs_bphy[1] = tbl_ptr[1];
  17919. txcal_coeffs_bphy[2] = tbl_ptr[2];
  17920. txcal_coeffs_bphy[3] = tbl_ptr[3];
  17921. } else {
  17922. txcal_coeffs_bphy[0] = 0;
  17923. txcal_coeffs_bphy[1] = 0;
  17924. txcal_coeffs_bphy[2] = 0;
  17925. txcal_coeffs_bphy[3] = 0;
  17926. }
  17927. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88, 16,
  17928. txcal_coeffs_bphy);
  17929. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85, 16, loft_comp);
  17930. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93, 16, loft_comp);
  17931. if (NREV_LT(pi->pubpi.phy_rev, 2))
  17932. wlc_phy_tx_iq_war_nphy(pi);
  17933. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17934. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17935. txcal_radio_regs =
  17936. pi->calibration_cache.txcal_radio_regs_2G;
  17937. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17938. write_radio_reg(pi,
  17939. RADIO_2056_TX_LOFT_FINE_I |
  17940. RADIO_2056_TX0,
  17941. pi->calibration_cache.
  17942. txcal_radio_regs_2G[0]);
  17943. write_radio_reg(pi,
  17944. RADIO_2056_TX_LOFT_FINE_Q |
  17945. RADIO_2056_TX0,
  17946. pi->calibration_cache.
  17947. txcal_radio_regs_2G[1]);
  17948. write_radio_reg(pi,
  17949. RADIO_2056_TX_LOFT_FINE_I |
  17950. RADIO_2056_TX1,
  17951. pi->calibration_cache.
  17952. txcal_radio_regs_2G[2]);
  17953. write_radio_reg(pi,
  17954. RADIO_2056_TX_LOFT_FINE_Q |
  17955. RADIO_2056_TX1,
  17956. pi->calibration_cache.
  17957. txcal_radio_regs_2G[3]);
  17958. write_radio_reg(pi,
  17959. RADIO_2056_TX_LOFT_COARSE_I |
  17960. RADIO_2056_TX0,
  17961. pi->calibration_cache.
  17962. txcal_radio_regs_2G[4]);
  17963. write_radio_reg(pi,
  17964. RADIO_2056_TX_LOFT_COARSE_Q |
  17965. RADIO_2056_TX0,
  17966. pi->calibration_cache.
  17967. txcal_radio_regs_2G[5]);
  17968. write_radio_reg(pi,
  17969. RADIO_2056_TX_LOFT_COARSE_I |
  17970. RADIO_2056_TX1,
  17971. pi->calibration_cache.
  17972. txcal_radio_regs_2G[6]);
  17973. write_radio_reg(pi,
  17974. RADIO_2056_TX_LOFT_COARSE_Q |
  17975. RADIO_2056_TX1,
  17976. pi->calibration_cache.
  17977. txcal_radio_regs_2G[7]);
  17978. } else {
  17979. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  17980. pi->calibration_cache.
  17981. txcal_radio_regs_2G[0]);
  17982. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  17983. pi->calibration_cache.
  17984. txcal_radio_regs_2G[1]);
  17985. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  17986. pi->calibration_cache.
  17987. txcal_radio_regs_2G[2]);
  17988. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  17989. pi->calibration_cache.
  17990. txcal_radio_regs_2G[3]);
  17991. }
  17992. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  17993. &pi->calibration_cache.
  17994. rxcal_coeffs_2G);
  17995. } else {
  17996. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17997. txcal_radio_regs =
  17998. pi->calibration_cache.txcal_radio_regs_5G;
  17999. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18000. write_radio_reg(pi,
  18001. RADIO_2056_TX_LOFT_FINE_I |
  18002. RADIO_2056_TX0,
  18003. pi->calibration_cache.
  18004. txcal_radio_regs_5G[0]);
  18005. write_radio_reg(pi,
  18006. RADIO_2056_TX_LOFT_FINE_Q |
  18007. RADIO_2056_TX0,
  18008. pi->calibration_cache.
  18009. txcal_radio_regs_5G[1]);
  18010. write_radio_reg(pi,
  18011. RADIO_2056_TX_LOFT_FINE_I |
  18012. RADIO_2056_TX1,
  18013. pi->calibration_cache.
  18014. txcal_radio_regs_5G[2]);
  18015. write_radio_reg(pi,
  18016. RADIO_2056_TX_LOFT_FINE_Q |
  18017. RADIO_2056_TX1,
  18018. pi->calibration_cache.
  18019. txcal_radio_regs_5G[3]);
  18020. write_radio_reg(pi,
  18021. RADIO_2056_TX_LOFT_COARSE_I |
  18022. RADIO_2056_TX0,
  18023. pi->calibration_cache.
  18024. txcal_radio_regs_5G[4]);
  18025. write_radio_reg(pi,
  18026. RADIO_2056_TX_LOFT_COARSE_Q |
  18027. RADIO_2056_TX0,
  18028. pi->calibration_cache.
  18029. txcal_radio_regs_5G[5]);
  18030. write_radio_reg(pi,
  18031. RADIO_2056_TX_LOFT_COARSE_I |
  18032. RADIO_2056_TX1,
  18033. pi->calibration_cache.
  18034. txcal_radio_regs_5G[6]);
  18035. write_radio_reg(pi,
  18036. RADIO_2056_TX_LOFT_COARSE_Q |
  18037. RADIO_2056_TX1,
  18038. pi->calibration_cache.
  18039. txcal_radio_regs_5G[7]);
  18040. } else {
  18041. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18042. pi->calibration_cache.
  18043. txcal_radio_regs_5G[0]);
  18044. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18045. pi->calibration_cache.
  18046. txcal_radio_regs_5G[1]);
  18047. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18048. pi->calibration_cache.
  18049. txcal_radio_regs_5G[2]);
  18050. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18051. pi->calibration_cache.
  18052. txcal_radio_regs_5G[3]);
  18053. }
  18054. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18055. &pi->calibration_cache.
  18056. rxcal_coeffs_5G);
  18057. }
  18058. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18059. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18060. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18061. LOFT_FINE_I,
  18062. txcal_radio_regs[2 * coreNum]);
  18063. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18064. LOFT_FINE_Q,
  18065. txcal_radio_regs[2 * coreNum + 1]);
  18066. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18067. LOFT_COARSE_I,
  18068. txcal_radio_regs[2 * coreNum + 4]);
  18069. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18070. LOFT_COARSE_Q,
  18071. txcal_radio_regs[2 * coreNum + 5]);
  18072. }
  18073. }
  18074. }
  18075. static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi)
  18076. {
  18077. u32 idx;
  18078. u16 iqloCalbuf[7];
  18079. u32 iqcomp, locomp, curr_locomp;
  18080. s8 locomp_i, locomp_q;
  18081. s8 curr_locomp_i, curr_locomp_q;
  18082. u32 tbl_id, tbl_len, tbl_offset;
  18083. u32 regval[128];
  18084. if (pi->phyhang_avoid)
  18085. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18086. wlc_phy_table_read_nphy(pi, 15, 7, 80, 16, iqloCalbuf);
  18087. tbl_len = 128;
  18088. tbl_offset = 320;
  18089. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18090. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18091. iqcomp =
  18092. (tbl_id ==
  18093. 26) ? (((u32) (iqloCalbuf[0] & 0x3ff)) << 10) |
  18094. (iqloCalbuf[1] & 0x3ff)
  18095. : (((u32) (iqloCalbuf[2] & 0x3ff)) << 10) |
  18096. (iqloCalbuf[3] & 0x3ff);
  18097. for (idx = 0; idx < tbl_len; idx++)
  18098. regval[idx] = iqcomp;
  18099. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18100. regval);
  18101. }
  18102. tbl_offset = 448;
  18103. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18104. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18105. locomp =
  18106. (u32) ((tbl_id == 26) ? iqloCalbuf[5] : iqloCalbuf[6]);
  18107. locomp_i = (s8) ((locomp >> 8) & 0xff);
  18108. locomp_q = (s8) ((locomp) & 0xff);
  18109. for (idx = 0; idx < tbl_len; idx++) {
  18110. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18111. curr_locomp_i = locomp_i;
  18112. curr_locomp_q = locomp_q;
  18113. } else {
  18114. curr_locomp_i = (s8) ((locomp_i *
  18115. nphy_tpc_loscale[idx] +
  18116. 128) >> 8);
  18117. curr_locomp_q =
  18118. (s8) ((locomp_q *
  18119. nphy_tpc_loscale[idx] +
  18120. 128) >> 8);
  18121. }
  18122. curr_locomp = (u32) ((curr_locomp_i & 0xff) << 8);
  18123. curr_locomp |= (u32) (curr_locomp_q & 0xff);
  18124. regval[idx] = curr_locomp;
  18125. }
  18126. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18127. regval);
  18128. }
  18129. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18130. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX1, 0xFFFF);
  18131. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX2, 0xFFFF);
  18132. }
  18133. if (pi->phyhang_avoid)
  18134. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18135. }
  18136. static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi)
  18137. {
  18138. u8 tx_lpf_bw = 0;
  18139. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18140. if (CHSPEC_IS40(pi->radio_chanspec))
  18141. tx_lpf_bw = 3;
  18142. else
  18143. tx_lpf_bw = 1;
  18144. if (PHY_IPA(pi)) {
  18145. if (CHSPEC_IS40(pi->radio_chanspec))
  18146. tx_lpf_bw = 5;
  18147. else
  18148. tx_lpf_bw = 4;
  18149. }
  18150. write_phy_reg(pi, 0xe8,
  18151. (tx_lpf_bw << 0) |
  18152. (tx_lpf_bw << 3) |
  18153. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18154. if (PHY_IPA(pi)) {
  18155. if (CHSPEC_IS40(pi->radio_chanspec))
  18156. tx_lpf_bw = 4;
  18157. else
  18158. tx_lpf_bw = 1;
  18159. write_phy_reg(pi, 0xe9,
  18160. (tx_lpf_bw << 0) |
  18161. (tx_lpf_bw << 3) |
  18162. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18163. }
  18164. }
  18165. }
  18166. static void
  18167. wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr)
  18168. {
  18169. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18170. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18171. CHSPEC_IS40(pi->radio_chanspec)) {
  18172. if (!pi->nphy_anarxlpf_adjusted) {
  18173. write_radio_reg(pi,
  18174. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18175. RADIO_2056_RX0),
  18176. ((pi->nphy_rccal_value +
  18177. reduction_factr) | 0x80));
  18178. pi->nphy_anarxlpf_adjusted = true;
  18179. }
  18180. } else {
  18181. if (pi->nphy_anarxlpf_adjusted) {
  18182. write_radio_reg(pi,
  18183. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18184. RADIO_2056_RX0),
  18185. (pi->nphy_rccal_value | 0x80));
  18186. pi->nphy_anarxlpf_adjusted = false;
  18187. }
  18188. }
  18189. }
  18190. }
  18191. static void
  18192. wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones,
  18193. int *tone_id_buf, u32 *noise_var_buf)
  18194. {
  18195. int i;
  18196. u32 offset;
  18197. int tone_id;
  18198. int tbllen =
  18199. CHSPEC_IS40(pi->radio_chanspec) ?
  18200. NPHY_NOISEVAR_TBLLEN40 : NPHY_NOISEVAR_TBLLEN20;
  18201. if (pi->nphy_noisevars_adjusted) {
  18202. for (i = 0; i < pi->nphy_saved_noisevars.bufcount; i++) {
  18203. tone_id = pi->nphy_saved_noisevars.tone_id[i];
  18204. offset = (tone_id >= 0) ?
  18205. ((tone_id *
  18206. 2) + 1) : (tbllen + (tone_id * 2) + 1);
  18207. wlc_phy_table_write_nphy(
  18208. pi, NPHY_TBL_ID_NOISEVAR, 1,
  18209. offset, 32,
  18210. &pi->nphy_saved_noisevars.min_noise_vars[i]);
  18211. }
  18212. pi->nphy_saved_noisevars.bufcount = 0;
  18213. pi->nphy_noisevars_adjusted = false;
  18214. }
  18215. if ((noise_var_buf != NULL) && (tone_id_buf != NULL)) {
  18216. pi->nphy_saved_noisevars.bufcount = 0;
  18217. for (i = 0; i < ntones; i++) {
  18218. tone_id = tone_id_buf[i];
  18219. offset = (tone_id >= 0) ?
  18220. ((tone_id * 2) + 1) :
  18221. (tbllen + (tone_id * 2) + 1);
  18222. pi->nphy_saved_noisevars.tone_id[i] = tone_id;
  18223. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18224. offset, 32,
  18225. &pi->nphy_saved_noisevars.
  18226. min_noise_vars[i]);
  18227. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18228. offset, 32, &noise_var_buf[i]);
  18229. pi->nphy_saved_noisevars.bufcount++;
  18230. }
  18231. pi->nphy_noisevars_adjusted = true;
  18232. }
  18233. }
  18234. static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr)
  18235. {
  18236. u16 regval;
  18237. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18238. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18239. CHSPEC_IS40(pi->radio_chanspec)) {
  18240. if (!pi->nphy_crsminpwr_adjusted) {
  18241. regval = read_phy_reg(pi, 0x27d);
  18242. pi->nphy_crsminpwr[0] = regval & 0xff;
  18243. regval &= 0xff00;
  18244. regval |= (u16) minpwr;
  18245. write_phy_reg(pi, 0x27d, regval);
  18246. regval = read_phy_reg(pi, 0x280);
  18247. pi->nphy_crsminpwr[1] = regval & 0xff;
  18248. regval &= 0xff00;
  18249. regval |= (u16) minpwr;
  18250. write_phy_reg(pi, 0x280, regval);
  18251. regval = read_phy_reg(pi, 0x283);
  18252. pi->nphy_crsminpwr[2] = regval & 0xff;
  18253. regval &= 0xff00;
  18254. regval |= (u16) minpwr;
  18255. write_phy_reg(pi, 0x283, regval);
  18256. pi->nphy_crsminpwr_adjusted = true;
  18257. }
  18258. } else {
  18259. if (pi->nphy_crsminpwr_adjusted) {
  18260. regval = read_phy_reg(pi, 0x27d);
  18261. regval &= 0xff00;
  18262. regval |= pi->nphy_crsminpwr[0];
  18263. write_phy_reg(pi, 0x27d, regval);
  18264. regval = read_phy_reg(pi, 0x280);
  18265. regval &= 0xff00;
  18266. regval |= pi->nphy_crsminpwr[1];
  18267. write_phy_reg(pi, 0x280, regval);
  18268. regval = read_phy_reg(pi, 0x283);
  18269. regval &= 0xff00;
  18270. regval |= pi->nphy_crsminpwr[2];
  18271. write_phy_reg(pi, 0x283, regval);
  18272. pi->nphy_crsminpwr_adjusted = false;
  18273. }
  18274. }
  18275. }
  18276. }
  18277. static void wlc_phy_spurwar_nphy(struct brcms_phy *pi)
  18278. {
  18279. u16 cur_channel = 0;
  18280. int nphy_adj_tone_id_buf[] = { 57, 58 };
  18281. u32 nphy_adj_noise_var_buf[] = { 0x3ff, 0x3ff };
  18282. bool isAdjustNoiseVar = false;
  18283. uint numTonesAdjust = 0;
  18284. u32 tempval = 0;
  18285. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18286. if (pi->phyhang_avoid)
  18287. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18288. cur_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  18289. if (pi->nphy_gband_spurwar_en) {
  18290. wlc_phy_adjust_rx_analpfbw_nphy(
  18291. pi,
  18292. NPHY_ANARXLPFBW_REDUCTIONFACT);
  18293. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18294. if ((cur_channel == 11)
  18295. && CHSPEC_IS40(pi->radio_chanspec))
  18296. wlc_phy_adjust_min_noisevar_nphy(
  18297. pi, 2,
  18298. nphy_adj_tone_id_buf,
  18299. nphy_adj_noise_var_buf);
  18300. else
  18301. wlc_phy_adjust_min_noisevar_nphy(pi, 0,
  18302. NULL,
  18303. NULL);
  18304. }
  18305. wlc_phy_adjust_crsminpwr_nphy(pi,
  18306. NPHY_ADJUSTED_MINCRSPOWER);
  18307. }
  18308. if ((pi->nphy_gband_spurwar2_en)
  18309. && CHSPEC_IS2G(pi->radio_chanspec)) {
  18310. if (CHSPEC_IS40(pi->radio_chanspec)) {
  18311. switch (cur_channel) {
  18312. case 3:
  18313. nphy_adj_tone_id_buf[0] = 57;
  18314. nphy_adj_tone_id_buf[1] = 58;
  18315. nphy_adj_noise_var_buf[0] = 0x22f;
  18316. nphy_adj_noise_var_buf[1] = 0x25f;
  18317. isAdjustNoiseVar = true;
  18318. break;
  18319. case 4:
  18320. nphy_adj_tone_id_buf[0] = 41;
  18321. nphy_adj_tone_id_buf[1] = 42;
  18322. nphy_adj_noise_var_buf[0] = 0x22f;
  18323. nphy_adj_noise_var_buf[1] = 0x25f;
  18324. isAdjustNoiseVar = true;
  18325. break;
  18326. case 5:
  18327. nphy_adj_tone_id_buf[0] = 25;
  18328. nphy_adj_tone_id_buf[1] = 26;
  18329. nphy_adj_noise_var_buf[0] = 0x24f;
  18330. nphy_adj_noise_var_buf[1] = 0x25f;
  18331. isAdjustNoiseVar = true;
  18332. break;
  18333. case 6:
  18334. nphy_adj_tone_id_buf[0] = 9;
  18335. nphy_adj_tone_id_buf[1] = 10;
  18336. nphy_adj_noise_var_buf[0] = 0x22f;
  18337. nphy_adj_noise_var_buf[1] = 0x24f;
  18338. isAdjustNoiseVar = true;
  18339. break;
  18340. case 7:
  18341. nphy_adj_tone_id_buf[0] = 121;
  18342. nphy_adj_tone_id_buf[1] = 122;
  18343. nphy_adj_noise_var_buf[0] = 0x18f;
  18344. nphy_adj_noise_var_buf[1] = 0x24f;
  18345. isAdjustNoiseVar = true;
  18346. break;
  18347. case 8:
  18348. nphy_adj_tone_id_buf[0] = 105;
  18349. nphy_adj_tone_id_buf[1] = 106;
  18350. nphy_adj_noise_var_buf[0] = 0x22f;
  18351. nphy_adj_noise_var_buf[1] = 0x25f;
  18352. isAdjustNoiseVar = true;
  18353. break;
  18354. case 9:
  18355. nphy_adj_tone_id_buf[0] = 89;
  18356. nphy_adj_tone_id_buf[1] = 90;
  18357. nphy_adj_noise_var_buf[0] = 0x22f;
  18358. nphy_adj_noise_var_buf[1] = 0x24f;
  18359. isAdjustNoiseVar = true;
  18360. break;
  18361. case 10:
  18362. nphy_adj_tone_id_buf[0] = 73;
  18363. nphy_adj_tone_id_buf[1] = 74;
  18364. nphy_adj_noise_var_buf[0] = 0x22f;
  18365. nphy_adj_noise_var_buf[1] = 0x24f;
  18366. isAdjustNoiseVar = true;
  18367. break;
  18368. default:
  18369. isAdjustNoiseVar = false;
  18370. break;
  18371. }
  18372. }
  18373. if (isAdjustNoiseVar) {
  18374. numTonesAdjust = ARRAY_SIZE(nphy_adj_tone_id_buf);
  18375. wlc_phy_adjust_min_noisevar_nphy(
  18376. pi,
  18377. numTonesAdjust,
  18378. nphy_adj_tone_id_buf,
  18379. nphy_adj_noise_var_buf);
  18380. tempval = 0;
  18381. } else {
  18382. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18383. NULL);
  18384. }
  18385. }
  18386. if ((pi->nphy_aband_spurwar_en) &&
  18387. (CHSPEC_IS5G(pi->radio_chanspec))) {
  18388. switch (cur_channel) {
  18389. case 54:
  18390. nphy_adj_tone_id_buf[0] = 32;
  18391. nphy_adj_noise_var_buf[0] = 0x25f;
  18392. break;
  18393. case 38:
  18394. case 102:
  18395. case 118:
  18396. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) &&
  18397. (pi->sh->chippkg == BCMA_PKG_ID_BCM4717)) {
  18398. nphy_adj_tone_id_buf[0] = 32;
  18399. nphy_adj_noise_var_buf[0] = 0x21f;
  18400. } else {
  18401. nphy_adj_tone_id_buf[0] = 0;
  18402. nphy_adj_noise_var_buf[0] = 0x0;
  18403. }
  18404. break;
  18405. case 134:
  18406. nphy_adj_tone_id_buf[0] = 32;
  18407. nphy_adj_noise_var_buf[0] = 0x21f;
  18408. break;
  18409. case 151:
  18410. nphy_adj_tone_id_buf[0] = 16;
  18411. nphy_adj_noise_var_buf[0] = 0x23f;
  18412. break;
  18413. case 153:
  18414. case 161:
  18415. nphy_adj_tone_id_buf[0] = 48;
  18416. nphy_adj_noise_var_buf[0] = 0x23f;
  18417. break;
  18418. default:
  18419. nphy_adj_tone_id_buf[0] = 0;
  18420. nphy_adj_noise_var_buf[0] = 0x0;
  18421. break;
  18422. }
  18423. if (nphy_adj_tone_id_buf[0]
  18424. && nphy_adj_noise_var_buf[0])
  18425. wlc_phy_adjust_min_noisevar_nphy(
  18426. pi, 1,
  18427. nphy_adj_tone_id_buf,
  18428. nphy_adj_noise_var_buf);
  18429. else
  18430. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18431. NULL);
  18432. }
  18433. if (pi->phyhang_avoid)
  18434. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18435. }
  18436. }
  18437. void wlc_phy_init_nphy(struct brcms_phy *pi)
  18438. {
  18439. u16 val;
  18440. u16 clip1_ths[2];
  18441. struct nphy_txgains target_gain;
  18442. u8 tx_pwr_ctrl_state;
  18443. bool do_nphy_cal = false;
  18444. uint core;
  18445. u32 d11_clk_ctl_st;
  18446. bool do_rssi_cal = false;
  18447. core = 0;
  18448. if (!(pi->measure_hold & PHY_HOLD_FOR_SCAN))
  18449. pi->measure_hold |= PHY_HOLD_FOR_NOT_ASSOC;
  18450. if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) &&
  18451. ((pi->sh->chippkg == BCMA_PKG_ID_BCM4717) ||
  18452. (pi->sh->chippkg == BCMA_PKG_ID_BCM4718))) {
  18453. if ((pi->sh->boardflags & BFL_EXTLNA) &&
  18454. (CHSPEC_IS2G(pi->radio_chanspec)))
  18455. bcma_cc_set32(&pi->d11core->bus->drv_cc,
  18456. BCMA_CC_CHIPCTL, 0x40);
  18457. }
  18458. if ((!PHY_IPA(pi)) && (pi->sh->chip == BCMA_CHIP_ID_BCM5357))
  18459. bcma_chipco_chipctl_maskset(&pi->d11core->bus->drv_cc, 1,
  18460. ~CCTRL5357_EXTPA, CCTRL5357_EXTPA);
  18461. if ((pi->nphy_gband_spurwar2_en) && CHSPEC_IS2G(pi->radio_chanspec) &&
  18462. CHSPEC_IS40(pi->radio_chanspec)) {
  18463. d11_clk_ctl_st = bcma_read32(pi->d11core,
  18464. D11REGOFFS(clk_ctl_st));
  18465. bcma_mask32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18466. ~(CCS_FORCEHT | CCS_HTAREQ));
  18467. bcma_write32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18468. d11_clk_ctl_st);
  18469. }
  18470. pi->use_int_tx_iqlo_cal_nphy =
  18471. (PHY_IPA(pi) ||
  18472. (NREV_GE(pi->pubpi.phy_rev, 7) ||
  18473. (NREV_GE(pi->pubpi.phy_rev, 5)
  18474. && pi->sh->boardflags2 & BFL2_INTERNDET_TXIQCAL)));
  18475. pi->internal_tx_iqlo_cal_tapoff_intpa_nphy = false;
  18476. pi->nphy_deaf_count = 0;
  18477. wlc_phy_tbl_init_nphy(pi);
  18478. pi->nphy_crsminpwr_adjusted = false;
  18479. pi->nphy_noisevars_adjusted = false;
  18480. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18481. write_phy_reg(pi, 0xe7, 0);
  18482. write_phy_reg(pi, 0xec, 0);
  18483. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18484. write_phy_reg(pi, 0x342, 0);
  18485. write_phy_reg(pi, 0x343, 0);
  18486. write_phy_reg(pi, 0x346, 0);
  18487. write_phy_reg(pi, 0x347, 0);
  18488. }
  18489. write_phy_reg(pi, 0xe5, 0);
  18490. write_phy_reg(pi, 0xe6, 0);
  18491. } else {
  18492. write_phy_reg(pi, 0xec, 0);
  18493. }
  18494. write_phy_reg(pi, 0x91, 0);
  18495. write_phy_reg(pi, 0x92, 0);
  18496. if (NREV_LT(pi->pubpi.phy_rev, 6)) {
  18497. write_phy_reg(pi, 0x93, 0);
  18498. write_phy_reg(pi, 0x94, 0);
  18499. }
  18500. and_phy_reg(pi, 0xa1, ~3);
  18501. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18502. write_phy_reg(pi, 0x8f, 0);
  18503. write_phy_reg(pi, 0xa5, 0);
  18504. } else {
  18505. write_phy_reg(pi, 0xa5, 0);
  18506. }
  18507. if (NREV_IS(pi->pubpi.phy_rev, 2))
  18508. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  18509. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  18510. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  18511. write_phy_reg(pi, 0x203, 32);
  18512. write_phy_reg(pi, 0x201, 32);
  18513. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD)
  18514. write_phy_reg(pi, 0x20d, 160);
  18515. else
  18516. write_phy_reg(pi, 0x20d, 184);
  18517. write_phy_reg(pi, 0x13a, 200);
  18518. write_phy_reg(pi, 0x70, 80);
  18519. write_phy_reg(pi, 0x1ff, 48);
  18520. if (NREV_LT(pi->pubpi.phy_rev, 8))
  18521. wlc_phy_update_mimoconfig_nphy(pi, pi->n_preamble_override);
  18522. wlc_phy_stf_chain_upd_nphy(pi);
  18523. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18524. write_phy_reg(pi, 0x180, 0xaa8);
  18525. write_phy_reg(pi, 0x181, 0x9a4);
  18526. }
  18527. if (PHY_IPA(pi)) {
  18528. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  18529. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  18530. 0x29b, (0x1 << 0), (1) << 0);
  18531. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x298 :
  18532. 0x29c, (0x1ff << 7),
  18533. (pi->nphy_papd_epsilon_offset[core]) << 7);
  18534. }
  18535. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  18536. } else if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  18537. wlc_phy_extpa_set_tx_digi_filts_nphy(pi);
  18538. }
  18539. wlc_phy_workarounds_nphy(pi);
  18540. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18541. val = read_phy_reg(pi, 0x01);
  18542. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18543. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18544. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18545. wlapi_bmac_macphyclk_set(pi->sh->physhim, ON);
  18546. wlc_phy_pa_override_nphy(pi, OFF);
  18547. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  18548. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18549. wlc_phy_pa_override_nphy(pi, ON);
  18550. wlc_phy_classifier_nphy(pi, 0, 0);
  18551. wlc_phy_clip_det_nphy(pi, 0, clip1_ths);
  18552. if (CHSPEC_IS2G(pi->radio_chanspec))
  18553. wlc_phy_bphy_init_nphy(pi);
  18554. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  18555. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  18556. wlc_phy_txpwr_fixpower_nphy(pi);
  18557. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  18558. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  18559. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18560. u32 *tx_pwrctrl_tbl = NULL;
  18561. u16 idx;
  18562. s16 pga_gn = 0;
  18563. s16 pad_gn = 0;
  18564. s32 rfpwr_offset;
  18565. if (PHY_IPA(pi)) {
  18566. tx_pwrctrl_tbl = wlc_phy_get_ipa_gaintbl_nphy(pi);
  18567. } else {
  18568. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  18569. if (NREV_IS(pi->pubpi.phy_rev, 3))
  18570. tx_pwrctrl_tbl =
  18571. nphy_tpc_5GHz_txgain_rev3;
  18572. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  18573. tx_pwrctrl_tbl =
  18574. (pi->srom_fem5g.extpagain ==
  18575. 3) ?
  18576. nphy_tpc_5GHz_txgain_HiPwrEPA :
  18577. nphy_tpc_5GHz_txgain_rev4;
  18578. else
  18579. tx_pwrctrl_tbl =
  18580. nphy_tpc_5GHz_txgain_rev5;
  18581. } else {
  18582. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18583. if (pi->pubpi.radiorev == 5)
  18584. tx_pwrctrl_tbl =
  18585. nphy_tpc_txgain_epa_2057rev5;
  18586. else if (pi->pubpi.radiorev == 3)
  18587. tx_pwrctrl_tbl =
  18588. nphy_tpc_txgain_epa_2057rev3;
  18589. } else {
  18590. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  18591. (pi->srom_fem2g.extpagain == 3))
  18592. tx_pwrctrl_tbl =
  18593. nphy_tpc_txgain_HiPwrEPA;
  18594. else
  18595. tx_pwrctrl_tbl =
  18596. nphy_tpc_txgain_rev3;
  18597. }
  18598. }
  18599. }
  18600. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18601. 192, 32, tx_pwrctrl_tbl);
  18602. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18603. 192, 32, tx_pwrctrl_tbl);
  18604. pi->nphy_gmval = (u16) ((*tx_pwrctrl_tbl >> 16) & 0x7000);
  18605. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18606. for (idx = 0; idx < 128; idx++) {
  18607. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18608. pad_gn = (tx_pwrctrl_tbl[idx] >> 19) & 0x1f;
  18609. rfpwr_offset = get_rf_pwr_offset(pi, pga_gn,
  18610. pad_gn);
  18611. wlc_phy_table_write_nphy(
  18612. pi,
  18613. NPHY_TBL_ID_CORE1TXPWRCTL,
  18614. 1, 576 + idx, 32,
  18615. &rfpwr_offset);
  18616. wlc_phy_table_write_nphy(
  18617. pi,
  18618. NPHY_TBL_ID_CORE2TXPWRCTL,
  18619. 1, 576 + idx, 32,
  18620. &rfpwr_offset);
  18621. }
  18622. } else {
  18623. for (idx = 0; idx < 128; idx++) {
  18624. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18625. if (CHSPEC_IS2G(pi->radio_chanspec))
  18626. rfpwr_offset = (s16)
  18627. nphy_papd_pga_gain_delta_ipa_2g
  18628. [pga_gn];
  18629. else
  18630. rfpwr_offset = (s16)
  18631. nphy_papd_pga_gain_delta_ipa_5g
  18632. [pga_gn];
  18633. wlc_phy_table_write_nphy(
  18634. pi,
  18635. NPHY_TBL_ID_CORE1TXPWRCTL,
  18636. 1, 576 + idx, 32,
  18637. &rfpwr_offset);
  18638. wlc_phy_table_write_nphy(
  18639. pi,
  18640. NPHY_TBL_ID_CORE2TXPWRCTL,
  18641. 1, 576 + idx, 32,
  18642. &rfpwr_offset);
  18643. }
  18644. }
  18645. } else {
  18646. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18647. 192, 32, nphy_tpc_txgain);
  18648. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18649. 192, 32, nphy_tpc_txgain);
  18650. }
  18651. if (pi->sh->phyrxchain != 0x3)
  18652. wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
  18653. pi->sh->phyrxchain);
  18654. if (PHY_PERICAL_MPHASE_PENDING(pi))
  18655. wlc_phy_cal_perical_mphase_restart(pi);
  18656. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18657. do_rssi_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18658. (pi->nphy_rssical_chanspec_2G == 0) :
  18659. (pi->nphy_rssical_chanspec_5G == 0);
  18660. if (do_rssi_cal)
  18661. wlc_phy_rssi_cal_nphy(pi);
  18662. else
  18663. wlc_phy_restore_rssical_nphy(pi);
  18664. } else {
  18665. wlc_phy_rssi_cal_nphy(pi);
  18666. }
  18667. if (!SCAN_RM_IN_PROGRESS(pi))
  18668. do_nphy_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18669. (pi->nphy_iqcal_chanspec_2G == 0) :
  18670. (pi->nphy_iqcal_chanspec_5G == 0);
  18671. if (!pi->do_initcal)
  18672. do_nphy_cal = false;
  18673. if (do_nphy_cal) {
  18674. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  18675. if (pi->antsel_type == ANTSEL_2x3)
  18676. wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
  18677. true);
  18678. if (pi->nphy_perical != PHY_PERICAL_MPHASE) {
  18679. wlc_phy_rssi_cal_nphy(pi);
  18680. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18681. pi->nphy_cal_orig_pwr_idx[0] =
  18682. pi->nphy_txpwrindex[PHY_CORE_0]
  18683. .
  18684. index_internal;
  18685. pi->nphy_cal_orig_pwr_idx[1] =
  18686. pi->nphy_txpwrindex[PHY_CORE_1]
  18687. .
  18688. index_internal;
  18689. wlc_phy_precal_txgain_nphy(pi);
  18690. target_gain =
  18691. wlc_phy_get_tx_gain_nphy(pi);
  18692. }
  18693. if (wlc_phy_cal_txiqlo_nphy
  18694. (pi, target_gain, true,
  18695. false) == 0) {
  18696. if (wlc_phy_cal_rxiq_nphy
  18697. (pi, target_gain, 2,
  18698. false) == 0)
  18699. wlc_phy_savecal_nphy(pi);
  18700. }
  18701. } else if (pi->mphase_cal_phase_id ==
  18702. MPHASE_CAL_STATE_IDLE) {
  18703. wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
  18704. PHY_PERICAL_PHYINIT);
  18705. }
  18706. } else {
  18707. wlc_phy_restorecal_nphy(pi);
  18708. }
  18709. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  18710. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  18711. wlc_phy_nphy_tkip_rifs_war(pi, pi->sh->_rifs_phy);
  18712. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6))
  18713. write_phy_reg(pi, 0x70, 50);
  18714. wlc_phy_txlpfbw_nphy(pi);
  18715. wlc_phy_spurwar_nphy(pi);
  18716. }
  18717. static void wlc_phy_resetcca_nphy(struct brcms_phy *pi)
  18718. {
  18719. u16 val;
  18720. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18721. val = read_phy_reg(pi, 0x01);
  18722. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18723. udelay(1);
  18724. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18725. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18726. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18727. }
  18728. void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en)
  18729. {
  18730. u16 rfctrlintc_override_val;
  18731. if (!en) {
  18732. pi->rfctrlIntc1_save = read_phy_reg(pi, 0x91);
  18733. pi->rfctrlIntc2_save = read_phy_reg(pi, 0x92);
  18734. if (NREV_GE(pi->pubpi.phy_rev, 7))
  18735. rfctrlintc_override_val = 0x1480;
  18736. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  18737. rfctrlintc_override_val =
  18738. CHSPEC_IS5G(pi->radio_chanspec) ? 0x600 : 0x480;
  18739. else
  18740. rfctrlintc_override_val =
  18741. CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  18742. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  18743. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  18744. } else {
  18745. write_phy_reg(pi, 0x91, pi->rfctrlIntc1_save);
  18746. write_phy_reg(pi, 0x92, pi->rfctrlIntc2_save);
  18747. }
  18748. }
  18749. void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi)
  18750. {
  18751. u16 txrx_chain =
  18752. (NPHY_RfseqCoreActv_TxRxChain0 | NPHY_RfseqCoreActv_TxRxChain1);
  18753. bool CoreActv_override = false;
  18754. if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN0) {
  18755. txrx_chain = NPHY_RfseqCoreActv_TxRxChain0;
  18756. CoreActv_override = true;
  18757. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18758. and_phy_reg(pi, 0xa0, ~0x20);
  18759. } else if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN1) {
  18760. txrx_chain = NPHY_RfseqCoreActv_TxRxChain1;
  18761. CoreActv_override = true;
  18762. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18763. or_phy_reg(pi, 0xa0, 0x20);
  18764. }
  18765. mod_phy_reg(pi, 0xa2, ((0xf << 0) | (0xf << 4)), txrx_chain);
  18766. if (CoreActv_override) {
  18767. pi->nphy_perical = PHY_PERICAL_DISABLE;
  18768. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  18769. } else {
  18770. pi->nphy_perical = PHY_PERICAL_MPHASE;
  18771. and_phy_reg(pi, 0xa1, ~NPHY_RfseqMode_CoreActv_override);
  18772. }
  18773. }
  18774. void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
  18775. {
  18776. u16 regval;
  18777. u16 tbl_buf[16];
  18778. uint i;
  18779. struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro);
  18780. u16 tbl_opcode;
  18781. bool suspend;
  18782. pi->sh->phyrxchain = rxcore_bitmask;
  18783. if (!pi->sh->clk)
  18784. return;
  18785. suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  18786. MCTL_EN_MAC));
  18787. if (!suspend)
  18788. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  18789. if (pi->phyhang_avoid)
  18790. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18791. regval = read_phy_reg(pi, 0xa2);
  18792. regval &= ~(0xf << 4);
  18793. regval |= ((u16) (rxcore_bitmask & 0x3)) << 4;
  18794. write_phy_reg(pi, 0xa2, regval);
  18795. if ((rxcore_bitmask & 0x3) != 0x3) {
  18796. write_phy_reg(pi, 0x20e, 1);
  18797. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18798. if (pi->rx2tx_biasentry == -1) {
  18799. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ,
  18800. ARRAY_SIZE(tbl_buf), 80,
  18801. 16, tbl_buf);
  18802. for (i = 0; i < ARRAY_SIZE(tbl_buf); i++) {
  18803. if (tbl_buf[i] ==
  18804. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS) {
  18805. pi->rx2tx_biasentry = (u8) i;
  18806. tbl_opcode =
  18807. NPHY_REV3_RFSEQ_CMD_NOP;
  18808. wlc_phy_table_write_nphy(
  18809. pi,
  18810. NPHY_TBL_ID_RFSEQ,
  18811. 1, i,
  18812. 16,
  18813. &tbl_opcode);
  18814. break;
  18815. } else if (tbl_buf[i] ==
  18816. NPHY_REV3_RFSEQ_CMD_END)
  18817. break;
  18818. }
  18819. }
  18820. }
  18821. } else {
  18822. write_phy_reg(pi, 0x20e, 30);
  18823. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18824. if (pi->rx2tx_biasentry != -1) {
  18825. tbl_opcode = NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS;
  18826. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  18827. 1, pi->rx2tx_biasentry,
  18828. 16, &tbl_opcode);
  18829. pi->rx2tx_biasentry = -1;
  18830. }
  18831. }
  18832. }
  18833. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18834. if (pi->phyhang_avoid)
  18835. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18836. if (!suspend)
  18837. wlapi_enable_mac(pi->sh->physhim);
  18838. }
  18839. u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
  18840. {
  18841. u16 regval, rxen_bits;
  18842. struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro);
  18843. regval = read_phy_reg(pi, 0xa2);
  18844. rxen_bits = (regval >> 4) & 0xf;
  18845. return (u8) rxen_bits;
  18846. }
  18847. bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi)
  18848. {
  18849. return PHY_IPA(pi);
  18850. }
  18851. void wlc_phy_cal_init_nphy(struct brcms_phy *pi)
  18852. {
  18853. }
  18854. static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi)
  18855. {
  18856. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  18857. and_phy_reg(pi, 0x78, RFCC_OE_POR_FORCE);
  18858. or_phy_reg(pi, 0x78, ~RFCC_OE_POR_FORCE);
  18859. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU);
  18860. }
  18861. static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
  18862. {
  18863. struct radio_20xx_regs *regs_2057_ptr = NULL;
  18864. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  18865. regs_2057_ptr = regs_2057_rev4;
  18866. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  18867. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  18868. switch (pi->pubpi.radiorev) {
  18869. case 5:
  18870. if (NREV_IS(pi->pubpi.phy_rev, 8))
  18871. regs_2057_ptr = regs_2057_rev5;
  18872. else if (NREV_IS(pi->pubpi.phy_rev, 9))
  18873. regs_2057_ptr = regs_2057_rev5v1;
  18874. break;
  18875. case 7:
  18876. regs_2057_ptr = regs_2057_rev7;
  18877. break;
  18878. case 8:
  18879. regs_2057_ptr = regs_2057_rev8;
  18880. break;
  18881. default:
  18882. break;
  18883. }
  18884. }
  18885. wlc_phy_init_radio_regs_allbands(pi, regs_2057_ptr);
  18886. }
  18887. static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi)
  18888. {
  18889. u16 rcal_reg = 0;
  18890. int i;
  18891. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18892. if (pi->pubpi.radiorev == 5) {
  18893. and_phy_reg(pi, 0x342, ~(0x1 << 1));
  18894. udelay(10);
  18895. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x1);
  18896. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  18897. 0x1);
  18898. }
  18899. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x1);
  18900. udelay(10);
  18901. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x3, 0x3);
  18902. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  18903. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS);
  18904. if (rcal_reg & 0x1)
  18905. break;
  18906. udelay(100);
  18907. }
  18908. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  18909. "HW error: radio calib2"))
  18910. return 0;
  18911. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x2, 0x0);
  18912. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS) & 0x3e;
  18913. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x0);
  18914. if (pi->pubpi.radiorev == 5) {
  18915. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x0);
  18916. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  18917. 0x0);
  18918. }
  18919. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  18920. mod_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x3c,
  18921. rcal_reg);
  18922. mod_radio_reg(pi, RADIO_2057_BANDGAP_RCAL_TRIM, 0xf0,
  18923. rcal_reg << 2);
  18924. }
  18925. } else if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  18926. u16 savereg;
  18927. savereg =
  18928. read_radio_reg(
  18929. pi,
  18930. RADIO_2056_SYN_PLL_MAST2 |
  18931. RADIO_2056_SYN);
  18932. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  18933. savereg | 0x7);
  18934. udelay(10);
  18935. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  18936. 0x1);
  18937. udelay(10);
  18938. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  18939. 0x9);
  18940. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  18941. rcal_reg = read_radio_reg(
  18942. pi,
  18943. RADIO_2056_SYN_RCAL_CODE_OUT |
  18944. RADIO_2056_SYN);
  18945. if (rcal_reg & 0x80)
  18946. break;
  18947. udelay(100);
  18948. }
  18949. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  18950. "HW error: radio calib3"))
  18951. return 0;
  18952. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  18953. 0x1);
  18954. rcal_reg =
  18955. read_radio_reg(pi,
  18956. RADIO_2056_SYN_RCAL_CODE_OUT |
  18957. RADIO_2056_SYN);
  18958. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  18959. 0x0);
  18960. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  18961. savereg);
  18962. return rcal_reg & 0x1f;
  18963. }
  18964. return rcal_reg & 0x3e;
  18965. }
  18966. static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi)
  18967. {
  18968. u16 rccal_valid;
  18969. int i;
  18970. bool chip43226_6362A0;
  18971. chip43226_6362A0 = ((pi->pubpi.radiorev == 3)
  18972. || (pi->pubpi.radiorev == 4)
  18973. || (pi->pubpi.radiorev == 6));
  18974. rccal_valid = 0;
  18975. if (chip43226_6362A0) {
  18976. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x61);
  18977. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xc0);
  18978. } else {
  18979. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x61);
  18980. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xe9);
  18981. }
  18982. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  18983. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  18984. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  18985. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  18986. if (rccal_valid & 0x2)
  18987. break;
  18988. udelay(500);
  18989. }
  18990. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  18991. rccal_valid = 0;
  18992. if (chip43226_6362A0) {
  18993. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x69);
  18994. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  18995. } else {
  18996. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x69);
  18997. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xd5);
  18998. }
  18999. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19000. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19001. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19002. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19003. if (rccal_valid & 0x2)
  19004. break;
  19005. udelay(500);
  19006. }
  19007. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19008. rccal_valid = 0;
  19009. if (chip43226_6362A0) {
  19010. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x73);
  19011. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x28);
  19012. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19013. } else {
  19014. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x73);
  19015. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19016. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0x99);
  19017. }
  19018. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19019. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19020. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19021. if (rccal_valid & 0x2)
  19022. break;
  19023. udelay(500);
  19024. }
  19025. if (WARN(!(rccal_valid & 0x2), "HW error: radio calib4"))
  19026. return 0;
  19027. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19028. return rccal_valid;
  19029. }
  19030. static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi)
  19031. {
  19032. mod_radio_reg(pi, RADIO_2057_XTALPUOVR_PINCTRL, 0x1, 0x1);
  19033. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x78);
  19034. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x80);
  19035. mdelay(2);
  19036. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x0);
  19037. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x0);
  19038. if (pi->phy_init_por) {
  19039. wlc_phy_radio205x_rcal(pi);
  19040. wlc_phy_radio2057_rccal(pi);
  19041. }
  19042. mod_radio_reg(pi, RADIO_2057_RFPLL_MASTER, 0x8, 0x0);
  19043. }
  19044. static void wlc_phy_radio_init_2056(struct brcms_phy *pi)
  19045. {
  19046. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19047. const struct radio_regs *regs_TX_2056_ptr = NULL;
  19048. const struct radio_regs *regs_RX_2056_ptr = NULL;
  19049. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19050. regs_SYN_2056_ptr = regs_SYN_2056;
  19051. regs_TX_2056_ptr = regs_TX_2056;
  19052. regs_RX_2056_ptr = regs_RX_2056;
  19053. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19054. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19055. regs_TX_2056_ptr = regs_TX_2056_A1;
  19056. regs_RX_2056_ptr = regs_RX_2056_A1;
  19057. } else {
  19058. switch (pi->pubpi.radiorev) {
  19059. case 5:
  19060. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19061. regs_TX_2056_ptr = regs_TX_2056_rev5;
  19062. regs_RX_2056_ptr = regs_RX_2056_rev5;
  19063. break;
  19064. case 6:
  19065. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19066. regs_TX_2056_ptr = regs_TX_2056_rev6;
  19067. regs_RX_2056_ptr = regs_RX_2056_rev6;
  19068. break;
  19069. case 7:
  19070. case 9:
  19071. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19072. regs_TX_2056_ptr = regs_TX_2056_rev7;
  19073. regs_RX_2056_ptr = regs_RX_2056_rev7;
  19074. break;
  19075. case 8:
  19076. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19077. regs_TX_2056_ptr = regs_TX_2056_rev8;
  19078. regs_RX_2056_ptr = regs_RX_2056_rev8;
  19079. break;
  19080. case 11:
  19081. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19082. regs_TX_2056_ptr = regs_TX_2056_rev11;
  19083. regs_RX_2056_ptr = regs_RX_2056_rev11;
  19084. break;
  19085. default:
  19086. break;
  19087. }
  19088. }
  19089. wlc_phy_init_radio_regs(pi, regs_SYN_2056_ptr, (u16) RADIO_2056_SYN);
  19090. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX0);
  19091. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX1);
  19092. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX0);
  19093. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX1);
  19094. }
  19095. static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi)
  19096. {
  19097. mod_radio_reg(pi, RADIO_2056_SYN_COM_CTRL, 0xb, 0xb);
  19098. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x2);
  19099. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x2);
  19100. udelay(1000);
  19101. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x0);
  19102. if ((pi->sh->boardflags2 & BFL2_LEGACY)
  19103. || (pi->sh->boardflags2 & BFL2_XTALBUFOUTEN))
  19104. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xf4, 0x0);
  19105. else
  19106. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xfc, 0x0);
  19107. mod_radio_reg(pi, RADIO_2056_SYN_RCCAL_CTRL0, 0x1, 0x0);
  19108. if (pi->phy_init_por)
  19109. wlc_phy_radio205x_rcal(pi);
  19110. }
  19111. static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi)
  19112. {
  19113. and_phy_reg(pi, 0x78, ~RFCC_POR_FORCE);
  19114. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU | RFCC_OE_POR_FORCE);
  19115. or_phy_reg(pi, 0x78, RFCC_POR_FORCE);
  19116. }
  19117. static void wlc_phy_radio_init_2055(struct brcms_phy *pi)
  19118. {
  19119. wlc_phy_init_radio_regs(pi, regs_2055, RADIO_DEFAULT_CORE);
  19120. }
  19121. static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi)
  19122. {
  19123. and_radio_reg(pi, RADIO_2055_MASTER_CNTRL1,
  19124. ~(RADIO_2055_JTAGCTRL_MASK | RADIO_2055_JTAGSYNC_MASK));
  19125. if (((pi->sh->sromrev >= 4)
  19126. && !(pi->sh->boardflags2 & BFL2_RXBB_INT_REG_DIS))
  19127. || ((pi->sh->sromrev < 4))) {
  19128. and_radio_reg(pi, RADIO_2055_CORE1_RXBB_REGULATOR, 0x7F);
  19129. and_radio_reg(pi, RADIO_2055_CORE2_RXBB_REGULATOR, 0x7F);
  19130. }
  19131. mod_radio_reg(pi, RADIO_2055_RRCCAL_N_OPT_SEL, 0x3F, 0x2C);
  19132. write_radio_reg(pi, RADIO_2055_CAL_MISC, 0x3C);
  19133. and_radio_reg(pi, RADIO_2055_CAL_MISC,
  19134. ~(RADIO_2055_RRCAL_START | RADIO_2055_RRCAL_RST_N));
  19135. or_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL, RADIO_2055_CAL_LPO_ENABLE);
  19136. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_RST_N);
  19137. udelay(1000);
  19138. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_START);
  19139. SPINWAIT(((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19140. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE), 2000);
  19141. if (WARN((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19142. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE,
  19143. "HW error: radio calibration1\n"))
  19144. return;
  19145. and_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL,
  19146. ~(RADIO_2055_CAL_LPO_ENABLE));
  19147. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
  19148. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_LPF, 9);
  19149. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_LPF, 9);
  19150. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_MIDAC_HIPAS, 0x83);
  19151. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_MIDAC_HIPAS, 0x83);
  19152. mod_radio_reg(pi, RADIO_2055_CORE1_LNA_GAINBST,
  19153. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19154. mod_radio_reg(pi, RADIO_2055_CORE2_LNA_GAINBST,
  19155. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19156. if (pi->nphy_gain_boost) {
  19157. and_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19158. ~(RADIO_2055_GAINBST_DISABLE));
  19159. and_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19160. ~(RADIO_2055_GAINBST_DISABLE));
  19161. } else {
  19162. or_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19163. RADIO_2055_GAINBST_DISABLE);
  19164. or_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19165. RADIO_2055_GAINBST_DISABLE);
  19166. }
  19167. udelay(2);
  19168. }
  19169. void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
  19170. {
  19171. if (on) {
  19172. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19173. if (!pi->radio_is_on) {
  19174. wlc_phy_radio_preinit_205x(pi);
  19175. wlc_phy_radio_init_2057(pi);
  19176. wlc_phy_radio_postinit_2057(pi);
  19177. }
  19178. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19179. pi->radio_chanspec);
  19180. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19181. wlc_phy_radio_preinit_205x(pi);
  19182. wlc_phy_radio_init_2056(pi);
  19183. wlc_phy_radio_postinit_2056(pi);
  19184. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19185. pi->radio_chanspec);
  19186. } else {
  19187. wlc_phy_radio_preinit_2055(pi);
  19188. wlc_phy_radio_init_2055(pi);
  19189. wlc_phy_radio_postinit_2055(pi);
  19190. }
  19191. pi->radio_is_on = true;
  19192. } else {
  19193. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19194. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  19195. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19196. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x0);
  19197. write_radio_reg(pi,
  19198. RADIO_2056_TX_PADA_BOOST_TUNE |
  19199. RADIO_2056_TX0, 0);
  19200. write_radio_reg(pi,
  19201. RADIO_2056_TX_PADG_BOOST_TUNE |
  19202. RADIO_2056_TX0, 0);
  19203. write_radio_reg(pi,
  19204. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19205. RADIO_2056_TX0, 0);
  19206. write_radio_reg(pi,
  19207. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19208. RADIO_2056_TX0, 0);
  19209. mod_radio_reg(pi,
  19210. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19211. RADIO_2056_TX0, 0xf0, 0);
  19212. write_radio_reg(pi,
  19213. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19214. RADIO_2056_TX0, 0);
  19215. write_radio_reg(pi,
  19216. RADIO_2056_TX_PADA_BOOST_TUNE |
  19217. RADIO_2056_TX1, 0);
  19218. write_radio_reg(pi,
  19219. RADIO_2056_TX_PADG_BOOST_TUNE |
  19220. RADIO_2056_TX1, 0);
  19221. write_radio_reg(pi,
  19222. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19223. RADIO_2056_TX1, 0);
  19224. write_radio_reg(pi,
  19225. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19226. RADIO_2056_TX1, 0);
  19227. mod_radio_reg(pi,
  19228. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19229. RADIO_2056_TX1, 0xf0, 0);
  19230. write_radio_reg(pi,
  19231. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19232. RADIO_2056_TX1, 0);
  19233. pi->radio_is_on = false;
  19234. }
  19235. if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  19236. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19237. pi->radio_is_on = false;
  19238. }
  19239. }
  19240. }
  19241. static bool
  19242. wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f,
  19243. const struct chan_info_nphy_radio2057 **t0,
  19244. const struct chan_info_nphy_radio205x **t1,
  19245. const struct chan_info_nphy_radio2057_rev5 **t2,
  19246. const struct chan_info_nphy_2055 **t3)
  19247. {
  19248. uint i;
  19249. const struct chan_info_nphy_radio2057 *chan_info_tbl_p_0 = NULL;
  19250. const struct chan_info_nphy_radio205x *chan_info_tbl_p_1 = NULL;
  19251. const struct chan_info_nphy_radio2057_rev5 *chan_info_tbl_p_2 = NULL;
  19252. u32 tbl_len = 0;
  19253. int freq = 0;
  19254. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19255. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19256. chan_info_tbl_p_0 = chan_info_nphyrev7_2057_rev4;
  19257. tbl_len = ARRAY_SIZE(chan_info_nphyrev7_2057_rev4);
  19258. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19259. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19260. switch (pi->pubpi.radiorev) {
  19261. case 5:
  19262. if (pi->pubpi.radiover == 0x0) {
  19263. chan_info_tbl_p_2 =
  19264. chan_info_nphyrev8_2057_rev5;
  19265. tbl_len = ARRAY_SIZE(
  19266. chan_info_nphyrev8_2057_rev5);
  19267. } else if (pi->pubpi.radiover == 0x1) {
  19268. chan_info_tbl_p_2 =
  19269. chan_info_nphyrev9_2057_rev5v1;
  19270. tbl_len = ARRAY_SIZE(
  19271. chan_info_nphyrev9_2057_rev5v1);
  19272. }
  19273. break;
  19274. case 7:
  19275. chan_info_tbl_p_0 =
  19276. chan_info_nphyrev8_2057_rev7;
  19277. tbl_len = ARRAY_SIZE(
  19278. chan_info_nphyrev8_2057_rev7);
  19279. break;
  19280. case 8:
  19281. chan_info_tbl_p_0 =
  19282. chan_info_nphyrev8_2057_rev8;
  19283. tbl_len = ARRAY_SIZE(
  19284. chan_info_nphyrev8_2057_rev8);
  19285. break;
  19286. default:
  19287. break;
  19288. }
  19289. } else if (NREV_IS(pi->pubpi.phy_rev, 16)) {
  19290. chan_info_tbl_p_0 = chan_info_nphyrev8_2057_rev8;
  19291. tbl_len = ARRAY_SIZE(chan_info_nphyrev8_2057_rev8);
  19292. } else {
  19293. goto fail;
  19294. }
  19295. for (i = 0; i < tbl_len; i++) {
  19296. if (pi->pubpi.radiorev == 5) {
  19297. if (chan_info_tbl_p_2[i].chan == channel)
  19298. break;
  19299. } else {
  19300. if (chan_info_tbl_p_0[i].chan == channel)
  19301. break;
  19302. }
  19303. }
  19304. if (i >= tbl_len)
  19305. goto fail;
  19306. if (pi->pubpi.radiorev == 5) {
  19307. *t2 = &chan_info_tbl_p_2[i];
  19308. freq = chan_info_tbl_p_2[i].freq;
  19309. } else {
  19310. *t0 = &chan_info_tbl_p_0[i];
  19311. freq = chan_info_tbl_p_0[i].freq;
  19312. }
  19313. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19314. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19315. chan_info_tbl_p_1 = chan_info_nphyrev3_2056;
  19316. tbl_len = ARRAY_SIZE(chan_info_nphyrev3_2056);
  19317. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19318. chan_info_tbl_p_1 = chan_info_nphyrev4_2056_A1;
  19319. tbl_len = ARRAY_SIZE(chan_info_nphyrev4_2056_A1);
  19320. } else if (NREV_IS(pi->pubpi.phy_rev, 5)
  19321. || NREV_IS(pi->pubpi.phy_rev, 6)) {
  19322. switch (pi->pubpi.radiorev) {
  19323. case 5:
  19324. chan_info_tbl_p_1 = chan_info_nphyrev5_2056v5;
  19325. tbl_len = ARRAY_SIZE(chan_info_nphyrev5_2056v5);
  19326. break;
  19327. case 6:
  19328. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v6;
  19329. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v6);
  19330. break;
  19331. case 7:
  19332. case 9:
  19333. chan_info_tbl_p_1 = chan_info_nphyrev5n6_2056v7;
  19334. tbl_len =
  19335. ARRAY_SIZE(chan_info_nphyrev5n6_2056v7);
  19336. break;
  19337. case 8:
  19338. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v8;
  19339. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v8);
  19340. break;
  19341. case 11:
  19342. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v11;
  19343. tbl_len = ARRAY_SIZE(
  19344. chan_info_nphyrev6_2056v11);
  19345. break;
  19346. default:
  19347. break;
  19348. }
  19349. }
  19350. for (i = 0; i < tbl_len; i++) {
  19351. if (chan_info_tbl_p_1[i].chan == channel)
  19352. break;
  19353. }
  19354. if (i >= tbl_len)
  19355. goto fail;
  19356. *t1 = &chan_info_tbl_p_1[i];
  19357. freq = chan_info_tbl_p_1[i].freq;
  19358. } else {
  19359. for (i = 0; i < ARRAY_SIZE(chan_info_nphy_2055); i++)
  19360. if (chan_info_nphy_2055[i].chan == channel)
  19361. break;
  19362. if (i >= ARRAY_SIZE(chan_info_nphy_2055))
  19363. goto fail;
  19364. *t3 = &chan_info_nphy_2055[i];
  19365. freq = chan_info_nphy_2055[i].freq;
  19366. }
  19367. *f = freq;
  19368. return true;
  19369. fail:
  19370. *f = WL_CHAN_FREQ_RANGE_2G;
  19371. return false;
  19372. }
  19373. u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel)
  19374. {
  19375. int freq;
  19376. const struct chan_info_nphy_radio2057 *t0 = NULL;
  19377. const struct chan_info_nphy_radio205x *t1 = NULL;
  19378. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  19379. const struct chan_info_nphy_2055 *t3 = NULL;
  19380. if (channel == 0)
  19381. channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  19382. wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
  19383. if (CHSPEC_IS2G(pi->radio_chanspec))
  19384. return WL_CHAN_FREQ_RANGE_2G;
  19385. if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
  19386. return WL_CHAN_FREQ_RANGE_5GL;
  19387. else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
  19388. return WL_CHAN_FREQ_RANGE_5GM;
  19389. else
  19390. return WL_CHAN_FREQ_RANGE_5GH;
  19391. }
  19392. static void
  19393. wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi,
  19394. const struct chan_info_nphy_2055 *ci)
  19395. {
  19396. write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref);
  19397. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0);
  19398. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1);
  19399. write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail);
  19400. BRCMS_PHY_WAR_PR51571(pi);
  19401. write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1);
  19402. write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2);
  19403. write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1);
  19404. write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1);
  19405. BRCMS_PHY_WAR_PR51571(pi);
  19406. write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2);
  19407. write_radio_reg(pi, RADIO_2055_LGBUF_CEN_BUF, ci->RF_lgbuf_cen_buf);
  19408. write_radio_reg(pi, RADIO_2055_LGEN_TUNE1, ci->RF_lgen_tune1);
  19409. write_radio_reg(pi, RADIO_2055_LGEN_TUNE2, ci->RF_lgen_tune2);
  19410. BRCMS_PHY_WAR_PR51571(pi);
  19411. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_A_TUNE,
  19412. ci->RF_core1_lgbuf_a_tune);
  19413. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_G_TUNE,
  19414. ci->RF_core1_lgbuf_g_tune);
  19415. write_radio_reg(pi, RADIO_2055_CORE1_RXRF_REG1, ci->RF_core1_rxrf_reg1);
  19416. write_radio_reg(pi, RADIO_2055_CORE1_TX_PGA_PAD_TN,
  19417. ci->RF_core1_tx_pga_pad_tn);
  19418. BRCMS_PHY_WAR_PR51571(pi);
  19419. write_radio_reg(pi, RADIO_2055_CORE1_TX_MX_BGTRIM,
  19420. ci->RF_core1_tx_mx_bgtrim);
  19421. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_A_TUNE,
  19422. ci->RF_core2_lgbuf_a_tune);
  19423. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_G_TUNE,
  19424. ci->RF_core2_lgbuf_g_tune);
  19425. write_radio_reg(pi, RADIO_2055_CORE2_RXRF_REG1, ci->RF_core2_rxrf_reg1);
  19426. BRCMS_PHY_WAR_PR51571(pi);
  19427. write_radio_reg(pi, RADIO_2055_CORE2_TX_PGA_PAD_TN,
  19428. ci->RF_core2_tx_pga_pad_tn);
  19429. write_radio_reg(pi, RADIO_2055_CORE2_TX_MX_BGTRIM,
  19430. ci->RF_core2_tx_mx_bgtrim);
  19431. udelay(50);
  19432. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x05);
  19433. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x45);
  19434. BRCMS_PHY_WAR_PR51571(pi);
  19435. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x65);
  19436. udelay(300);
  19437. }
  19438. static void
  19439. wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi,
  19440. const struct chan_info_nphy_radio205x *ci)
  19441. {
  19442. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19443. write_radio_reg(pi,
  19444. RADIO_2056_SYN_PLL_VCOCAL1 | RADIO_2056_SYN,
  19445. ci->RF_SYN_pll_vcocal1);
  19446. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL2 | RADIO_2056_SYN,
  19447. ci->RF_SYN_pll_vcocal2);
  19448. write_radio_reg(pi, RADIO_2056_SYN_PLL_REFDIV | RADIO_2056_SYN,
  19449. ci->RF_SYN_pll_refdiv);
  19450. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD2 | RADIO_2056_SYN,
  19451. ci->RF_SYN_pll_mmd2);
  19452. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD1 | RADIO_2056_SYN,
  19453. ci->RF_SYN_pll_mmd1);
  19454. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19455. ci->RF_SYN_pll_loopfilter1);
  19456. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19457. ci->RF_SYN_pll_loopfilter2);
  19458. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER3 | RADIO_2056_SYN,
  19459. ci->RF_SYN_pll_loopfilter3);
  19460. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19461. ci->RF_SYN_pll_loopfilter4);
  19462. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER5 | RADIO_2056_SYN,
  19463. ci->RF_SYN_pll_loopfilter5);
  19464. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR27 | RADIO_2056_SYN,
  19465. ci->RF_SYN_reserved_addr27);
  19466. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR28 | RADIO_2056_SYN,
  19467. ci->RF_SYN_reserved_addr28);
  19468. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR29 | RADIO_2056_SYN,
  19469. ci->RF_SYN_reserved_addr29);
  19470. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_VCOBUF1 | RADIO_2056_SYN,
  19471. ci->RF_SYN_logen_VCOBUF1);
  19472. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_MIXER2 | RADIO_2056_SYN,
  19473. ci->RF_SYN_logen_MIXER2);
  19474. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF3 | RADIO_2056_SYN,
  19475. ci->RF_SYN_logen_BUF3);
  19476. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF4 | RADIO_2056_SYN,
  19477. ci->RF_SYN_logen_BUF4);
  19478. write_radio_reg(pi,
  19479. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX0,
  19480. ci->RF_RX0_lnaa_tune);
  19481. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX0,
  19482. ci->RF_RX0_lnag_tune);
  19483. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX0,
  19484. ci->RF_TX0_intpaa_boost_tune);
  19485. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX0,
  19486. ci->RF_TX0_intpag_boost_tune);
  19487. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX0,
  19488. ci->RF_TX0_pada_boost_tune);
  19489. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX0,
  19490. ci->RF_TX0_padg_boost_tune);
  19491. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX0,
  19492. ci->RF_TX0_pgaa_boost_tune);
  19493. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX0,
  19494. ci->RF_TX0_pgag_boost_tune);
  19495. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX0,
  19496. ci->RF_TX0_mixa_boost_tune);
  19497. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX0,
  19498. ci->RF_TX0_mixg_boost_tune);
  19499. write_radio_reg(pi,
  19500. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX1,
  19501. ci->RF_RX1_lnaa_tune);
  19502. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX1,
  19503. ci->RF_RX1_lnag_tune);
  19504. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX1,
  19505. ci->RF_TX1_intpaa_boost_tune);
  19506. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX1,
  19507. ci->RF_TX1_intpag_boost_tune);
  19508. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX1,
  19509. ci->RF_TX1_pada_boost_tune);
  19510. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX1,
  19511. ci->RF_TX1_padg_boost_tune);
  19512. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX1,
  19513. ci->RF_TX1_pgaa_boost_tune);
  19514. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX1,
  19515. ci->RF_TX1_pgag_boost_tune);
  19516. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX1,
  19517. ci->RF_TX1_mixa_boost_tune);
  19518. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX1,
  19519. ci->RF_TX1_mixg_boost_tune);
  19520. if (NREV_IS(pi->pubpi.phy_rev, 3))
  19521. regs_SYN_2056_ptr = regs_SYN_2056;
  19522. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  19523. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19524. else {
  19525. switch (pi->pubpi.radiorev) {
  19526. case 5:
  19527. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19528. break;
  19529. case 6:
  19530. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19531. break;
  19532. case 7:
  19533. case 9:
  19534. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19535. break;
  19536. case 8:
  19537. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19538. break;
  19539. case 11:
  19540. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19541. break;
  19542. }
  19543. }
  19544. if (CHSPEC_IS2G(pi->radio_chanspec))
  19545. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19546. RADIO_2056_SYN,
  19547. (u16) regs_SYN_2056_ptr[0x49 - 2].init_g);
  19548. else
  19549. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19550. RADIO_2056_SYN,
  19551. (u16) regs_SYN_2056_ptr[0x49 - 2].init_a);
  19552. if (pi->sh->boardflags2 & BFL2_GPLL_WAR) {
  19553. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19554. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19555. RADIO_2056_SYN, 0x1f);
  19556. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19557. RADIO_2056_SYN, 0x1f);
  19558. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  19559. (pi->sh->chip == BCMA_CHIP_ID_BCM47162)) {
  19560. write_radio_reg(pi,
  19561. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19562. RADIO_2056_SYN, 0x14);
  19563. write_radio_reg(pi,
  19564. RADIO_2056_SYN_PLL_CP2 |
  19565. RADIO_2056_SYN, 0x00);
  19566. } else {
  19567. write_radio_reg(pi,
  19568. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19569. RADIO_2056_SYN, 0xb);
  19570. write_radio_reg(pi,
  19571. RADIO_2056_SYN_PLL_CP2 |
  19572. RADIO_2056_SYN, 0x14);
  19573. }
  19574. }
  19575. }
  19576. if ((pi->sh->boardflags2 & BFL2_GPLL_WAR2) &&
  19577. (CHSPEC_IS2G(pi->radio_chanspec))) {
  19578. write_radio_reg(pi,
  19579. RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19580. 0x1f);
  19581. write_radio_reg(pi,
  19582. RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19583. 0x1f);
  19584. write_radio_reg(pi,
  19585. RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19586. 0xb);
  19587. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 | RADIO_2056_SYN,
  19588. 0x20);
  19589. }
  19590. if (pi->sh->boardflags2 & BFL2_APLL_WAR) {
  19591. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  19592. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19593. RADIO_2056_SYN, 0x1f);
  19594. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19595. RADIO_2056_SYN, 0x1f);
  19596. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19597. RADIO_2056_SYN, 0x5);
  19598. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19599. RADIO_2056_SYN, 0xc);
  19600. }
  19601. }
  19602. if (PHY_IPA(pi) && CHSPEC_IS2G(pi->radio_chanspec)) {
  19603. u16 pag_boost_tune;
  19604. u16 padg_boost_tune;
  19605. u16 pgag_boost_tune;
  19606. u16 mixg_boost_tune;
  19607. u16 bias, cascbias;
  19608. uint core;
  19609. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19610. if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  19611. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19612. PADG_IDAC, 0xcc);
  19613. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  19614. (pi->sh->chip == BCMA_CHIP_ID_BCM47162)) {
  19615. bias = 0x40;
  19616. cascbias = 0x45;
  19617. pag_boost_tune = 0x5;
  19618. pgag_boost_tune = 0x33;
  19619. padg_boost_tune = 0x77;
  19620. mixg_boost_tune = 0x55;
  19621. } else {
  19622. bias = 0x25;
  19623. cascbias = 0x20;
  19624. if ((pi->sh->chip == BCMA_CHIP_ID_BCM43224 ||
  19625. pi->sh->chip == BCMA_CHIP_ID_BCM43225) &&
  19626. pi->sh->chippkg == BCMA_PKG_ID_BCM43224_FAB_SMIC) {
  19627. bias = 0x2a;
  19628. cascbias = 0x38;
  19629. }
  19630. pag_boost_tune = 0x4;
  19631. pgag_boost_tune = 0x03;
  19632. padg_boost_tune = 0x77;
  19633. mixg_boost_tune = 0x65;
  19634. }
  19635. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19636. INTPAG_IMAIN_STAT, bias);
  19637. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19638. INTPAG_IAUX_STAT, bias);
  19639. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19640. INTPAG_CASCBIAS, cascbias);
  19641. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19642. INTPAG_BOOST_TUNE,
  19643. pag_boost_tune);
  19644. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19645. PGAG_BOOST_TUNE,
  19646. pgag_boost_tune);
  19647. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19648. PADG_BOOST_TUNE,
  19649. padg_boost_tune);
  19650. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19651. MIXG_BOOST_TUNE,
  19652. mixg_boost_tune);
  19653. } else {
  19654. bias = (pi->bw == WL_CHANSPEC_BW_40) ?
  19655. 0x40 : 0x20;
  19656. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19657. INTPAG_IMAIN_STAT, bias);
  19658. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19659. INTPAG_IAUX_STAT, bias);
  19660. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19661. INTPAG_CASCBIAS, 0x30);
  19662. }
  19663. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, PA_SPARE1,
  19664. 0xee);
  19665. }
  19666. }
  19667. if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6)
  19668. && CHSPEC_IS5G(pi->radio_chanspec)) {
  19669. u16 paa_boost_tune;
  19670. u16 pada_boost_tune;
  19671. u16 pgaa_boost_tune;
  19672. u16 mixa_boost_tune;
  19673. u16 freq, pabias, cascbias;
  19674. uint core;
  19675. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  19676. if (freq < 5150) {
  19677. paa_boost_tune = 0xa;
  19678. pada_boost_tune = 0x77;
  19679. pgaa_boost_tune = 0xf;
  19680. mixa_boost_tune = 0xf;
  19681. } else if (freq < 5340) {
  19682. paa_boost_tune = 0x8;
  19683. pada_boost_tune = 0x77;
  19684. pgaa_boost_tune = 0xfb;
  19685. mixa_boost_tune = 0xf;
  19686. } else if (freq < 5650) {
  19687. paa_boost_tune = 0x0;
  19688. pada_boost_tune = 0x77;
  19689. pgaa_boost_tune = 0xb;
  19690. mixa_boost_tune = 0xf;
  19691. } else {
  19692. paa_boost_tune = 0x0;
  19693. pada_boost_tune = 0x77;
  19694. if (freq != 5825)
  19695. pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
  19696. else
  19697. pgaa_boost_tune = 6;
  19698. mixa_boost_tune = 0xf;
  19699. }
  19700. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19701. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19702. INTPAA_BOOST_TUNE, paa_boost_tune);
  19703. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19704. PADA_BOOST_TUNE, pada_boost_tune);
  19705. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19706. PGAA_BOOST_TUNE, pgaa_boost_tune);
  19707. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19708. MIXA_BOOST_TUNE, mixa_boost_tune);
  19709. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19710. TXSPARE1, 0x30);
  19711. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19712. PA_SPARE2, 0xee);
  19713. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19714. PADA_CASCBIAS, 0x3);
  19715. cascbias = 0x30;
  19716. if ((pi->sh->chip == BCMA_CHIP_ID_BCM43224 ||
  19717. pi->sh->chip == BCMA_CHIP_ID_BCM43225) &&
  19718. pi->sh->chippkg == BCMA_PKG_ID_BCM43224_FAB_SMIC)
  19719. cascbias = 0x35;
  19720. pabias = (pi->phy_pabias == 0) ? 0x30 : pi->phy_pabias;
  19721. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19722. INTPAA_IAUX_STAT, pabias);
  19723. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19724. INTPAA_IMAIN_STAT, pabias);
  19725. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19726. INTPAA_CASCBIAS, cascbias);
  19727. }
  19728. }
  19729. udelay(50);
  19730. wlc_phy_radio205x_vcocal_nphy(pi);
  19731. }
  19732. void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi)
  19733. {
  19734. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19735. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x0);
  19736. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04, 0x0);
  19737. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04,
  19738. (1 << 2));
  19739. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x01);
  19740. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19741. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL12, 0x0);
  19742. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19743. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x18);
  19744. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19745. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x39);
  19746. }
  19747. udelay(300);
  19748. }
  19749. static void
  19750. wlc_phy_chanspec_radio2057_setup(
  19751. struct brcms_phy *pi,
  19752. const struct chan_info_nphy_radio2057 *ci,
  19753. const struct chan_info_nphy_radio2057_rev5 *
  19754. ci2)
  19755. {
  19756. int coreNum;
  19757. u16 txmix2g_tune_boost_pu = 0;
  19758. u16 pad2g_tune_pus = 0;
  19759. if (pi->pubpi.radiorev == 5) {
  19760. write_radio_reg(pi,
  19761. RADIO_2057_VCOCAL_COUNTVAL0,
  19762. ci2->RF_vcocal_countval0);
  19763. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19764. ci2->RF_vcocal_countval1);
  19765. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19766. ci2->RF_rfpll_refmaster_sparextalsize);
  19767. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19768. ci2->RF_rfpll_loopfilter_r1);
  19769. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19770. ci2->RF_rfpll_loopfilter_c2);
  19771. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19772. ci2->RF_rfpll_loopfilter_c1);
  19773. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC,
  19774. ci2->RF_cp_kpd_idac);
  19775. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci2->RF_rfpll_mmd0);
  19776. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci2->RF_rfpll_mmd1);
  19777. write_radio_reg(pi,
  19778. RADIO_2057_VCOBUF_TUNE, ci2->RF_vcobuf_tune);
  19779. write_radio_reg(pi,
  19780. RADIO_2057_LOGEN_MX2G_TUNE,
  19781. ci2->RF_logen_mx2g_tune);
  19782. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19783. ci2->RF_logen_indbuf2g_tune);
  19784. write_radio_reg(pi,
  19785. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19786. ci2->RF_txmix2g_tune_boost_pu_core0);
  19787. write_radio_reg(pi,
  19788. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19789. ci2->RF_pad2g_tune_pus_core0);
  19790. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19791. ci2->RF_lna2g_tune_core0);
  19792. write_radio_reg(pi,
  19793. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19794. ci2->RF_txmix2g_tune_boost_pu_core1);
  19795. write_radio_reg(pi,
  19796. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19797. ci2->RF_pad2g_tune_pus_core1);
  19798. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19799. ci2->RF_lna2g_tune_core1);
  19800. } else {
  19801. write_radio_reg(pi,
  19802. RADIO_2057_VCOCAL_COUNTVAL0,
  19803. ci->RF_vcocal_countval0);
  19804. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19805. ci->RF_vcocal_countval1);
  19806. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19807. ci->RF_rfpll_refmaster_sparextalsize);
  19808. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19809. ci->RF_rfpll_loopfilter_r1);
  19810. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19811. ci->RF_rfpll_loopfilter_c2);
  19812. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19813. ci->RF_rfpll_loopfilter_c1);
  19814. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, ci->RF_cp_kpd_idac);
  19815. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci->RF_rfpll_mmd0);
  19816. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci->RF_rfpll_mmd1);
  19817. write_radio_reg(pi, RADIO_2057_VCOBUF_TUNE, ci->RF_vcobuf_tune);
  19818. write_radio_reg(pi,
  19819. RADIO_2057_LOGEN_MX2G_TUNE,
  19820. ci->RF_logen_mx2g_tune);
  19821. write_radio_reg(pi, RADIO_2057_LOGEN_MX5G_TUNE,
  19822. ci->RF_logen_mx5g_tune);
  19823. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19824. ci->RF_logen_indbuf2g_tune);
  19825. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF5G_TUNE,
  19826. ci->RF_logen_indbuf5g_tune);
  19827. write_radio_reg(pi,
  19828. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19829. ci->RF_txmix2g_tune_boost_pu_core0);
  19830. write_radio_reg(pi,
  19831. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19832. ci->RF_pad2g_tune_pus_core0);
  19833. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE0,
  19834. ci->RF_pga_boost_tune_core0);
  19835. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE0,
  19836. ci->RF_txmix5g_boost_tune_core0);
  19837. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE0,
  19838. ci->RF_pad5g_tune_misc_pus_core0);
  19839. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19840. ci->RF_lna2g_tune_core0);
  19841. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE0,
  19842. ci->RF_lna5g_tune_core0);
  19843. write_radio_reg(pi,
  19844. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19845. ci->RF_txmix2g_tune_boost_pu_core1);
  19846. write_radio_reg(pi,
  19847. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19848. ci->RF_pad2g_tune_pus_core1);
  19849. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE1,
  19850. ci->RF_pga_boost_tune_core1);
  19851. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE1,
  19852. ci->RF_txmix5g_boost_tune_core1);
  19853. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE1,
  19854. ci->RF_pad5g_tune_misc_pus_core1);
  19855. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19856. ci->RF_lna2g_tune_core1);
  19857. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE1,
  19858. ci->RF_lna5g_tune_core1);
  19859. }
  19860. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19861. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19862. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19863. 0x3f);
  19864. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19865. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19866. 0x8);
  19867. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19868. 0x8);
  19869. } else {
  19870. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19871. 0x1f);
  19872. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19873. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19874. 0x8);
  19875. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19876. 0x8);
  19877. }
  19878. } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) ||
  19879. (pi->pubpi.radiorev == 8)) {
  19880. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19881. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19882. 0x1b);
  19883. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x30);
  19884. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19885. 0xa);
  19886. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19887. 0xa);
  19888. } else {
  19889. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19890. 0x1f);
  19891. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19892. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19893. 0x8);
  19894. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19895. 0x8);
  19896. }
  19897. }
  19898. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19899. if (PHY_IPA(pi)) {
  19900. if (pi->pubpi.radiorev == 3)
  19901. txmix2g_tune_boost_pu = 0x6b;
  19902. if (pi->pubpi.radiorev == 5)
  19903. pad2g_tune_pus = 0x73;
  19904. } else {
  19905. if (pi->pubpi.radiorev != 5) {
  19906. pad2g_tune_pus = 0x3;
  19907. txmix2g_tune_boost_pu = 0x61;
  19908. }
  19909. }
  19910. for (coreNum = 0; coreNum <= 1; coreNum++) {
  19911. if (txmix2g_tune_boost_pu != 0)
  19912. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  19913. TXMIX2G_TUNE_BOOST_PU,
  19914. txmix2g_tune_boost_pu);
  19915. if (pad2g_tune_pus != 0)
  19916. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  19917. PAD2G_TUNE_PUS,
  19918. pad2g_tune_pus);
  19919. }
  19920. }
  19921. udelay(50);
  19922. wlc_phy_radio205x_vcocal_nphy(pi);
  19923. }
  19924. static void
  19925. wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec,
  19926. const struct nphy_sfo_cfg *ci)
  19927. {
  19928. u16 val;
  19929. val = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  19930. if (CHSPEC_IS5G(chanspec) && !val) {
  19931. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  19932. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  19933. (val | MAC_PHY_FORCE_CLK));
  19934. or_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  19935. (BBCFG_RESETCCA | BBCFG_RESETRX));
  19936. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  19937. or_phy_reg(pi, 0x09, NPHY_BandControl_currentBand);
  19938. } else if (!CHSPEC_IS5G(chanspec) && val) {
  19939. and_phy_reg(pi, 0x09, ~NPHY_BandControl_currentBand);
  19940. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  19941. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  19942. (val | MAC_PHY_FORCE_CLK));
  19943. and_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  19944. (u16) (~(BBCFG_RESETCCA | BBCFG_RESETRX)));
  19945. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  19946. }
  19947. write_phy_reg(pi, 0x1ce, ci->PHY_BW1a);
  19948. write_phy_reg(pi, 0x1cf, ci->PHY_BW2);
  19949. write_phy_reg(pi, 0x1d0, ci->PHY_BW3);
  19950. write_phy_reg(pi, 0x1d1, ci->PHY_BW4);
  19951. write_phy_reg(pi, 0x1d2, ci->PHY_BW5);
  19952. write_phy_reg(pi, 0x1d3, ci->PHY_BW6);
  19953. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  19954. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en, 0);
  19955. or_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, 0x800);
  19956. } else {
  19957. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en,
  19958. NPHY_ClassifierCtrl_ofdm_en);
  19959. if (CHSPEC_IS2G(chanspec))
  19960. and_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, ~0x840);
  19961. }
  19962. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF)
  19963. wlc_phy_txpwr_fixpower_nphy(pi);
  19964. if (NREV_LT(pi->pubpi.phy_rev, 3))
  19965. wlc_phy_adjust_lnagaintbl_nphy(pi);
  19966. wlc_phy_txlpfbw_nphy(pi);
  19967. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19968. && (pi->phy_spuravoid != SPURAVOID_DISABLE)) {
  19969. u8 spuravoid = 0;
  19970. val = CHSPEC_CHANNEL(chanspec);
  19971. if (!CHSPEC_IS40(pi->radio_chanspec)) {
  19972. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19973. if ((val == 13) || (val == 14) || (val == 153))
  19974. spuravoid = 1;
  19975. } else if (((val >= 5) && (val <= 8)) || (val == 13)
  19976. || (val == 14)) {
  19977. spuravoid = 1;
  19978. }
  19979. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19980. if (val == 54)
  19981. spuravoid = 1;
  19982. } else if (pi->nphy_aband_spurwar_en &&
  19983. ((val == 38) || (val == 102) || (val == 118))) {
  19984. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716)
  19985. && (pi->sh->chippkg == BCMA_PKG_ID_BCM4717)) {
  19986. spuravoid = 0;
  19987. } else {
  19988. spuravoid = 1;
  19989. }
  19990. }
  19991. if (pi->phy_spuravoid == SPURAVOID_FORCEON)
  19992. spuravoid = 1;
  19993. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  19994. (pi->sh->chip == BCMA_CHIP_ID_BCM43225)) {
  19995. bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc,
  19996. spuravoid);
  19997. } else {
  19998. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, false);
  19999. bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc,
  20000. spuravoid);
  20001. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, true);
  20002. }
  20003. if ((pi->sh->chip == BCMA_CHIP_ID_BCM43224) ||
  20004. (pi->sh->chip == BCMA_CHIP_ID_BCM43225)) {
  20005. if (spuravoid == 1) {
  20006. bcma_write16(pi->d11core,
  20007. D11REGOFFS(tsf_clk_frac_l),
  20008. 0x5341);
  20009. bcma_write16(pi->d11core,
  20010. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20011. } else {
  20012. bcma_write16(pi->d11core,
  20013. D11REGOFFS(tsf_clk_frac_l),
  20014. 0x8889);
  20015. bcma_write16(pi->d11core,
  20016. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20017. }
  20018. }
  20019. if (!((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  20020. (pi->sh->chip == BCMA_CHIP_ID_BCM47162)))
  20021. wlapi_bmac_core_phypll_reset(pi->sh->physhim);
  20022. mod_phy_reg(pi, 0x01, (0x1 << 15),
  20023. ((spuravoid > 0) ? (0x1 << 15) : 0));
  20024. wlc_phy_resetcca_nphy(pi);
  20025. pi->phy_isspuravoid = (spuravoid > 0);
  20026. }
  20027. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20028. write_phy_reg(pi, 0x17e, 0x3830);
  20029. wlc_phy_spurwar_nphy(pi);
  20030. }
  20031. void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec)
  20032. {
  20033. int freq;
  20034. const struct chan_info_nphy_radio2057 *t0 = NULL;
  20035. const struct chan_info_nphy_radio205x *t1 = NULL;
  20036. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  20037. const struct chan_info_nphy_2055 *t3 = NULL;
  20038. if (!wlc_phy_chan2freq_nphy
  20039. (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
  20040. return;
  20041. wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
  20042. if (CHSPEC_BW(chanspec) != pi->bw)
  20043. wlapi_bmac_bw_set(pi->sh->physhim, CHSPEC_BW(chanspec));
  20044. if (CHSPEC_IS40(chanspec)) {
  20045. if (CHSPEC_SB_UPPER(chanspec)) {
  20046. or_phy_reg(pi, 0xa0, BPHY_BAND_SEL_UP20);
  20047. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20048. or_phy_reg(pi, 0x310, PRIM_SEL_UP20);
  20049. } else {
  20050. and_phy_reg(pi, 0xa0, ~BPHY_BAND_SEL_UP20);
  20051. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20052. and_phy_reg(pi, 0x310,
  20053. (~PRIM_SEL_UP20 & 0xffff));
  20054. }
  20055. }
  20056. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20057. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20058. if ((pi->pubpi.radiorev <= 4)
  20059. || (pi->pubpi.radiorev == 6)) {
  20060. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE0,
  20061. 0x2,
  20062. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20063. : 0));
  20064. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE1,
  20065. 0x2,
  20066. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20067. : 0));
  20068. }
  20069. wlc_phy_chanspec_radio2057_setup(pi, t0, t2);
  20070. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20071. (pi->pubpi.radiorev == 5) ?
  20072. (const struct nphy_sfo_cfg *)&(t2->PHY_BW1a) :
  20073. (const struct nphy_sfo_cfg *)&(t0->PHY_BW1a));
  20074. } else {
  20075. mod_radio_reg(pi,
  20076. RADIO_2056_SYN_COM_CTRL | RADIO_2056_SYN,
  20077. 0x4,
  20078. (CHSPEC_IS5G(chanspec) ? (0x1 << 2) : 0));
  20079. wlc_phy_chanspec_radio2056_setup(pi, t1);
  20080. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20081. (const struct nphy_sfo_cfg *) &(t1->PHY_BW1a));
  20082. }
  20083. } else {
  20084. mod_radio_reg(pi, RADIO_2055_MASTER_CNTRL1, 0x70,
  20085. (CHSPEC_IS5G(chanspec) ? (0x02 << 4)
  20086. : (0x05 << 4)));
  20087. wlc_phy_chanspec_radio2055_setup(pi, t3);
  20088. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20089. (const struct nphy_sfo_cfg *)
  20090. &(t3->PHY_BW1a));
  20091. }
  20092. }
  20093. void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
  20094. {
  20095. struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro);
  20096. u16 mask = 0xfc00;
  20097. u32 mc = 0;
  20098. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20099. return;
  20100. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20101. u16 v0 = 0x211, v1 = 0x222, v2 = 0x144, v3 = 0x188;
  20102. if (!lut_init)
  20103. return;
  20104. if (pi->srom_fem2g.antswctrllut == 0) {
  20105. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20106. 1, 0x02, 16, &v0);
  20107. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20108. 1, 0x03, 16, &v1);
  20109. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20110. 1, 0x08, 16, &v2);
  20111. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20112. 1, 0x0C, 16, &v3);
  20113. }
  20114. if (pi->srom_fem5g.antswctrllut == 0) {
  20115. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20116. 1, 0x12, 16, &v0);
  20117. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20118. 1, 0x13, 16, &v1);
  20119. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20120. 1, 0x18, 16, &v2);
  20121. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20122. 1, 0x1C, 16, &v3);
  20123. }
  20124. } else {
  20125. write_phy_reg(pi, 0xc8, 0x0);
  20126. write_phy_reg(pi, 0xc9, 0x0);
  20127. bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, mask, mask);
  20128. mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  20129. mc &= ~MCTL_GPOUT_SEL_MASK;
  20130. bcma_write32(pi->d11core, D11REGOFFS(maccontrol), mc);
  20131. bcma_set16(pi->d11core, D11REGOFFS(psm_gpio_oe), mask);
  20132. bcma_mask16(pi->d11core, D11REGOFFS(psm_gpio_out), ~mask);
  20133. if (lut_init) {
  20134. write_phy_reg(pi, 0xf8, 0x02d8);
  20135. write_phy_reg(pi, 0xf9, 0x0301);
  20136. write_phy_reg(pi, 0xfa, 0x02d8);
  20137. write_phy_reg(pi, 0xfb, 0x0301);
  20138. }
  20139. }
  20140. }
  20141. u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val)
  20142. {
  20143. u16 curr_ctl, new_ctl;
  20144. bool suspended = false;
  20145. if (D11REV_IS(pi->sh->corerev, 16)) {
  20146. suspended = (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  20147. MCTL_EN_MAC) ? false : true;
  20148. if (!suspended)
  20149. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  20150. }
  20151. curr_ctl = read_phy_reg(pi, 0xb0) & (0x7 << 0);
  20152. new_ctl = (curr_ctl & (~mask)) | (val & mask);
  20153. mod_phy_reg(pi, 0xb0, (0x7 << 0), new_ctl);
  20154. if (D11REV_IS(pi->sh->corerev, 16) && !suspended)
  20155. wlapi_enable_mac(pi->sh->physhim);
  20156. return new_ctl;
  20157. }
  20158. void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd)
  20159. {
  20160. u16 trigger_mask, status_mask;
  20161. u16 orig_RfseqCoreActv;
  20162. switch (cmd) {
  20163. case NPHY_RFSEQ_RX2TX:
  20164. trigger_mask = NPHY_RfseqTrigger_rx2tx;
  20165. status_mask = NPHY_RfseqStatus_rx2tx;
  20166. break;
  20167. case NPHY_RFSEQ_TX2RX:
  20168. trigger_mask = NPHY_RfseqTrigger_tx2rx;
  20169. status_mask = NPHY_RfseqStatus_tx2rx;
  20170. break;
  20171. case NPHY_RFSEQ_RESET2RX:
  20172. trigger_mask = NPHY_RfseqTrigger_reset2rx;
  20173. status_mask = NPHY_RfseqStatus_reset2rx;
  20174. break;
  20175. case NPHY_RFSEQ_UPDATEGAINH:
  20176. trigger_mask = NPHY_RfseqTrigger_updategainh;
  20177. status_mask = NPHY_RfseqStatus_updategainh;
  20178. break;
  20179. case NPHY_RFSEQ_UPDATEGAINL:
  20180. trigger_mask = NPHY_RfseqTrigger_updategainl;
  20181. status_mask = NPHY_RfseqStatus_updategainl;
  20182. break;
  20183. case NPHY_RFSEQ_UPDATEGAINU:
  20184. trigger_mask = NPHY_RfseqTrigger_updategainu;
  20185. status_mask = NPHY_RfseqStatus_updategainu;
  20186. break;
  20187. default:
  20188. return;
  20189. }
  20190. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  20191. or_phy_reg(pi, 0xa1,
  20192. (NPHY_RfseqMode_CoreActv_override |
  20193. NPHY_RfseqMode_Trigger_override));
  20194. or_phy_reg(pi, 0xa3, trigger_mask);
  20195. SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000);
  20196. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  20197. WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf");
  20198. }
  20199. static void
  20200. wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value,
  20201. u8 core_mask, u8 off)
  20202. {
  20203. u16 rfmxgain = 0, lpfgain = 0;
  20204. u16 tgain = 0;
  20205. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20206. switch (cmd) {
  20207. case NPHY_REV7_RfctrlOverride_cmd_rxrf_pu:
  20208. wlc_phy_rfctrl_override_nphy_rev7(
  20209. pi, (0x1 << 5),
  20210. value, core_mask, off,
  20211. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20212. wlc_phy_rfctrl_override_nphy_rev7(
  20213. pi, (0x1 << 4), value,
  20214. core_mask, off,
  20215. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20216. wlc_phy_rfctrl_override_nphy_rev7(
  20217. pi, (0x1 << 3), value,
  20218. core_mask, off,
  20219. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20220. break;
  20221. case NPHY_REV7_RfctrlOverride_cmd_rx_pu:
  20222. wlc_phy_rfctrl_override_nphy_rev7(
  20223. pi, (0x1 << 2),
  20224. value, core_mask, off,
  20225. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20226. wlc_phy_rfctrl_override_nphy_rev7(
  20227. pi, (0x1 << 1), value,
  20228. core_mask, off,
  20229. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20230. wlc_phy_rfctrl_override_nphy_rev7(
  20231. pi, (0x1 << 0), value,
  20232. core_mask, off,
  20233. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20234. wlc_phy_rfctrl_override_nphy_rev7(
  20235. pi, (0x1 << 1), value,
  20236. core_mask, off,
  20237. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20238. wlc_phy_rfctrl_override_nphy_rev7(
  20239. pi, (0x1 << 11), 0,
  20240. core_mask, off,
  20241. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20242. break;
  20243. case NPHY_REV7_RfctrlOverride_cmd_tx_pu:
  20244. wlc_phy_rfctrl_override_nphy_rev7(
  20245. pi, (0x1 << 2),
  20246. value, core_mask, off,
  20247. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20248. wlc_phy_rfctrl_override_nphy_rev7(
  20249. pi, (0x1 << 1), value,
  20250. core_mask, off,
  20251. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20252. wlc_phy_rfctrl_override_nphy_rev7(
  20253. pi, (0x1 << 0), value,
  20254. core_mask, off,
  20255. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20256. wlc_phy_rfctrl_override_nphy_rev7(
  20257. pi, (0x1 << 2), value,
  20258. core_mask, off,
  20259. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20260. wlc_phy_rfctrl_override_nphy_rev7(
  20261. pi, (0x1 << 11), 1,
  20262. core_mask, off,
  20263. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20264. break;
  20265. case NPHY_REV7_RfctrlOverride_cmd_rxgain:
  20266. rfmxgain = value & 0x000ff;
  20267. lpfgain = value & 0x0ff00;
  20268. lpfgain = lpfgain >> 8;
  20269. wlc_phy_rfctrl_override_nphy_rev7(
  20270. pi, (0x1 << 11),
  20271. rfmxgain, core_mask,
  20272. off,
  20273. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20274. wlc_phy_rfctrl_override_nphy_rev7(
  20275. pi, (0x3 << 13),
  20276. lpfgain, core_mask,
  20277. off,
  20278. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20279. break;
  20280. case NPHY_REV7_RfctrlOverride_cmd_txgain:
  20281. tgain = value & 0x7fff;
  20282. lpfgain = value & 0x8000;
  20283. lpfgain = lpfgain >> 14;
  20284. wlc_phy_rfctrl_override_nphy_rev7(
  20285. pi, (0x1 << 12),
  20286. tgain, core_mask, off,
  20287. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20288. wlc_phy_rfctrl_override_nphy_rev7(
  20289. pi, (0x1 << 13),
  20290. lpfgain, core_mask,
  20291. off,
  20292. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20293. break;
  20294. }
  20295. }
  20296. }
  20297. static void
  20298. wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset,
  20299. u8 coresel, u8 rail, u8 rssi_type)
  20300. {
  20301. u16 valuetostuff;
  20302. offset = (offset > NPHY_RSSICAL_MAXREAD) ?
  20303. NPHY_RSSICAL_MAXREAD : offset;
  20304. offset = (offset < (-NPHY_RSSICAL_MAXREAD - 1)) ?
  20305. -NPHY_RSSICAL_MAXREAD - 1 : offset;
  20306. valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f);
  20307. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20308. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20309. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20310. write_phy_reg(pi, 0x1a6, valuetostuff);
  20311. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20312. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20313. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20314. write_phy_reg(pi, 0x1ac, valuetostuff);
  20315. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20316. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20317. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20318. write_phy_reg(pi, 0x1b2, valuetostuff);
  20319. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20320. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20321. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20322. write_phy_reg(pi, 0x1b8, valuetostuff);
  20323. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20324. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20325. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20326. write_phy_reg(pi, 0x1a4, valuetostuff);
  20327. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20328. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20329. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20330. write_phy_reg(pi, 0x1aa, valuetostuff);
  20331. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20332. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20333. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20334. write_phy_reg(pi, 0x1b0, valuetostuff);
  20335. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20336. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20337. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20338. write_phy_reg(pi, 0x1b6, valuetostuff);
  20339. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20340. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20341. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20342. write_phy_reg(pi, 0x1a5, valuetostuff);
  20343. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20344. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20345. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20346. write_phy_reg(pi, 0x1ab, valuetostuff);
  20347. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20348. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20349. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20350. write_phy_reg(pi, 0x1b1, valuetostuff);
  20351. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20352. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20353. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20354. write_phy_reg(pi, 0x1b7, valuetostuff);
  20355. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20356. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20357. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20358. write_phy_reg(pi, 0x1a7, valuetostuff);
  20359. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20360. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20361. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20362. write_phy_reg(pi, 0x1ad, valuetostuff);
  20363. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20364. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20365. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20366. write_phy_reg(pi, 0x1b3, valuetostuff);
  20367. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20368. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20369. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20370. write_phy_reg(pi, 0x1b9, valuetostuff);
  20371. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20372. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20373. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20374. write_phy_reg(pi, 0x1a8, valuetostuff);
  20375. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20376. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20377. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20378. write_phy_reg(pi, 0x1ae, valuetostuff);
  20379. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20380. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20381. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20382. write_phy_reg(pi, 0x1b4, valuetostuff);
  20383. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20384. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20385. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20386. write_phy_reg(pi, 0x1ba, valuetostuff);
  20387. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20388. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20389. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20390. write_phy_reg(pi, 0x1a9, valuetostuff);
  20391. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20392. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20393. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20394. write_phy_reg(pi, 0x1b5, valuetostuff);
  20395. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20396. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20397. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20398. write_phy_reg(pi, 0x1af, valuetostuff);
  20399. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20400. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20401. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20402. write_phy_reg(pi, 0x1bb, valuetostuff);
  20403. }
  20404. static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core)
  20405. {
  20406. if (PHY_IPA(pi)) {
  20407. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20408. write_radio_reg(pi,
  20409. ((core == PHY_CORE_0) ?
  20410. RADIO_2057_TX0_TX_SSI_MUX :
  20411. RADIO_2057_TX1_TX_SSI_MUX),
  20412. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20413. 0xc : 0xe));
  20414. else
  20415. write_radio_reg(pi,
  20416. RADIO_2056_TX_TX_SSI_MUX |
  20417. ((core == PHY_CORE_0) ?
  20418. RADIO_2056_TX0 : RADIO_2056_TX1),
  20419. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20420. 0xc : 0xe));
  20421. } else {
  20422. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20423. write_radio_reg(pi,
  20424. ((core == PHY_CORE_0) ?
  20425. RADIO_2057_TX0_TX_SSI_MUX :
  20426. RADIO_2057_TX1_TX_SSI_MUX),
  20427. 0x11);
  20428. if (pi->pubpi.radioid == BCM2057_ID)
  20429. write_radio_reg(pi,
  20430. RADIO_2057_IQTEST_SEL_PU, 0x1);
  20431. } else {
  20432. write_radio_reg(pi,
  20433. RADIO_2056_TX_TX_SSI_MUX |
  20434. ((core == PHY_CORE_0) ?
  20435. RADIO_2056_TX0 : RADIO_2056_TX1),
  20436. 0x11);
  20437. }
  20438. }
  20439. }
  20440. void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type)
  20441. {
  20442. u16 mask, val;
  20443. u16 afectrlovr_rssi_val, rfctrlcmd_rxen_val, rfctrlcmd_coresel_val,
  20444. startseq;
  20445. u16 rfctrlovr_rssi_val, rfctrlovr_rxen_val, rfctrlovr_coresel_val,
  20446. rfctrlovr_trigger_val;
  20447. u16 afectrlovr_rssi_mask, rfctrlcmd_mask, rfctrlovr_mask;
  20448. u16 rfctrlcmd_val, rfctrlovr_val;
  20449. u8 core;
  20450. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20451. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20452. mod_phy_reg(pi, 0x8f, (0x1 << 9), 0);
  20453. mod_phy_reg(pi, 0xa5, (0x1 << 9), 0);
  20454. mod_phy_reg(pi, 0xa6, (0x3 << 8), 0);
  20455. mod_phy_reg(pi, 0xa7, (0x3 << 8), 0);
  20456. mod_phy_reg(pi, 0xe5, (0x1 << 5), 0);
  20457. mod_phy_reg(pi, 0xe6, (0x1 << 5), 0);
  20458. mask = (0x1 << 2) |
  20459. (0x1 << 3) | (0x1 << 4) | (0x1 << 5);
  20460. mod_phy_reg(pi, 0xf9, mask, 0);
  20461. mod_phy_reg(pi, 0xfb, mask, 0);
  20462. } else {
  20463. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20464. if (core_code == RADIO_MIMO_CORESEL_CORE1
  20465. && core == PHY_CORE_1)
  20466. continue;
  20467. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  20468. && core == PHY_CORE_0)
  20469. continue;
  20470. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20471. 0x8f : 0xa5, (0x1 << 9), 1 << 9);
  20472. if (rssi_type == NPHY_RSSI_SEL_W1 ||
  20473. rssi_type == NPHY_RSSI_SEL_W2 ||
  20474. rssi_type == NPHY_RSSI_SEL_NB) {
  20475. mod_phy_reg(pi,
  20476. (core ==
  20477. PHY_CORE_0) ? 0xa6 : 0xa7,
  20478. (0x3 << 8), 0);
  20479. mask = (0x1 << 2) |
  20480. (0x1 << 3) |
  20481. (0x1 << 4) | (0x1 << 5);
  20482. mod_phy_reg(pi,
  20483. (core ==
  20484. PHY_CORE_0) ? 0xf9 : 0xfb,
  20485. mask, 0);
  20486. if (rssi_type == NPHY_RSSI_SEL_W1) {
  20487. if (CHSPEC_IS5G(
  20488. pi->radio_chanspec)) {
  20489. mask = (0x1 << 2);
  20490. val = 1 << 2;
  20491. } else {
  20492. mask = (0x1 << 3);
  20493. val = 1 << 3;
  20494. }
  20495. } else if (rssi_type ==
  20496. NPHY_RSSI_SEL_W2) {
  20497. mask = (0x1 << 4);
  20498. val = 1 << 4;
  20499. } else {
  20500. mask = (0x1 << 5);
  20501. val = 1 << 5;
  20502. }
  20503. mod_phy_reg(pi,
  20504. (core ==
  20505. PHY_CORE_0) ? 0xf9 : 0xfb,
  20506. mask, val);
  20507. mask = (0x1 << 5);
  20508. val = 1 << 5;
  20509. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20510. 0xe5 : 0xe6, mask, val);
  20511. } else {
  20512. if (rssi_type == NPHY_RSSI_SEL_TBD) {
  20513. mask = (0x3 << 8);
  20514. val = 1 << 8;
  20515. mod_phy_reg(pi,
  20516. (core ==
  20517. PHY_CORE_0) ? 0xa6
  20518. : 0xa7, mask, val);
  20519. mask = (0x3 << 10);
  20520. val = 1 << 10;
  20521. mod_phy_reg(pi,
  20522. (core ==
  20523. PHY_CORE_0) ? 0xa6
  20524. : 0xa7, mask, val);
  20525. } else if (rssi_type ==
  20526. NPHY_RSSI_SEL_IQ) {
  20527. mask = (0x3 << 8);
  20528. val = 2 << 8;
  20529. mod_phy_reg(pi,
  20530. (core ==
  20531. PHY_CORE_0) ? 0xa6
  20532. : 0xa7, mask, val);
  20533. mask = (0x3 << 10);
  20534. val = 2 << 10;
  20535. mod_phy_reg(pi,
  20536. (core ==
  20537. PHY_CORE_0) ? 0xa6
  20538. : 0xa7, mask, val);
  20539. } else {
  20540. mask = (0x3 << 8);
  20541. val = 3 << 8;
  20542. mod_phy_reg(pi,
  20543. (core ==
  20544. PHY_CORE_0) ? 0xa6
  20545. : 0xa7, mask, val);
  20546. mask = (0x3 << 10);
  20547. val = 3 << 10;
  20548. mod_phy_reg(pi,
  20549. (core ==
  20550. PHY_CORE_0) ? 0xa6
  20551. : 0xa7, mask, val);
  20552. brcms_phy_wr_tx_mux(pi, core);
  20553. afectrlovr_rssi_val = 1 << 9;
  20554. mod_phy_reg(pi,
  20555. (core ==
  20556. PHY_CORE_0) ? 0x8f
  20557. : 0xa5, (0x1 << 9),
  20558. afectrlovr_rssi_val);
  20559. }
  20560. }
  20561. }
  20562. }
  20563. } else {
  20564. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20565. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20566. (rssi_type == NPHY_RSSI_SEL_NB))
  20567. val = 0x0;
  20568. else if (rssi_type == NPHY_RSSI_SEL_TBD)
  20569. val = 0x1;
  20570. else if (rssi_type == NPHY_RSSI_SEL_IQ)
  20571. val = 0x2;
  20572. else
  20573. val = 0x3;
  20574. mask = ((0x3 << 12) | (0x3 << 14));
  20575. val = (val << 12) | (val << 14);
  20576. mod_phy_reg(pi, 0xa6, mask, val);
  20577. mod_phy_reg(pi, 0xa7, mask, val);
  20578. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20579. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20580. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20581. if (rssi_type == NPHY_RSSI_SEL_W1)
  20582. val = 0x1;
  20583. if (rssi_type == NPHY_RSSI_SEL_W2)
  20584. val = 0x2;
  20585. if (rssi_type == NPHY_RSSI_SEL_NB)
  20586. val = 0x3;
  20587. mask = (0x3 << 4);
  20588. val = (val << 4);
  20589. mod_phy_reg(pi, 0x7a, mask, val);
  20590. mod_phy_reg(pi, 0x7d, mask, val);
  20591. }
  20592. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20593. afectrlovr_rssi_val = 0;
  20594. rfctrlcmd_rxen_val = 0;
  20595. rfctrlcmd_coresel_val = 0;
  20596. rfctrlovr_rssi_val = 0;
  20597. rfctrlovr_rxen_val = 0;
  20598. rfctrlovr_coresel_val = 0;
  20599. rfctrlovr_trigger_val = 0;
  20600. startseq = 0;
  20601. } else {
  20602. afectrlovr_rssi_val = 1;
  20603. rfctrlcmd_rxen_val = 1;
  20604. rfctrlcmd_coresel_val = core_code;
  20605. rfctrlovr_rssi_val = 1;
  20606. rfctrlovr_rxen_val = 1;
  20607. rfctrlovr_coresel_val = 1;
  20608. rfctrlovr_trigger_val = 1;
  20609. startseq = 1;
  20610. }
  20611. afectrlovr_rssi_mask = ((0x1 << 12) | (0x1 << 13));
  20612. afectrlovr_rssi_val = (afectrlovr_rssi_val <<
  20613. 12) | (afectrlovr_rssi_val << 13);
  20614. mod_phy_reg(pi, 0xa5, afectrlovr_rssi_mask,
  20615. afectrlovr_rssi_val);
  20616. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20617. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20618. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20619. rfctrlcmd_mask = ((0x1 << 8) | (0x7 << 3));
  20620. rfctrlcmd_val = (rfctrlcmd_rxen_val << 8) |
  20621. (rfctrlcmd_coresel_val << 3);
  20622. rfctrlovr_mask = ((0x1 << 5) |
  20623. (0x1 << 12) |
  20624. (0x1 << 1) | (0x1 << 0));
  20625. rfctrlovr_val = (rfctrlovr_rssi_val <<
  20626. 5) |
  20627. (rfctrlovr_rxen_val << 12) |
  20628. (rfctrlovr_coresel_val << 1) |
  20629. (rfctrlovr_trigger_val << 0);
  20630. mod_phy_reg(pi, 0x78, rfctrlcmd_mask, rfctrlcmd_val);
  20631. mod_phy_reg(pi, 0xec, rfctrlovr_mask, rfctrlovr_val);
  20632. mod_phy_reg(pi, 0x78, (0x1 << 0), (startseq << 0));
  20633. udelay(20);
  20634. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  20635. }
  20636. }
  20637. }
  20638. int
  20639. wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf,
  20640. u8 nsamps)
  20641. {
  20642. s16 rssi0, rssi1;
  20643. u16 afectrlCore1_save = 0;
  20644. u16 afectrlCore2_save = 0;
  20645. u16 afectrlOverride1_save = 0;
  20646. u16 afectrlOverride2_save = 0;
  20647. u16 rfctrlOverrideAux0_save = 0;
  20648. u16 rfctrlOverrideAux1_save = 0;
  20649. u16 rfctrlMiscReg1_save = 0;
  20650. u16 rfctrlMiscReg2_save = 0;
  20651. u16 rfctrlcmd_save = 0;
  20652. u16 rfctrloverride_save = 0;
  20653. u16 rfctrlrssiothers1_save = 0;
  20654. u16 rfctrlrssiothers2_save = 0;
  20655. s8 tmp_buf[4];
  20656. u8 ctr = 0, samp = 0;
  20657. s32 rssi_out_val;
  20658. u16 gpiosel_orig;
  20659. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20660. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20661. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20662. rfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  20663. rfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  20664. afectrlOverride1_save = read_phy_reg(pi, 0x8f);
  20665. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20666. rfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  20667. rfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  20668. } else {
  20669. afectrlOverride1_save = read_phy_reg(pi, 0xa5);
  20670. rfctrlcmd_save = read_phy_reg(pi, 0x78);
  20671. rfctrloverride_save = read_phy_reg(pi, 0xec);
  20672. rfctrlrssiothers1_save = read_phy_reg(pi, 0x7a);
  20673. rfctrlrssiothers2_save = read_phy_reg(pi, 0x7d);
  20674. }
  20675. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  20676. gpiosel_orig = read_phy_reg(pi, 0xca);
  20677. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20678. write_phy_reg(pi, 0xca, 5);
  20679. for (ctr = 0; ctr < 4; ctr++)
  20680. rssi_buf[ctr] = 0;
  20681. for (samp = 0; samp < nsamps; samp++) {
  20682. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  20683. rssi0 = read_phy_reg(pi, 0x1c9);
  20684. rssi1 = read_phy_reg(pi, 0x1ca);
  20685. } else {
  20686. rssi0 = read_phy_reg(pi, 0x219);
  20687. rssi1 = read_phy_reg(pi, 0x21a);
  20688. }
  20689. ctr = 0;
  20690. tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2;
  20691. tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2;
  20692. tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2;
  20693. tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2;
  20694. for (ctr = 0; ctr < 4; ctr++)
  20695. rssi_buf[ctr] += tmp_buf[ctr];
  20696. }
  20697. rssi_out_val = rssi_buf[3] & 0xff;
  20698. rssi_out_val |= (rssi_buf[2] & 0xff) << 8;
  20699. rssi_out_val |= (rssi_buf[1] & 0xff) << 16;
  20700. rssi_out_val |= (rssi_buf[0] & 0xff) << 24;
  20701. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20702. write_phy_reg(pi, 0xca, gpiosel_orig);
  20703. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20704. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20705. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20706. write_phy_reg(pi, 0xf9, rfctrlMiscReg1_save);
  20707. write_phy_reg(pi, 0xfb, rfctrlMiscReg2_save);
  20708. write_phy_reg(pi, 0x8f, afectrlOverride1_save);
  20709. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20710. write_phy_reg(pi, 0xe5, rfctrlOverrideAux0_save);
  20711. write_phy_reg(pi, 0xe6, rfctrlOverrideAux1_save);
  20712. } else {
  20713. write_phy_reg(pi, 0xa5, afectrlOverride1_save);
  20714. write_phy_reg(pi, 0x78, rfctrlcmd_save);
  20715. write_phy_reg(pi, 0xec, rfctrloverride_save);
  20716. write_phy_reg(pi, 0x7a, rfctrlrssiothers1_save);
  20717. write_phy_reg(pi, 0x7d, rfctrlrssiothers2_save);
  20718. }
  20719. return rssi_out_val;
  20720. }
  20721. s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi)
  20722. {
  20723. u16 core1_txrf_iqcal1_save, core1_txrf_iqcal2_save;
  20724. u16 core2_txrf_iqcal1_save, core2_txrf_iqcal2_save;
  20725. u16 pwrdet_rxtx_core1_save;
  20726. u16 pwrdet_rxtx_core2_save;
  20727. u16 afectrlCore1_save;
  20728. u16 afectrlCore2_save;
  20729. u16 afectrlOverride_save;
  20730. u16 afectrlOverride2_save;
  20731. u16 pd_pll_ts_save;
  20732. u16 gpioSel_save;
  20733. s32 radio_temp[4];
  20734. s32 radio_temp2[4];
  20735. u16 syn_tempprocsense_save;
  20736. s16 offset = 0;
  20737. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20738. u16 auxADC_Vmid, auxADC_Av, auxADC_Vmid_save, auxADC_Av_save;
  20739. u16 auxADC_rssi_ctrlL_save, auxADC_rssi_ctrlH_save;
  20740. u16 auxADC_rssi_ctrlL, auxADC_rssi_ctrlH;
  20741. s32 auxADC_Vl;
  20742. u16 RfctrlOverride5_save, RfctrlOverride6_save;
  20743. u16 RfctrlMiscReg5_save, RfctrlMiscReg6_save;
  20744. u16 RSSIMultCoef0QPowerDet_save;
  20745. u16 tempsense_Rcal;
  20746. syn_tempprocsense_save =
  20747. read_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG);
  20748. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20749. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20750. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20751. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20752. RSSIMultCoef0QPowerDet_save = read_phy_reg(pi, 0x1ae);
  20753. RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  20754. RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  20755. RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  20756. RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  20757. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20758. &auxADC_Vmid_save);
  20759. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20760. &auxADC_Av_save);
  20761. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20762. &auxADC_rssi_ctrlL_save);
  20763. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20764. &auxADC_rssi_ctrlH_save);
  20765. write_phy_reg(pi, 0x1ae, 0x0);
  20766. auxADC_rssi_ctrlL = 0x0;
  20767. auxADC_rssi_ctrlH = 0x20;
  20768. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20769. &auxADC_rssi_ctrlL);
  20770. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20771. &auxADC_rssi_ctrlH);
  20772. tempsense_Rcal = syn_tempprocsense_save & 0x1c;
  20773. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20774. tempsense_Rcal | 0x01);
  20775. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  20776. 1, 0, 0,
  20777. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20778. mod_phy_reg(pi, 0xa6, (0x1 << 7), 0);
  20779. mod_phy_reg(pi, 0xa7, (0x1 << 7), 0);
  20780. mod_phy_reg(pi, 0x8f, (0x1 << 7), (0x1 << 7));
  20781. mod_phy_reg(pi, 0xa5, (0x1 << 7), (0x1 << 7));
  20782. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  20783. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  20784. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  20785. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  20786. udelay(5);
  20787. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  20788. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  20789. mod_phy_reg(pi, 0xa6, (0x1 << 3), 0);
  20790. mod_phy_reg(pi, 0xa7, (0x1 << 3), 0);
  20791. mod_phy_reg(pi, 0x8f, (0x1 << 3), (0x1 << 3));
  20792. mod_phy_reg(pi, 0xa5, (0x1 << 3), (0x1 << 3));
  20793. mod_phy_reg(pi, 0xa6, (0x1 << 6), 0);
  20794. mod_phy_reg(pi, 0xa7, (0x1 << 6), 0);
  20795. mod_phy_reg(pi, 0x8f, (0x1 << 6), (0x1 << 6));
  20796. mod_phy_reg(pi, 0xa5, (0x1 << 6), (0x1 << 6));
  20797. auxADC_Vmid = 0xA3;
  20798. auxADC_Av = 0x0;
  20799. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20800. &auxADC_Vmid);
  20801. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20802. &auxADC_Av);
  20803. udelay(3);
  20804. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20805. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20806. tempsense_Rcal | 0x03);
  20807. udelay(5);
  20808. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20809. auxADC_Av = 0x7;
  20810. if (radio_temp[1] + radio_temp2[1] < -30) {
  20811. auxADC_Vmid = 0x45;
  20812. auxADC_Vl = 263;
  20813. } else if (radio_temp[1] + radio_temp2[1] < -9) {
  20814. auxADC_Vmid = 0x200;
  20815. auxADC_Vl = 467;
  20816. } else if (radio_temp[1] + radio_temp2[1] < 11) {
  20817. auxADC_Vmid = 0x266;
  20818. auxADC_Vl = 634;
  20819. } else {
  20820. auxADC_Vmid = 0x2D5;
  20821. auxADC_Vl = 816;
  20822. }
  20823. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20824. &auxADC_Vmid);
  20825. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20826. &auxADC_Av);
  20827. udelay(3);
  20828. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20829. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20830. tempsense_Rcal | 0x01);
  20831. udelay(5);
  20832. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20833. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20834. syn_tempprocsense_save);
  20835. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20836. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20837. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  20838. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20839. write_phy_reg(pi, 0x1ae, RSSIMultCoef0QPowerDet_save);
  20840. write_phy_reg(pi, 0x346, RfctrlOverride5_save);
  20841. write_phy_reg(pi, 0x347, RfctrlOverride6_save);
  20842. write_phy_reg(pi, 0x344, RfctrlMiscReg5_save);
  20843. write_phy_reg(pi, 0x345, RfctrlMiscReg5_save);
  20844. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20845. &auxADC_Vmid_save);
  20846. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20847. &auxADC_Av_save);
  20848. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20849. &auxADC_rssi_ctrlL_save);
  20850. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20851. &auxADC_rssi_ctrlH_save);
  20852. if (pi->sh->chip == BCMA_CHIP_ID_BCM5357) {
  20853. radio_temp[0] = (193 * (radio_temp[1] + radio_temp2[1])
  20854. + 88 * (auxADC_Vl) - 27111 +
  20855. 128) / 256;
  20856. } else {
  20857. radio_temp[0] = (179 * (radio_temp[1] + radio_temp2[1])
  20858. + 82 * (auxADC_Vl) - 28861 +
  20859. 128) / 256;
  20860. }
  20861. offset = (s16) pi->phy_tempsense_offset;
  20862. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20863. syn_tempprocsense_save =
  20864. read_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE);
  20865. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20866. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20867. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20868. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20869. gpioSel_save = read_phy_reg(pi, 0xca);
  20870. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  20871. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20872. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20873. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x05);
  20874. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20875. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20876. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x01);
  20877. else
  20878. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  20879. radio_temp[0] =
  20880. (126 * (radio_temp[1] + radio_temp2[1]) + 3987) / 64;
  20881. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE,
  20882. syn_tempprocsense_save);
  20883. write_phy_reg(pi, 0xca, gpioSel_save);
  20884. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20885. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20886. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  20887. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20888. offset = (s16) pi->phy_tempsense_offset;
  20889. } else {
  20890. pwrdet_rxtx_core1_save =
  20891. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  20892. pwrdet_rxtx_core2_save =
  20893. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  20894. core1_txrf_iqcal1_save =
  20895. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  20896. core1_txrf_iqcal2_save =
  20897. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  20898. core2_txrf_iqcal1_save =
  20899. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  20900. core2_txrf_iqcal2_save =
  20901. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  20902. pd_pll_ts_save = read_radio_reg(pi, RADIO_2055_PD_PLL_TS);
  20903. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20904. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20905. afectrlOverride_save = read_phy_reg(pi, 0xa5);
  20906. gpioSel_save = read_phy_reg(pi, 0xca);
  20907. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x01);
  20908. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x01);
  20909. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x08);
  20910. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x08);
  20911. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  20912. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  20913. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, 0x00);
  20914. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20915. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20916. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20917. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20918. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20919. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20920. radio_temp[0] = (radio_temp[0] + radio_temp2[0]);
  20921. radio_temp[1] = (radio_temp[1] + radio_temp2[1]);
  20922. radio_temp[2] = (radio_temp[2] + radio_temp2[2]);
  20923. radio_temp[3] = (radio_temp[3] + radio_temp2[3]);
  20924. radio_temp[0] =
  20925. (radio_temp[0] + radio_temp[1] + radio_temp[2] +
  20926. radio_temp[3]);
  20927. radio_temp[0] =
  20928. (radio_temp[0] +
  20929. (8 * 32)) * (950 - 350) / 63 + (350 * 8);
  20930. radio_temp[0] = (radio_temp[0] - (8 * 420)) / 38;
  20931. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  20932. pwrdet_rxtx_core1_save);
  20933. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  20934. pwrdet_rxtx_core2_save);
  20935. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  20936. core1_txrf_iqcal1_save);
  20937. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  20938. core2_txrf_iqcal1_save);
  20939. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  20940. core1_txrf_iqcal2_save);
  20941. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  20942. core2_txrf_iqcal2_save);
  20943. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, pd_pll_ts_save);
  20944. write_phy_reg(pi, 0xca, gpioSel_save);
  20945. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20946. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20947. write_phy_reg(pi, 0xa5, afectrlOverride_save);
  20948. }
  20949. return (s16) radio_temp[0] + offset;
  20950. }
  20951. static void
  20952. wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf)
  20953. {
  20954. u8 core;
  20955. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20956. if (rssi_type == NPHY_RSSI_SEL_NB) {
  20957. if (core == PHY_CORE_0) {
  20958. mod_radio_reg(pi,
  20959. RADIO_2055_CORE1_B0_NBRSSI_VCM,
  20960. RADIO_2055_NBRSSI_VCM_I_MASK,
  20961. vcm_buf[2 *
  20962. core] <<
  20963. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  20964. mod_radio_reg(pi,
  20965. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  20966. RADIO_2055_NBRSSI_VCM_Q_MASK,
  20967. vcm_buf[2 * core +
  20968. 1] <<
  20969. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  20970. } else {
  20971. mod_radio_reg(pi,
  20972. RADIO_2055_CORE2_B0_NBRSSI_VCM,
  20973. RADIO_2055_NBRSSI_VCM_I_MASK,
  20974. vcm_buf[2 *
  20975. core] <<
  20976. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  20977. mod_radio_reg(pi,
  20978. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  20979. RADIO_2055_NBRSSI_VCM_Q_MASK,
  20980. vcm_buf[2 * core +
  20981. 1] <<
  20982. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  20983. }
  20984. } else {
  20985. if (core == PHY_CORE_0)
  20986. mod_radio_reg(pi,
  20987. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  20988. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  20989. vcm_buf[2 *
  20990. core] <<
  20991. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  20992. else
  20993. mod_radio_reg(pi,
  20994. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  20995. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  20996. vcm_buf[2 *
  20997. core] <<
  20998. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  20999. }
  21000. }
  21001. }
  21002. static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi)
  21003. {
  21004. u16 classif_state;
  21005. u16 clip_state[2];
  21006. u16 clip_off[] = { 0xffff, 0xffff };
  21007. s32 target_code;
  21008. u8 vcm, min_vcm;
  21009. u8 vcm_final = 0;
  21010. u8 result_idx;
  21011. s32 poll_results[8][4] = {
  21012. {0, 0, 0, 0},
  21013. {0, 0, 0, 0},
  21014. {0, 0, 0, 0},
  21015. {0, 0, 0, 0},
  21016. {0, 0, 0, 0},
  21017. {0, 0, 0, 0},
  21018. {0, 0, 0, 0},
  21019. {0, 0, 0, 0}
  21020. };
  21021. s32 poll_result_core[4] = { 0, 0, 0, 0 };
  21022. s32 min_d = NPHY_RSSICAL_MAXD, curr_d;
  21023. s32 fine_digital_offset[4];
  21024. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21025. s32 min_poll;
  21026. u8 vcm_level_max;
  21027. u8 core;
  21028. u8 wb_cnt;
  21029. u8 rssi_type;
  21030. u16 NPHY_Rfctrlintc1_save, NPHY_Rfctrlintc2_save;
  21031. u16 NPHY_AfectrlOverride1_save, NPHY_AfectrlOverride2_save;
  21032. u16 NPHY_AfectrlCore1_save, NPHY_AfectrlCore2_save;
  21033. u16 NPHY_RfctrlOverride0_save, NPHY_RfctrlOverride1_save;
  21034. u16 NPHY_RfctrlOverrideAux0_save, NPHY_RfctrlOverrideAux1_save;
  21035. u16 NPHY_RfctrlCmd_save;
  21036. u16 NPHY_RfctrlMiscReg1_save, NPHY_RfctrlMiscReg2_save;
  21037. u16 NPHY_RfctrlRSSIOTHERS1_save, NPHY_RfctrlRSSIOTHERS2_save;
  21038. u8 rxcore_state;
  21039. u16 NPHY_REV7_RfctrlOverride3_save, NPHY_REV7_RfctrlOverride4_save;
  21040. u16 NPHY_REV7_RfctrlOverride5_save, NPHY_REV7_RfctrlOverride6_save;
  21041. u16 NPHY_REV7_RfctrlMiscReg3_save, NPHY_REV7_RfctrlMiscReg4_save;
  21042. u16 NPHY_REV7_RfctrlMiscReg5_save, NPHY_REV7_RfctrlMiscReg6_save;
  21043. NPHY_REV7_RfctrlOverride3_save =
  21044. NPHY_REV7_RfctrlOverride4_save =
  21045. NPHY_REV7_RfctrlOverride5_save =
  21046. NPHY_REV7_RfctrlOverride6_save =
  21047. NPHY_REV7_RfctrlMiscReg3_save =
  21048. NPHY_REV7_RfctrlMiscReg4_save =
  21049. NPHY_REV7_RfctrlMiscReg5_save =
  21050. NPHY_REV7_RfctrlMiscReg6_save = 0;
  21051. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21052. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21053. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21054. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21055. NPHY_Rfctrlintc1_save = read_phy_reg(pi, 0x91);
  21056. NPHY_Rfctrlintc2_save = read_phy_reg(pi, 0x92);
  21057. NPHY_AfectrlOverride1_save = read_phy_reg(pi, 0x8f);
  21058. NPHY_AfectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21059. NPHY_AfectrlCore1_save = read_phy_reg(pi, 0xa6);
  21060. NPHY_AfectrlCore2_save = read_phy_reg(pi, 0xa7);
  21061. NPHY_RfctrlOverride0_save = read_phy_reg(pi, 0xe7);
  21062. NPHY_RfctrlOverride1_save = read_phy_reg(pi, 0xec);
  21063. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21064. NPHY_REV7_RfctrlOverride3_save = read_phy_reg(pi, 0x342);
  21065. NPHY_REV7_RfctrlOverride4_save = read_phy_reg(pi, 0x343);
  21066. NPHY_REV7_RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  21067. NPHY_REV7_RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  21068. }
  21069. NPHY_RfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  21070. NPHY_RfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  21071. NPHY_RfctrlCmd_save = read_phy_reg(pi, 0x78);
  21072. NPHY_RfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  21073. NPHY_RfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  21074. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21075. NPHY_REV7_RfctrlMiscReg3_save = read_phy_reg(pi, 0x340);
  21076. NPHY_REV7_RfctrlMiscReg4_save = read_phy_reg(pi, 0x341);
  21077. NPHY_REV7_RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  21078. NPHY_REV7_RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  21079. }
  21080. NPHY_RfctrlRSSIOTHERS1_save = read_phy_reg(pi, 0x7a);
  21081. NPHY_RfctrlRSSIOTHERS2_save = read_phy_reg(pi, 0x7d);
  21082. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_OFF, 0,
  21083. RADIO_MIMO_CORESEL_ALLRXTX);
  21084. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_TRSW, 1,
  21085. RADIO_MIMO_CORESEL_ALLRXTX);
  21086. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21087. wlc_phy_rfctrl_override_1tomany_nphy(
  21088. pi,
  21089. NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,
  21090. 0, 0, 0);
  21091. else
  21092. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0, 0);
  21093. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21094. wlc_phy_rfctrl_override_1tomany_nphy(
  21095. pi,
  21096. NPHY_REV7_RfctrlOverride_cmd_rx_pu,
  21097. 1, 0, 0);
  21098. else
  21099. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0, 0);
  21100. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21101. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  21102. 1, 0, 0,
  21103. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21104. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 6), 1, 0, 0,
  21105. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21106. } else {
  21107. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 7), 1, 0, 0);
  21108. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 6), 1, 0, 0);
  21109. }
  21110. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21111. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21112. wlc_phy_rfctrl_override_nphy_rev7(
  21113. pi, (0x1 << 5),
  21114. 0, 0, 0,
  21115. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21116. wlc_phy_rfctrl_override_nphy_rev7(
  21117. pi, (0x1 << 4), 1, 0,
  21118. 0,
  21119. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21120. } else {
  21121. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 0, 0, 0);
  21122. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 1, 0, 0);
  21123. }
  21124. } else {
  21125. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21126. wlc_phy_rfctrl_override_nphy_rev7(
  21127. pi, (0x1 << 4),
  21128. 0, 0, 0,
  21129. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21130. wlc_phy_rfctrl_override_nphy_rev7(
  21131. pi, (0x1 << 5), 1, 0,
  21132. 0,
  21133. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21134. } else {
  21135. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 0, 0, 0);
  21136. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 1, 0, 0);
  21137. }
  21138. }
  21139. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  21140. (struct brcms_phy_pub *) pi);
  21141. vcm_level_max = 8;
  21142. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21143. if ((rxcore_state & (1 << core)) == 0)
  21144. continue;
  21145. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21146. core ==
  21147. PHY_CORE_0 ?
  21148. RADIO_MIMO_CORESEL_CORE1 :
  21149. RADIO_MIMO_CORESEL_CORE2,
  21150. NPHY_RAIL_I, NPHY_RSSI_SEL_NB);
  21151. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21152. core ==
  21153. PHY_CORE_0 ?
  21154. RADIO_MIMO_CORESEL_CORE1 :
  21155. RADIO_MIMO_CORESEL_CORE2,
  21156. NPHY_RAIL_Q, NPHY_RSSI_SEL_NB);
  21157. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21158. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21159. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21160. RADIO_2057_NB_MASTER_CORE0 :
  21161. RADIO_2057_NB_MASTER_CORE1,
  21162. RADIO_2057_VCM_MASK, vcm);
  21163. else
  21164. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21165. ((core ==
  21166. PHY_CORE_0) ? RADIO_2056_RX0 :
  21167. RADIO_2056_RX1),
  21168. RADIO_2056_VCM_MASK,
  21169. vcm << RADIO_2056_RSSI_VCM_SHIFT);
  21170. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_NB,
  21171. &poll_results[vcm][0],
  21172. NPHY_RSSICAL_NPOLL);
  21173. }
  21174. for (result_idx = 0; result_idx < 4; result_idx++) {
  21175. if ((core == result_idx / 2) &&
  21176. (result_idx % 2 == 0)) {
  21177. min_d = NPHY_RSSICAL_MAXD;
  21178. min_vcm = 0;
  21179. min_poll =
  21180. NPHY_RSSICAL_MAXREAD *
  21181. NPHY_RSSICAL_NPOLL + 1;
  21182. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21183. curr_d =
  21184. poll_results[vcm][result_idx] *
  21185. poll_results[vcm][result_idx] +
  21186. poll_results[vcm][result_idx +
  21187. 1] *
  21188. poll_results[vcm][result_idx +
  21189. 1];
  21190. if (curr_d < min_d) {
  21191. min_d = curr_d;
  21192. min_vcm = vcm;
  21193. }
  21194. if (poll_results[vcm][result_idx] <
  21195. min_poll)
  21196. min_poll =
  21197. poll_results[vcm]
  21198. [result_idx];
  21199. }
  21200. vcm_final = min_vcm;
  21201. poll_results_min[result_idx] = min_poll;
  21202. }
  21203. }
  21204. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21205. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21206. RADIO_2057_NB_MASTER_CORE0 :
  21207. RADIO_2057_NB_MASTER_CORE1,
  21208. RADIO_2057_VCM_MASK, vcm_final);
  21209. else
  21210. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21211. ((core ==
  21212. PHY_CORE_0) ? RADIO_2056_RX0 :
  21213. RADIO_2056_RX1), RADIO_2056_VCM_MASK,
  21214. vcm_final << RADIO_2056_RSSI_VCM_SHIFT);
  21215. for (result_idx = 0; result_idx < 4; result_idx++) {
  21216. if (core == result_idx / 2) {
  21217. fine_digital_offset[result_idx] =
  21218. (NPHY_RSSICAL_NB_TARGET *
  21219. NPHY_RSSICAL_NPOLL) -
  21220. poll_results[vcm_final][result_idx];
  21221. if (fine_digital_offset[result_idx] < 0) {
  21222. fine_digital_offset[result_idx] =
  21223. abs(fine_digital_offset
  21224. [result_idx]);
  21225. fine_digital_offset[result_idx] +=
  21226. (NPHY_RSSICAL_NPOLL / 2);
  21227. fine_digital_offset[result_idx] /=
  21228. NPHY_RSSICAL_NPOLL;
  21229. fine_digital_offset[result_idx] =
  21230. -fine_digital_offset[
  21231. result_idx];
  21232. } else {
  21233. fine_digital_offset[result_idx] +=
  21234. (NPHY_RSSICAL_NPOLL / 2);
  21235. fine_digital_offset[result_idx] /=
  21236. NPHY_RSSICAL_NPOLL;
  21237. }
  21238. if (poll_results_min[result_idx] ==
  21239. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21240. fine_digital_offset[result_idx] =
  21241. (NPHY_RSSICAL_NB_TARGET -
  21242. NPHY_RSSICAL_MAXREAD - 1);
  21243. wlc_phy_scale_offset_rssi_nphy(
  21244. pi, 0x0,
  21245. (s8)
  21246. fine_digital_offset
  21247. [result_idx],
  21248. (result_idx / 2 == 0) ?
  21249. RADIO_MIMO_CORESEL_CORE1 :
  21250. RADIO_MIMO_CORESEL_CORE2,
  21251. (result_idx % 2 == 0) ?
  21252. NPHY_RAIL_I : NPHY_RAIL_Q,
  21253. NPHY_RSSI_SEL_NB);
  21254. }
  21255. }
  21256. }
  21257. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21258. if ((rxcore_state & (1 << core)) == 0)
  21259. continue;
  21260. for (wb_cnt = 0; wb_cnt < 2; wb_cnt++) {
  21261. if (wb_cnt == 0) {
  21262. rssi_type = NPHY_RSSI_SEL_W1;
  21263. target_code = NPHY_RSSICAL_W1_TARGET_REV3;
  21264. } else {
  21265. rssi_type = NPHY_RSSI_SEL_W2;
  21266. target_code = NPHY_RSSICAL_W2_TARGET_REV3;
  21267. }
  21268. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21269. core ==
  21270. PHY_CORE_0 ?
  21271. RADIO_MIMO_CORESEL_CORE1
  21272. :
  21273. RADIO_MIMO_CORESEL_CORE2,
  21274. NPHY_RAIL_I, rssi_type);
  21275. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21276. core ==
  21277. PHY_CORE_0 ?
  21278. RADIO_MIMO_CORESEL_CORE1
  21279. :
  21280. RADIO_MIMO_CORESEL_CORE2,
  21281. NPHY_RAIL_Q, rssi_type);
  21282. wlc_phy_poll_rssi_nphy(pi, rssi_type, poll_result_core,
  21283. NPHY_RSSICAL_NPOLL);
  21284. for (result_idx = 0; result_idx < 4; result_idx++) {
  21285. if (core == result_idx / 2) {
  21286. fine_digital_offset[result_idx] =
  21287. (target_code *
  21288. NPHY_RSSICAL_NPOLL) -
  21289. poll_result_core[result_idx];
  21290. if (fine_digital_offset[result_idx] <
  21291. 0) {
  21292. fine_digital_offset[result_idx]
  21293. = abs(
  21294. fine_digital_offset
  21295. [result_idx]);
  21296. fine_digital_offset[result_idx]
  21297. += (NPHY_RSSICAL_NPOLL
  21298. / 2);
  21299. fine_digital_offset[result_idx]
  21300. /= NPHY_RSSICAL_NPOLL;
  21301. fine_digital_offset[result_idx]
  21302. = -fine_digital_offset
  21303. [result_idx];
  21304. } else {
  21305. fine_digital_offset[result_idx]
  21306. += (NPHY_RSSICAL_NPOLL
  21307. / 2);
  21308. fine_digital_offset[result_idx]
  21309. /= NPHY_RSSICAL_NPOLL;
  21310. }
  21311. wlc_phy_scale_offset_rssi_nphy(
  21312. pi, 0x0,
  21313. (s8)
  21314. fine_digital_offset
  21315. [core *
  21316. 2],
  21317. (core == PHY_CORE_0) ?
  21318. RADIO_MIMO_CORESEL_CORE1 :
  21319. RADIO_MIMO_CORESEL_CORE2,
  21320. (result_idx % 2 == 0) ?
  21321. NPHY_RAIL_I :
  21322. NPHY_RAIL_Q,
  21323. rssi_type);
  21324. }
  21325. }
  21326. }
  21327. }
  21328. write_phy_reg(pi, 0x91, NPHY_Rfctrlintc1_save);
  21329. write_phy_reg(pi, 0x92, NPHY_Rfctrlintc2_save);
  21330. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  21331. mod_phy_reg(pi, 0xe7, (0x1 << 0), 1 << 0);
  21332. mod_phy_reg(pi, 0x78, (0x1 << 0), 1 << 0);
  21333. mod_phy_reg(pi, 0xe7, (0x1 << 0), 0);
  21334. mod_phy_reg(pi, 0xec, (0x1 << 0), 1 << 0);
  21335. mod_phy_reg(pi, 0x78, (0x1 << 1), 1 << 1);
  21336. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  21337. write_phy_reg(pi, 0x8f, NPHY_AfectrlOverride1_save);
  21338. write_phy_reg(pi, 0xa5, NPHY_AfectrlOverride2_save);
  21339. write_phy_reg(pi, 0xa6, NPHY_AfectrlCore1_save);
  21340. write_phy_reg(pi, 0xa7, NPHY_AfectrlCore2_save);
  21341. write_phy_reg(pi, 0xe7, NPHY_RfctrlOverride0_save);
  21342. write_phy_reg(pi, 0xec, NPHY_RfctrlOverride1_save);
  21343. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21344. write_phy_reg(pi, 0x342, NPHY_REV7_RfctrlOverride3_save);
  21345. write_phy_reg(pi, 0x343, NPHY_REV7_RfctrlOverride4_save);
  21346. write_phy_reg(pi, 0x346, NPHY_REV7_RfctrlOverride5_save);
  21347. write_phy_reg(pi, 0x347, NPHY_REV7_RfctrlOverride6_save);
  21348. }
  21349. write_phy_reg(pi, 0xe5, NPHY_RfctrlOverrideAux0_save);
  21350. write_phy_reg(pi, 0xe6, NPHY_RfctrlOverrideAux1_save);
  21351. write_phy_reg(pi, 0x78, NPHY_RfctrlCmd_save);
  21352. write_phy_reg(pi, 0xf9, NPHY_RfctrlMiscReg1_save);
  21353. write_phy_reg(pi, 0xfb, NPHY_RfctrlMiscReg2_save);
  21354. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21355. write_phy_reg(pi, 0x340, NPHY_REV7_RfctrlMiscReg3_save);
  21356. write_phy_reg(pi, 0x341, NPHY_REV7_RfctrlMiscReg4_save);
  21357. write_phy_reg(pi, 0x344, NPHY_REV7_RfctrlMiscReg5_save);
  21358. write_phy_reg(pi, 0x345, NPHY_REV7_RfctrlMiscReg6_save);
  21359. }
  21360. write_phy_reg(pi, 0x7a, NPHY_RfctrlRSSIOTHERS1_save);
  21361. write_phy_reg(pi, 0x7d, NPHY_RfctrlRSSIOTHERS2_save);
  21362. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  21363. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21364. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21365. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21366. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21367. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21368. } else {
  21369. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21370. read_radio_reg(pi,
  21371. RADIO_2056_RX_RSSI_MISC |
  21372. RADIO_2056_RX0);
  21373. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21374. read_radio_reg(pi,
  21375. RADIO_2056_RX_RSSI_MISC |
  21376. RADIO_2056_RX1);
  21377. }
  21378. pi->rssical_cache.rssical_phyregs_2G[0] =
  21379. read_phy_reg(pi, 0x1a6);
  21380. pi->rssical_cache.rssical_phyregs_2G[1] =
  21381. read_phy_reg(pi, 0x1ac);
  21382. pi->rssical_cache.rssical_phyregs_2G[2] =
  21383. read_phy_reg(pi, 0x1b2);
  21384. pi->rssical_cache.rssical_phyregs_2G[3] =
  21385. read_phy_reg(pi, 0x1b8);
  21386. pi->rssical_cache.rssical_phyregs_2G[4] =
  21387. read_phy_reg(pi, 0x1a4);
  21388. pi->rssical_cache.rssical_phyregs_2G[5] =
  21389. read_phy_reg(pi, 0x1aa);
  21390. pi->rssical_cache.rssical_phyregs_2G[6] =
  21391. read_phy_reg(pi, 0x1b0);
  21392. pi->rssical_cache.rssical_phyregs_2G[7] =
  21393. read_phy_reg(pi, 0x1b6);
  21394. pi->rssical_cache.rssical_phyregs_2G[8] =
  21395. read_phy_reg(pi, 0x1a5);
  21396. pi->rssical_cache.rssical_phyregs_2G[9] =
  21397. read_phy_reg(pi, 0x1ab);
  21398. pi->rssical_cache.rssical_phyregs_2G[10] =
  21399. read_phy_reg(pi, 0x1b1);
  21400. pi->rssical_cache.rssical_phyregs_2G[11] =
  21401. read_phy_reg(pi, 0x1b7);
  21402. pi->nphy_rssical_chanspec_2G = pi->radio_chanspec;
  21403. } else {
  21404. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21405. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21406. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21407. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21408. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21409. } else {
  21410. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21411. read_radio_reg(pi,
  21412. RADIO_2056_RX_RSSI_MISC |
  21413. RADIO_2056_RX0);
  21414. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21415. read_radio_reg(pi,
  21416. RADIO_2056_RX_RSSI_MISC |
  21417. RADIO_2056_RX1);
  21418. }
  21419. pi->rssical_cache.rssical_phyregs_5G[0] =
  21420. read_phy_reg(pi, 0x1a6);
  21421. pi->rssical_cache.rssical_phyregs_5G[1] =
  21422. read_phy_reg(pi, 0x1ac);
  21423. pi->rssical_cache.rssical_phyregs_5G[2] =
  21424. read_phy_reg(pi, 0x1b2);
  21425. pi->rssical_cache.rssical_phyregs_5G[3] =
  21426. read_phy_reg(pi, 0x1b8);
  21427. pi->rssical_cache.rssical_phyregs_5G[4] =
  21428. read_phy_reg(pi, 0x1a4);
  21429. pi->rssical_cache.rssical_phyregs_5G[5] =
  21430. read_phy_reg(pi, 0x1aa);
  21431. pi->rssical_cache.rssical_phyregs_5G[6] =
  21432. read_phy_reg(pi, 0x1b0);
  21433. pi->rssical_cache.rssical_phyregs_5G[7] =
  21434. read_phy_reg(pi, 0x1b6);
  21435. pi->rssical_cache.rssical_phyregs_5G[8] =
  21436. read_phy_reg(pi, 0x1a5);
  21437. pi->rssical_cache.rssical_phyregs_5G[9] =
  21438. read_phy_reg(pi, 0x1ab);
  21439. pi->rssical_cache.rssical_phyregs_5G[10] =
  21440. read_phy_reg(pi, 0x1b1);
  21441. pi->rssical_cache.rssical_phyregs_5G[11] =
  21442. read_phy_reg(pi, 0x1b7);
  21443. pi->nphy_rssical_chanspec_5G = pi->radio_chanspec;
  21444. }
  21445. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21446. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21447. }
  21448. static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
  21449. {
  21450. s32 target_code;
  21451. u16 classif_state;
  21452. u16 clip_state[2];
  21453. u16 rssi_ctrl_state[2], pd_state[2];
  21454. u16 rfctrlintc_state[2], rfpdcorerxtx_state[2];
  21455. u16 rfctrlintc_override_val;
  21456. u16 clip_off[] = { 0xffff, 0xffff };
  21457. u16 rf_pd_val, pd_mask, rssi_ctrl_mask;
  21458. u8 vcm, min_vcm, vcm_tmp[4];
  21459. u8 vcm_final[4] = { 0, 0, 0, 0 };
  21460. u8 result_idx, ctr;
  21461. s32 poll_results[4][4] = {
  21462. {0, 0, 0, 0},
  21463. {0, 0, 0, 0},
  21464. {0, 0, 0, 0},
  21465. {0, 0, 0, 0}
  21466. };
  21467. s32 poll_miniq[4][2] = {
  21468. {0, 0},
  21469. {0, 0},
  21470. {0, 0},
  21471. {0, 0}
  21472. };
  21473. s32 min_d, curr_d;
  21474. s32 fine_digital_offset[4];
  21475. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21476. s32 min_poll;
  21477. switch (rssi_type) {
  21478. case NPHY_RSSI_SEL_NB:
  21479. target_code = NPHY_RSSICAL_NB_TARGET;
  21480. break;
  21481. case NPHY_RSSI_SEL_W1:
  21482. target_code = NPHY_RSSICAL_W1_TARGET;
  21483. break;
  21484. case NPHY_RSSI_SEL_W2:
  21485. target_code = NPHY_RSSICAL_W2_TARGET;
  21486. break;
  21487. default:
  21488. return;
  21489. }
  21490. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21491. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21492. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21493. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21494. rf_pd_val = (rssi_type == NPHY_RSSI_SEL_NB) ? 0x6 : 0x4;
  21495. rfctrlintc_override_val =
  21496. CHSPEC_IS5G(pi->radio_chanspec) ? 0x140 : 0x110;
  21497. rfctrlintc_state[0] = read_phy_reg(pi, 0x91);
  21498. rfpdcorerxtx_state[0] = read_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX);
  21499. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  21500. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rf_pd_val);
  21501. rfctrlintc_state[1] = read_phy_reg(pi, 0x92);
  21502. rfpdcorerxtx_state[1] = read_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX);
  21503. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  21504. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rf_pd_val);
  21505. pd_mask = RADIO_2055_NBRSSI_PD | RADIO_2055_WBRSSI_G1_PD |
  21506. RADIO_2055_WBRSSI_G2_PD;
  21507. pd_state[0] =
  21508. read_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC) & pd_mask;
  21509. pd_state[1] =
  21510. read_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC) & pd_mask;
  21511. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, 0);
  21512. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, 0);
  21513. rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  21514. RADIO_2055_WBRSSI_G2_SEL;
  21515. rssi_ctrl_state[0] =
  21516. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE1) & rssi_ctrl_mask;
  21517. rssi_ctrl_state[1] =
  21518. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE2) & rssi_ctrl_mask;
  21519. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  21520. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21521. NPHY_RAIL_I, rssi_type);
  21522. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21523. NPHY_RAIL_Q, rssi_type);
  21524. for (vcm = 0; vcm < 4; vcm++) {
  21525. vcm_tmp[0] = vcm_tmp[1] = vcm_tmp[2] = vcm_tmp[3] = vcm;
  21526. if (rssi_type != NPHY_RSSI_SEL_W2)
  21527. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_tmp);
  21528. wlc_phy_poll_rssi_nphy(pi, rssi_type, &poll_results[vcm][0],
  21529. NPHY_RSSICAL_NPOLL);
  21530. if ((rssi_type == NPHY_RSSI_SEL_W1)
  21531. || (rssi_type == NPHY_RSSI_SEL_W2)) {
  21532. for (ctr = 0; ctr < 2; ctr++)
  21533. poll_miniq[vcm][ctr] =
  21534. min(poll_results[vcm][ctr * 2 + 0],
  21535. poll_results[vcm][ctr * 2 + 1]);
  21536. }
  21537. }
  21538. for (result_idx = 0; result_idx < 4; result_idx++) {
  21539. min_d = NPHY_RSSICAL_MAXD;
  21540. min_vcm = 0;
  21541. min_poll = NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL + 1;
  21542. for (vcm = 0; vcm < 4; vcm++) {
  21543. curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ?
  21544. poll_results[vcm][result_idx] :
  21545. poll_miniq[vcm][result_idx / 2]) -
  21546. (target_code * NPHY_RSSICAL_NPOLL));
  21547. if (curr_d < min_d) {
  21548. min_d = curr_d;
  21549. min_vcm = vcm;
  21550. }
  21551. if (poll_results[vcm][result_idx] < min_poll)
  21552. min_poll = poll_results[vcm][result_idx];
  21553. }
  21554. vcm_final[result_idx] = min_vcm;
  21555. poll_results_min[result_idx] = min_poll;
  21556. }
  21557. if (rssi_type != NPHY_RSSI_SEL_W2)
  21558. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_final);
  21559. for (result_idx = 0; result_idx < 4; result_idx++) {
  21560. fine_digital_offset[result_idx] =
  21561. (target_code * NPHY_RSSICAL_NPOLL) -
  21562. poll_results[vcm_final[result_idx]][result_idx];
  21563. if (fine_digital_offset[result_idx] < 0) {
  21564. fine_digital_offset[result_idx] =
  21565. abs(fine_digital_offset[result_idx]);
  21566. fine_digital_offset[result_idx] +=
  21567. (NPHY_RSSICAL_NPOLL / 2);
  21568. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21569. fine_digital_offset[result_idx] =
  21570. -fine_digital_offset[result_idx];
  21571. } else {
  21572. fine_digital_offset[result_idx] +=
  21573. (NPHY_RSSICAL_NPOLL / 2);
  21574. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21575. }
  21576. if (poll_results_min[result_idx] ==
  21577. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21578. fine_digital_offset[result_idx] =
  21579. (target_code - NPHY_RSSICAL_MAXREAD - 1);
  21580. wlc_phy_scale_offset_rssi_nphy(pi, 0x0,
  21581. (s8)
  21582. fine_digital_offset[result_idx],
  21583. (result_idx / 2 ==
  21584. 0) ? RADIO_MIMO_CORESEL_CORE1 :
  21585. RADIO_MIMO_CORESEL_CORE2,
  21586. (result_idx % 2 ==
  21587. 0) ? NPHY_RAIL_I : NPHY_RAIL_Q,
  21588. rssi_type);
  21589. }
  21590. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, pd_state[0]);
  21591. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, pd_state[1]);
  21592. if (rssi_ctrl_state[0] == RADIO_2055_NBRSSI_SEL)
  21593. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21594. NPHY_RSSI_SEL_NB);
  21595. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G1_SEL)
  21596. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21597. NPHY_RSSI_SEL_W1);
  21598. else /* RADIO_2055_WBRSSI_G2_SEL */
  21599. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21600. NPHY_RSSI_SEL_W2);
  21601. if (rssi_ctrl_state[1] == RADIO_2055_NBRSSI_SEL)
  21602. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21603. NPHY_RSSI_SEL_NB);
  21604. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G1_SEL)
  21605. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21606. NPHY_RSSI_SEL_W1);
  21607. else /* RADIO_2055_WBRSSI_G1_SEL */
  21608. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21609. NPHY_RSSI_SEL_W2);
  21610. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, rssi_type);
  21611. write_phy_reg(pi, 0x91, rfctrlintc_state[0]);
  21612. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rfpdcorerxtx_state[0]);
  21613. write_phy_reg(pi, 0x92, rfctrlintc_state[1]);
  21614. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rfpdcorerxtx_state[1]);
  21615. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21616. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21617. wlc_phy_resetcca_nphy(pi);
  21618. }
  21619. void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi)
  21620. {
  21621. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21622. wlc_phy_rssi_cal_nphy_rev3(pi);
  21623. } else {
  21624. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_NB);
  21625. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W1);
  21626. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W2);
  21627. }
  21628. }
  21629. int
  21630. wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh)
  21631. {
  21632. s16 rxpwr, rxpwr0, rxpwr1;
  21633. s16 phyRx0_l, phyRx2_l;
  21634. rxpwr = 0;
  21635. rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK;
  21636. rxpwr1 = (rxh->PhyRxStatus_1 & PRXS1_nphy_PWR1_MASK) >> 8;
  21637. if (rxpwr0 > 127)
  21638. rxpwr0 -= 256;
  21639. if (rxpwr1 > 127)
  21640. rxpwr1 -= 256;
  21641. phyRx0_l = rxh->PhyRxStatus_0 & 0x00ff;
  21642. phyRx2_l = rxh->PhyRxStatus_2 & 0x00ff;
  21643. if (phyRx2_l > 127)
  21644. phyRx2_l -= 256;
  21645. if (((rxpwr0 == 16) || (rxpwr0 == 32))) {
  21646. rxpwr0 = rxpwr1;
  21647. rxpwr1 = phyRx2_l;
  21648. }
  21649. if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MAX)
  21650. rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1;
  21651. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MIN)
  21652. rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1;
  21653. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_AVG)
  21654. rxpwr = (rxpwr0 + rxpwr1) >> 1;
  21655. return rxpwr;
  21656. }
  21657. static void
  21658. wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf,
  21659. u16 num_samps)
  21660. {
  21661. u16 t;
  21662. u32 *data_buf = NULL;
  21663. data_buf = kmalloc_array(num_samps, sizeof(u32), GFP_ATOMIC);
  21664. if (data_buf == NULL)
  21665. return;
  21666. if (pi->phyhang_avoid)
  21667. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21668. for (t = 0; t < num_samps; t++)
  21669. data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) |
  21670. (((unsigned int)tone_buf[t].q) & 0x3ff);
  21671. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SAMPLEPLAY, num_samps, 0, 32,
  21672. data_buf);
  21673. kfree(data_buf);
  21674. if (pi->phyhang_avoid)
  21675. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21676. }
  21677. static u16
  21678. wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21679. u8 dac_test_mode)
  21680. {
  21681. u8 phy_bw, is_phybw40;
  21682. u16 num_samps, t, spur;
  21683. s32 theta = 0, rot = 0;
  21684. u32 tbl_len;
  21685. struct cordic_iq *tone_buf = NULL;
  21686. is_phybw40 = CHSPEC_IS40(pi->radio_chanspec);
  21687. phy_bw = (is_phybw40 == 1) ? 40 : 20;
  21688. tbl_len = (phy_bw << 3);
  21689. if (dac_test_mode == 1) {
  21690. spur = read_phy_reg(pi, 0x01);
  21691. spur = (spur >> 15) & 1;
  21692. phy_bw = (spur == 1) ? 82 : 80;
  21693. phy_bw = (is_phybw40 == 1) ? (phy_bw << 1) : phy_bw;
  21694. tbl_len = (phy_bw << 1);
  21695. }
  21696. tone_buf = kmalloc_array(tbl_len, sizeof(struct cordic_iq),
  21697. GFP_ATOMIC);
  21698. if (tone_buf == NULL)
  21699. return 0;
  21700. num_samps = (u16) tbl_len;
  21701. rot = ((f_kHz * 36) / phy_bw) / 100;
  21702. theta = 0;
  21703. for (t = 0; t < num_samps; t++) {
  21704. tone_buf[t] = cordic_calc_iq(theta);
  21705. theta += rot;
  21706. tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val);
  21707. tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val);
  21708. }
  21709. wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps);
  21710. kfree(tone_buf);
  21711. return num_samps;
  21712. }
  21713. static void
  21714. wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops,
  21715. u16 wait, u8 iqmode, u8 dac_test_mode,
  21716. bool modify_bbmult)
  21717. {
  21718. u16 bb_mult;
  21719. u8 phy_bw, sample_cmd;
  21720. u16 orig_RfseqCoreActv;
  21721. u16 lpf_bw_ctl_override3, lpf_bw_ctl_override4, lpf_bw_ctl_miscreg3,
  21722. lpf_bw_ctl_miscreg4;
  21723. if (pi->phyhang_avoid)
  21724. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21725. phy_bw = 20;
  21726. if (CHSPEC_IS40(pi->radio_chanspec))
  21727. phy_bw = 40;
  21728. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21729. lpf_bw_ctl_override3 = read_phy_reg(pi, 0x342) & (0x1 << 7);
  21730. lpf_bw_ctl_override4 = read_phy_reg(pi, 0x343) & (0x1 << 7);
  21731. if (lpf_bw_ctl_override3 | lpf_bw_ctl_override4) {
  21732. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21733. (0x7 << 8);
  21734. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21735. (0x7 << 8);
  21736. } else {
  21737. wlc_phy_rfctrl_override_nphy_rev7(
  21738. pi,
  21739. (0x1 << 7),
  21740. wlc_phy_read_lpf_bw_ctl_nphy
  21741. (pi,
  21742. 0), 0, 0,
  21743. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21744. pi->nphy_sample_play_lpf_bw_ctl_ovr = true;
  21745. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21746. (0x7 << 8);
  21747. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21748. (0x7 << 8);
  21749. }
  21750. }
  21751. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) == 0) {
  21752. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21753. &bb_mult);
  21754. pi->nphy_bb_mult_save =
  21755. BB_MULT_VALID_MASK | (bb_mult & BB_MULT_MASK);
  21756. }
  21757. if (modify_bbmult) {
  21758. bb_mult = (phy_bw == 20) ? 100 : 71;
  21759. bb_mult = (bb_mult << 8) + bb_mult;
  21760. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21761. &bb_mult);
  21762. }
  21763. if (pi->phyhang_avoid)
  21764. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21765. write_phy_reg(pi, 0xc6, num_samps - 1);
  21766. if (loops != 0xffff)
  21767. write_phy_reg(pi, 0xc4, loops - 1);
  21768. else
  21769. write_phy_reg(pi, 0xc4, loops);
  21770. write_phy_reg(pi, 0xc5, wait);
  21771. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  21772. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  21773. if (iqmode) {
  21774. and_phy_reg(pi, 0xc2, 0x7FFF);
  21775. or_phy_reg(pi, 0xc2, 0x8000);
  21776. } else {
  21777. sample_cmd = (dac_test_mode == 1) ? 0x5 : 0x1;
  21778. write_phy_reg(pi, 0xc3, sample_cmd);
  21779. }
  21780. SPINWAIT(((read_phy_reg(pi, 0xa4) & 0x1) == 1), 1000);
  21781. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  21782. }
  21783. int
  21784. wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21785. u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
  21786. {
  21787. u16 num_samps;
  21788. u16 loops = 0xffff;
  21789. u16 wait = 0;
  21790. num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val,
  21791. dac_test_mode);
  21792. if (num_samps == 0)
  21793. return -EBADE;
  21794. wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode,
  21795. dac_test_mode, modify_bbmult);
  21796. return 0;
  21797. }
  21798. void wlc_phy_stopplayback_nphy(struct brcms_phy *pi)
  21799. {
  21800. u16 playback_status;
  21801. u16 bb_mult;
  21802. if (pi->phyhang_avoid)
  21803. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21804. playback_status = read_phy_reg(pi, 0xc7);
  21805. if (playback_status & 0x1)
  21806. or_phy_reg(pi, 0xc3, NPHY_sampleCmd_STOP);
  21807. else if (playback_status & 0x2)
  21808. and_phy_reg(pi, 0xc2,
  21809. (u16) ~NPHY_iqloCalCmdGctl_IQLO_CAL_EN);
  21810. and_phy_reg(pi, 0xc3, (u16) ~(0x1 << 2));
  21811. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) != 0) {
  21812. bb_mult = pi->nphy_bb_mult_save & BB_MULT_MASK;
  21813. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21814. &bb_mult);
  21815. pi->nphy_bb_mult_save = 0;
  21816. }
  21817. if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) {
  21818. if (pi->nphy_sample_play_lpf_bw_ctl_ovr) {
  21819. wlc_phy_rfctrl_override_nphy_rev7(
  21820. pi,
  21821. (0x1 << 7),
  21822. 0, 0, 1,
  21823. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21824. pi->nphy_sample_play_lpf_bw_ctl_ovr = false;
  21825. }
  21826. }
  21827. if (pi->phyhang_avoid)
  21828. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21829. }
  21830. static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi)
  21831. {
  21832. u32 *tx_pwrctrl_tbl = NULL;
  21833. uint phyrev = pi->pubpi.phy_rev;
  21834. if (PHY_IPA(pi)) {
  21835. tx_pwrctrl_tbl =
  21836. wlc_phy_get_ipa_gaintbl_nphy(pi);
  21837. } else {
  21838. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21839. if (NREV_IS(phyrev, 3))
  21840. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev3;
  21841. else if (NREV_IS(phyrev, 4))
  21842. tx_pwrctrl_tbl =
  21843. (pi->srom_fem5g.extpagain == 3) ?
  21844. nphy_tpc_5GHz_txgain_HiPwrEPA :
  21845. nphy_tpc_5GHz_txgain_rev4;
  21846. else
  21847. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev5;
  21848. } else {
  21849. if (NREV_GE(phyrev, 7)) {
  21850. if (pi->pubpi.radiorev == 3)
  21851. tx_pwrctrl_tbl =
  21852. nphy_tpc_txgain_epa_2057rev3;
  21853. else if (pi->pubpi.radiorev == 5)
  21854. tx_pwrctrl_tbl =
  21855. nphy_tpc_txgain_epa_2057rev5;
  21856. } else {
  21857. if (NREV_GE(phyrev, 5) &&
  21858. (pi->srom_fem2g.extpagain == 3))
  21859. tx_pwrctrl_tbl =
  21860. nphy_tpc_txgain_HiPwrEPA;
  21861. else
  21862. tx_pwrctrl_tbl =
  21863. nphy_tpc_txgain_rev3;
  21864. }
  21865. }
  21866. }
  21867. return tx_pwrctrl_tbl;
  21868. }
  21869. struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi)
  21870. {
  21871. u16 base_idx[2], curr_gain[2];
  21872. u8 core_no;
  21873. struct nphy_txgains target_gain;
  21874. u32 *tx_pwrctrl_tbl = NULL;
  21875. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF) {
  21876. if (pi->phyhang_avoid)
  21877. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21878. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  21879. curr_gain);
  21880. if (pi->phyhang_avoid)
  21881. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21882. for (core_no = 0; core_no < 2; core_no++) {
  21883. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21884. target_gain.ipa[core_no] =
  21885. curr_gain[core_no] & 0x0007;
  21886. target_gain.pad[core_no] =
  21887. ((curr_gain[core_no] & 0x00F8) >> 3);
  21888. target_gain.pga[core_no] =
  21889. ((curr_gain[core_no] & 0x0F00) >> 8);
  21890. target_gain.txgm[core_no] =
  21891. ((curr_gain[core_no] & 0x7000) >> 12);
  21892. target_gain.txlpf[core_no] =
  21893. ((curr_gain[core_no] & 0x8000) >> 15);
  21894. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21895. target_gain.ipa[core_no] =
  21896. curr_gain[core_no] & 0x000F;
  21897. target_gain.pad[core_no] =
  21898. ((curr_gain[core_no] & 0x00F0) >> 4);
  21899. target_gain.pga[core_no] =
  21900. ((curr_gain[core_no] & 0x0F00) >> 8);
  21901. target_gain.txgm[core_no] =
  21902. ((curr_gain[core_no] & 0x7000) >> 12);
  21903. } else {
  21904. target_gain.ipa[core_no] =
  21905. curr_gain[core_no] & 0x0003;
  21906. target_gain.pad[core_no] =
  21907. ((curr_gain[core_no] & 0x000C) >> 2);
  21908. target_gain.pga[core_no] =
  21909. ((curr_gain[core_no] & 0x0070) >> 4);
  21910. target_gain.txgm[core_no] =
  21911. ((curr_gain[core_no] & 0x0380) >> 7);
  21912. }
  21913. }
  21914. } else {
  21915. uint phyrev = pi->pubpi.phy_rev;
  21916. base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f;
  21917. base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f;
  21918. for (core_no = 0; core_no < 2; core_no++) {
  21919. if (NREV_GE(phyrev, 3)) {
  21920. tx_pwrctrl_tbl =
  21921. brcms_phy_get_tx_pwrctrl_tbl(pi);
  21922. if (NREV_GE(phyrev, 7)) {
  21923. target_gain.ipa[core_no] =
  21924. (tx_pwrctrl_tbl
  21925. [base_idx[core_no]]
  21926. >> 16) & 0x7;
  21927. target_gain.pad[core_no] =
  21928. (tx_pwrctrl_tbl
  21929. [base_idx[core_no]]
  21930. >> 19) & 0x1f;
  21931. target_gain.pga[core_no] =
  21932. (tx_pwrctrl_tbl
  21933. [base_idx[core_no]]
  21934. >> 24) & 0xf;
  21935. target_gain.txgm[core_no] =
  21936. (tx_pwrctrl_tbl
  21937. [base_idx[core_no]]
  21938. >> 28) & 0x7;
  21939. target_gain.txlpf[core_no] =
  21940. (tx_pwrctrl_tbl
  21941. [base_idx[core_no]]
  21942. >> 31) & 0x1;
  21943. } else {
  21944. target_gain.ipa[core_no] =
  21945. (tx_pwrctrl_tbl
  21946. [base_idx[core_no]]
  21947. >> 16) & 0xf;
  21948. target_gain.pad[core_no] =
  21949. (tx_pwrctrl_tbl
  21950. [base_idx[core_no]]
  21951. >> 20) & 0xf;
  21952. target_gain.pga[core_no] =
  21953. (tx_pwrctrl_tbl
  21954. [base_idx[core_no]]
  21955. >> 24) & 0xf;
  21956. target_gain.txgm[core_no] =
  21957. (tx_pwrctrl_tbl
  21958. [base_idx[core_no]]
  21959. >> 28) & 0x7;
  21960. }
  21961. } else {
  21962. target_gain.ipa[core_no] =
  21963. (nphy_tpc_txgain[base_idx[core_no]] >>
  21964. 16) & 0x3;
  21965. target_gain.pad[core_no] =
  21966. (nphy_tpc_txgain[base_idx[core_no]] >>
  21967. 18) & 0x3;
  21968. target_gain.pga[core_no] =
  21969. (nphy_tpc_txgain[base_idx[core_no]] >>
  21970. 20) & 0x7;
  21971. target_gain.txgm[core_no] =
  21972. (nphy_tpc_txgain[base_idx[core_no]] >>
  21973. 23) & 0x7;
  21974. }
  21975. }
  21976. }
  21977. return target_gain;
  21978. }
  21979. static void
  21980. wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no,
  21981. struct nphy_txgains target_gain,
  21982. struct nphy_iqcal_params *params)
  21983. {
  21984. u8 k;
  21985. int idx;
  21986. u16 gain_index;
  21987. u8 band_idx = (CHSPEC_IS5G(pi->radio_chanspec) ? 1 : 0);
  21988. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21989. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21990. params->txlpf = target_gain.txlpf[core_no];
  21991. params->txgm = target_gain.txgm[core_no];
  21992. params->pga = target_gain.pga[core_no];
  21993. params->pad = target_gain.pad[core_no];
  21994. params->ipa = target_gain.ipa[core_no];
  21995. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21996. params->cal_gain =
  21997. ((params->txlpf << 15) | (params->txgm << 12) |
  21998. (params->pga << 8) |
  21999. (params->pad << 3) | (params->ipa));
  22000. else
  22001. params->cal_gain =
  22002. ((params->txgm << 12) | (params->pga << 8) |
  22003. (params->pad << 4) | (params->ipa));
  22004. params->ncorr[0] = 0x79;
  22005. params->ncorr[1] = 0x79;
  22006. params->ncorr[2] = 0x79;
  22007. params->ncorr[3] = 0x79;
  22008. params->ncorr[4] = 0x79;
  22009. } else {
  22010. gain_index = ((target_gain.pad[core_no] << 0) |
  22011. (target_gain.pga[core_no] << 4) |
  22012. (target_gain.txgm[core_no] << 8));
  22013. idx = -1;
  22014. for (k = 0; k < NPHY_IQCAL_NUMGAINS; k++) {
  22015. if (tbl_iqcal_gainparams_nphy[band_idx][k][0] ==
  22016. gain_index) {
  22017. idx = k;
  22018. break;
  22019. }
  22020. }
  22021. params->txgm = tbl_iqcal_gainparams_nphy[band_idx][k][1];
  22022. params->pga = tbl_iqcal_gainparams_nphy[band_idx][k][2];
  22023. params->pad = tbl_iqcal_gainparams_nphy[band_idx][k][3];
  22024. params->cal_gain = ((params->txgm << 7) | (params->pga << 4) |
  22025. (params->pad << 2));
  22026. params->ncorr[0] = tbl_iqcal_gainparams_nphy[band_idx][k][4];
  22027. params->ncorr[1] = tbl_iqcal_gainparams_nphy[band_idx][k][5];
  22028. params->ncorr[2] = tbl_iqcal_gainparams_nphy[band_idx][k][6];
  22029. params->ncorr[3] = tbl_iqcal_gainparams_nphy[band_idx][k][7];
  22030. }
  22031. }
  22032. static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi)
  22033. {
  22034. u16 jtag_core, core;
  22035. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22036. for (core = 0; core <= 1; core++) {
  22037. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22038. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22039. TX_SSI_MASTER);
  22040. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22041. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22042. IQCAL_VCM_HG);
  22043. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22044. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22045. IQCAL_IDAC);
  22046. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22047. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22048. TSSI_VCM);
  22049. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] = 0;
  22050. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22051. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22052. TX_SSI_MUX);
  22053. if (pi->pubpi.radiorev != 5)
  22054. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22055. READ_RADIO_REG3(pi, RADIO_2057, TX,
  22056. core,
  22057. TSSIA);
  22058. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22059. READ_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG);
  22060. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22061. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22062. TSSI_MISC1);
  22063. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22064. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22065. TX_SSI_MASTER, 0x0a);
  22066. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22067. IQCAL_VCM_HG, 0x43);
  22068. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22069. IQCAL_IDAC, 0x55);
  22070. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22071. TSSI_VCM, 0x00);
  22072. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22073. TSSIG, 0x00);
  22074. if (pi->use_int_tx_iqlo_cal_nphy) {
  22075. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22076. core, TX_SSI_MUX, 0x4);
  22077. if (!(pi->
  22078. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22079. WRITE_RADIO_REG3(pi, RADIO_2057,
  22080. TX, core,
  22081. TSSIA, 0x31);
  22082. else
  22083. WRITE_RADIO_REG3(pi, RADIO_2057,
  22084. TX, core,
  22085. TSSIA, 0x21);
  22086. }
  22087. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22088. TSSI_MISC1, 0x00);
  22089. } else {
  22090. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22091. TX_SSI_MASTER, 0x06);
  22092. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22093. IQCAL_VCM_HG, 0x43);
  22094. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22095. IQCAL_IDAC, 0x55);
  22096. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22097. TSSI_VCM, 0x00);
  22098. if (pi->pubpi.radiorev != 5)
  22099. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22100. core, TSSIA, 0x00);
  22101. if (pi->use_int_tx_iqlo_cal_nphy) {
  22102. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22103. core, TX_SSI_MUX,
  22104. 0x06);
  22105. if (!(pi->
  22106. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22107. WRITE_RADIO_REG3(pi, RADIO_2057,
  22108. TX, core,
  22109. TSSIG, 0x31);
  22110. else
  22111. WRITE_RADIO_REG3(pi, RADIO_2057,
  22112. TX, core,
  22113. TSSIG, 0x21);
  22114. }
  22115. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22116. TSSI_MISC1, 0x00);
  22117. }
  22118. }
  22119. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22120. for (core = 0; core <= 1; core++) {
  22121. jtag_core =
  22122. (core ==
  22123. PHY_CORE_0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  22124. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22125. read_radio_reg(pi,
  22126. RADIO_2056_TX_TX_SSI_MASTER |
  22127. jtag_core);
  22128. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22129. read_radio_reg(pi,
  22130. RADIO_2056_TX_IQCAL_VCM_HG |
  22131. jtag_core);
  22132. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22133. read_radio_reg(pi,
  22134. RADIO_2056_TX_IQCAL_IDAC |
  22135. jtag_core);
  22136. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22137. read_radio_reg(
  22138. pi,
  22139. RADIO_2056_TX_TSSI_VCM |
  22140. jtag_core);
  22141. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] =
  22142. read_radio_reg(pi,
  22143. RADIO_2056_TX_TX_AMP_DET |
  22144. jtag_core);
  22145. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22146. read_radio_reg(pi,
  22147. RADIO_2056_TX_TX_SSI_MUX |
  22148. jtag_core);
  22149. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22150. read_radio_reg(pi,
  22151. RADIO_2056_TX_TSSIA | jtag_core);
  22152. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22153. read_radio_reg(pi,
  22154. RADIO_2056_TX_TSSIG | jtag_core);
  22155. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22156. read_radio_reg(pi,
  22157. RADIO_2056_TX_TSSI_MISC1 |
  22158. jtag_core);
  22159. pi->tx_rx_cal_radio_saveregs[(core * 11) + 9] =
  22160. read_radio_reg(pi,
  22161. RADIO_2056_TX_TSSI_MISC2 |
  22162. jtag_core);
  22163. pi->tx_rx_cal_radio_saveregs[(core * 11) + 10] =
  22164. read_radio_reg(pi,
  22165. RADIO_2056_TX_TSSI_MISC3 |
  22166. jtag_core);
  22167. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22168. write_radio_reg(pi,
  22169. RADIO_2056_TX_TX_SSI_MASTER |
  22170. jtag_core, 0x0a);
  22171. write_radio_reg(pi,
  22172. RADIO_2056_TX_IQCAL_VCM_HG |
  22173. jtag_core, 0x40);
  22174. write_radio_reg(pi,
  22175. RADIO_2056_TX_IQCAL_IDAC |
  22176. jtag_core, 0x55);
  22177. write_radio_reg(pi,
  22178. RADIO_2056_TX_TSSI_VCM |
  22179. jtag_core, 0x00);
  22180. write_radio_reg(pi,
  22181. RADIO_2056_TX_TX_AMP_DET |
  22182. jtag_core, 0x00);
  22183. if (PHY_IPA(pi)) {
  22184. write_radio_reg(
  22185. pi,
  22186. RADIO_2056_TX_TX_SSI_MUX
  22187. | jtag_core, 0x4);
  22188. write_radio_reg(pi,
  22189. RADIO_2056_TX_TSSIA |
  22190. jtag_core, 0x1);
  22191. } else {
  22192. write_radio_reg(
  22193. pi,
  22194. RADIO_2056_TX_TX_SSI_MUX
  22195. | jtag_core, 0x00);
  22196. write_radio_reg(pi,
  22197. RADIO_2056_TX_TSSIA |
  22198. jtag_core, 0x2f);
  22199. }
  22200. write_radio_reg(pi,
  22201. RADIO_2056_TX_TSSIG | jtag_core,
  22202. 0x00);
  22203. write_radio_reg(pi,
  22204. RADIO_2056_TX_TSSI_MISC1 |
  22205. jtag_core, 0x00);
  22206. write_radio_reg(pi,
  22207. RADIO_2056_TX_TSSI_MISC2 |
  22208. jtag_core, 0x00);
  22209. write_radio_reg(pi,
  22210. RADIO_2056_TX_TSSI_MISC3 |
  22211. jtag_core, 0x00);
  22212. } else {
  22213. write_radio_reg(pi,
  22214. RADIO_2056_TX_TX_SSI_MASTER |
  22215. jtag_core, 0x06);
  22216. write_radio_reg(pi,
  22217. RADIO_2056_TX_IQCAL_VCM_HG |
  22218. jtag_core, 0x40);
  22219. write_radio_reg(pi,
  22220. RADIO_2056_TX_IQCAL_IDAC |
  22221. jtag_core, 0x55);
  22222. write_radio_reg(pi,
  22223. RADIO_2056_TX_TSSI_VCM |
  22224. jtag_core, 0x00);
  22225. write_radio_reg(pi,
  22226. RADIO_2056_TX_TX_AMP_DET |
  22227. jtag_core, 0x00);
  22228. write_radio_reg(pi,
  22229. RADIO_2056_TX_TSSIA | jtag_core,
  22230. 0x00);
  22231. if (PHY_IPA(pi)) {
  22232. write_radio_reg(
  22233. pi,
  22234. RADIO_2056_TX_TX_SSI_MUX
  22235. | jtag_core, 0x06);
  22236. if (NREV_LT(pi->pubpi.phy_rev, 5))
  22237. write_radio_reg(
  22238. pi,
  22239. RADIO_2056_TX_TSSIG
  22240. | jtag_core,
  22241. 0x11);
  22242. else
  22243. write_radio_reg(
  22244. pi,
  22245. RADIO_2056_TX_TSSIG
  22246. | jtag_core,
  22247. 0x1);
  22248. } else {
  22249. write_radio_reg(
  22250. pi,
  22251. RADIO_2056_TX_TX_SSI_MUX
  22252. | jtag_core, 0x00);
  22253. write_radio_reg(pi,
  22254. RADIO_2056_TX_TSSIG |
  22255. jtag_core, 0x20);
  22256. }
  22257. write_radio_reg(pi,
  22258. RADIO_2056_TX_TSSI_MISC1 |
  22259. jtag_core, 0x00);
  22260. write_radio_reg(pi,
  22261. RADIO_2056_TX_TSSI_MISC2 |
  22262. jtag_core, 0x00);
  22263. write_radio_reg(pi,
  22264. RADIO_2056_TX_TSSI_MISC3 |
  22265. jtag_core, 0x00);
  22266. }
  22267. }
  22268. } else {
  22269. pi->tx_rx_cal_radio_saveregs[0] =
  22270. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  22271. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x29);
  22272. pi->tx_rx_cal_radio_saveregs[1] =
  22273. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  22274. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x54);
  22275. pi->tx_rx_cal_radio_saveregs[2] =
  22276. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  22277. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x29);
  22278. pi->tx_rx_cal_radio_saveregs[3] =
  22279. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  22280. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x54);
  22281. pi->tx_rx_cal_radio_saveregs[4] =
  22282. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  22283. pi->tx_rx_cal_radio_saveregs[5] =
  22284. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  22285. if ((read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand) ==
  22286. 0) {
  22287. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  22288. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  22289. } else {
  22290. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x20);
  22291. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x20);
  22292. }
  22293. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  22294. or_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0x20);
  22295. or_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0x20);
  22296. } else {
  22297. and_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0xdf);
  22298. and_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0xdf);
  22299. }
  22300. }
  22301. }
  22302. static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi)
  22303. {
  22304. u16 jtag_core, core;
  22305. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22306. for (core = 0; core <= 1; core++) {
  22307. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22308. TX_SSI_MASTER,
  22309. pi->
  22310. tx_rx_cal_radio_saveregs[(core * 11) +
  22311. 0]);
  22312. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  22313. pi->
  22314. tx_rx_cal_radio_saveregs[(core * 11) +
  22315. 1]);
  22316. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  22317. pi->
  22318. tx_rx_cal_radio_saveregs[(core * 11) +
  22319. 2]);
  22320. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  22321. pi->
  22322. tx_rx_cal_radio_saveregs[(core * 11) +
  22323. 3]);
  22324. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TX_SSI_MUX,
  22325. pi->
  22326. tx_rx_cal_radio_saveregs[(core * 11) +
  22327. 5]);
  22328. if (pi->pubpi.radiorev != 5)
  22329. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22330. TSSIA,
  22331. pi->tx_rx_cal_radio_saveregs
  22332. [(core * 11) + 6]);
  22333. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG,
  22334. pi->
  22335. tx_rx_cal_radio_saveregs[(core * 11) +
  22336. 7]);
  22337. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  22338. pi->
  22339. tx_rx_cal_radio_saveregs[(core * 11) +
  22340. 8]);
  22341. }
  22342. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22343. for (core = 0; core <= 1; core++) {
  22344. jtag_core = (core == PHY_CORE_0) ?
  22345. RADIO_2056_TX0 : RADIO_2056_TX1;
  22346. write_radio_reg(pi,
  22347. RADIO_2056_TX_TX_SSI_MASTER | jtag_core,
  22348. pi->
  22349. tx_rx_cal_radio_saveregs[(core * 11) +
  22350. 0]);
  22351. write_radio_reg(pi,
  22352. RADIO_2056_TX_IQCAL_VCM_HG | jtag_core,
  22353. pi->
  22354. tx_rx_cal_radio_saveregs[(core * 11) +
  22355. 1]);
  22356. write_radio_reg(pi,
  22357. RADIO_2056_TX_IQCAL_IDAC | jtag_core,
  22358. pi->
  22359. tx_rx_cal_radio_saveregs[(core * 11) +
  22360. 2]);
  22361. write_radio_reg(pi, RADIO_2056_TX_TSSI_VCM | jtag_core,
  22362. pi->
  22363. tx_rx_cal_radio_saveregs[(core * 11) +
  22364. 3]);
  22365. write_radio_reg(pi,
  22366. RADIO_2056_TX_TX_AMP_DET | jtag_core,
  22367. pi->
  22368. tx_rx_cal_radio_saveregs[(core * 11) +
  22369. 4]);
  22370. write_radio_reg(pi,
  22371. RADIO_2056_TX_TX_SSI_MUX | jtag_core,
  22372. pi->
  22373. tx_rx_cal_radio_saveregs[(core * 11) +
  22374. 5]);
  22375. write_radio_reg(pi, RADIO_2056_TX_TSSIA | jtag_core,
  22376. pi->
  22377. tx_rx_cal_radio_saveregs[(core * 11) +
  22378. 6]);
  22379. write_radio_reg(pi, RADIO_2056_TX_TSSIG | jtag_core,
  22380. pi->
  22381. tx_rx_cal_radio_saveregs[(core * 11) +
  22382. 7]);
  22383. write_radio_reg(pi,
  22384. RADIO_2056_TX_TSSI_MISC1 | jtag_core,
  22385. pi->
  22386. tx_rx_cal_radio_saveregs[(core * 11) +
  22387. 8]);
  22388. write_radio_reg(pi,
  22389. RADIO_2056_TX_TSSI_MISC2 | jtag_core,
  22390. pi->
  22391. tx_rx_cal_radio_saveregs[(core * 11) +
  22392. 9]);
  22393. write_radio_reg(pi,
  22394. RADIO_2056_TX_TSSI_MISC3 | jtag_core,
  22395. pi->
  22396. tx_rx_cal_radio_saveregs[(core * 11) +
  22397. 10]);
  22398. }
  22399. } else {
  22400. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  22401. pi->tx_rx_cal_radio_saveregs[0]);
  22402. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  22403. pi->tx_rx_cal_radio_saveregs[1]);
  22404. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  22405. pi->tx_rx_cal_radio_saveregs[2]);
  22406. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  22407. pi->tx_rx_cal_radio_saveregs[3]);
  22408. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  22409. pi->tx_rx_cal_radio_saveregs[4]);
  22410. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  22411. pi->tx_rx_cal_radio_saveregs[5]);
  22412. }
  22413. }
  22414. static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi)
  22415. {
  22416. u16 val, mask;
  22417. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22418. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22419. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22420. mask = ((0x3 << 8) | (0x3 << 10));
  22421. val = (0x2 << 8);
  22422. val |= (0x2 << 10);
  22423. mod_phy_reg(pi, 0xa6, mask, val);
  22424. mod_phy_reg(pi, 0xa7, mask, val);
  22425. val = read_phy_reg(pi, 0x8f);
  22426. pi->tx_rx_cal_phy_saveregs[2] = val;
  22427. val |= ((0x1 << 9) | (0x1 << 10));
  22428. write_phy_reg(pi, 0x8f, val);
  22429. val = read_phy_reg(pi, 0xa5);
  22430. pi->tx_rx_cal_phy_saveregs[3] = val;
  22431. val |= ((0x1 << 9) | (0x1 << 10));
  22432. write_phy_reg(pi, 0xa5, val);
  22433. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x01);
  22434. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  22435. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22436. &val);
  22437. pi->tx_rx_cal_phy_saveregs[5] = val;
  22438. val = 0;
  22439. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22440. &val);
  22441. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22442. &val);
  22443. pi->tx_rx_cal_phy_saveregs[6] = val;
  22444. val = 0;
  22445. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22446. &val);
  22447. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0x91);
  22448. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0x92);
  22449. if (!(pi->use_int_tx_iqlo_cal_nphy))
  22450. wlc_phy_rfctrlintc_override_nphy(
  22451. pi,
  22452. NPHY_RfctrlIntc_override_PA,
  22453. 1,
  22454. RADIO_MIMO_CORESEL_CORE1
  22455. |
  22456. RADIO_MIMO_CORESEL_CORE2);
  22457. else
  22458. wlc_phy_rfctrlintc_override_nphy(
  22459. pi,
  22460. NPHY_RfctrlIntc_override_PA,
  22461. 0,
  22462. RADIO_MIMO_CORESEL_CORE1
  22463. |
  22464. RADIO_MIMO_CORESEL_CORE2);
  22465. wlc_phy_rfctrlintc_override_nphy(pi,
  22466. NPHY_RfctrlIntc_override_TRSW,
  22467. 0x2, RADIO_MIMO_CORESEL_CORE1);
  22468. wlc_phy_rfctrlintc_override_nphy(pi,
  22469. NPHY_RfctrlIntc_override_TRSW,
  22470. 0x8, RADIO_MIMO_CORESEL_CORE2);
  22471. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  22472. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  22473. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  22474. 0x29b, (0x1 << 0), (0) << 0);
  22475. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  22476. 0x29b, (0x1 << 0), (0) << 0);
  22477. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22478. || NREV_GE(pi->pubpi.phy_rev, 8))
  22479. wlc_phy_rfctrl_override_nphy_rev7(
  22480. pi, (0x1 << 7),
  22481. wlc_phy_read_lpf_bw_ctl_nphy
  22482. (pi,
  22483. 0), 0, 0,
  22484. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22485. if (pi->use_int_tx_iqlo_cal_nphy
  22486. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22487. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22488. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22489. 1 << 4);
  22490. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22491. mod_radio_reg(
  22492. pi,
  22493. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22494. 1, 0);
  22495. mod_radio_reg(
  22496. pi,
  22497. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22498. 1, 0);
  22499. } else {
  22500. mod_radio_reg(
  22501. pi,
  22502. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22503. 1, 0);
  22504. mod_radio_reg(
  22505. pi,
  22506. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22507. 1, 0);
  22508. }
  22509. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22510. wlc_phy_rfctrl_override_nphy_rev7(
  22511. pi,
  22512. (0x1 << 3), 0,
  22513. 0x3, 0,
  22514. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22515. }
  22516. }
  22517. } else {
  22518. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22519. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22520. mask = ((0x3 << 12) | (0x3 << 14));
  22521. val = (0x2 << 12);
  22522. val |= (0x2 << 14);
  22523. mod_phy_reg(pi, 0xa6, mask, val);
  22524. mod_phy_reg(pi, 0xa7, mask, val);
  22525. val = read_phy_reg(pi, 0xa5);
  22526. pi->tx_rx_cal_phy_saveregs[2] = val;
  22527. val |= ((0x1 << 12) | (0x1 << 13));
  22528. write_phy_reg(pi, 0xa5, val);
  22529. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22530. &val);
  22531. pi->tx_rx_cal_phy_saveregs[3] = val;
  22532. val |= 0x2000;
  22533. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22534. &val);
  22535. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22536. &val);
  22537. pi->tx_rx_cal_phy_saveregs[4] = val;
  22538. val |= 0x2000;
  22539. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22540. &val);
  22541. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x91);
  22542. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x92);
  22543. val = CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  22544. write_phy_reg(pi, 0x91, val);
  22545. write_phy_reg(pi, 0x92, val);
  22546. }
  22547. }
  22548. static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi)
  22549. {
  22550. u16 mask;
  22551. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22552. write_phy_reg(pi, 0xa6, pi->tx_rx_cal_phy_saveregs[0]);
  22553. write_phy_reg(pi, 0xa7, pi->tx_rx_cal_phy_saveregs[1]);
  22554. write_phy_reg(pi, 0x8f, pi->tx_rx_cal_phy_saveregs[2]);
  22555. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[3]);
  22556. write_phy_reg(pi, 0x01, pi->tx_rx_cal_phy_saveregs[4]);
  22557. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22558. &pi->tx_rx_cal_phy_saveregs[5]);
  22559. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22560. &pi->tx_rx_cal_phy_saveregs[6]);
  22561. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[7]);
  22562. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[8]);
  22563. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  22564. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  22565. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22566. || NREV_GE(pi->pubpi.phy_rev, 8))
  22567. wlc_phy_rfctrl_override_nphy_rev7(
  22568. pi, (0x1 << 7), 0, 0,
  22569. 1,
  22570. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22571. wlc_phy_resetcca_nphy(pi);
  22572. if (pi->use_int_tx_iqlo_cal_nphy
  22573. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22574. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22575. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22576. mod_radio_reg(
  22577. pi,
  22578. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22579. 1, 1);
  22580. mod_radio_reg(
  22581. pi,
  22582. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22583. 1, 1);
  22584. } else {
  22585. mod_radio_reg(
  22586. pi,
  22587. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22588. 1, 1);
  22589. mod_radio_reg(
  22590. pi,
  22591. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22592. 1, 1);
  22593. }
  22594. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22595. 0);
  22596. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22597. wlc_phy_rfctrl_override_nphy_rev7(
  22598. pi,
  22599. (0x1 << 3), 0,
  22600. 0x3, 1,
  22601. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22602. }
  22603. }
  22604. } else {
  22605. mask = ((0x3 << 12) | (0x3 << 14));
  22606. mod_phy_reg(pi, 0xa6, mask, pi->tx_rx_cal_phy_saveregs[0]);
  22607. mod_phy_reg(pi, 0xa7, mask, pi->tx_rx_cal_phy_saveregs[1]);
  22608. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[2]);
  22609. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22610. &pi->tx_rx_cal_phy_saveregs[3]);
  22611. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22612. &pi->tx_rx_cal_phy_saveregs[4]);
  22613. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[5]);
  22614. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[6]);
  22615. }
  22616. }
  22617. void
  22618. wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
  22619. {
  22620. u16 tssi_reg;
  22621. s32 temp, pwrindex[2];
  22622. s32 idle_tssi[2];
  22623. s32 rssi_buf[4];
  22624. s32 tssival[2];
  22625. u8 tssi_type;
  22626. tssi_reg = read_phy_reg(pi, 0x1e9);
  22627. temp = (s32) (tssi_reg & 0x3f);
  22628. idle_tssi[0] = (temp <= 31) ? temp : (temp - 64);
  22629. temp = (s32) ((tssi_reg >> 8) & 0x3f);
  22630. idle_tssi[1] = (temp <= 31) ? temp : (temp - 64);
  22631. tssi_type =
  22632. CHSPEC_IS5G(pi->radio_chanspec) ?
  22633. (u8)NPHY_RSSI_SEL_TSSI_5G : (u8)NPHY_RSSI_SEL_TSSI_2G;
  22634. wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
  22635. tssival[0] = rssi_buf[0] / ((s32) num_samps);
  22636. tssival[1] = rssi_buf[2] / ((s32) num_samps);
  22637. pwrindex[0] = idle_tssi[0] - tssival[0] + 64;
  22638. pwrindex[1] = idle_tssi[1] - tssival[1] + 64;
  22639. if (pwrindex[0] < 0)
  22640. pwrindex[0] = 0;
  22641. else if (pwrindex[0] > 63)
  22642. pwrindex[0] = 63;
  22643. if (pwrindex[1] < 0)
  22644. pwrindex[1] = 0;
  22645. else if (pwrindex[1] > 63)
  22646. pwrindex[1] = 63;
  22647. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 1,
  22648. (u32) pwrindex[0], 32, &qdBm_pwrbuf[0]);
  22649. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 1,
  22650. (u32) pwrindex[1], 32, &qdBm_pwrbuf[1]);
  22651. }
  22652. static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core)
  22653. {
  22654. int index;
  22655. u32 bbmult_scale;
  22656. u16 bbmult;
  22657. u16 tblentry;
  22658. static const struct nphy_txiqcal_ladder ladder_lo[] = {
  22659. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22660. {25, 0}, {25, 1}, {25, 2}, {25, 3}, {25, 4}, {25, 5},
  22661. {25, 6}, {25, 7}, {35, 7}, {50, 7}, {71, 7}, {100, 7}
  22662. };
  22663. static const struct nphy_txiqcal_ladder ladder_iq[] = {
  22664. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22665. {25, 0}, {35, 0}, {50, 0}, {71, 0}, {100, 0}, {100, 1},
  22666. {100, 2}, {100, 3}, {100, 4}, {100, 5}, {100, 6}, {100, 7}
  22667. };
  22668. bbmult = (core == PHY_CORE_0) ?
  22669. ((pi->nphy_txcal_bbmult >> 8) & 0xff) :
  22670. (pi->nphy_txcal_bbmult & 0xff);
  22671. for (index = 0; index < 18; index++) {
  22672. bbmult_scale = ladder_lo[index].percent * bbmult;
  22673. bbmult_scale /= 100;
  22674. tblentry =
  22675. ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env;
  22676. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16,
  22677. &tblentry);
  22678. bbmult_scale = ladder_iq[index].percent * bbmult;
  22679. bbmult_scale /= 100;
  22680. tblentry =
  22681. ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env;
  22682. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32,
  22683. 16, &tblentry);
  22684. }
  22685. }
  22686. static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core)
  22687. {
  22688. u16 tmp;
  22689. tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee));
  22690. tmp = (tmp & (0x7f << 8)) >> 8;
  22691. return (u8) tmp;
  22692. }
  22693. static void
  22694. wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1)
  22695. {
  22696. mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0);
  22697. if (NREV_GT(pi->pubpi.phy_rev, 1))
  22698. mod_phy_reg(pi, 0x222, (0xff << 0), idx1);
  22699. }
  22700. static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi)
  22701. {
  22702. u16 m0m1;
  22703. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  22704. return m0m1;
  22705. }
  22706. static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1)
  22707. {
  22708. u16 m0m1 = (u16) ((m0 << 8) | m1);
  22709. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m0m1);
  22710. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &m0m1);
  22711. }
  22712. static void
  22713. wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi,
  22714. struct nphy_papd_restore_state *state, u8 core)
  22715. {
  22716. s32 tone_freq;
  22717. u8 off_core;
  22718. u16 mixgain = 0;
  22719. off_core = core ^ 0x1;
  22720. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22721. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22722. || NREV_GE(pi->pubpi.phy_rev, 8))
  22723. wlc_phy_rfctrl_override_nphy_rev7(
  22724. pi, (0x1 << 7),
  22725. wlc_phy_read_lpf_bw_ctl_nphy
  22726. (pi,
  22727. 0), 0, 0,
  22728. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22729. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22730. if (pi->pubpi.radiorev == 5)
  22731. mixgain = (core == 0) ? 0x20 : 0x00;
  22732. else if ((pi->pubpi.radiorev == 7)
  22733. || (pi->pubpi.radiorev == 8))
  22734. mixgain = 0x00;
  22735. else if ((pi->pubpi.radiorev <= 4)
  22736. || (pi->pubpi.radiorev == 6))
  22737. mixgain = 0x00;
  22738. } else {
  22739. if ((pi->pubpi.radiorev == 4) ||
  22740. (pi->pubpi.radiorev == 6))
  22741. mixgain = 0x50;
  22742. else if ((pi->pubpi.radiorev == 3)
  22743. || (pi->pubpi.radiorev == 7)
  22744. || (pi->pubpi.radiorev == 8))
  22745. mixgain = 0x0;
  22746. }
  22747. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11),
  22748. mixgain, (1 << core), 0,
  22749. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22750. wlc_phy_rfctrl_override_1tomany_nphy(
  22751. pi,
  22752. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22753. 1, (1 << core), 0);
  22754. wlc_phy_rfctrl_override_1tomany_nphy(
  22755. pi,
  22756. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22757. 0, (1 << off_core), 0);
  22758. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  22759. 0, 0x3, 0,
  22760. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22761. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1,
  22762. (1 << core), 0,
  22763. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22764. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0,
  22765. (1 << core), 0,
  22766. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22767. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1,
  22768. (1 << core), 0,
  22769. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22770. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0,
  22771. (1 << core), 0,
  22772. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22773. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1,
  22774. (1 << core), 0,
  22775. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22776. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0,
  22777. (1 << core), 0,
  22778. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22779. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1,
  22780. (1 << core), 0,
  22781. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22782. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5),
  22783. 0, (1 << core), 0,
  22784. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22785. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0,
  22786. (1 << core), 0,
  22787. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22788. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22789. 0xa6 : 0xa7);
  22790. state->afeoverride[core] =
  22791. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22792. state->afectrl[off_core] =
  22793. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa7 : 0xa6);
  22794. state->afeoverride[off_core] =
  22795. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa5 : 0x8f);
  22796. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22797. (0x1 << 2), 0);
  22798. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22799. 0xa5), (0x1 << 2), (0x1 << 2));
  22800. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa7 : 0xa6),
  22801. (0x1 << 2), (0x1 << 2));
  22802. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa5 :
  22803. 0x8f), (0x1 << 2), (0x1 << 2));
  22804. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22805. state->pwrup[core] =
  22806. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22807. TXRXCOUPLE_2G_PWRUP);
  22808. state->atten[core] =
  22809. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22810. TXRXCOUPLE_2G_ATTEN);
  22811. state->pwrup[off_core] =
  22812. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22813. TXRXCOUPLE_2G_PWRUP);
  22814. state->atten[off_core] =
  22815. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22816. TXRXCOUPLE_2G_ATTEN);
  22817. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22818. TXRXCOUPLE_2G_PWRUP, 0xc);
  22819. if ((pi->pubpi.radiorev == 3) ||
  22820. (pi->pubpi.radiorev == 4) ||
  22821. (pi->pubpi.radiorev == 6))
  22822. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22823. TXRXCOUPLE_2G_ATTEN, 0xf0);
  22824. else if (pi->pubpi.radiorev == 5)
  22825. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22826. TXRXCOUPLE_2G_ATTEN,
  22827. (core == 0) ? 0xf7 : 0xf2);
  22828. else if ((pi->pubpi.radiorev == 7)
  22829. || (pi->pubpi.radiorev == 8))
  22830. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22831. TXRXCOUPLE_2G_ATTEN, 0xf0);
  22832. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22833. TXRXCOUPLE_2G_PWRUP, 0x0);
  22834. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22835. TXRXCOUPLE_2G_ATTEN, 0xff);
  22836. } else {
  22837. state->pwrup[core] =
  22838. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22839. TXRXCOUPLE_5G_PWRUP);
  22840. state->atten[core] =
  22841. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22842. TXRXCOUPLE_5G_ATTEN);
  22843. state->pwrup[off_core] =
  22844. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22845. TXRXCOUPLE_5G_PWRUP);
  22846. state->atten[off_core] =
  22847. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22848. TXRXCOUPLE_5G_ATTEN);
  22849. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22850. TXRXCOUPLE_5G_PWRUP, 0xc);
  22851. if ((pi->pubpi.radiorev == 7)
  22852. || (pi->pubpi.radiorev == 8))
  22853. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22854. TXRXCOUPLE_5G_ATTEN, 0xf4);
  22855. else
  22856. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22857. TXRXCOUPLE_5G_ATTEN, 0xf0);
  22858. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22859. TXRXCOUPLE_5G_PWRUP, 0x0);
  22860. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22861. TXRXCOUPLE_5G_ATTEN, 0xff);
  22862. }
  22863. tone_freq = 4000;
  22864. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  22865. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  22866. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  22867. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  22868. 0x2a4, (0x1 << 13), (1) << 13);
  22869. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  22870. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_OFF) << 0);
  22871. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x2a3 :
  22872. 0x2a4, (0x1 << 13), (0) << 13);
  22873. } else {
  22874. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 0);
  22875. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0, 0);
  22876. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 0);
  22877. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 1, 0x3, 0);
  22878. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0x3, 0);
  22879. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22880. 0xa6 : 0xa7);
  22881. state->afeoverride[core] =
  22882. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22883. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22884. (0x1 << 0) | (0x1 << 1) | (0x1 << 2), 0);
  22885. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22886. 0xa5),
  22887. (0x1 << 0) |
  22888. (0x1 << 1) |
  22889. (0x1 << 2), (0x1 << 0) | (0x1 << 1) | (0x1 << 2));
  22890. state->vga_master[core] =
  22891. READ_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER);
  22892. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER, 0x2b);
  22893. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22894. state->fbmix[core] =
  22895. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  22896. TXFBMIX_G);
  22897. state->intpa_master[core] =
  22898. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  22899. INTPAG_MASTER);
  22900. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_G,
  22901. 0x03);
  22902. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  22903. INTPAG_MASTER, 0x04);
  22904. } else {
  22905. state->fbmix[core] =
  22906. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  22907. TXFBMIX_A);
  22908. state->intpa_master[core] =
  22909. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  22910. INTPAA_MASTER);
  22911. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_A,
  22912. 0x03);
  22913. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  22914. INTPAA_MASTER, 0x04);
  22915. }
  22916. tone_freq = 4000;
  22917. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  22918. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  22919. 0x29b, (0x1 << 0), (1) << 0);
  22920. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  22921. 0x29b, (0x1 << 0), (0) << 0);
  22922. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  22923. }
  22924. }
  22925. static void
  22926. wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi,
  22927. struct nphy_papd_restore_state *state)
  22928. {
  22929. u8 core;
  22930. wlc_phy_stopplayback_nphy(pi);
  22931. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22932. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  22933. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22934. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22935. TXRXCOUPLE_2G_PWRUP, 0);
  22936. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22937. TXRXCOUPLE_2G_ATTEN,
  22938. state->atten[core]);
  22939. } else {
  22940. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22941. TXRXCOUPLE_5G_PWRUP, 0);
  22942. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22943. TXRXCOUPLE_5G_ATTEN,
  22944. state->atten[core]);
  22945. }
  22946. }
  22947. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  22948. wlc_phy_rfctrl_override_nphy_rev7(
  22949. pi, (0x1 << 2),
  22950. 1, 0x3, 0,
  22951. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22952. else
  22953. wlc_phy_rfctrl_override_nphy_rev7(
  22954. pi, (0x1 << 2),
  22955. 0, 0x3, 1,
  22956. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22957. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  22958. 0, 0x3, 1,
  22959. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22960. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  22961. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22962. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 0, 0x3, 1,
  22963. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22964. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 1, 0x3, 1,
  22965. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22966. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 0, 0x3, 1,
  22967. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22968. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0x3, 1,
  22969. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22970. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12), 0, 0x3, 1,
  22971. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22972. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 1,
  22973. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22974. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  22975. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22976. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0x3, 1,
  22977. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22978. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0, 0x3, 1,
  22979. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22980. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1, 0x3, 1,
  22981. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22982. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0, 0x3, 1,
  22983. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22984. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1, 0x3, 1,
  22985. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22986. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0x3, 1,
  22987. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22988. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0, 0x3, 1,
  22989. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22990. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  22991. write_phy_reg(pi, (core == PHY_CORE_0) ?
  22992. 0xa6 : 0xa7, state->afectrl[core]);
  22993. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  22994. 0xa5, state->afeoverride[core]);
  22995. }
  22996. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  22997. (state->mm & 0xff));
  22998. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22999. || NREV_GE(pi->pubpi.phy_rev, 8))
  23000. wlc_phy_rfctrl_override_nphy_rev7(
  23001. pi, (0x1 << 7), 0, 0,
  23002. 1,
  23003. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23004. } else {
  23005. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  23006. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 0x3, 1);
  23007. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 1);
  23008. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 0, 0x3, 1);
  23009. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 0, 0x3, 1);
  23010. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23011. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER,
  23012. state->vga_master[core]);
  23013. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23014. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23015. TXFBMIX_G, state->fbmix[core]);
  23016. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23017. INTPAG_MASTER,
  23018. state->intpa_master[core]);
  23019. } else {
  23020. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23021. TXFBMIX_A, state->fbmix[core]);
  23022. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23023. INTPAA_MASTER,
  23024. state->intpa_master[core]);
  23025. }
  23026. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23027. 0xa6 : 0xa7, state->afectrl[core]);
  23028. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23029. 0xa5, state->afeoverride[core]);
  23030. }
  23031. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23032. (state->mm & 0xff));
  23033. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 1);
  23034. }
  23035. }
  23036. static void
  23037. wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start,
  23038. u32 end)
  23039. {
  23040. u32 *buf, *src, *dst, sz;
  23041. sz = end - start + 1;
  23042. buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
  23043. if (NULL == buf)
  23044. return;
  23045. src = buf;
  23046. dst = buf + NPHY_PAPD_EPS_TBL_SIZE;
  23047. wlc_phy_table_read_nphy(pi,
  23048. (core ==
  23049. PHY_CORE_0 ? NPHY_TBL_ID_EPSILONTBL0 :
  23050. NPHY_TBL_ID_EPSILONTBL1),
  23051. NPHY_PAPD_EPS_TBL_SIZE, 0, 32, src);
  23052. do {
  23053. u32 phy_a1, phy_a2;
  23054. s32 phy_a3, phy_a4, phy_a5, phy_a6, phy_a7;
  23055. phy_a1 = end - min(end, (winsz >> 1));
  23056. phy_a2 = min_t(u32, NPHY_PAPD_EPS_TBL_SIZE - 1,
  23057. end + (winsz >> 1));
  23058. phy_a3 = phy_a2 - phy_a1 + 1;
  23059. phy_a6 = 0;
  23060. phy_a7 = 0;
  23061. do {
  23062. wlc_phy_papd_decode_epsilon(src[phy_a2], &phy_a4,
  23063. &phy_a5);
  23064. phy_a6 += phy_a4;
  23065. phy_a7 += phy_a5;
  23066. } while (phy_a2-- != phy_a1);
  23067. phy_a6 /= phy_a3;
  23068. phy_a7 /= phy_a3;
  23069. dst[end] = ((u32) phy_a7 << 13) | ((u32) phy_a6 & 0x1fff);
  23070. } while (end-- != start);
  23071. wlc_phy_table_write_nphy(pi,
  23072. (core ==
  23073. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0 :
  23074. NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
  23075. kfree(buf);
  23076. }
  23077. static void
  23078. wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains,
  23079. enum phy_cal_mode cal_mode, u8 core)
  23080. {
  23081. u16 phy_a1, phy_a2, phy_a3;
  23082. u16 phy_a4, phy_a5;
  23083. bool phy_a6;
  23084. u8 phy_a7, m[2];
  23085. u32 phy_a8 = 0;
  23086. struct nphy_txgains phy_a9;
  23087. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23088. return;
  23089. phy_a7 = (core == PHY_CORE_0) ? 1 : 0;
  23090. phy_a6 = ((cal_mode == CAL_GCTRL)
  23091. || (cal_mode == CAL_SOFT)) ? true : false;
  23092. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23093. phy_a9 = wlc_phy_get_tx_gain_nphy(pi);
  23094. if (CHSPEC_IS2G(pi->radio_chanspec))
  23095. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23096. (phy_a9.txgm[core] << 12) |
  23097. (phy_a9.pga[core] << 8) |
  23098. (txgains->gains.pad[core] << 3) |
  23099. (phy_a9.ipa[core]));
  23100. else
  23101. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23102. (phy_a9.txgm[core] << 12) |
  23103. (txgains->gains.pga[core] << 8) |
  23104. (phy_a9.pad[core] << 3) | (phy_a9.ipa[core]));
  23105. wlc_phy_rfctrl_override_1tomany_nphy(
  23106. pi,
  23107. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23108. phy_a5, (1 << core), 0);
  23109. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23110. if ((pi->pubpi.radiorev <= 4)
  23111. || (pi->pubpi.radiorev == 6))
  23112. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23113. 60 : 79;
  23114. else
  23115. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23116. 45 : 64;
  23117. } else {
  23118. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23119. }
  23120. m[phy_a7] = 0;
  23121. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23122. phy_a2 = 63;
  23123. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23124. if ((pi->pubpi.radiorev == 4)
  23125. || (pi->pubpi.radiorev == 6)) {
  23126. phy_a1 = 30;
  23127. phy_a3 = 30;
  23128. } else {
  23129. phy_a1 = 25;
  23130. phy_a3 = 25;
  23131. }
  23132. } else {
  23133. if ((pi->pubpi.radiorev == 5)
  23134. || (pi->pubpi.radiorev == 7)
  23135. || (pi->pubpi.radiorev == 8)) {
  23136. phy_a1 = 25;
  23137. phy_a3 = 25;
  23138. } else {
  23139. phy_a1 = 35;
  23140. phy_a3 = 35;
  23141. }
  23142. }
  23143. if (cal_mode == CAL_GCTRL) {
  23144. if ((pi->pubpi.radiorev == 5)
  23145. && (CHSPEC_IS2G(pi->radio_chanspec)))
  23146. phy_a1 = 55;
  23147. else if (((pi->pubpi.radiorev == 7) &&
  23148. (CHSPEC_IS2G(pi->radio_chanspec))) ||
  23149. ((pi->pubpi.radiorev == 8) &&
  23150. (CHSPEC_IS2G(pi->radio_chanspec))))
  23151. phy_a1 = 60;
  23152. else
  23153. phy_a1 = 63;
  23154. } else if ((cal_mode != CAL_FULL) && (cal_mode != CAL_SOFT)) {
  23155. phy_a1 = 35;
  23156. phy_a3 = 35;
  23157. }
  23158. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23159. 0x29b, (0x1 << 0), (1) << 0);
  23160. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23161. 0x29b, (0x1 << 0), (0) << 0);
  23162. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23163. 0x2a4, (0x1 << 13), (1) << 13);
  23164. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23165. 0x2a4, (0x1 << 13), (0) << 13);
  23166. write_phy_reg(pi, 0x2a1, 0x80);
  23167. write_phy_reg(pi, 0x2a2, 0x100);
  23168. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23169. 0x2a4, (0x7 << 4), (11) << 4);
  23170. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23171. 0x2a4, (0x7 << 8), (11) << 8);
  23172. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23173. 0x2a4, (0x7 << 0), (0x3) << 0);
  23174. write_phy_reg(pi, 0x2e5, 0x20);
  23175. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23176. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23177. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23178. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23179. 1, ((core == 0) ? 1 : 2), 0,
  23180. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23181. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23182. 0, ((core == 0) ? 2 : 1), 0,
  23183. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23184. write_phy_reg(pi, 0x2be, 1);
  23185. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23186. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23187. 0, 0x3, 0,
  23188. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23189. wlc_phy_table_write_nphy(pi,
  23190. (core ==
  23191. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23192. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23193. 32, &phy_a8);
  23194. if (cal_mode != CAL_GCTRL) {
  23195. if (CHSPEC_IS5G(pi->radio_chanspec))
  23196. wlc_phy_a1_nphy(pi, core, 5, 0, 35);
  23197. }
  23198. wlc_phy_rfctrl_override_1tomany_nphy(
  23199. pi,
  23200. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23201. phy_a5, (1 << core), 1);
  23202. } else {
  23203. if (txgains) {
  23204. if (txgains->useindex) {
  23205. phy_a4 = 15 - ((txgains->index) >> 3);
  23206. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23207. if (NREV_GE(pi->pubpi.phy_rev, 6) &&
  23208. pi->sh->chip == BCMA_CHIP_ID_BCM47162) {
  23209. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23210. } else if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23211. phy_a5 = 0x00f7 | (phy_a4 << 8);
  23212. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  23213. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23214. } else {
  23215. phy_a5 = 0x50f7 | (phy_a4 << 8);
  23216. }
  23217. } else {
  23218. phy_a5 = 0x70f7 | (phy_a4 << 8);
  23219. }
  23220. wlc_phy_rfctrl_override_nphy(pi,
  23221. (0x1 << 13),
  23222. phy_a5,
  23223. (1 << core), 0);
  23224. } else {
  23225. wlc_phy_rfctrl_override_nphy(pi,
  23226. (0x1 << 13),
  23227. 0x5bf7,
  23228. (1 << core), 0);
  23229. }
  23230. }
  23231. if (CHSPEC_IS2G(pi->radio_chanspec))
  23232. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
  23233. else
  23234. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23235. m[phy_a7] = 0;
  23236. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23237. phy_a2 = 63;
  23238. if (cal_mode == CAL_FULL) {
  23239. phy_a1 = 25;
  23240. phy_a3 = 25;
  23241. } else if (cal_mode == CAL_SOFT) {
  23242. phy_a1 = 25;
  23243. phy_a3 = 25;
  23244. } else if (cal_mode == CAL_GCTRL) {
  23245. phy_a1 = 63;
  23246. phy_a3 = 25;
  23247. } else {
  23248. phy_a1 = 25;
  23249. phy_a3 = 25;
  23250. }
  23251. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23252. 0x29b, (0x1 << 0), (1) << 0);
  23253. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23254. 0x29b, (0x1 << 0), (0) << 0);
  23255. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23256. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23257. 0x2a4, (0x1 << 13), (1) << 13);
  23258. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23259. 0x2a4, (0x1 << 13), (0) << 13);
  23260. write_phy_reg(pi, 0x2a1, 0x20);
  23261. write_phy_reg(pi, 0x2a2, 0x60);
  23262. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23263. 0x2a4, (0xf << 4), (9) << 4);
  23264. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23265. 0x2a4, (0xf << 8), (9) << 8);
  23266. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23267. 0x2a4, (0xf << 0), (0x2) << 0);
  23268. write_phy_reg(pi, 0x2e5, 0x20);
  23269. } else {
  23270. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23271. 0x2a4, (0x1 << 11), (1) << 11);
  23272. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23273. 0x2a4, (0x1 << 11), (0) << 11);
  23274. write_phy_reg(pi, 0x2a1, 0x80);
  23275. write_phy_reg(pi, 0x2a2, 0x600);
  23276. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23277. 0x2a4, (0x7 << 4), (0) << 4);
  23278. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23279. 0x2a4, (0x7 << 8), (0) << 8);
  23280. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23281. 0x2a4, (0x7 << 0), (0x3) << 0);
  23282. mod_phy_reg(pi, 0x2a0, (0x3f << 8), (0x20) << 8);
  23283. }
  23284. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23285. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23286. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23287. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0x3, 0);
  23288. write_phy_reg(pi, 0x2be, 1);
  23289. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23290. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23291. wlc_phy_table_write_nphy(pi,
  23292. (core ==
  23293. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23294. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23295. 32, &phy_a8);
  23296. if (cal_mode != CAL_GCTRL)
  23297. wlc_phy_a1_nphy(pi, core, 5, 0, 40);
  23298. }
  23299. }
  23300. static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core)
  23301. {
  23302. int phy_a1;
  23303. int phy_a2;
  23304. bool phy_a3;
  23305. struct nphy_ipa_txcalgains phy_a4;
  23306. bool phy_a5 = false;
  23307. bool phy_a6 = true;
  23308. s32 phy_a7, phy_a8;
  23309. u32 phy_a9;
  23310. int phy_a10;
  23311. bool phy_a11 = false;
  23312. int phy_a12;
  23313. u8 phy_a13 = 0;
  23314. u8 phy_a14;
  23315. u8 *phy_a15 = NULL;
  23316. phy_a4.useindex = true;
  23317. phy_a12 = start_gain;
  23318. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23319. phy_a2 = 20;
  23320. phy_a1 = 1;
  23321. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23322. if (pi->pubpi.radiorev == 5) {
  23323. phy_a15 = pad_gain_codes_used_2057rev5;
  23324. phy_a13 =
  23325. ARRAY_SIZE(pad_gain_codes_used_2057rev5) - 1;
  23326. } else if ((pi->pubpi.radiorev == 7)
  23327. || (pi->pubpi.radiorev == 8)) {
  23328. phy_a15 = pad_gain_codes_used_2057rev7;
  23329. phy_a13 =
  23330. ARRAY_SIZE(pad_gain_codes_used_2057rev7) - 1;
  23331. } else {
  23332. phy_a15 = pad_all_gain_codes_2057;
  23333. phy_a13 = ARRAY_SIZE(pad_all_gain_codes_2057) -
  23334. 1;
  23335. }
  23336. } else {
  23337. phy_a15 = pga_all_gain_codes_2057;
  23338. phy_a13 = ARRAY_SIZE(pga_all_gain_codes_2057) - 1;
  23339. }
  23340. phy_a14 = 0;
  23341. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23342. if (CHSPEC_IS2G(pi->radio_chanspec))
  23343. phy_a4.gains.pad[core] =
  23344. (u16) phy_a15[phy_a12];
  23345. else
  23346. phy_a4.gains.pga[core] =
  23347. (u16) phy_a15[phy_a12];
  23348. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23349. wlc_phy_table_read_nphy(pi,
  23350. (core ==
  23351. PHY_CORE_0 ?
  23352. NPHY_TBL_ID_EPSILONTBL0 :
  23353. NPHY_TBL_ID_EPSILONTBL1), 1,
  23354. 63, 32, &phy_a9);
  23355. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23356. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23357. (phy_a8 == 4095) || (phy_a8 == -4096));
  23358. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23359. if (!phy_a3)
  23360. phy_a12 -= (u8) phy_a1;
  23361. phy_a11 = true;
  23362. break;
  23363. }
  23364. if (phy_a3)
  23365. phy_a12 += (u8) phy_a1;
  23366. else
  23367. phy_a12 -= (u8) phy_a1;
  23368. if ((phy_a12 < phy_a14) || (phy_a12 > phy_a13)) {
  23369. if (phy_a12 < phy_a14)
  23370. phy_a12 = phy_a14;
  23371. else
  23372. phy_a12 = phy_a13;
  23373. phy_a11 = true;
  23374. break;
  23375. }
  23376. phy_a6 = false;
  23377. phy_a5 = phy_a3;
  23378. }
  23379. } else {
  23380. phy_a2 = 10;
  23381. phy_a1 = 8;
  23382. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23383. phy_a4.index = (u8) phy_a12;
  23384. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23385. wlc_phy_table_read_nphy(pi,
  23386. (core ==
  23387. PHY_CORE_0 ?
  23388. NPHY_TBL_ID_EPSILONTBL0 :
  23389. NPHY_TBL_ID_EPSILONTBL1), 1,
  23390. 63, 32, &phy_a9);
  23391. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23392. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23393. (phy_a8 == 4095) || (phy_a8 == -4096));
  23394. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23395. if (!phy_a3)
  23396. phy_a12 -= (u8) phy_a1;
  23397. phy_a11 = true;
  23398. break;
  23399. }
  23400. if (phy_a3)
  23401. phy_a12 += (u8) phy_a1;
  23402. else
  23403. phy_a12 -= (u8) phy_a1;
  23404. if ((phy_a12 < 0) || (phy_a12 > 127)) {
  23405. if (phy_a12 < 0)
  23406. phy_a12 = 0;
  23407. else
  23408. phy_a12 = 127;
  23409. phy_a11 = true;
  23410. break;
  23411. }
  23412. phy_a6 = false;
  23413. phy_a5 = phy_a3;
  23414. }
  23415. }
  23416. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23417. return (u8) phy_a15[phy_a12];
  23418. else
  23419. return (u8) phy_a12;
  23420. }
  23421. static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal)
  23422. {
  23423. struct nphy_ipa_txcalgains phy_b1[2];
  23424. struct nphy_papd_restore_state phy_b2;
  23425. bool phy_b3;
  23426. u8 phy_b4;
  23427. u8 phy_b5;
  23428. s16 phy_b6, phy_b7, phy_b8;
  23429. u16 phy_b9;
  23430. s16 phy_b10, phy_b11, phy_b12;
  23431. phy_b11 = 0;
  23432. phy_b12 = 0;
  23433. phy_b7 = 0;
  23434. phy_b8 = 0;
  23435. phy_b6 = 0;
  23436. if (pi->nphy_papd_skip == 1)
  23437. return;
  23438. phy_b3 = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  23439. MCTL_EN_MAC));
  23440. if (!phy_b3)
  23441. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23442. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23443. pi->nphy_force_papd_cal = false;
  23444. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++)
  23445. pi->nphy_papd_tx_gain_at_last_cal[phy_b5] =
  23446. wlc_phy_txpwr_idx_cur_get_nphy(pi, phy_b5);
  23447. pi->nphy_papd_last_cal = pi->sh->now;
  23448. pi->nphy_papd_recal_counter++;
  23449. phy_b4 = pi->nphy_txpwrctrl;
  23450. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23451. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL0, 64, 0, 32,
  23452. nphy_papd_scaltbl);
  23453. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL1, 64, 0, 32,
  23454. nphy_papd_scaltbl);
  23455. phy_b9 = read_phy_reg(pi, 0x01);
  23456. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  23457. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23458. s32 i, val = 0;
  23459. for (i = 0; i < 64; i++)
  23460. wlc_phy_table_write_nphy(pi,
  23461. ((phy_b5 ==
  23462. PHY_CORE_0) ?
  23463. NPHY_TBL_ID_EPSILONTBL0 :
  23464. NPHY_TBL_ID_EPSILONTBL1), 1,
  23465. i, 32, &val);
  23466. }
  23467. wlc_phy_ipa_restore_tx_digi_filts_nphy(pi);
  23468. phy_b2.mm = wlc_phy_ipa_get_bbmult_nphy(pi);
  23469. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23470. wlc_phy_papd_cal_setup_nphy(pi, &phy_b2, phy_b5);
  23471. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23472. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23473. if ((pi->pubpi.radiorev == 3)
  23474. || (pi->pubpi.radiorev == 4)
  23475. || (pi->pubpi.radiorev == 6)) {
  23476. pi->nphy_papd_cal_gain_index[phy_b5] =
  23477. 23;
  23478. } else if (pi->pubpi.radiorev == 5) {
  23479. pi->nphy_papd_cal_gain_index[phy_b5] =
  23480. 0;
  23481. pi->nphy_papd_cal_gain_index[phy_b5] =
  23482. wlc_phy_a3_nphy(
  23483. pi,
  23484. pi->
  23485. nphy_papd_cal_gain_index
  23486. [phy_b5],
  23487. phy_b5);
  23488. } else if ((pi->pubpi.radiorev == 7)
  23489. || (pi->pubpi.radiorev == 8)) {
  23490. pi->nphy_papd_cal_gain_index[phy_b5] =
  23491. 0;
  23492. pi->nphy_papd_cal_gain_index[phy_b5] =
  23493. wlc_phy_a3_nphy(
  23494. pi,
  23495. pi->
  23496. nphy_papd_cal_gain_index
  23497. [phy_b5],
  23498. phy_b5);
  23499. }
  23500. phy_b1[phy_b5].gains.pad[phy_b5] =
  23501. pi->nphy_papd_cal_gain_index[phy_b5];
  23502. } else {
  23503. pi->nphy_papd_cal_gain_index[phy_b5] = 0;
  23504. pi->nphy_papd_cal_gain_index[phy_b5] =
  23505. wlc_phy_a3_nphy(
  23506. pi,
  23507. pi->
  23508. nphy_papd_cal_gain_index
  23509. [phy_b5], phy_b5);
  23510. phy_b1[phy_b5].gains.pga[phy_b5] =
  23511. pi->nphy_papd_cal_gain_index[phy_b5];
  23512. }
  23513. } else {
  23514. phy_b1[phy_b5].useindex = true;
  23515. phy_b1[phy_b5].index = 16;
  23516. phy_b1[phy_b5].index =
  23517. wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index,
  23518. phy_b5);
  23519. pi->nphy_papd_cal_gain_index[phy_b5] =
  23520. 15 - ((phy_b1[phy_b5].index) >> 3);
  23521. }
  23522. switch (pi->nphy_papd_cal_type) {
  23523. case 0:
  23524. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_FULL, phy_b5);
  23525. break;
  23526. case 1:
  23527. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_SOFT, phy_b5);
  23528. break;
  23529. }
  23530. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23531. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23532. }
  23533. if (NREV_LT(pi->pubpi.phy_rev, 7))
  23534. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23535. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23536. int eps_offset = 0;
  23537. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23538. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23539. if (pi->pubpi.radiorev == 3)
  23540. eps_offset = -2;
  23541. else if (pi->pubpi.radiorev == 5)
  23542. eps_offset = 3;
  23543. else
  23544. eps_offset = -1;
  23545. } else {
  23546. eps_offset = 2;
  23547. }
  23548. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23549. phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5];
  23550. phy_b10 = 0;
  23551. if ((pi->pubpi.radiorev == 3) ||
  23552. (pi->pubpi.radiorev == 4) ||
  23553. (pi->pubpi.radiorev == 6)) {
  23554. phy_b12 = -(
  23555. nphy_papd_padgain_dlt_2g_2057rev3n4
  23556. [phy_b8] + 1) / 2;
  23557. phy_b10 = -1;
  23558. } else if (pi->pubpi.radiorev == 5) {
  23559. phy_b12 = -(
  23560. nphy_papd_padgain_dlt_2g_2057rev5
  23561. [phy_b8] + 1) / 2;
  23562. } else if ((pi->pubpi.radiorev == 7) ||
  23563. (pi->pubpi.radiorev == 8)) {
  23564. phy_b12 = -(
  23565. nphy_papd_padgain_dlt_2g_2057rev7
  23566. [phy_b8] + 1) / 2;
  23567. }
  23568. } else {
  23569. phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5];
  23570. if ((pi->pubpi.radiorev == 3) ||
  23571. (pi->pubpi.radiorev == 4) ||
  23572. (pi->pubpi.radiorev == 6))
  23573. phy_b11 =
  23574. -(nphy_papd_pgagain_dlt_5g_2057
  23575. [phy_b7]
  23576. + 1) / 2;
  23577. else if ((pi->pubpi.radiorev == 7)
  23578. || (pi->pubpi.radiorev == 8))
  23579. phy_b11 = -(
  23580. nphy_papd_pgagain_dlt_5g_2057rev7
  23581. [phy_b7] + 1) / 2;
  23582. phy_b10 = -9;
  23583. }
  23584. if (CHSPEC_IS2G(pi->radio_chanspec))
  23585. phy_b6 =
  23586. -60 + 27 + eps_offset + phy_b12 +
  23587. phy_b10;
  23588. else
  23589. phy_b6 =
  23590. -60 + 27 + eps_offset + phy_b11 +
  23591. phy_b10;
  23592. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23593. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23594. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23595. } else {
  23596. if (NREV_LT(pi->pubpi.phy_rev, 5))
  23597. eps_offset = 4;
  23598. else
  23599. eps_offset = 2;
  23600. phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3);
  23601. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23602. phy_b11 =
  23603. -(nphy_papd_pga_gain_delta_ipa_2g[
  23604. phy_b7] +
  23605. 1) / 2;
  23606. phy_b10 = 0;
  23607. } else {
  23608. phy_b11 =
  23609. -(nphy_papd_pga_gain_delta_ipa_5g[
  23610. phy_b7] +
  23611. 1) / 2;
  23612. phy_b10 = -9;
  23613. }
  23614. phy_b6 = -60 + 27 + eps_offset + phy_b11 + phy_b10;
  23615. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23616. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23617. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23618. }
  23619. }
  23620. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  23621. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23622. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  23623. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23624. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23625. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23626. 0x2a4, (0x1 << 13), (0) << 13);
  23627. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23628. 0x2a4, (0x1 << 13), (0) << 13);
  23629. } else {
  23630. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23631. 0x2a4, (0x1 << 11), (0) << 11);
  23632. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23633. 0x2a4, (0x1 << 11), (0) << 11);
  23634. }
  23635. pi->nphy_papdcomp = NPHY_PAPD_COMP_ON;
  23636. write_phy_reg(pi, 0x01, phy_b9);
  23637. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  23638. wlc_phy_txpwrctrl_enable_nphy(pi, phy_b4);
  23639. if (phy_b4 == PHY_TPC_HW_OFF) {
  23640. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23641. (s8) (pi->nphy_txpwrindex[0].
  23642. index_internal), false);
  23643. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23644. (s8) (pi->nphy_txpwrindex[1].
  23645. index_internal), false);
  23646. }
  23647. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  23648. if (!phy_b3)
  23649. wlapi_enable_mac(pi->sh->physhim);
  23650. }
  23651. void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype)
  23652. {
  23653. struct nphy_txgains target_gain;
  23654. u8 tx_pwr_ctrl_state;
  23655. bool fullcal = true;
  23656. bool restore_tx_gain = false;
  23657. bool mphase;
  23658. if (PHY_MUTED(pi))
  23659. return;
  23660. if (caltype == PHY_PERICAL_AUTO)
  23661. fullcal = (pi->radio_chanspec != pi->nphy_txiqlocal_chanspec);
  23662. else if (caltype == PHY_PERICAL_PARTIAL)
  23663. fullcal = false;
  23664. if (pi->cal_type_override != PHY_PERICAL_AUTO)
  23665. fullcal =
  23666. (pi->cal_type_override ==
  23667. PHY_PERICAL_FULL) ? true : false;
  23668. if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) {
  23669. if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec)
  23670. wlc_phy_cal_perical_mphase_restart(pi);
  23671. }
  23672. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL))
  23673. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000);
  23674. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23675. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23676. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_IDLE) ||
  23677. (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_INIT)) {
  23678. pi->nphy_cal_orig_pwr_idx[0] =
  23679. (u8) ((read_phy_reg(pi, 0x1ed) >> 8) & 0x7f);
  23680. pi->nphy_cal_orig_pwr_idx[1] =
  23681. (u8) ((read_phy_reg(pi, 0x1ee) >> 8) & 0x7f);
  23682. if (pi->nphy_txpwrctrl != PHY_TPC_HW_OFF) {
  23683. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2,
  23684. 0x110, 16,
  23685. pi->nphy_cal_orig_tx_gain);
  23686. } else {
  23687. pi->nphy_cal_orig_tx_gain[0] = 0;
  23688. pi->nphy_cal_orig_tx_gain[1] = 0;
  23689. }
  23690. }
  23691. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23692. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  23693. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23694. if (pi->antsel_type == ANTSEL_2x3)
  23695. wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
  23696. mphase = (pi->mphase_cal_phase_id != MPHASE_CAL_STATE_IDLE);
  23697. if (!mphase) {
  23698. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23699. wlc_phy_precal_txgain_nphy(pi);
  23700. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23701. restore_tx_gain = true;
  23702. target_gain = pi->nphy_cal_target_gain;
  23703. }
  23704. if (0 ==
  23705. wlc_phy_cal_txiqlo_nphy(pi, target_gain, fullcal,
  23706. mphase)) {
  23707. if (PHY_IPA(pi))
  23708. wlc_phy_a4(pi, true);
  23709. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23710. wlapi_enable_mac(pi->sh->physhim);
  23711. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION,
  23712. 10000);
  23713. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23714. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23715. if (0 == wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23716. (pi->first_cal_after_assoc ||
  23717. (pi->cal_type_override ==
  23718. PHY_PERICAL_FULL)) ? 2 : 0, false)) {
  23719. wlc_phy_savecal_nphy(pi);
  23720. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23721. pi->nphy_perical_last = pi->sh->now;
  23722. }
  23723. }
  23724. if (caltype != PHY_PERICAL_AUTO)
  23725. wlc_phy_rssi_cal_nphy(pi);
  23726. if (pi->first_cal_after_assoc
  23727. || (pi->cal_type_override == PHY_PERICAL_FULL)) {
  23728. pi->first_cal_after_assoc = false;
  23729. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23730. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23731. }
  23732. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23733. wlc_phy_radio205x_vcocal_nphy(pi);
  23734. } else {
  23735. switch (pi->mphase_cal_phase_id) {
  23736. case MPHASE_CAL_STATE_INIT:
  23737. pi->nphy_perical_last = pi->sh->now;
  23738. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  23739. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23740. wlc_phy_precal_txgain_nphy(pi);
  23741. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23742. pi->mphase_cal_phase_id++;
  23743. break;
  23744. case MPHASE_CAL_STATE_TXPHASE0:
  23745. case MPHASE_CAL_STATE_TXPHASE1:
  23746. case MPHASE_CAL_STATE_TXPHASE2:
  23747. case MPHASE_CAL_STATE_TXPHASE3:
  23748. case MPHASE_CAL_STATE_TXPHASE4:
  23749. case MPHASE_CAL_STATE_TXPHASE5:
  23750. if ((pi->radar_percal_mask & 0x10) != 0)
  23751. pi->nphy_rxcal_active = true;
  23752. if (wlc_phy_cal_txiqlo_nphy
  23753. (pi, pi->nphy_cal_target_gain, fullcal,
  23754. true) != 0) {
  23755. wlc_phy_cal_perical_mphase_reset(pi);
  23756. break;
  23757. }
  23758. if (NREV_LE(pi->pubpi.phy_rev, 2) &&
  23759. (pi->mphase_cal_phase_id ==
  23760. MPHASE_CAL_STATE_TXPHASE4))
  23761. pi->mphase_cal_phase_id += 2;
  23762. else
  23763. pi->mphase_cal_phase_id++;
  23764. break;
  23765. case MPHASE_CAL_STATE_PAPDCAL:
  23766. if ((pi->radar_percal_mask & 0x2) != 0)
  23767. pi->nphy_rxcal_active = true;
  23768. if (PHY_IPA(pi))
  23769. wlc_phy_a4(pi, true);
  23770. pi->mphase_cal_phase_id++;
  23771. break;
  23772. case MPHASE_CAL_STATE_RXCAL:
  23773. if ((pi->radar_percal_mask & 0x1) != 0)
  23774. pi->nphy_rxcal_active = true;
  23775. if (wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23776. (pi->first_cal_after_assoc ||
  23777. (pi->cal_type_override ==
  23778. PHY_PERICAL_FULL)) ? 2 : 0,
  23779. false) == 0)
  23780. wlc_phy_savecal_nphy(pi);
  23781. pi->mphase_cal_phase_id++;
  23782. break;
  23783. case MPHASE_CAL_STATE_RSSICAL:
  23784. if ((pi->radar_percal_mask & 0x4) != 0)
  23785. pi->nphy_rxcal_active = true;
  23786. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23787. wlc_phy_rssi_cal_nphy(pi);
  23788. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23789. wlc_phy_radio205x_vcocal_nphy(pi);
  23790. restore_tx_gain = true;
  23791. if (pi->first_cal_after_assoc)
  23792. pi->mphase_cal_phase_id++;
  23793. else
  23794. wlc_phy_cal_perical_mphase_reset(pi);
  23795. break;
  23796. case MPHASE_CAL_STATE_IDLETSSI:
  23797. if ((pi->radar_percal_mask & 0x8) != 0)
  23798. pi->nphy_rxcal_active = true;
  23799. if (pi->first_cal_after_assoc) {
  23800. pi->first_cal_after_assoc = false;
  23801. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23802. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23803. }
  23804. wlc_phy_cal_perical_mphase_reset(pi);
  23805. break;
  23806. default:
  23807. wlc_phy_cal_perical_mphase_reset(pi);
  23808. break;
  23809. }
  23810. }
  23811. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23812. if (restore_tx_gain) {
  23813. if (tx_pwr_ctrl_state != PHY_TPC_HW_OFF) {
  23814. wlc_phy_txpwr_index_nphy(pi, 1,
  23815. pi->
  23816. nphy_cal_orig_pwr_idx
  23817. [0], false);
  23818. wlc_phy_txpwr_index_nphy(pi, 2,
  23819. pi->
  23820. nphy_cal_orig_pwr_idx
  23821. [1], false);
  23822. pi->nphy_txpwrindex[0].index = -1;
  23823. pi->nphy_txpwrindex[1].index = -1;
  23824. } else {
  23825. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23826. (s8) (pi->
  23827. nphy_txpwrindex
  23828. [0].
  23829. index_internal),
  23830. false);
  23831. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23832. (s8) (pi->
  23833. nphy_txpwrindex
  23834. [1].
  23835. index_internal),
  23836. false);
  23837. }
  23838. }
  23839. }
  23840. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  23841. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23842. wlapi_enable_mac(pi->sh->physhim);
  23843. }
  23844. int
  23845. wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  23846. bool fullcal, bool mphase)
  23847. {
  23848. u16 val;
  23849. u16 tbl_buf[11];
  23850. u8 cal_cnt;
  23851. u16 cal_cmd;
  23852. u8 num_cals, max_cal_cmds;
  23853. u16 core_no, cal_type;
  23854. u16 diq_start = 0;
  23855. u8 phy_bw;
  23856. u16 max_val;
  23857. u16 tone_freq;
  23858. u16 gain_save[2];
  23859. u16 cal_gain[2];
  23860. struct nphy_iqcal_params cal_params[2];
  23861. u32 tbl_len;
  23862. const void *tbl_ptr;
  23863. bool ladder_updated[2];
  23864. u8 mphase_cal_lastphase = 0;
  23865. int bcmerror = 0;
  23866. bool phyhang_avoid_state = false;
  23867. static const u16 tbl_tx_iqlo_cal_loft_ladder_20[] = {
  23868. 0x0300, 0x0500, 0x0700, 0x0900, 0x0d00, 0x1100, 0x1900, 0x1901,
  23869. 0x1902,
  23870. 0x1903, 0x1904, 0x1905, 0x1906, 0x1907, 0x2407, 0x3207, 0x4607,
  23871. 0x6407
  23872. };
  23873. static const u16 tbl_tx_iqlo_cal_iqimb_ladder_20[] = {
  23874. 0x0200, 0x0300, 0x0600, 0x0900, 0x0d00, 0x1100, 0x1900, 0x2400,
  23875. 0x3200,
  23876. 0x4600, 0x6400, 0x6401, 0x6402, 0x6403, 0x6404, 0x6405, 0x6406,
  23877. 0x6407
  23878. };
  23879. static const u16 tbl_tx_iqlo_cal_loft_ladder_40[] = {
  23880. 0x0200, 0x0300, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1201,
  23881. 0x1202,
  23882. 0x1203, 0x1204, 0x1205, 0x1206, 0x1207, 0x1907, 0x2307, 0x3207,
  23883. 0x4707
  23884. };
  23885. static const u16 tbl_tx_iqlo_cal_iqimb_ladder_40[] = {
  23886. 0x0100, 0x0200, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1900,
  23887. 0x2300,
  23888. 0x3200, 0x4700, 0x4701, 0x4702, 0x4703, 0x4704, 0x4705, 0x4706,
  23889. 0x4707
  23890. };
  23891. static const u16 tbl_tx_iqlo_cal_startcoefs[] = {
  23892. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23893. 0x0000
  23894. };
  23895. static const u16 tbl_tx_iqlo_cal_cmds_fullcal[] = {
  23896. 0x8123, 0x8264, 0x8086, 0x8245, 0x8056,
  23897. 0x9123, 0x9264, 0x9086, 0x9245, 0x9056
  23898. };
  23899. static const u16 tbl_tx_iqlo_cal_cmds_recal[] = {
  23900. 0x8101, 0x8253, 0x8053, 0x8234, 0x8034,
  23901. 0x9101, 0x9253, 0x9053, 0x9234, 0x9034
  23902. };
  23903. static const u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[] = {
  23904. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23905. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23906. 0x0000
  23907. };
  23908. static const u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[] = {
  23909. 0x8434, 0x8334, 0x8084, 0x8267, 0x8056, 0x8234,
  23910. 0x9434, 0x9334, 0x9084, 0x9267, 0x9056, 0x9234
  23911. };
  23912. static const u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[] = {
  23913. 0x8423, 0x8323, 0x8073, 0x8256, 0x8045, 0x8223,
  23914. 0x9423, 0x9323, 0x9073, 0x9256, 0x9045, 0x9223
  23915. };
  23916. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23917. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  23918. phyhang_avoid_state = pi->phyhang_avoid;
  23919. pi->phyhang_avoid = false;
  23920. }
  23921. if (CHSPEC_IS40(pi->radio_chanspec))
  23922. phy_bw = 40;
  23923. else
  23924. phy_bw = 20;
  23925. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  23926. for (core_no = 0; core_no <= 1; core_no++) {
  23927. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  23928. &cal_params[core_no]);
  23929. cal_gain[core_no] = cal_params[core_no].cal_gain;
  23930. }
  23931. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  23932. wlc_phy_txcal_radio_setup_nphy(pi);
  23933. wlc_phy_txcal_physetup_nphy(pi);
  23934. ladder_updated[0] = ladder_updated[1] = false;
  23935. if (!(NREV_GE(pi->pubpi.phy_rev, 6) ||
  23936. (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi)
  23937. && (CHSPEC_IS2G(pi->radio_chanspec))))) {
  23938. if (phy_bw == 40) {
  23939. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_40;
  23940. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_40);
  23941. } else {
  23942. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_20;
  23943. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_20);
  23944. }
  23945. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 0,
  23946. 16, tbl_ptr);
  23947. if (phy_bw == 40) {
  23948. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_40;
  23949. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_40);
  23950. } else {
  23951. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_20;
  23952. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_20);
  23953. }
  23954. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 32,
  23955. 16, tbl_ptr);
  23956. }
  23957. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23958. write_phy_reg(pi, 0xc2, 0x8ad9);
  23959. else
  23960. write_phy_reg(pi, 0xc2, 0x8aa9);
  23961. max_val = 250;
  23962. tone_freq = (phy_bw == 20) ? 2500 : 5000;
  23963. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  23964. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff, 0, 1, 0, false);
  23965. bcmerror = 0;
  23966. } else {
  23967. bcmerror =
  23968. wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0,
  23969. false);
  23970. }
  23971. if (bcmerror == 0) {
  23972. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  23973. tbl_ptr = pi->mphase_txcal_bestcoeffs;
  23974. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  23975. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23976. tbl_len -= 2;
  23977. } else {
  23978. if ((!fullcal) && (pi->nphy_txiqlocal_coeffsvalid)) {
  23979. tbl_ptr = pi->nphy_txiqlocal_bestc;
  23980. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  23981. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23982. tbl_len -= 2;
  23983. } else {
  23984. fullcal = true;
  23985. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23986. tbl_ptr =
  23987. tbl_tx_iqlo_cal_startcoefs_nphyrev3;
  23988. tbl_len = ARRAY_SIZE(
  23989. tbl_tx_iqlo_cal_startcoefs_nphyrev3);
  23990. } else {
  23991. tbl_ptr = tbl_tx_iqlo_cal_startcoefs;
  23992. tbl_len = ARRAY_SIZE(
  23993. tbl_tx_iqlo_cal_startcoefs);
  23994. }
  23995. }
  23996. }
  23997. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 64,
  23998. 16, tbl_ptr);
  23999. if (fullcal) {
  24000. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24001. ARRAY_SIZE(
  24002. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3) :
  24003. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_fullcal);
  24004. } else {
  24005. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24006. ARRAY_SIZE(
  24007. tbl_tx_iqlo_cal_cmds_recal_nphyrev3) :
  24008. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_recal);
  24009. }
  24010. if (mphase) {
  24011. cal_cnt = pi->mphase_txcal_cmdidx;
  24012. if ((cal_cnt + pi->mphase_txcal_numcmds) < max_cal_cmds)
  24013. num_cals = cal_cnt + pi->mphase_txcal_numcmds;
  24014. else
  24015. num_cals = max_cal_cmds;
  24016. } else {
  24017. cal_cnt = 0;
  24018. num_cals = max_cal_cmds;
  24019. }
  24020. for (; cal_cnt < num_cals; cal_cnt++) {
  24021. if (fullcal) {
  24022. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24023. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3
  24024. [cal_cnt] :
  24025. tbl_tx_iqlo_cal_cmds_fullcal[cal_cnt];
  24026. } else {
  24027. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24028. tbl_tx_iqlo_cal_cmds_recal_nphyrev3[
  24029. cal_cnt]
  24030. : tbl_tx_iqlo_cal_cmds_recal[cal_cnt];
  24031. }
  24032. core_no = ((cal_cmd & 0x3000) >> 12);
  24033. cal_type = ((cal_cmd & 0x0F00) >> 8);
  24034. if (NREV_GE(pi->pubpi.phy_rev, 6) ||
  24035. (NREV_IS(pi->pubpi.phy_rev, 5) &&
  24036. PHY_IPA(pi)
  24037. && (CHSPEC_IS2G(pi->radio_chanspec)))) {
  24038. if (!ladder_updated[core_no]) {
  24039. wlc_phy_update_txcal_ladder_nphy(
  24040. pi,
  24041. core_no);
  24042. ladder_updated[core_no] = true;
  24043. }
  24044. }
  24045. val =
  24046. (cal_params[core_no].
  24047. ncorr[cal_type] << 8) | NPHY_N_GCTL;
  24048. write_phy_reg(pi, 0xc1, val);
  24049. if ((cal_type == 1) || (cal_type == 3)
  24050. || (cal_type == 4)) {
  24051. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24052. 1, 69 + core_no, 16,
  24053. tbl_buf);
  24054. diq_start = tbl_buf[0];
  24055. tbl_buf[0] = 0;
  24056. wlc_phy_table_write_nphy(pi,
  24057. NPHY_TBL_ID_IQLOCAL, 1,
  24058. 69 + core_no, 16,
  24059. tbl_buf);
  24060. }
  24061. write_phy_reg(pi, 0xc0, cal_cmd);
  24062. SPINWAIT(((read_phy_reg(pi, 0xc0) & 0xc000) != 0),
  24063. 20000);
  24064. if (WARN(read_phy_reg(pi, 0xc0) & 0xc000,
  24065. "HW error: txiq calib"))
  24066. return -EIO;
  24067. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24068. tbl_len, 96, 16, tbl_buf);
  24069. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24070. tbl_len, 64, 16, tbl_buf);
  24071. if ((cal_type == 1) || (cal_type == 3)
  24072. || (cal_type == 4)) {
  24073. tbl_buf[0] = diq_start;
  24074. }
  24075. }
  24076. if (mphase) {
  24077. pi->mphase_txcal_cmdidx = num_cals;
  24078. if (pi->mphase_txcal_cmdidx >= max_cal_cmds)
  24079. pi->mphase_txcal_cmdidx = 0;
  24080. }
  24081. mphase_cal_lastphase =
  24082. (NREV_LE(pi->pubpi.phy_rev, 2)) ?
  24083. MPHASE_CAL_STATE_TXPHASE4 : MPHASE_CAL_STATE_TXPHASE5;
  24084. if (!mphase
  24085. || (pi->mphase_cal_phase_id == mphase_cal_lastphase)) {
  24086. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 96,
  24087. 16, tbl_buf);
  24088. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24089. 16, tbl_buf);
  24090. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24091. tbl_buf[0] = 0;
  24092. tbl_buf[1] = 0;
  24093. tbl_buf[2] = 0;
  24094. tbl_buf[3] = 0;
  24095. }
  24096. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24097. 16, tbl_buf);
  24098. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 101,
  24099. 16, tbl_buf);
  24100. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24101. 16, tbl_buf);
  24102. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24103. 16, tbl_buf);
  24104. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24105. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24106. tbl_len -= 2;
  24107. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24108. tbl_len, 96, 16,
  24109. pi->nphy_txiqlocal_bestc);
  24110. pi->nphy_txiqlocal_coeffsvalid = true;
  24111. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  24112. } else {
  24113. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24114. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24115. tbl_len -= 2;
  24116. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24117. tbl_len, 96, 16,
  24118. pi->mphase_txcal_bestcoeffs);
  24119. }
  24120. wlc_phy_stopplayback_nphy(pi);
  24121. write_phy_reg(pi, 0xc2, 0x0000);
  24122. }
  24123. wlc_phy_txcal_phycleanup_nphy(pi);
  24124. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  24125. gain_save);
  24126. wlc_phy_txcal_radio_cleanup_nphy(pi);
  24127. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24128. if (!mphase
  24129. || (pi->mphase_cal_phase_id == mphase_cal_lastphase))
  24130. wlc_phy_tx_iq_war_nphy(pi);
  24131. }
  24132. if (NREV_GE(pi->pubpi.phy_rev, 4))
  24133. pi->phyhang_avoid = phyhang_avoid_state;
  24134. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  24135. return bcmerror;
  24136. }
  24137. static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi)
  24138. {
  24139. u16 tbl_buf[7];
  24140. if ((pi->nphy_txiqlocal_chanspec == pi->radio_chanspec) &&
  24141. (pi->nphy_txiqlocal_coeffsvalid)) {
  24142. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24143. ARRAY_SIZE(tbl_buf), 80, 16, tbl_buf);
  24144. if ((pi->nphy_txiqlocal_bestc[0] != tbl_buf[0]) ||
  24145. (pi->nphy_txiqlocal_bestc[1] != tbl_buf[1]) ||
  24146. (pi->nphy_txiqlocal_bestc[2] != tbl_buf[2]) ||
  24147. (pi->nphy_txiqlocal_bestc[3] != tbl_buf[3])) {
  24148. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24149. 16, pi->nphy_txiqlocal_bestc);
  24150. tbl_buf[0] = 0;
  24151. tbl_buf[1] = 0;
  24152. tbl_buf[2] = 0;
  24153. tbl_buf[3] = 0;
  24154. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24155. 16, tbl_buf);
  24156. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24157. 16,
  24158. &pi->nphy_txiqlocal_bestc[5]);
  24159. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24160. 16,
  24161. &pi->nphy_txiqlocal_bestc[5]);
  24162. }
  24163. }
  24164. }
  24165. void
  24166. wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write,
  24167. struct nphy_iq_comp *pcomp)
  24168. {
  24169. if (write) {
  24170. write_phy_reg(pi, 0x9a, pcomp->a0);
  24171. write_phy_reg(pi, 0x9b, pcomp->b0);
  24172. write_phy_reg(pi, 0x9c, pcomp->a1);
  24173. write_phy_reg(pi, 0x9d, pcomp->b1);
  24174. } else {
  24175. pcomp->a0 = read_phy_reg(pi, 0x9a);
  24176. pcomp->b0 = read_phy_reg(pi, 0x9b);
  24177. pcomp->a1 = read_phy_reg(pi, 0x9c);
  24178. pcomp->b1 = read_phy_reg(pi, 0x9d);
  24179. }
  24180. }
  24181. void
  24182. wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
  24183. u16 num_samps, u8 wait_time, u8 wait_for_crs)
  24184. {
  24185. u8 core;
  24186. write_phy_reg(pi, 0x12b, num_samps);
  24187. mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0));
  24188. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqMode,
  24189. (wait_for_crs) ? NPHY_IqestCmd_iqMode : 0);
  24190. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqstart, NPHY_IqestCmd_iqstart);
  24191. SPINWAIT(((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) != 0),
  24192. 10000);
  24193. if (WARN(read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart,
  24194. "HW error: rxiq est"))
  24195. return;
  24196. if ((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) == 0) {
  24197. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  24198. est[core].i_pwr =
  24199. (read_phy_reg(pi,
  24200. NPHY_IqestipwrAccHi(core)) << 16)
  24201. | read_phy_reg(pi, NPHY_IqestipwrAccLo(core));
  24202. est[core].q_pwr =
  24203. (read_phy_reg(pi,
  24204. NPHY_IqestqpwrAccHi(core)) << 16)
  24205. | read_phy_reg(pi, NPHY_IqestqpwrAccLo(core));
  24206. est[core].iq_prod =
  24207. (read_phy_reg(pi,
  24208. NPHY_IqestIqAccHi(core)) << 16) |
  24209. read_phy_reg(pi, NPHY_IqestIqAccLo(core));
  24210. }
  24211. }
  24212. }
  24213. #define CAL_RETRY_CNT 2
  24214. static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask)
  24215. {
  24216. u8 curr_core;
  24217. struct phy_iq_est est[PHY_CORE_MAX];
  24218. struct nphy_iq_comp old_comp, new_comp;
  24219. s32 iq = 0;
  24220. u32 ii = 0, qq = 0;
  24221. s16 iq_nbits, qq_nbits, brsh, arsh;
  24222. s32 a, b, temp;
  24223. int bcmerror = 0;
  24224. uint cal_retry = 0;
  24225. if (core_mask == 0x0)
  24226. return;
  24227. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &old_comp);
  24228. new_comp.a0 = new_comp.b0 = new_comp.a1 = new_comp.b1 = 0x0;
  24229. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24230. cal_try:
  24231. wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0);
  24232. new_comp = old_comp;
  24233. for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) {
  24234. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24235. iq = est[curr_core].iq_prod;
  24236. ii = est[curr_core].i_pwr;
  24237. qq = est[curr_core].q_pwr;
  24238. } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24239. iq = est[curr_core].iq_prod;
  24240. ii = est[curr_core].i_pwr;
  24241. qq = est[curr_core].q_pwr;
  24242. } else {
  24243. continue;
  24244. }
  24245. if ((ii + qq) < NPHY_MIN_RXIQ_PWR) {
  24246. bcmerror = -EBADE;
  24247. break;
  24248. }
  24249. iq_nbits = wlc_phy_nbits(iq);
  24250. qq_nbits = wlc_phy_nbits(qq);
  24251. arsh = 10 - (30 - iq_nbits);
  24252. if (arsh >= 0) {
  24253. a = (-(iq << (30 - iq_nbits)) + (ii >> (1 + arsh)));
  24254. temp = (s32) (ii >> arsh);
  24255. if (temp == 0) {
  24256. bcmerror = -EBADE;
  24257. break;
  24258. }
  24259. } else {
  24260. a = (-(iq << (30 - iq_nbits)) + (ii << (-1 - arsh)));
  24261. temp = (s32) (ii << -arsh);
  24262. if (temp == 0) {
  24263. bcmerror = -EBADE;
  24264. break;
  24265. }
  24266. }
  24267. a /= temp;
  24268. brsh = qq_nbits - 31 + 20;
  24269. if (brsh >= 0) {
  24270. b = (qq << (31 - qq_nbits));
  24271. temp = (s32) (ii >> brsh);
  24272. if (temp == 0) {
  24273. bcmerror = -EBADE;
  24274. break;
  24275. }
  24276. } else {
  24277. b = (qq << (31 - qq_nbits));
  24278. temp = (s32) (ii << -brsh);
  24279. if (temp == 0) {
  24280. bcmerror = -EBADE;
  24281. break;
  24282. }
  24283. }
  24284. b /= temp;
  24285. b -= a * a;
  24286. b = (s32) int_sqrt((unsigned long) b);
  24287. b -= (1 << 10);
  24288. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24289. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24290. new_comp.a0 = (s16) a & 0x3ff;
  24291. new_comp.b0 = (s16) b & 0x3ff;
  24292. } else {
  24293. new_comp.a0 = (s16) b & 0x3ff;
  24294. new_comp.b0 = (s16) a & 0x3ff;
  24295. }
  24296. }
  24297. if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24298. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24299. new_comp.a1 = (s16) a & 0x3ff;
  24300. new_comp.b1 = (s16) b & 0x3ff;
  24301. } else {
  24302. new_comp.a1 = (s16) b & 0x3ff;
  24303. new_comp.b1 = (s16) a & 0x3ff;
  24304. }
  24305. }
  24306. }
  24307. if (bcmerror != 0) {
  24308. pr_debug("%s: Failed, cnt = %d\n", __func__, cal_retry);
  24309. if (cal_retry < CAL_RETRY_CNT) {
  24310. cal_retry++;
  24311. goto cal_try;
  24312. }
  24313. new_comp = old_comp;
  24314. }
  24315. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24316. }
  24317. static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core)
  24318. {
  24319. u16 offtune_val;
  24320. u16 bias_g = 0;
  24321. u16 bias_a = 0;
  24322. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24323. if (rx_core == PHY_CORE_0) {
  24324. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24325. pi->tx_rx_cal_radio_saveregs[0] =
  24326. read_radio_reg(pi,
  24327. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP);
  24328. pi->tx_rx_cal_radio_saveregs[1] =
  24329. read_radio_reg(pi,
  24330. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN);
  24331. write_radio_reg(pi,
  24332. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24333. 0x3);
  24334. write_radio_reg(pi,
  24335. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24336. 0xaf);
  24337. } else {
  24338. pi->tx_rx_cal_radio_saveregs[0] =
  24339. read_radio_reg(pi,
  24340. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP);
  24341. pi->tx_rx_cal_radio_saveregs[1] =
  24342. read_radio_reg(pi,
  24343. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN);
  24344. write_radio_reg(
  24345. pi,
  24346. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24347. 0x3);
  24348. write_radio_reg(
  24349. pi,
  24350. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24351. 0x7f);
  24352. }
  24353. } else {
  24354. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24355. pi->tx_rx_cal_radio_saveregs[0] =
  24356. read_radio_reg(pi,
  24357. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP);
  24358. pi->tx_rx_cal_radio_saveregs[1] =
  24359. read_radio_reg(pi,
  24360. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN);
  24361. write_radio_reg(
  24362. pi,
  24363. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24364. 0x3);
  24365. write_radio_reg(
  24366. pi,
  24367. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24368. 0xaf);
  24369. } else {
  24370. pi->tx_rx_cal_radio_saveregs[0] =
  24371. read_radio_reg(pi,
  24372. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP);
  24373. pi->tx_rx_cal_radio_saveregs[1] =
  24374. read_radio_reg(pi,
  24375. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN);
  24376. write_radio_reg(pi,
  24377. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24378. 0x3);
  24379. write_radio_reg(pi,
  24380. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24381. 0x7f);
  24382. }
  24383. }
  24384. } else {
  24385. if (rx_core == PHY_CORE_0) {
  24386. pi->tx_rx_cal_radio_saveregs[0] =
  24387. read_radio_reg(pi,
  24388. RADIO_2056_TX_RXIQCAL_TXMUX |
  24389. RADIO_2056_TX1);
  24390. pi->tx_rx_cal_radio_saveregs[1] =
  24391. read_radio_reg(pi,
  24392. RADIO_2056_RX_RXIQCAL_RXMUX |
  24393. RADIO_2056_RX0);
  24394. if (pi->pubpi.radiorev >= 5) {
  24395. pi->tx_rx_cal_radio_saveregs[2] =
  24396. read_radio_reg(pi,
  24397. RADIO_2056_RX_RXSPARE2 |
  24398. RADIO_2056_RX0);
  24399. pi->tx_rx_cal_radio_saveregs[3] =
  24400. read_radio_reg(pi,
  24401. RADIO_2056_TX_TXSPARE2 |
  24402. RADIO_2056_TX1);
  24403. }
  24404. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24405. if (pi->pubpi.radiorev >= 5) {
  24406. pi->tx_rx_cal_radio_saveregs[4] =
  24407. read_radio_reg(pi,
  24408. RADIO_2056_RX_LNAA_MASTER
  24409. | RADIO_2056_RX0);
  24410. write_radio_reg(
  24411. pi,
  24412. RADIO_2056_RX_LNAA_MASTER
  24413. | RADIO_2056_RX0, 0x40);
  24414. write_radio_reg(pi,
  24415. RADIO_2056_TX_TXSPARE2 |
  24416. RADIO_2056_TX1, bias_a);
  24417. write_radio_reg(pi,
  24418. RADIO_2056_RX_RXSPARE2 |
  24419. RADIO_2056_RX0, bias_a);
  24420. } else {
  24421. pi->tx_rx_cal_radio_saveregs[4] =
  24422. read_radio_reg(pi,
  24423. RADIO_2056_RX_LNAA_TUNE
  24424. | RADIO_2056_RX0);
  24425. offtune_val =
  24426. (pi->tx_rx_cal_radio_saveregs
  24427. [2] & 0xF0) >> 8;
  24428. offtune_val =
  24429. (offtune_val <= 0x7) ? 0xF : 0;
  24430. mod_radio_reg(pi,
  24431. RADIO_2056_RX_LNAA_TUNE |
  24432. RADIO_2056_RX0, 0xF0,
  24433. (offtune_val << 8));
  24434. }
  24435. write_radio_reg(pi,
  24436. RADIO_2056_TX_RXIQCAL_TXMUX |
  24437. RADIO_2056_TX1, 0x9);
  24438. write_radio_reg(pi,
  24439. RADIO_2056_RX_RXIQCAL_RXMUX |
  24440. RADIO_2056_RX0, 0x9);
  24441. } else {
  24442. if (pi->pubpi.radiorev >= 5) {
  24443. pi->tx_rx_cal_radio_saveregs[4] =
  24444. read_radio_reg(
  24445. pi,
  24446. RADIO_2056_RX_LNAG_MASTER
  24447. | RADIO_2056_RX0);
  24448. write_radio_reg(
  24449. pi,
  24450. RADIO_2056_RX_LNAG_MASTER
  24451. | RADIO_2056_RX0, 0x40);
  24452. write_radio_reg(
  24453. pi,
  24454. RADIO_2056_TX_TXSPARE2
  24455. |
  24456. RADIO_2056_TX1, bias_g);
  24457. write_radio_reg(
  24458. pi,
  24459. RADIO_2056_RX_RXSPARE2
  24460. |
  24461. RADIO_2056_RX0, bias_g);
  24462. } else {
  24463. pi->tx_rx_cal_radio_saveregs[4] =
  24464. read_radio_reg(
  24465. pi,
  24466. RADIO_2056_RX_LNAG_TUNE
  24467. | RADIO_2056_RX0);
  24468. offtune_val =
  24469. (pi->
  24470. tx_rx_cal_radio_saveregs[2] &
  24471. 0xF0) >> 8;
  24472. offtune_val =
  24473. (offtune_val <= 0x7) ? 0xF : 0;
  24474. mod_radio_reg(pi,
  24475. RADIO_2056_RX_LNAG_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, 0x6);
  24482. write_radio_reg(pi,
  24483. RADIO_2056_RX_RXIQCAL_RXMUX |
  24484. RADIO_2056_RX0, 0x6);
  24485. }
  24486. } else {
  24487. pi->tx_rx_cal_radio_saveregs[0] =
  24488. read_radio_reg(pi,
  24489. RADIO_2056_TX_RXIQCAL_TXMUX |
  24490. RADIO_2056_TX0);
  24491. pi->tx_rx_cal_radio_saveregs[1] =
  24492. read_radio_reg(pi,
  24493. RADIO_2056_RX_RXIQCAL_RXMUX |
  24494. RADIO_2056_RX1);
  24495. if (pi->pubpi.radiorev >= 5) {
  24496. pi->tx_rx_cal_radio_saveregs[2] =
  24497. read_radio_reg(pi,
  24498. RADIO_2056_RX_RXSPARE2 |
  24499. RADIO_2056_RX1);
  24500. pi->tx_rx_cal_radio_saveregs[3] =
  24501. read_radio_reg(pi,
  24502. RADIO_2056_TX_TXSPARE2 |
  24503. RADIO_2056_TX0);
  24504. }
  24505. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24506. if (pi->pubpi.radiorev >= 5) {
  24507. pi->tx_rx_cal_radio_saveregs[4] =
  24508. read_radio_reg(
  24509. pi,
  24510. RADIO_2056_RX_LNAA_MASTER
  24511. | RADIO_2056_RX1);
  24512. write_radio_reg(
  24513. pi,
  24514. RADIO_2056_RX_LNAA_MASTER |
  24515. RADIO_2056_RX1, 0x40);
  24516. write_radio_reg(
  24517. pi,
  24518. RADIO_2056_TX_TXSPARE2
  24519. |
  24520. RADIO_2056_TX0, bias_a);
  24521. write_radio_reg(
  24522. pi,
  24523. RADIO_2056_RX_RXSPARE2
  24524. |
  24525. RADIO_2056_RX1, bias_a);
  24526. } else {
  24527. pi->tx_rx_cal_radio_saveregs[4] =
  24528. read_radio_reg(
  24529. pi,
  24530. RADIO_2056_RX_LNAA_TUNE
  24531. | RADIO_2056_RX1);
  24532. offtune_val =
  24533. (pi->
  24534. tx_rx_cal_radio_saveregs[2] &
  24535. 0xF0) >> 8;
  24536. offtune_val =
  24537. (offtune_val <= 0x7) ? 0xF : 0;
  24538. mod_radio_reg(pi,
  24539. RADIO_2056_RX_LNAA_TUNE |
  24540. RADIO_2056_RX1, 0xF0,
  24541. (offtune_val << 8));
  24542. }
  24543. write_radio_reg(pi,
  24544. RADIO_2056_TX_RXIQCAL_TXMUX |
  24545. RADIO_2056_TX0, 0x9);
  24546. write_radio_reg(pi,
  24547. RADIO_2056_RX_RXIQCAL_RXMUX |
  24548. RADIO_2056_RX1, 0x9);
  24549. } else {
  24550. if (pi->pubpi.radiorev >= 5) {
  24551. pi->tx_rx_cal_radio_saveregs[4] =
  24552. read_radio_reg(
  24553. pi,
  24554. RADIO_2056_RX_LNAG_MASTER
  24555. | RADIO_2056_RX1);
  24556. write_radio_reg(
  24557. pi,
  24558. RADIO_2056_RX_LNAG_MASTER
  24559. | RADIO_2056_RX1, 0x40);
  24560. write_radio_reg(
  24561. pi,
  24562. RADIO_2056_TX_TXSPARE2
  24563. |
  24564. RADIO_2056_TX0, bias_g);
  24565. write_radio_reg(
  24566. pi,
  24567. RADIO_2056_RX_RXSPARE2
  24568. |
  24569. RADIO_2056_RX1, bias_g);
  24570. } else {
  24571. pi->tx_rx_cal_radio_saveregs[4] =
  24572. read_radio_reg(
  24573. pi,
  24574. RADIO_2056_RX_LNAG_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_LNAG_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, 0x6);
  24590. write_radio_reg(pi,
  24591. RADIO_2056_RX_RXIQCAL_RXMUX |
  24592. RADIO_2056_RX1, 0x6);
  24593. }
  24594. }
  24595. }
  24596. }
  24597. static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24598. {
  24599. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24600. if (rx_core == PHY_CORE_0) {
  24601. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24602. write_radio_reg(
  24603. pi,
  24604. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24605. pi->
  24606. tx_rx_cal_radio_saveregs[0]);
  24607. write_radio_reg(
  24608. pi,
  24609. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24610. pi->
  24611. tx_rx_cal_radio_saveregs[1]);
  24612. } else {
  24613. write_radio_reg(
  24614. pi,
  24615. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24616. pi->
  24617. tx_rx_cal_radio_saveregs[0]);
  24618. write_radio_reg(
  24619. pi,
  24620. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24621. pi->
  24622. tx_rx_cal_radio_saveregs[1]);
  24623. }
  24624. } else {
  24625. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24626. write_radio_reg(
  24627. pi,
  24628. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24629. pi->
  24630. tx_rx_cal_radio_saveregs[0]);
  24631. write_radio_reg(
  24632. pi,
  24633. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24634. pi->
  24635. tx_rx_cal_radio_saveregs[1]);
  24636. } else {
  24637. write_radio_reg(
  24638. pi,
  24639. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24640. pi->
  24641. tx_rx_cal_radio_saveregs[0]);
  24642. write_radio_reg(
  24643. pi,
  24644. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24645. pi->
  24646. tx_rx_cal_radio_saveregs[1]);
  24647. }
  24648. }
  24649. } else {
  24650. if (rx_core == PHY_CORE_0) {
  24651. write_radio_reg(pi,
  24652. RADIO_2056_TX_RXIQCAL_TXMUX |
  24653. RADIO_2056_TX1,
  24654. pi->tx_rx_cal_radio_saveregs[0]);
  24655. write_radio_reg(pi,
  24656. RADIO_2056_RX_RXIQCAL_RXMUX |
  24657. RADIO_2056_RX0,
  24658. pi->tx_rx_cal_radio_saveregs[1]);
  24659. if (pi->pubpi.radiorev >= 5) {
  24660. write_radio_reg(pi,
  24661. RADIO_2056_RX_RXSPARE2 |
  24662. RADIO_2056_RX0,
  24663. pi->
  24664. tx_rx_cal_radio_saveregs[2]);
  24665. write_radio_reg(pi,
  24666. RADIO_2056_TX_TXSPARE2 |
  24667. RADIO_2056_TX1,
  24668. pi->
  24669. tx_rx_cal_radio_saveregs[3]);
  24670. }
  24671. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24672. if (pi->pubpi.radiorev >= 5)
  24673. write_radio_reg(
  24674. pi,
  24675. RADIO_2056_RX_LNAA_MASTER
  24676. | RADIO_2056_RX0,
  24677. pi->
  24678. tx_rx_cal_radio_saveregs
  24679. [4]);
  24680. else
  24681. write_radio_reg(
  24682. pi,
  24683. RADIO_2056_RX_LNAA_TUNE
  24684. | RADIO_2056_RX0,
  24685. pi->
  24686. tx_rx_cal_radio_saveregs
  24687. [4]);
  24688. } else {
  24689. if (pi->pubpi.radiorev >= 5)
  24690. write_radio_reg(
  24691. pi,
  24692. RADIO_2056_RX_LNAG_MASTER
  24693. | RADIO_2056_RX0,
  24694. pi->
  24695. tx_rx_cal_radio_saveregs
  24696. [4]);
  24697. else
  24698. write_radio_reg(
  24699. pi,
  24700. RADIO_2056_RX_LNAG_TUNE
  24701. | RADIO_2056_RX0,
  24702. pi->
  24703. tx_rx_cal_radio_saveregs
  24704. [4]);
  24705. }
  24706. } else {
  24707. write_radio_reg(pi,
  24708. RADIO_2056_TX_RXIQCAL_TXMUX |
  24709. RADIO_2056_TX0,
  24710. pi->tx_rx_cal_radio_saveregs[0]);
  24711. write_radio_reg(pi,
  24712. RADIO_2056_RX_RXIQCAL_RXMUX |
  24713. RADIO_2056_RX1,
  24714. pi->tx_rx_cal_radio_saveregs[1]);
  24715. if (pi->pubpi.radiorev >= 5) {
  24716. write_radio_reg(pi,
  24717. RADIO_2056_RX_RXSPARE2 |
  24718. RADIO_2056_RX1,
  24719. pi->
  24720. tx_rx_cal_radio_saveregs[2]);
  24721. write_radio_reg(pi,
  24722. RADIO_2056_TX_TXSPARE2 |
  24723. RADIO_2056_TX0,
  24724. pi->
  24725. tx_rx_cal_radio_saveregs[3]);
  24726. }
  24727. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24728. if (pi->pubpi.radiorev >= 5)
  24729. write_radio_reg(
  24730. pi,
  24731. RADIO_2056_RX_LNAA_MASTER
  24732. | RADIO_2056_RX1,
  24733. pi->
  24734. tx_rx_cal_radio_saveregs
  24735. [4]);
  24736. else
  24737. write_radio_reg(
  24738. pi,
  24739. RADIO_2056_RX_LNAA_TUNE
  24740. | RADIO_2056_RX1,
  24741. pi->
  24742. tx_rx_cal_radio_saveregs
  24743. [4]);
  24744. } else {
  24745. if (pi->pubpi.radiorev >= 5)
  24746. write_radio_reg(
  24747. pi,
  24748. RADIO_2056_RX_LNAG_MASTER
  24749. | RADIO_2056_RX1,
  24750. pi->
  24751. tx_rx_cal_radio_saveregs
  24752. [4]);
  24753. else
  24754. write_radio_reg(
  24755. pi,
  24756. RADIO_2056_RX_LNAG_TUNE
  24757. | RADIO_2056_RX1,
  24758. pi->
  24759. tx_rx_cal_radio_saveregs
  24760. [4]);
  24761. }
  24762. }
  24763. }
  24764. }
  24765. static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core)
  24766. {
  24767. u8 tx_core;
  24768. u16 rx_antval, tx_antval;
  24769. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24770. tx_core = rx_core;
  24771. else
  24772. tx_core = (rx_core == PHY_CORE_0) ? 1 : 0;
  24773. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa2);
  24774. pi->tx_rx_cal_phy_saveregs[1] =
  24775. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7);
  24776. pi->tx_rx_cal_phy_saveregs[2] =
  24777. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5);
  24778. pi->tx_rx_cal_phy_saveregs[3] = read_phy_reg(pi, 0x91);
  24779. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x92);
  24780. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x7a);
  24781. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x7d);
  24782. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0xe7);
  24783. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0xec);
  24784. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24785. pi->tx_rx_cal_phy_saveregs[11] = read_phy_reg(pi, 0x342);
  24786. pi->tx_rx_cal_phy_saveregs[12] = read_phy_reg(pi, 0x343);
  24787. pi->tx_rx_cal_phy_saveregs[13] = read_phy_reg(pi, 0x346);
  24788. pi->tx_rx_cal_phy_saveregs[14] = read_phy_reg(pi, 0x347);
  24789. }
  24790. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  24791. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  24792. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  24793. 0x29b, (0x1 << 0), (0) << 0);
  24794. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  24795. 0x29b, (0x1 << 0), (0) << 0);
  24796. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24797. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24798. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << (1 - rx_core)) << 12);
  24799. } else {
  24800. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  24801. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24802. mod_phy_reg(pi, 0xa2, (0xf << 4), (1 << rx_core) << 4);
  24803. mod_phy_reg(pi, 0xa2, (0xf << 8), (1 << rx_core) << 8);
  24804. }
  24805. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7), (0x1 << 2), 0);
  24806. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24807. (0x1 << 2), (0x1 << 2));
  24808. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  24809. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  24810. (0x1 << 0) | (0x1 << 1), 0);
  24811. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  24812. 0x8f : 0xa5,
  24813. (0x1 << 0) | (0x1 << 1), (0x1 << 0) | (0x1 << 1));
  24814. }
  24815. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 0,
  24816. RADIO_MIMO_CORESEL_CORE1 |
  24817. RADIO_MIMO_CORESEL_CORE2);
  24818. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24819. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  24820. 0, 0, 0,
  24821. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  24822. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 0, 0, 0,
  24823. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24824. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 1, 0, 0,
  24825. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24826. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 1, 0, 0,
  24827. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24828. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0, 0,
  24829. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  24830. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0, 0,
  24831. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24832. if (CHSPEC_IS40(pi->radio_chanspec))
  24833. wlc_phy_rfctrl_override_nphy_rev7(
  24834. pi,
  24835. (0x1 << 7),
  24836. 2, 0, 0,
  24837. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24838. else
  24839. wlc_phy_rfctrl_override_nphy_rev7(
  24840. pi,
  24841. (0x1 << 7),
  24842. 0, 0, 0,
  24843. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24844. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  24845. 0, 0, 0,
  24846. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24847. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0, 0,
  24848. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24849. } else {
  24850. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 3, 0);
  24851. }
  24852. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  24853. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24854. wlc_phy_rfctrlintc_override_nphy(pi,
  24855. NPHY_RfctrlIntc_override_TRSW,
  24856. 0x1, rx_core + 1);
  24857. } else {
  24858. if (rx_core == PHY_CORE_0) {
  24859. rx_antval = 0x1;
  24860. tx_antval = 0x8;
  24861. } else {
  24862. rx_antval = 0x4;
  24863. tx_antval = 0x2;
  24864. }
  24865. wlc_phy_rfctrlintc_override_nphy(pi,
  24866. NPHY_RfctrlIntc_override_TRSW,
  24867. rx_antval, rx_core + 1);
  24868. wlc_phy_rfctrlintc_override_nphy(pi,
  24869. NPHY_RfctrlIntc_override_TRSW,
  24870. tx_antval, tx_core + 1);
  24871. }
  24872. }
  24873. static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24874. {
  24875. write_phy_reg(pi, 0xa2, pi->tx_rx_cal_phy_saveregs[0]);
  24876. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7,
  24877. pi->tx_rx_cal_phy_saveregs[1]);
  24878. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24879. pi->tx_rx_cal_phy_saveregs[2]);
  24880. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[3]);
  24881. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[4]);
  24882. write_phy_reg(pi, 0x7a, pi->tx_rx_cal_phy_saveregs[5]);
  24883. write_phy_reg(pi, 0x7d, pi->tx_rx_cal_phy_saveregs[6]);
  24884. write_phy_reg(pi, 0xe7, pi->tx_rx_cal_phy_saveregs[7]);
  24885. write_phy_reg(pi, 0xec, pi->tx_rx_cal_phy_saveregs[8]);
  24886. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24887. write_phy_reg(pi, 0x342, pi->tx_rx_cal_phy_saveregs[11]);
  24888. write_phy_reg(pi, 0x343, pi->tx_rx_cal_phy_saveregs[12]);
  24889. write_phy_reg(pi, 0x346, pi->tx_rx_cal_phy_saveregs[13]);
  24890. write_phy_reg(pi, 0x347, pi->tx_rx_cal_phy_saveregs[14]);
  24891. }
  24892. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  24893. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  24894. }
  24895. static void
  24896. wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
  24897. u16 *rxgain, u8 cal_type)
  24898. {
  24899. u16 num_samps;
  24900. struct phy_iq_est est[PHY_CORE_MAX];
  24901. u8 tx_core;
  24902. struct nphy_iq_comp save_comp, zero_comp;
  24903. u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0,
  24904. thresh_pwr = 10000;
  24905. s16 desired_log2_pwr, actual_log2_pwr, delta_pwr;
  24906. bool gainctrl_done = false;
  24907. u8 mix_tia_gain = 3;
  24908. s8 optim_gaintbl_index = 0, prev_gaintbl_index = 0;
  24909. s8 curr_gaintbl_index = 3;
  24910. u8 gainctrl_dirn = NPHY_RXCAL_GAIN_INIT;
  24911. const struct nphy_ipa_txrxgain *nphy_rxcal_gaintbl;
  24912. u16 hpvga, lpf_biq1, lpf_biq0, lna2, lna1;
  24913. int fine_gain_idx;
  24914. s8 txpwrindex;
  24915. u16 nphy_rxcal_txgain[2];
  24916. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24917. tx_core = rx_core;
  24918. else
  24919. tx_core = 1 - rx_core;
  24920. num_samps = 1024;
  24921. desired_log2_pwr = 13;
  24922. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
  24923. zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;
  24924. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &zero_comp);
  24925. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24926. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24927. mix_tia_gain = 3;
  24928. else if (NREV_GE(pi->pubpi.phy_rev, 4))
  24929. mix_tia_gain = 4;
  24930. else
  24931. mix_tia_gain = 6;
  24932. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24933. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz_rev7;
  24934. else
  24935. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz;
  24936. } else {
  24937. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24938. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz_rev7;
  24939. else
  24940. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz;
  24941. }
  24942. do {
  24943. hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ?
  24944. 0 : nphy_rxcal_gaintbl[curr_gaintbl_index].hpvga;
  24945. lpf_biq1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq1;
  24946. lpf_biq0 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq0;
  24947. lna2 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna2;
  24948. lna1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna1;
  24949. txpwrindex = nphy_rxcal_gaintbl[curr_gaintbl_index].txpwrindex;
  24950. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24951. wlc_phy_rfctrl_override_1tomany_nphy(
  24952. pi,
  24953. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  24954. ((lpf_biq1 << 12) |
  24955. (lpf_biq0 << 8) |
  24956. (mix_tia_gain << 4) | (lna2 << 2)
  24957. | lna1), 0x3, 0);
  24958. else
  24959. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  24960. ((hpvga << 12) |
  24961. (lpf_biq1 << 10) |
  24962. (lpf_biq0 << 8) |
  24963. (mix_tia_gain << 4) |
  24964. (lna2 << 2) | lna1), 0x3,
  24965. 0);
  24966. pi->nphy_rxcal_pwr_idx[tx_core] = txpwrindex;
  24967. if (txpwrindex == -1) {
  24968. nphy_rxcal_txgain[0] = 0x8ff0 | pi->nphy_gmval;
  24969. nphy_rxcal_txgain[1] = 0x8ff0 | pi->nphy_gmval;
  24970. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  24971. 2, 0x110, 16,
  24972. nphy_rxcal_txgain);
  24973. } else {
  24974. wlc_phy_txpwr_index_nphy(pi, tx_core + 1, txpwrindex,
  24975. false);
  24976. }
  24977. wlc_phy_tx_tone_nphy(pi, (CHSPEC_IS40(pi->radio_chanspec)) ?
  24978. NPHY_RXCAL_TONEFREQ_40MHz :
  24979. NPHY_RXCAL_TONEFREQ_20MHz,
  24980. NPHY_RXCAL_TONEAMP, 0, cal_type, false);
  24981. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  24982. i_pwr = (est[rx_core].i_pwr + num_samps / 2) / num_samps;
  24983. q_pwr = (est[rx_core].q_pwr + num_samps / 2) / num_samps;
  24984. curr_pwr = i_pwr + q_pwr;
  24985. switch (gainctrl_dirn) {
  24986. case NPHY_RXCAL_GAIN_INIT:
  24987. if (curr_pwr > thresh_pwr) {
  24988. gainctrl_dirn = NPHY_RXCAL_GAIN_DOWN;
  24989. prev_gaintbl_index = curr_gaintbl_index;
  24990. curr_gaintbl_index--;
  24991. } else {
  24992. gainctrl_dirn = NPHY_RXCAL_GAIN_UP;
  24993. prev_gaintbl_index = curr_gaintbl_index;
  24994. curr_gaintbl_index++;
  24995. }
  24996. break;
  24997. case NPHY_RXCAL_GAIN_UP:
  24998. if (curr_pwr > thresh_pwr) {
  24999. gainctrl_done = true;
  25000. optim_pwr = prev_pwr;
  25001. optim_gaintbl_index = prev_gaintbl_index;
  25002. } else {
  25003. prev_gaintbl_index = curr_gaintbl_index;
  25004. curr_gaintbl_index++;
  25005. }
  25006. break;
  25007. case NPHY_RXCAL_GAIN_DOWN:
  25008. if (curr_pwr > thresh_pwr) {
  25009. prev_gaintbl_index = curr_gaintbl_index;
  25010. curr_gaintbl_index--;
  25011. } else {
  25012. gainctrl_done = true;
  25013. optim_pwr = curr_pwr;
  25014. optim_gaintbl_index = curr_gaintbl_index;
  25015. }
  25016. break;
  25017. default:
  25018. break;
  25019. }
  25020. if ((curr_gaintbl_index < 0) ||
  25021. (curr_gaintbl_index > NPHY_IPA_RXCAL_MAXGAININDEX)) {
  25022. gainctrl_done = true;
  25023. optim_pwr = curr_pwr;
  25024. optim_gaintbl_index = prev_gaintbl_index;
  25025. } else {
  25026. prev_pwr = curr_pwr;
  25027. }
  25028. wlc_phy_stopplayback_nphy(pi);
  25029. } while (!gainctrl_done);
  25030. hpvga = nphy_rxcal_gaintbl[optim_gaintbl_index].hpvga;
  25031. lpf_biq1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq1;
  25032. lpf_biq0 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq0;
  25033. lna2 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna2;
  25034. lna1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna1;
  25035. txpwrindex = nphy_rxcal_gaintbl[optim_gaintbl_index].txpwrindex;
  25036. actual_log2_pwr = wlc_phy_nbits(optim_pwr);
  25037. delta_pwr = desired_log2_pwr - actual_log2_pwr;
  25038. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25039. fine_gain_idx = (int)lpf_biq1 + delta_pwr;
  25040. if (fine_gain_idx + (int)lpf_biq0 > 10)
  25041. lpf_biq1 = 10 - lpf_biq0;
  25042. else
  25043. lpf_biq1 = (u16) max(fine_gain_idx, 0);
  25044. wlc_phy_rfctrl_override_1tomany_nphy(
  25045. pi,
  25046. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25047. ((lpf_biq1 << 12) |
  25048. (lpf_biq0 << 8) |
  25049. (mix_tia_gain << 4) |
  25050. (lna2 << 2) | lna1), 0x3,
  25051. 0);
  25052. } else {
  25053. hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
  25054. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25055. ((hpvga << 12) |
  25056. (lpf_biq1 << 10) |
  25057. (lpf_biq0 << 8) |
  25058. (mix_tia_gain << 4) |
  25059. (lna2 << 2) |
  25060. lna1), 0x3, 0);
  25061. }
  25062. if (rxgain != NULL) {
  25063. *rxgain++ = lna1;
  25064. *rxgain++ = lna2;
  25065. *rxgain++ = mix_tia_gain;
  25066. *rxgain++ = lpf_biq0;
  25067. *rxgain++ = lpf_biq1;
  25068. *rxgain = hpvga;
  25069. }
  25070. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &save_comp);
  25071. }
  25072. static void
  25073. wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain,
  25074. u8 cal_type)
  25075. {
  25076. wlc_phy_rxcal_gainctrl_nphy_rev5(pi, rx_core, rxgain, cal_type);
  25077. }
  25078. static u8
  25079. wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type)
  25080. {
  25081. u32 target_bws[2] = { 9500, 21000 };
  25082. u32 ref_tones[2] = { 3000, 6000 };
  25083. u32 target_bw, ref_tone;
  25084. u32 target_pwr_ratios[2] = { 28606, 18468 };
  25085. u32 target_pwr_ratio, pwr_ratio, last_pwr_ratio = 0;
  25086. u16 start_rccal_ovr_val = 128;
  25087. u16 txlpf_rccal_lpc_ovr_val = 128;
  25088. u16 rxlpf_rccal_hpc_ovr_val = 159;
  25089. u16 orig_txlpf_rccal_lpc_ovr_val;
  25090. u16 orig_rxlpf_rccal_hpc_ovr_val;
  25091. u16 radio_addr_offset_rx;
  25092. u16 radio_addr_offset_tx;
  25093. u16 orig_dcBypass;
  25094. u16 orig_RxStrnFilt40Num[6];
  25095. u16 orig_RxStrnFilt40Den[4];
  25096. u16 orig_rfctrloverride[2];
  25097. u16 orig_rfctrlauxreg[2];
  25098. u16 orig_rfctrlrssiothers;
  25099. u16 tx_lpf_bw = 4;
  25100. u16 rx_lpf_bw, rx_lpf_bws[2] = { 2, 4 };
  25101. u16 lpf_hpc = 7, hpvga_hpc = 7;
  25102. s8 rccal_stepsize;
  25103. u16 rccal_val, last_rccal_val = 0, best_rccal_val = 0;
  25104. u32 ref_iq_vals = 0, target_iq_vals = 0;
  25105. u16 num_samps, log_num_samps = 10;
  25106. struct phy_iq_est est[PHY_CORE_MAX];
  25107. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25108. return 0;
  25109. num_samps = (1 << log_num_samps);
  25110. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25111. target_bw = target_bws[1];
  25112. target_pwr_ratio = target_pwr_ratios[1];
  25113. ref_tone = ref_tones[1];
  25114. rx_lpf_bw = rx_lpf_bws[1];
  25115. } else {
  25116. target_bw = target_bws[0];
  25117. target_pwr_ratio = target_pwr_ratios[0];
  25118. ref_tone = ref_tones[0];
  25119. rx_lpf_bw = rx_lpf_bws[0];
  25120. }
  25121. if (core_idx == 0) {
  25122. radio_addr_offset_rx = RADIO_2056_RX0;
  25123. radio_addr_offset_tx =
  25124. (loopback_type == 0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  25125. } else {
  25126. radio_addr_offset_rx = RADIO_2056_RX1;
  25127. radio_addr_offset_tx =
  25128. (loopback_type == 0) ? RADIO_2056_TX1 : RADIO_2056_TX0;
  25129. }
  25130. orig_txlpf_rccal_lpc_ovr_val =
  25131. read_radio_reg(pi,
  25132. (RADIO_2056_TX_TXLPF_RCCAL |
  25133. radio_addr_offset_tx));
  25134. orig_rxlpf_rccal_hpc_ovr_val =
  25135. read_radio_reg(pi,
  25136. (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25137. radio_addr_offset_rx));
  25138. orig_dcBypass = ((read_phy_reg(pi, 0x48) >> 8) & 1);
  25139. orig_RxStrnFilt40Num[0] = read_phy_reg(pi, 0x267);
  25140. orig_RxStrnFilt40Num[1] = read_phy_reg(pi, 0x268);
  25141. orig_RxStrnFilt40Num[2] = read_phy_reg(pi, 0x269);
  25142. orig_RxStrnFilt40Den[0] = read_phy_reg(pi, 0x26a);
  25143. orig_RxStrnFilt40Den[1] = read_phy_reg(pi, 0x26b);
  25144. orig_RxStrnFilt40Num[3] = read_phy_reg(pi, 0x26c);
  25145. orig_RxStrnFilt40Num[4] = read_phy_reg(pi, 0x26d);
  25146. orig_RxStrnFilt40Num[5] = read_phy_reg(pi, 0x26e);
  25147. orig_RxStrnFilt40Den[2] = read_phy_reg(pi, 0x26f);
  25148. orig_RxStrnFilt40Den[3] = read_phy_reg(pi, 0x270);
  25149. orig_rfctrloverride[0] = read_phy_reg(pi, 0xe7);
  25150. orig_rfctrloverride[1] = read_phy_reg(pi, 0xec);
  25151. orig_rfctrlauxreg[0] = read_phy_reg(pi, 0xf8);
  25152. orig_rfctrlauxreg[1] = read_phy_reg(pi, 0xfa);
  25153. orig_rfctrlrssiothers = read_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d);
  25154. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25155. txlpf_rccal_lpc_ovr_val);
  25156. write_radio_reg(pi,
  25157. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25158. rxlpf_rccal_hpc_ovr_val);
  25159. mod_phy_reg(pi, 0x48, (0x1 << 8), (0x1 << 8));
  25160. write_phy_reg(pi, 0x267, 0x02d4);
  25161. write_phy_reg(pi, 0x268, 0x0000);
  25162. write_phy_reg(pi, 0x269, 0x0000);
  25163. write_phy_reg(pi, 0x26a, 0x0000);
  25164. write_phy_reg(pi, 0x26b, 0x0000);
  25165. write_phy_reg(pi, 0x26c, 0x02d4);
  25166. write_phy_reg(pi, 0x26d, 0x0000);
  25167. write_phy_reg(pi, 0x26e, 0x0000);
  25168. write_phy_reg(pi, 0x26f, 0x0000);
  25169. write_phy_reg(pi, 0x270, 0x0000);
  25170. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 8));
  25171. or_phy_reg(pi, (core_idx == 0) ? 0xec : 0xe7, (0x1 << 15));
  25172. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 9));
  25173. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 10));
  25174. mod_phy_reg(pi, (core_idx == 0) ? 0xfa : 0xf8,
  25175. (0x7 << 10), (tx_lpf_bw << 10));
  25176. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25177. (0x7 << 0), (hpvga_hpc << 0));
  25178. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25179. (0x7 << 4), (lpf_hpc << 4));
  25180. mod_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d,
  25181. (0x7 << 8), (rx_lpf_bw << 8));
  25182. rccal_stepsize = 16;
  25183. rccal_val = start_rccal_ovr_val + rccal_stepsize;
  25184. while (rccal_stepsize >= 0) {
  25185. write_radio_reg(pi,
  25186. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25187. radio_addr_offset_rx), rccal_val);
  25188. if (rccal_stepsize == 16) {
  25189. wlc_phy_tx_tone_nphy(pi, ref_tone, NPHY_RXCAL_TONEAMP,
  25190. 0, 1, false);
  25191. udelay(2);
  25192. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25193. if (core_idx == 0)
  25194. ref_iq_vals =
  25195. max_t(u32, (est[0].i_pwr +
  25196. est[0].q_pwr) >>
  25197. (log_num_samps + 1),
  25198. 1);
  25199. else
  25200. ref_iq_vals =
  25201. max_t(u32, (est[1].i_pwr +
  25202. est[1].q_pwr) >>
  25203. (log_num_samps + 1),
  25204. 1);
  25205. wlc_phy_tx_tone_nphy(pi, target_bw, NPHY_RXCAL_TONEAMP,
  25206. 0, 1, false);
  25207. udelay(2);
  25208. }
  25209. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25210. if (core_idx == 0)
  25211. target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >>
  25212. (log_num_samps + 1);
  25213. else
  25214. target_iq_vals =
  25215. (est[1].i_pwr +
  25216. est[1].q_pwr) >> (log_num_samps + 1);
  25217. pwr_ratio = (uint) ((target_iq_vals << 16) / ref_iq_vals);
  25218. if (rccal_stepsize == 0)
  25219. rccal_stepsize--;
  25220. else if (rccal_stepsize == 1) {
  25221. last_rccal_val = rccal_val;
  25222. rccal_val += (pwr_ratio > target_pwr_ratio) ? 1 : -1;
  25223. last_pwr_ratio = pwr_ratio;
  25224. rccal_stepsize--;
  25225. } else {
  25226. rccal_stepsize = (rccal_stepsize >> 1);
  25227. rccal_val += ((pwr_ratio > target_pwr_ratio) ?
  25228. rccal_stepsize : (-rccal_stepsize));
  25229. }
  25230. if (rccal_stepsize == -1) {
  25231. best_rccal_val =
  25232. (abs((int)last_pwr_ratio -
  25233. (int)target_pwr_ratio) <
  25234. abs((int)pwr_ratio -
  25235. (int)target_pwr_ratio)) ? last_rccal_val :
  25236. rccal_val;
  25237. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25238. if ((best_rccal_val > 140)
  25239. || (best_rccal_val < 135))
  25240. best_rccal_val = 138;
  25241. } else {
  25242. if ((best_rccal_val > 142)
  25243. || (best_rccal_val < 137))
  25244. best_rccal_val = 140;
  25245. }
  25246. write_radio_reg(pi,
  25247. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25248. radio_addr_offset_rx), best_rccal_val);
  25249. }
  25250. }
  25251. wlc_phy_stopplayback_nphy(pi);
  25252. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25253. orig_txlpf_rccal_lpc_ovr_val);
  25254. write_radio_reg(pi,
  25255. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25256. orig_rxlpf_rccal_hpc_ovr_val);
  25257. mod_phy_reg(pi, 0x48, (0x1 << 8), (orig_dcBypass << 8));
  25258. write_phy_reg(pi, 0x267, orig_RxStrnFilt40Num[0]);
  25259. write_phy_reg(pi, 0x268, orig_RxStrnFilt40Num[1]);
  25260. write_phy_reg(pi, 0x269, orig_RxStrnFilt40Num[2]);
  25261. write_phy_reg(pi, 0x26a, orig_RxStrnFilt40Den[0]);
  25262. write_phy_reg(pi, 0x26b, orig_RxStrnFilt40Den[1]);
  25263. write_phy_reg(pi, 0x26c, orig_RxStrnFilt40Num[3]);
  25264. write_phy_reg(pi, 0x26d, orig_RxStrnFilt40Num[4]);
  25265. write_phy_reg(pi, 0x26e, orig_RxStrnFilt40Num[5]);
  25266. write_phy_reg(pi, 0x26f, orig_RxStrnFilt40Den[2]);
  25267. write_phy_reg(pi, 0x270, orig_RxStrnFilt40Den[3]);
  25268. write_phy_reg(pi, 0xe7, orig_rfctrloverride[0]);
  25269. write_phy_reg(pi, 0xec, orig_rfctrloverride[1]);
  25270. write_phy_reg(pi, 0xf8, orig_rfctrlauxreg[0]);
  25271. write_phy_reg(pi, 0xfa, orig_rfctrlauxreg[1]);
  25272. write_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d, orig_rfctrlrssiothers);
  25273. pi->nphy_anarxlpf_adjusted = false;
  25274. return best_rccal_val - 0x80;
  25275. }
  25276. #define WAIT_FOR_SCOPE 4000
  25277. static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi,
  25278. struct nphy_txgains target_gain,
  25279. u8 cal_type, bool debug)
  25280. {
  25281. u16 orig_BBConfig;
  25282. u8 core_no, rx_core;
  25283. u8 best_rccal[2];
  25284. u16 gain_save[2];
  25285. u16 cal_gain[2];
  25286. struct nphy_iqcal_params cal_params[2];
  25287. u8 rxcore_state;
  25288. s8 rxlpf_rccal_hpc, txlpf_rccal_lpc;
  25289. s8 txlpf_idac;
  25290. bool phyhang_avoid_state = false;
  25291. bool skip_rxiqcal = false;
  25292. orig_BBConfig = read_phy_reg(pi, 0x01);
  25293. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  25294. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25295. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  25296. phyhang_avoid_state = pi->phyhang_avoid;
  25297. pi->phyhang_avoid = false;
  25298. }
  25299. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25300. for (core_no = 0; core_no <= 1; core_no++) {
  25301. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25302. &cal_params[core_no]);
  25303. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25304. }
  25305. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25306. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  25307. (struct brcms_phy_pub *) pi);
  25308. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25309. skip_rxiqcal =
  25310. ((rxcore_state & (1 << rx_core)) == 0) ? true : false;
  25311. wlc_phy_rxcal_physetup_nphy(pi, rx_core);
  25312. wlc_phy_rxcal_radio_setup_nphy(pi, rx_core);
  25313. if ((!skip_rxiqcal) && ((cal_type == 0) || (cal_type == 2))) {
  25314. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL, 0);
  25315. wlc_phy_tx_tone_nphy(pi,
  25316. (CHSPEC_IS40(
  25317. pi->radio_chanspec)) ?
  25318. NPHY_RXCAL_TONEFREQ_40MHz :
  25319. NPHY_RXCAL_TONEFREQ_20MHz,
  25320. NPHY_RXCAL_TONEAMP, 0, cal_type,
  25321. false);
  25322. if (debug)
  25323. mdelay(WAIT_FOR_SCOPE);
  25324. wlc_phy_calc_rx_iq_comp_nphy(pi, rx_core + 1);
  25325. wlc_phy_stopplayback_nphy(pi);
  25326. }
  25327. if (((cal_type == 1) || (cal_type == 2))
  25328. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  25329. if (rx_core == PHY_CORE_1) {
  25330. if (rxcore_state == 1)
  25331. wlc_phy_rxcore_setstate_nphy(
  25332. (struct brcms_phy_pub *) pi, 3);
  25333. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL,
  25334. 1);
  25335. best_rccal[rx_core] =
  25336. wlc_phy_rc_sweep_nphy(pi, rx_core, 1);
  25337. pi->nphy_rccal_value = best_rccal[rx_core];
  25338. if (rxcore_state == 1)
  25339. wlc_phy_rxcore_setstate_nphy(
  25340. (struct brcms_phy_pub *) pi,
  25341. rxcore_state);
  25342. }
  25343. }
  25344. wlc_phy_rxcal_radio_cleanup_nphy(pi, rx_core);
  25345. wlc_phy_rxcal_phycleanup_nphy(pi, rx_core);
  25346. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25347. }
  25348. if ((cal_type == 1) || (cal_type == 2)) {
  25349. best_rccal[0] = best_rccal[1];
  25350. write_radio_reg(pi,
  25351. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25352. RADIO_2056_RX0), (best_rccal[0] | 0x80));
  25353. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25354. rxlpf_rccal_hpc =
  25355. (((int)best_rccal[rx_core] - 12) >> 1) + 10;
  25356. txlpf_rccal_lpc = ((int)best_rccal[rx_core] - 12) + 10;
  25357. if (PHY_IPA(pi)) {
  25358. txlpf_rccal_lpc +=
  25359. (pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
  25360. txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
  25361. 0x0e : 0x13;
  25362. WRITE_RADIO_REG2(pi, RADIO_2056, TX, rx_core,
  25363. TXLPF_IDAC_4, txlpf_idac);
  25364. }
  25365. rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
  25366. 0);
  25367. txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
  25368. 0);
  25369. write_radio_reg(pi, (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25370. ((rx_core ==
  25371. PHY_CORE_0) ? RADIO_2056_RX0 :
  25372. RADIO_2056_RX1)),
  25373. (rxlpf_rccal_hpc | 0x80));
  25374. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL |
  25375. ((rx_core ==
  25376. PHY_CORE_0) ? RADIO_2056_TX0 :
  25377. RADIO_2056_TX1)),
  25378. (txlpf_rccal_lpc | 0x80));
  25379. }
  25380. }
  25381. write_phy_reg(pi, 0x01, orig_BBConfig);
  25382. wlc_phy_resetcca_nphy(pi);
  25383. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25384. wlc_phy_rfctrl_override_1tomany_nphy(
  25385. pi,
  25386. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25387. 0, 0x3, 1);
  25388. else
  25389. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  25390. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25391. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25392. gain_save);
  25393. if (NREV_GE(pi->pubpi.phy_rev, 4))
  25394. pi->phyhang_avoid = phyhang_avoid_state;
  25395. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25396. return 0;
  25397. }
  25398. static int
  25399. wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi,
  25400. struct nphy_txgains target_gain, bool debug)
  25401. {
  25402. struct phy_iq_est est[PHY_CORE_MAX];
  25403. u8 core_num, rx_core, tx_core;
  25404. u16 lna_vals[] = { 0x3, 0x3, 0x1 };
  25405. u16 hpf1_vals[] = { 0x7, 0x2, 0x0 };
  25406. u16 hpf2_vals[] = { 0x2, 0x0, 0x0 };
  25407. s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna;
  25408. s16 desired_log2_pwr, actual_log2_pwr, hpf_change;
  25409. u16 orig_RfseqCoreActv, orig_AfectrlCore, orig_AfectrlOverride;
  25410. u16 orig_RfctrlIntcRx, orig_RfctrlIntcTx;
  25411. u16 num_samps;
  25412. u32 i_pwr, q_pwr, tot_pwr[3];
  25413. u8 gain_pass, use_hpf_num;
  25414. u16 mask, val1, val2;
  25415. u16 core_no;
  25416. u16 gain_save[2];
  25417. u16 cal_gain[2];
  25418. struct nphy_iqcal_params cal_params[2];
  25419. u8 phy_bw;
  25420. int bcmerror = 0;
  25421. bool first_playtone = true;
  25422. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25423. if (NREV_LT(pi->pubpi.phy_rev, 2))
  25424. wlc_phy_reapply_txcal_coeffs_nphy(pi);
  25425. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25426. for (core_no = 0; core_no <= 1; core_no++) {
  25427. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25428. &cal_params[core_no]);
  25429. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25430. }
  25431. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25432. num_samps = 1024;
  25433. desired_log2_pwr = 13;
  25434. for (core_num = 0; core_num < 2; core_num++) {
  25435. rx_core = core_num;
  25436. tx_core = 1 - core_num;
  25437. orig_RfseqCoreActv = read_phy_reg(pi, 0xa2);
  25438. orig_AfectrlCore = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25439. 0xa6 : 0xa7);
  25440. orig_AfectrlOverride = read_phy_reg(pi, 0xa5);
  25441. orig_RfctrlIntcRx = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25442. 0x91 : 0x92);
  25443. orig_RfctrlIntcTx = read_phy_reg(pi, (tx_core == PHY_CORE_0) ?
  25444. 0x91 : 0x92);
  25445. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25446. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25447. or_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25448. ((0x1 << 1) | (0x1 << 2)));
  25449. or_phy_reg(pi, 0xa5, ((0x1 << 1) | (0x1 << 2)));
  25450. if (((pi->nphy_rxcalparams) & 0xff000000))
  25451. write_phy_reg(pi,
  25452. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25453. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25454. 0x140 : 0x110));
  25455. else
  25456. write_phy_reg(pi,
  25457. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25458. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25459. 0x180 : 0x120));
  25460. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25461. (CHSPEC_IS5G(pi->radio_chanspec) ? 0x148 :
  25462. 0x114));
  25463. mask = RADIO_2055_COUPLE_RX_MASK | RADIO_2055_COUPLE_TX_MASK;
  25464. if (rx_core == PHY_CORE_0) {
  25465. val1 = RADIO_2055_COUPLE_RX_MASK;
  25466. val2 = RADIO_2055_COUPLE_TX_MASK;
  25467. } else {
  25468. val1 = RADIO_2055_COUPLE_TX_MASK;
  25469. val2 = RADIO_2055_COUPLE_RX_MASK;
  25470. }
  25471. if ((pi->nphy_rxcalparams & 0x10000)) {
  25472. mod_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, mask,
  25473. val1);
  25474. mod_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, mask,
  25475. val2);
  25476. }
  25477. for (gain_pass = 0; gain_pass < 4; gain_pass++) {
  25478. if (debug)
  25479. mdelay(WAIT_FOR_SCOPE);
  25480. if (gain_pass < 3) {
  25481. curr_lna = lna_vals[gain_pass];
  25482. curr_hpf1 = hpf1_vals[gain_pass];
  25483. curr_hpf2 = hpf2_vals[gain_pass];
  25484. } else {
  25485. if (tot_pwr[1] > 10000) {
  25486. curr_lna = lna_vals[2];
  25487. curr_hpf1 = hpf1_vals[2];
  25488. curr_hpf2 = hpf2_vals[2];
  25489. use_hpf_num = 1;
  25490. curr_hpf = curr_hpf1;
  25491. actual_log2_pwr =
  25492. wlc_phy_nbits(tot_pwr[2]);
  25493. } else {
  25494. if (tot_pwr[0] > 10000) {
  25495. curr_lna = lna_vals[1];
  25496. curr_hpf1 = hpf1_vals[1];
  25497. curr_hpf2 = hpf2_vals[1];
  25498. use_hpf_num = 1;
  25499. curr_hpf = curr_hpf1;
  25500. actual_log2_pwr =
  25501. wlc_phy_nbits(
  25502. tot_pwr[1]);
  25503. } else {
  25504. curr_lna = lna_vals[0];
  25505. curr_hpf1 = hpf1_vals[0];
  25506. curr_hpf2 = hpf2_vals[0];
  25507. use_hpf_num = 2;
  25508. curr_hpf = curr_hpf2;
  25509. actual_log2_pwr =
  25510. wlc_phy_nbits(
  25511. tot_pwr[0]);
  25512. }
  25513. }
  25514. hpf_change = desired_log2_pwr - actual_log2_pwr;
  25515. curr_hpf += hpf_change;
  25516. curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
  25517. if (use_hpf_num == 1)
  25518. curr_hpf1 = curr_hpf;
  25519. else
  25520. curr_hpf2 = curr_hpf;
  25521. }
  25522. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10),
  25523. ((curr_hpf2 << 8) |
  25524. (curr_hpf1 << 4) |
  25525. (curr_lna << 2)), 0x3, 0);
  25526. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25527. wlc_phy_stopplayback_nphy(pi);
  25528. if (first_playtone) {
  25529. bcmerror = wlc_phy_tx_tone_nphy(pi, 4000,
  25530. (u16) (pi->nphy_rxcalparams &
  25531. 0xffff), 0, 0, true);
  25532. first_playtone = false;
  25533. } else {
  25534. phy_bw = (CHSPEC_IS40(pi->radio_chanspec)) ?
  25535. 40 : 20;
  25536. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff,
  25537. 0, 0, 0, true);
  25538. }
  25539. if (bcmerror == 0) {
  25540. if (gain_pass < 3) {
  25541. wlc_phy_rx_iq_est_nphy(pi, est,
  25542. num_samps, 32,
  25543. 0);
  25544. i_pwr = (est[rx_core].i_pwr +
  25545. num_samps / 2) / num_samps;
  25546. q_pwr = (est[rx_core].q_pwr +
  25547. num_samps / 2) / num_samps;
  25548. tot_pwr[gain_pass] = i_pwr + q_pwr;
  25549. } else {
  25550. wlc_phy_calc_rx_iq_comp_nphy(pi,
  25551. (1 <<
  25552. rx_core));
  25553. }
  25554. wlc_phy_stopplayback_nphy(pi);
  25555. }
  25556. if (bcmerror != 0)
  25557. break;
  25558. }
  25559. and_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, ~mask);
  25560. and_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, ~mask);
  25561. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 :
  25562. 0x92, orig_RfctrlIntcTx);
  25563. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x91 :
  25564. 0x92, orig_RfctrlIntcRx);
  25565. write_phy_reg(pi, 0xa5, orig_AfectrlOverride);
  25566. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 :
  25567. 0xa7, orig_AfectrlCore);
  25568. write_phy_reg(pi, 0xa2, orig_RfseqCoreActv);
  25569. if (bcmerror != 0)
  25570. break;
  25571. }
  25572. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10), 0, 0x3, 1);
  25573. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25574. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25575. gain_save);
  25576. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25577. return bcmerror;
  25578. }
  25579. int
  25580. wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  25581. u8 cal_type, bool debug)
  25582. {
  25583. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25584. cal_type = 0;
  25585. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25586. return wlc_phy_cal_rxiq_nphy_rev3(pi, target_gain, cal_type,
  25587. debug);
  25588. else
  25589. return wlc_phy_cal_rxiq_nphy_rev2(pi, target_gain, debug);
  25590. }
  25591. void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi)
  25592. {
  25593. uint core;
  25594. u32 txgain;
  25595. u16 rad_gain, dac_gain, bbmult, m1m2;
  25596. u8 txpi[2], chan_freq_range;
  25597. s32 rfpwr_offset;
  25598. if (pi->phyhang_avoid)
  25599. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25600. if (pi->sh->sromrev < 4) {
  25601. txpi[0] = txpi[1] = 72;
  25602. } else {
  25603. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  25604. switch (chan_freq_range) {
  25605. case WL_CHAN_FREQ_RANGE_2G:
  25606. case WL_CHAN_FREQ_RANGE_5GL:
  25607. case WL_CHAN_FREQ_RANGE_5GM:
  25608. case WL_CHAN_FREQ_RANGE_5GH:
  25609. txpi[0] = 0;
  25610. txpi[1] = 0;
  25611. break;
  25612. default:
  25613. txpi[0] = txpi[1] = 91;
  25614. break;
  25615. }
  25616. }
  25617. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25618. txpi[0] = txpi[1] = 30;
  25619. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  25620. txpi[0] = txpi[1] = 40;
  25621. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25622. if ((txpi[0] < 40) || (txpi[0] > 100) ||
  25623. (txpi[1] < 40) || (txpi[1] > 100))
  25624. txpi[0] = txpi[1] = 91;
  25625. }
  25626. pi->nphy_txpwrindex[PHY_CORE_0].index_internal = txpi[0];
  25627. pi->nphy_txpwrindex[PHY_CORE_1].index_internal = txpi[1];
  25628. pi->nphy_txpwrindex[PHY_CORE_0].index_internal_save = txpi[0];
  25629. pi->nphy_txpwrindex[PHY_CORE_1].index_internal_save = txpi[1];
  25630. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  25631. uint phyrev = pi->pubpi.phy_rev;
  25632. if (NREV_GE(phyrev, 3)) {
  25633. if (PHY_IPA(pi)) {
  25634. u32 *tx_gaintbl =
  25635. wlc_phy_get_ipa_gaintbl_nphy(pi);
  25636. txgain = tx_gaintbl[txpi[core]];
  25637. } else {
  25638. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25639. if (NREV_IS(phyrev, 3)) {
  25640. txgain =
  25641. nphy_tpc_5GHz_txgain_rev3
  25642. [txpi[core]];
  25643. } else if (NREV_IS(phyrev, 4)) {
  25644. txgain = (
  25645. pi->srom_fem5g.extpagain ==
  25646. 3) ?
  25647. nphy_tpc_5GHz_txgain_HiPwrEPA
  25648. [txpi[core]] :
  25649. nphy_tpc_5GHz_txgain_rev4
  25650. [txpi[core]];
  25651. } else {
  25652. txgain =
  25653. nphy_tpc_5GHz_txgain_rev5
  25654. [txpi[core]];
  25655. }
  25656. } else {
  25657. if (NREV_GE(phyrev, 5) &&
  25658. (pi->srom_fem2g.extpagain == 3)) {
  25659. txgain =
  25660. nphy_tpc_txgain_HiPwrEPA
  25661. [txpi[core]];
  25662. } else {
  25663. txgain = nphy_tpc_txgain_rev3
  25664. [txpi[core]];
  25665. }
  25666. }
  25667. }
  25668. } else {
  25669. txgain = nphy_tpc_txgain[txpi[core]];
  25670. }
  25671. if (NREV_GE(phyrev, 3))
  25672. rad_gain = (txgain >> 16) & ((1 << (32 - 16 + 1)) - 1);
  25673. else
  25674. rad_gain = (txgain >> 16) & ((1 << (28 - 16 + 1)) - 1);
  25675. if (NREV_GE(phyrev, 7))
  25676. dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1);
  25677. else
  25678. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  25679. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  25680. if (NREV_GE(phyrev, 3))
  25681. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  25682. 0xa5), (0x1 << 8), (0x1 << 8));
  25683. else
  25684. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  25685. write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain);
  25686. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  25687. &rad_gain);
  25688. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  25689. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  25690. m1m2 |= ((core == PHY_CORE_0) ? (bbmult << 8) : (bbmult << 0));
  25691. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  25692. if (PHY_IPA(pi)) {
  25693. wlc_phy_table_read_nphy(pi,
  25694. (core ==
  25695. PHY_CORE_0 ?
  25696. NPHY_TBL_ID_CORE1TXPWRCTL :
  25697. NPHY_TBL_ID_CORE2TXPWRCTL), 1,
  25698. 576 + txpi[core], 32,
  25699. &rfpwr_offset);
  25700. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25701. 0x29b, (0x1ff << 4),
  25702. ((s16) rfpwr_offset) << 4);
  25703. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25704. 0x29b, (0x1 << 2), (1) << 2);
  25705. }
  25706. }
  25707. and_phy_reg(pi, 0xbf, (u16) (~(0x1f << 0)));
  25708. if (pi->phyhang_avoid)
  25709. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25710. }
  25711. static void
  25712. wlc_phy_txpwr_nphy_srom_convert(u8 *srom_max, u16 *pwr_offset,
  25713. u8 tmp_max_pwr, u8 rate_start,
  25714. u8 rate_end)
  25715. {
  25716. u8 rate;
  25717. u8 word_num, nibble_num;
  25718. u8 tmp_nibble;
  25719. for (rate = rate_start; rate <= rate_end; rate++) {
  25720. word_num = (rate - rate_start) >> 2;
  25721. nibble_num = (rate - rate_start) & 0x3;
  25722. tmp_nibble = (pwr_offset[word_num] >> 4 * nibble_num) & 0xf;
  25723. srom_max[rate] = tmp_max_pwr - 2 * tmp_nibble;
  25724. }
  25725. }
  25726. static void
  25727. wlc_phy_txpwr_nphy_po_apply(u8 *srom_max, u8 pwr_offset,
  25728. u8 rate_start, u8 rate_end)
  25729. {
  25730. u8 rate;
  25731. for (rate = rate_start; rate <= rate_end; rate++)
  25732. srom_max[rate] -= 2 * pwr_offset;
  25733. }
  25734. void
  25735. wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start,
  25736. u8 rate_mcs_end, u8 rate_ofdm_start)
  25737. {
  25738. u8 rate1, rate2;
  25739. rate2 = rate_ofdm_start;
  25740. for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) {
  25741. power[rate1] = power[rate2];
  25742. rate2 += (rate1 == rate_mcs_start) ? 2 : 1;
  25743. }
  25744. power[rate_mcs_end] = power[rate_mcs_end - 1];
  25745. }
  25746. void
  25747. wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start,
  25748. u8 rate_ofdm_end, u8 rate_mcs_start)
  25749. {
  25750. u8 rate1, rate2;
  25751. for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start;
  25752. rate1 <= rate_ofdm_end; rate1++, rate2++) {
  25753. power[rate1] = power[rate2];
  25754. if (rate1 == rate_ofdm_start)
  25755. power[++rate1] = power[rate2];
  25756. }
  25757. }
  25758. void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi)
  25759. {
  25760. uint rate1, rate2, band_num;
  25761. u8 tmp_bw40po = 0, tmp_cddpo = 0, tmp_stbcpo = 0;
  25762. u8 tmp_max_pwr = 0;
  25763. u16 pwr_offsets1[2], *pwr_offsets2 = NULL;
  25764. u8 *tx_srom_max_rate = NULL;
  25765. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  25766. band_num++) {
  25767. switch (band_num) {
  25768. case 0:
  25769. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g,
  25770. pi->nphy_pwrctrl_info[1].max_pwr_2g);
  25771. pwr_offsets1[0] = pi->cck2gpo;
  25772. wlc_phy_txpwr_nphy_srom_convert(pi->tx_srom_max_rate_2g,
  25773. pwr_offsets1,
  25774. tmp_max_pwr,
  25775. TXP_FIRST_CCK,
  25776. TXP_LAST_CCK);
  25777. pwr_offsets1[0] = (u16) (pi->ofdm2gpo & 0xffff);
  25778. pwr_offsets1[1] =
  25779. (u16) (pi->ofdm2gpo >> 16) & 0xffff;
  25780. pwr_offsets2 = pi->mcs2gpo;
  25781. tmp_cddpo = pi->cdd2gpo;
  25782. tmp_stbcpo = pi->stbc2gpo;
  25783. tmp_bw40po = pi->bw402gpo;
  25784. tx_srom_max_rate = pi->tx_srom_max_rate_2g;
  25785. break;
  25786. case 1:
  25787. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm,
  25788. pi->nphy_pwrctrl_info[1].max_pwr_5gm);
  25789. pwr_offsets1[0] = (u16) (pi->ofdm5gpo & 0xffff);
  25790. pwr_offsets1[1] =
  25791. (u16) (pi->ofdm5gpo >> 16) & 0xffff;
  25792. pwr_offsets2 = pi->mcs5gpo;
  25793. tmp_cddpo = pi->cdd5gpo;
  25794. tmp_stbcpo = pi->stbc5gpo;
  25795. tmp_bw40po = pi->bw405gpo;
  25796. tx_srom_max_rate = pi->tx_srom_max_rate_5g_mid;
  25797. break;
  25798. case 2:
  25799. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl,
  25800. pi->nphy_pwrctrl_info[1].max_pwr_5gl);
  25801. pwr_offsets1[0] = (u16) (pi->ofdm5glpo & 0xffff);
  25802. pwr_offsets1[1] =
  25803. (u16) (pi->ofdm5glpo >> 16) & 0xffff;
  25804. pwr_offsets2 = pi->mcs5glpo;
  25805. tmp_cddpo = pi->cdd5glpo;
  25806. tmp_stbcpo = pi->stbc5glpo;
  25807. tmp_bw40po = pi->bw405glpo;
  25808. tx_srom_max_rate = pi->tx_srom_max_rate_5g_low;
  25809. break;
  25810. case 3:
  25811. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh,
  25812. pi->nphy_pwrctrl_info[1].max_pwr_5gh);
  25813. pwr_offsets1[0] = (u16) (pi->ofdm5ghpo & 0xffff);
  25814. pwr_offsets1[1] =
  25815. (u16) (pi->ofdm5ghpo >> 16) & 0xffff;
  25816. pwr_offsets2 = pi->mcs5ghpo;
  25817. tmp_cddpo = pi->cdd5ghpo;
  25818. tmp_stbcpo = pi->stbc5ghpo;
  25819. tmp_bw40po = pi->bw405ghpo;
  25820. tx_srom_max_rate = pi->tx_srom_max_rate_5g_hi;
  25821. break;
  25822. }
  25823. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets1,
  25824. tmp_max_pwr, TXP_FIRST_OFDM,
  25825. TXP_LAST_OFDM);
  25826. wlc_phy_ofdm_to_mcs_powers_nphy(tx_srom_max_rate,
  25827. TXP_FIRST_MCS_20_SISO,
  25828. TXP_LAST_MCS_20_SISO,
  25829. TXP_FIRST_OFDM);
  25830. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  25831. tmp_max_pwr,
  25832. TXP_FIRST_MCS_20_CDD,
  25833. TXP_LAST_MCS_20_CDD);
  25834. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25835. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  25836. TXP_FIRST_MCS_20_CDD,
  25837. TXP_LAST_MCS_20_CDD);
  25838. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25839. TXP_FIRST_OFDM_20_CDD,
  25840. TXP_LAST_OFDM_20_CDD,
  25841. TXP_FIRST_MCS_20_CDD);
  25842. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  25843. tmp_max_pwr,
  25844. TXP_FIRST_MCS_20_STBC,
  25845. TXP_LAST_MCS_20_STBC);
  25846. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25847. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25848. tmp_stbcpo,
  25849. TXP_FIRST_MCS_20_STBC,
  25850. TXP_LAST_MCS_20_STBC);
  25851. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25852. &pwr_offsets2[2], tmp_max_pwr,
  25853. TXP_FIRST_MCS_20_SDM,
  25854. TXP_LAST_MCS_20_SDM);
  25855. if (NPHY_IS_SROM_REINTERPRET) {
  25856. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25857. &pwr_offsets2[4],
  25858. tmp_max_pwr,
  25859. TXP_FIRST_MCS_40_SISO,
  25860. TXP_LAST_MCS_40_SISO);
  25861. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25862. TXP_FIRST_OFDM_40_SISO,
  25863. TXP_LAST_OFDM_40_SISO,
  25864. TXP_FIRST_MCS_40_SISO);
  25865. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25866. &pwr_offsets2[4],
  25867. tmp_max_pwr,
  25868. TXP_FIRST_MCS_40_CDD,
  25869. TXP_LAST_MCS_40_CDD);
  25870. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  25871. TXP_FIRST_MCS_40_CDD,
  25872. TXP_LAST_MCS_40_CDD);
  25873. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25874. TXP_FIRST_OFDM_40_CDD,
  25875. TXP_LAST_OFDM_40_CDD,
  25876. TXP_FIRST_MCS_40_CDD);
  25877. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25878. &pwr_offsets2[4],
  25879. tmp_max_pwr,
  25880. TXP_FIRST_MCS_40_STBC,
  25881. TXP_LAST_MCS_40_STBC);
  25882. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25883. tmp_stbcpo,
  25884. TXP_FIRST_MCS_40_STBC,
  25885. TXP_LAST_MCS_40_STBC);
  25886. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25887. &pwr_offsets2[6],
  25888. tmp_max_pwr,
  25889. TXP_FIRST_MCS_40_SDM,
  25890. TXP_LAST_MCS_40_SDM);
  25891. } else {
  25892. for (rate1 = TXP_FIRST_OFDM_40_SISO, rate2 =
  25893. TXP_FIRST_OFDM;
  25894. rate1 <= TXP_LAST_MCS_40_SDM;
  25895. rate1++, rate2++)
  25896. tx_srom_max_rate[rate1] =
  25897. tx_srom_max_rate[rate2];
  25898. }
  25899. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25900. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25901. tmp_bw40po,
  25902. TXP_FIRST_OFDM_40_SISO,
  25903. TXP_LAST_MCS_40_SDM);
  25904. tx_srom_max_rate[TXP_MCS_32] =
  25905. tx_srom_max_rate[TXP_FIRST_MCS_40_CDD];
  25906. }
  25907. return;
  25908. }
  25909. void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi)
  25910. {
  25911. u8 tx_pwr_ctrl_state;
  25912. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  25913. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  25914. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  25915. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  25916. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  25917. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  25918. udelay(1);
  25919. }
  25920. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  25921. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  25922. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  25923. }
  25924. static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi)
  25925. {
  25926. return read_phy_reg((pi), 0x1e7) & ((0x1 << 15) |
  25927. (0x1 << 14) | (0x1 << 13));
  25928. }
  25929. u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi)
  25930. {
  25931. u16 tmp;
  25932. u16 pwr_idx[2];
  25933. if (wlc_phy_txpwr_ison_nphy(pi)) {
  25934. pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0);
  25935. pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1);
  25936. tmp = (pwr_idx[0] << 8) | pwr_idx[1];
  25937. } else {
  25938. tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff)
  25939. << 8) |
  25940. (pi->nphy_txpwrindex[PHY_CORE_1].index_internal & 0xff);
  25941. }
  25942. return tmp;
  25943. }
  25944. void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi)
  25945. {
  25946. if (PHY_IPA(pi)
  25947. && (pi->nphy_force_papd_cal
  25948. || (wlc_phy_txpwr_ison_nphy(pi)
  25949. &&
  25950. (((u32)
  25951. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) -
  25952. pi->nphy_papd_tx_gain_at_last_cal[0]) >= 4)
  25953. || ((u32)
  25954. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) -
  25955. pi->nphy_papd_tx_gain_at_last_cal[1]) >= 4)))))
  25956. wlc_phy_a4(pi, true);
  25957. }
  25958. void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type)
  25959. {
  25960. u16 mask = 0, val = 0, ishw = 0;
  25961. u8 ctr;
  25962. uint core;
  25963. u32 tbl_offset;
  25964. u32 tbl_len;
  25965. u16 regval[84];
  25966. if (pi->phyhang_avoid)
  25967. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25968. switch (ctrl_type) {
  25969. case PHY_TPC_HW_OFF:
  25970. case PHY_TPC_HW_ON:
  25971. pi->nphy_txpwrctrl = ctrl_type;
  25972. break;
  25973. default:
  25974. break;
  25975. }
  25976. if (ctrl_type == PHY_TPC_HW_OFF) {
  25977. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  25978. if (wlc_phy_txpwr_ison_nphy(pi)) {
  25979. for (core = 0; core < pi->pubpi.phy_corenum;
  25980. core++)
  25981. pi->nphy_txpwr_idx[core] =
  25982. wlc_phy_txpwr_idx_cur_get_nphy(
  25983. pi,
  25984. (u8) core);
  25985. }
  25986. }
  25987. tbl_len = 84;
  25988. tbl_offset = 64;
  25989. for (ctr = 0; ctr < tbl_len; ctr++)
  25990. regval[ctr] = 0;
  25991. wlc_phy_table_write_nphy(pi, 26, tbl_len, tbl_offset, 16,
  25992. regval);
  25993. wlc_phy_table_write_nphy(pi, 27, tbl_len, tbl_offset, 16,
  25994. regval);
  25995. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25996. and_phy_reg(pi, 0x1e7,
  25997. (u16) (~((0x1 << 15) |
  25998. (0x1 << 14) | (0x1 << 13))));
  25999. else
  26000. and_phy_reg(pi, 0x1e7,
  26001. (u16) (~((0x1 << 14) | (0x1 << 13))));
  26002. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26003. or_phy_reg(pi, 0x8f, (0x1 << 8));
  26004. or_phy_reg(pi, 0xa5, (0x1 << 8));
  26005. } else {
  26006. or_phy_reg(pi, 0xa5, (0x1 << 14));
  26007. }
  26008. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26009. mod_phy_reg(pi, 0xdc, 0x00ff, 0x53);
  26010. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26011. mod_phy_reg(pi, 0xdc, 0x00ff, 0x5a);
  26012. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26013. pi->bw == WL_CHANSPEC_BW_40)
  26014. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26015. MHF1_IQSWAP_WAR, BRCM_BAND_ALL);
  26016. } else {
  26017. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64,
  26018. 8, pi->adj_pwr_tbl_nphy);
  26019. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64,
  26020. 8, pi->adj_pwr_tbl_nphy);
  26021. ishw = (ctrl_type == PHY_TPC_HW_ON) ? 0x1 : 0x0;
  26022. mask = (0x1 << 14) | (0x1 << 13);
  26023. val = (ishw << 14) | (ishw << 13);
  26024. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26025. mask |= (0x1 << 15);
  26026. val |= (ishw << 15);
  26027. }
  26028. mod_phy_reg(pi, 0x1e7, mask, val);
  26029. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  26030. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  26031. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x32);
  26032. mod_phy_reg(pi, 0x222, (0xff << 0), 0x32);
  26033. } else {
  26034. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x64);
  26035. if (NREV_GT(pi->pubpi.phy_rev, 1))
  26036. mod_phy_reg(pi, 0x222,
  26037. (0xff << 0), 0x64);
  26038. }
  26039. }
  26040. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26041. if ((pi->nphy_txpwr_idx[0] != 128)
  26042. && (pi->nphy_txpwr_idx[1] != 128))
  26043. wlc_phy_txpwr_idx_cur_set_nphy(pi,
  26044. pi->
  26045. nphy_txpwr_idx
  26046. [0],
  26047. pi->
  26048. nphy_txpwr_idx
  26049. [1]);
  26050. }
  26051. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26052. and_phy_reg(pi, 0x8f, ~(0x1 << 8));
  26053. and_phy_reg(pi, 0xa5, ~(0x1 << 8));
  26054. } else {
  26055. and_phy_reg(pi, 0xa5, ~(0x1 << 14));
  26056. }
  26057. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26058. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  26059. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26060. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  26061. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26062. pi->bw == WL_CHANSPEC_BW_40)
  26063. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26064. 0x0, BRCM_BAND_ALL);
  26065. if (PHY_IPA(pi)) {
  26066. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  26067. 0x29b, (0x1 << 2), (0) << 2);
  26068. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  26069. 0x29b, (0x1 << 2), (0) << 2);
  26070. }
  26071. }
  26072. if (pi->phyhang_avoid)
  26073. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26074. }
  26075. void
  26076. wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex,
  26077. bool restore_cals)
  26078. {
  26079. u8 core, txpwrctl_tbl;
  26080. u16 tx_ind0, iq_ind0, lo_ind0;
  26081. u16 m1m2;
  26082. u32 txgain;
  26083. u16 rad_gain, dac_gain;
  26084. u8 bbmult;
  26085. u32 iqcomp;
  26086. u16 iqcomp_a, iqcomp_b;
  26087. u32 locomp;
  26088. u16 tmpval;
  26089. u8 tx_pwr_ctrl_state;
  26090. s32 rfpwr_offset;
  26091. u16 regval[2];
  26092. if (pi->phyhang_avoid)
  26093. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26094. tx_ind0 = 192;
  26095. iq_ind0 = 320;
  26096. lo_ind0 = 448;
  26097. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  26098. if ((core_mask & (1 << core)) == 0)
  26099. continue;
  26100. txpwrctl_tbl = (core == PHY_CORE_0) ? 26 : 27;
  26101. if (txpwrindex < 0) {
  26102. if (pi->nphy_txpwrindex[core].index < 0)
  26103. continue;
  26104. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26105. mod_phy_reg(pi, 0x8f,
  26106. (0x1 << 8),
  26107. pi->nphy_txpwrindex[core].
  26108. AfectrlOverride);
  26109. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26110. pi->nphy_txpwrindex[core].
  26111. AfectrlOverride);
  26112. } else {
  26113. mod_phy_reg(pi, 0xa5,
  26114. (0x1 << 14),
  26115. pi->nphy_txpwrindex[core].
  26116. AfectrlOverride);
  26117. }
  26118. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26119. 0xaa : 0xab,
  26120. pi->nphy_txpwrindex[core].AfeCtrlDacGain);
  26121. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26122. &pi->nphy_txpwrindex[core].
  26123. rad_gain);
  26124. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26125. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26126. m1m2 |= ((core == PHY_CORE_0) ?
  26127. (pi->nphy_txpwrindex[core].bbmult << 8) :
  26128. (pi->nphy_txpwrindex[core].bbmult << 0));
  26129. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26130. if (restore_cals) {
  26131. wlc_phy_table_write_nphy(
  26132. pi, 15, 2, (80 + 2 * core), 16,
  26133. &pi->nphy_txpwrindex[core].iqcomp_a);
  26134. wlc_phy_table_write_nphy(
  26135. pi, 15, 1, (85 + core), 16,
  26136. &pi->nphy_txpwrindex[core].locomp);
  26137. wlc_phy_table_write_nphy(
  26138. pi, 15, 1, (93 + core), 16,
  26139. &pi->nphy_txpwrindex[core].locomp);
  26140. }
  26141. wlc_phy_txpwrctrl_enable_nphy(pi, pi->nphy_txpwrctrl);
  26142. pi->nphy_txpwrindex[core].index_internal =
  26143. pi->nphy_txpwrindex[core].index_internal_save;
  26144. } else {
  26145. if (pi->nphy_txpwrindex[core].index < 0) {
  26146. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26147. mod_phy_reg(pi, 0x8f,
  26148. (0x1 << 8),
  26149. pi->nphy_txpwrindex[core].
  26150. AfectrlOverride);
  26151. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26152. pi->nphy_txpwrindex[core].
  26153. AfectrlOverride);
  26154. } else {
  26155. pi->nphy_txpwrindex[core].
  26156. AfectrlOverride =
  26157. read_phy_reg(pi, 0xa5);
  26158. }
  26159. pi->nphy_txpwrindex[core].AfeCtrlDacGain =
  26160. read_phy_reg(pi, (core == PHY_CORE_0) ?
  26161. 0xaa : 0xab);
  26162. wlc_phy_table_read_nphy(pi, 7, 1,
  26163. (0x110 + core), 16,
  26164. &pi->
  26165. nphy_txpwrindex[core].
  26166. rad_gain);
  26167. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  26168. &tmpval);
  26169. tmpval >>= ((core == PHY_CORE_0) ? 8 : 0);
  26170. tmpval &= 0xff;
  26171. pi->nphy_txpwrindex[core].bbmult = (u8) tmpval;
  26172. wlc_phy_table_read_nphy(pi, 15, 2,
  26173. (80 + 2 * core), 16,
  26174. &pi->
  26175. nphy_txpwrindex[core].
  26176. iqcomp_a);
  26177. wlc_phy_table_read_nphy(pi, 15, 1, (85 + core),
  26178. 16,
  26179. &pi->
  26180. nphy_txpwrindex[core].
  26181. locomp);
  26182. pi->nphy_txpwrindex[core].index_internal_save =
  26183. pi->nphy_txpwrindex[core].
  26184. index_internal;
  26185. }
  26186. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26187. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  26188. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26189. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  26190. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26191. (tx_ind0 + txpwrindex), 32,
  26192. &txgain);
  26193. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26194. rad_gain = (txgain >> 16) &
  26195. ((1 << (32 - 16 + 1)) - 1);
  26196. else
  26197. rad_gain = (txgain >> 16) &
  26198. ((1 << (28 - 16 + 1)) - 1);
  26199. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  26200. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  26201. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26202. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  26203. 0xa5), (0x1 << 8), (0x1 << 8));
  26204. else
  26205. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  26206. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26207. 0xaa : 0xab, dac_gain);
  26208. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26209. &rad_gain);
  26210. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26211. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26212. m1m2 |= ((core == PHY_CORE_0) ?
  26213. (bbmult << 8) : (bbmult << 0));
  26214. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26215. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26216. (iq_ind0 + txpwrindex), 32,
  26217. &iqcomp);
  26218. iqcomp_a = (iqcomp >> 10) & ((1 << (19 - 10 + 1)) - 1);
  26219. iqcomp_b = (iqcomp >> 0) & ((1 << (9 - 0 + 1)) - 1);
  26220. if (restore_cals) {
  26221. regval[0] = (u16) iqcomp_a;
  26222. regval[1] = (u16) iqcomp_b;
  26223. wlc_phy_table_write_nphy(pi, 15, 2,
  26224. (80 + 2 * core), 16,
  26225. regval);
  26226. }
  26227. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26228. (lo_ind0 + txpwrindex), 32,
  26229. &locomp);
  26230. if (restore_cals)
  26231. wlc_phy_table_write_nphy(pi, 15, 1, (85 + core),
  26232. 16, &locomp);
  26233. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26234. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  26235. if (PHY_IPA(pi)) {
  26236. wlc_phy_table_read_nphy(pi,
  26237. (core == PHY_CORE_0 ?
  26238. NPHY_TBL_ID_CORE1TXPWRCTL :
  26239. NPHY_TBL_ID_CORE2TXPWRCTL),
  26240. 1, 576 + txpwrindex, 32,
  26241. &rfpwr_offset);
  26242. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26243. 0x29b, (0x1ff << 4),
  26244. ((s16) rfpwr_offset) << 4);
  26245. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26246. 0x29b, (0x1 << 2), (1) << 2);
  26247. }
  26248. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26249. }
  26250. pi->nphy_txpwrindex[core].index = txpwrindex;
  26251. }
  26252. if (pi->phyhang_avoid)
  26253. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26254. }
  26255. void
  26256. wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr,
  26257. u8 txp_rate_idx)
  26258. {
  26259. u8 chan_freq_range;
  26260. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, chan);
  26261. switch (chan_freq_range) {
  26262. case WL_CHAN_FREQ_RANGE_2G:
  26263. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26264. break;
  26265. case WL_CHAN_FREQ_RANGE_5GM:
  26266. *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
  26267. break;
  26268. case WL_CHAN_FREQ_RANGE_5GL:
  26269. *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
  26270. break;
  26271. case WL_CHAN_FREQ_RANGE_5GH:
  26272. *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
  26273. break;
  26274. default:
  26275. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26276. break;
  26277. }
  26278. return;
  26279. }
  26280. void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable)
  26281. {
  26282. u16 clip_off[] = { 0xffff, 0xffff };
  26283. if (enable) {
  26284. if (pi->nphy_deaf_count == 0) {
  26285. pi->classifier_state =
  26286. wlc_phy_classifier_nphy(pi, 0, 0);
  26287. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  26288. wlc_phy_clip_det_nphy(pi, 0, pi->clip_state);
  26289. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  26290. }
  26291. pi->nphy_deaf_count++;
  26292. wlc_phy_resetcca_nphy(pi);
  26293. } else {
  26294. pi->nphy_deaf_count--;
  26295. if (pi->nphy_deaf_count == 0) {
  26296. wlc_phy_classifier_nphy(pi, (0x7 << 0),
  26297. pi->classifier_state);
  26298. wlc_phy_clip_det_nphy(pi, 1, pi->clip_state);
  26299. }
  26300. }
  26301. }
  26302. void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode)
  26303. {
  26304. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  26305. if (mode) {
  26306. if (pi->nphy_deaf_count == 0)
  26307. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26308. } else if (pi->nphy_deaf_count > 0) {
  26309. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26310. }
  26311. wlapi_enable_mac(pi->sh->physhim);
  26312. }