phy_n.c 917 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719
  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. sizeof(rfseq_updategainu_events) /
  15682. sizeof(rfseq_updategainu_events[0]));
  15683. mod_phy_reg(pi, 0x153, (0xff << 8), (90 << 8));
  15684. if (CHSPEC_IS2G(pi->radio_chanspec))
  15685. mod_phy_reg(pi,
  15686. (NPHY_TO_BPHY_OFF + BPHY_OPTIONAL_MODES),
  15687. 0x7f, 0x4);
  15688. }
  15689. }
  15690. static void wlc_phy_workarounds_nphy(struct brcms_phy *pi)
  15691. {
  15692. static const u8 rfseq_rx2tx_events[] = {
  15693. NPHY_RFSEQ_CMD_NOP,
  15694. NPHY_RFSEQ_CMD_RXG_FBW,
  15695. NPHY_RFSEQ_CMD_TR_SWITCH,
  15696. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15697. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15698. NPHY_RFSEQ_CMD_TX_GAIN,
  15699. NPHY_RFSEQ_CMD_EXT_PA
  15700. };
  15701. u8 rfseq_rx2tx_dlys[] = { 8, 6, 6, 2, 4, 60, 1 };
  15702. static const u8 rfseq_tx2rx_events[] = {
  15703. NPHY_RFSEQ_CMD_NOP,
  15704. NPHY_RFSEQ_CMD_EXT_PA,
  15705. NPHY_RFSEQ_CMD_TX_GAIN,
  15706. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15707. NPHY_RFSEQ_CMD_TR_SWITCH,
  15708. NPHY_RFSEQ_CMD_RXG_FBW,
  15709. NPHY_RFSEQ_CMD_CLR_HIQ_DIS
  15710. };
  15711. static const u8 rfseq_tx2rx_dlys[] = { 8, 6, 2, 4, 4, 6, 1 };
  15712. static const u8 rfseq_tx2rx_events_rev3[] = {
  15713. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15714. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15715. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15716. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15717. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15718. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15719. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15720. NPHY_REV3_RFSEQ_CMD_END
  15721. };
  15722. static const u8 rfseq_tx2rx_dlys_rev3[] = { 8, 4, 2, 2, 4, 4, 6, 1 };
  15723. u8 rfseq_rx2tx_events_rev3[] = {
  15724. NPHY_REV3_RFSEQ_CMD_NOP,
  15725. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15726. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15727. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15728. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15729. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15730. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15731. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15732. NPHY_REV3_RFSEQ_CMD_END
  15733. };
  15734. u8 rfseq_rx2tx_dlys_rev3[] = { 8, 6, 6, 4, 4, 18, 42, 1, 1 };
  15735. static const u8 rfseq_rx2tx_events_rev3_ipa[] = {
  15736. NPHY_REV3_RFSEQ_CMD_NOP,
  15737. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15738. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15739. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15740. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15741. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15742. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  15743. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15744. NPHY_REV3_RFSEQ_CMD_END
  15745. };
  15746. static const u8 rfseq_rx2tx_dlys_rev3_ipa[] = { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  15747. static const u16 rfseq_rx2tx_dacbufpu_rev7[] = { 0x10f, 0x10f };
  15748. s16 alpha0, alpha1, alpha2;
  15749. s16 beta0, beta1, beta2;
  15750. u32 leg_data_weights, ht_data_weights, nss1_data_weights,
  15751. stbc_data_weights;
  15752. u8 chan_freq_range = 0;
  15753. static const u16 dac_control = 0x0002;
  15754. u16 aux_adc_vmid_rev7_core0[] = { 0x8e, 0x96, 0x96, 0x96 };
  15755. u16 aux_adc_vmid_rev7_core1[] = { 0x8f, 0x9f, 0x9f, 0x96 };
  15756. u16 aux_adc_vmid_rev4[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15757. u16 aux_adc_vmid_rev3[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15758. u16 *aux_adc_vmid;
  15759. u16 aux_adc_gain_rev7[] = { 0x02, 0x02, 0x02, 0x02 };
  15760. u16 aux_adc_gain_rev4[] = { 0x02, 0x02, 0x02, 0x00 };
  15761. u16 aux_adc_gain_rev3[] = { 0x02, 0x02, 0x02, 0x00 };
  15762. u16 *aux_adc_gain;
  15763. static const u16 sk_adc_vmid[] = { 0xb4, 0xb4, 0xb4, 0x24 };
  15764. static const u16 sk_adc_gain[] = { 0x02, 0x02, 0x02, 0x02 };
  15765. s32 min_nvar_val = 0x18d;
  15766. s32 min_nvar_offset_6mbps = 20;
  15767. u8 pdetrange;
  15768. u8 triso;
  15769. u16 regval;
  15770. u16 afectrl_adc_ctrl1_rev7 = 0x20;
  15771. u16 afectrl_adc_ctrl2_rev7 = 0x0;
  15772. u16 rfseq_rx2tx_lpf_h_hpc_rev7 = 0x77;
  15773. u16 rfseq_tx2rx_lpf_h_hpc_rev7 = 0x77;
  15774. u16 rfseq_pktgn_lpf_h_hpc_rev7 = 0x77;
  15775. static const u16 rfseq_htpktgn_lpf_hpc_rev7[] = { 0x77, 0x11, 0x11 };
  15776. static const u16 rfseq_pktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15777. static const u16 rfseq_cckpktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15778. u16 ipalvlshift_3p3_war_en = 0;
  15779. u16 rccal_bcap_val, rccal_scap_val;
  15780. u16 rccal_tx20_11b_bcap = 0;
  15781. u16 rccal_tx20_11b_scap = 0;
  15782. u16 rccal_tx20_11n_bcap = 0;
  15783. u16 rccal_tx20_11n_scap = 0;
  15784. u16 rccal_tx40_11n_bcap = 0;
  15785. u16 rccal_tx40_11n_scap = 0;
  15786. u16 rx2tx_lpf_rc_lut_tx20_11b = 0;
  15787. u16 rx2tx_lpf_rc_lut_tx20_11n = 0;
  15788. u16 rx2tx_lpf_rc_lut_tx40_11n = 0;
  15789. u16 tx_lpf_bw_ofdm_20mhz = 0;
  15790. u16 tx_lpf_bw_ofdm_40mhz = 0;
  15791. u16 tx_lpf_bw_11b = 0;
  15792. u16 ipa2g_mainbias, ipa2g_casconv, ipa2g_biasfilt;
  15793. u16 txgm_idac_bleed = 0;
  15794. bool rccal_ovrd = false;
  15795. u16 freq;
  15796. int coreNum;
  15797. if (CHSPEC_IS5G(pi->radio_chanspec))
  15798. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 0);
  15799. else
  15800. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 1);
  15801. if (pi->phyhang_avoid)
  15802. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  15803. or_phy_reg(pi, 0xb1, NPHY_IQFlip_ADC1 | NPHY_IQFlip_ADC2);
  15804. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15805. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  15806. mod_phy_reg(pi, 0x221, (0x1 << 4), (1 << 4));
  15807. mod_phy_reg(pi, 0x160, (0x7f << 0), (32 << 0));
  15808. mod_phy_reg(pi, 0x160, (0x7f << 8), (39 << 8));
  15809. mod_phy_reg(pi, 0x161, (0x7f << 0), (46 << 0));
  15810. mod_phy_reg(pi, 0x161, (0x7f << 8), (51 << 8));
  15811. mod_phy_reg(pi, 0x162, (0x7f << 0), (55 << 0));
  15812. mod_phy_reg(pi, 0x162, (0x7f << 8), (58 << 8));
  15813. mod_phy_reg(pi, 0x163, (0x7f << 0), (60 << 0));
  15814. mod_phy_reg(pi, 0x163, (0x7f << 8), (62 << 8));
  15815. mod_phy_reg(pi, 0x164, (0x7f << 0), (62 << 0));
  15816. mod_phy_reg(pi, 0x164, (0x7f << 8), (63 << 8));
  15817. mod_phy_reg(pi, 0x165, (0x7f << 0), (63 << 0));
  15818. mod_phy_reg(pi, 0x165, (0x7f << 8), (64 << 8));
  15819. mod_phy_reg(pi, 0x166, (0x7f << 0), (64 << 0));
  15820. mod_phy_reg(pi, 0x166, (0x7f << 8), (64 << 8));
  15821. mod_phy_reg(pi, 0x167, (0x7f << 0), (64 << 0));
  15822. mod_phy_reg(pi, 0x167, (0x7f << 8), (64 << 8));
  15823. }
  15824. if (NREV_LE(pi->pubpi.phy_rev, 8)) {
  15825. write_phy_reg(pi, 0x23f, 0x1b0);
  15826. write_phy_reg(pi, 0x240, 0x1b0);
  15827. }
  15828. if (NREV_GE(pi->pubpi.phy_rev, 8))
  15829. mod_phy_reg(pi, 0xbd, (0xff << 0), (114 << 0));
  15830. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  15831. &dac_control);
  15832. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  15833. &dac_control);
  15834. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15835. 1, 0, 32, &leg_data_weights);
  15836. leg_data_weights = leg_data_weights & 0xffffff;
  15837. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15838. 1, 0, 32, &leg_data_weights);
  15839. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15840. 2, 0x15e, 16,
  15841. rfseq_rx2tx_dacbufpu_rev7);
  15842. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x16e, 16,
  15843. rfseq_rx2tx_dacbufpu_rev7);
  15844. if (PHY_IPA(pi))
  15845. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  15846. rfseq_rx2tx_events_rev3_ipa,
  15847. rfseq_rx2tx_dlys_rev3_ipa,
  15848. ARRAY_SIZE(rfseq_rx2tx_events_rev3_ipa));
  15849. mod_phy_reg(pi, 0x299, (0x3 << 14), (0x1 << 14));
  15850. mod_phy_reg(pi, 0x29d, (0x3 << 14), (0x1 << 14));
  15851. tx_lpf_bw_ofdm_20mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x154);
  15852. tx_lpf_bw_ofdm_40mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x159);
  15853. tx_lpf_bw_11b = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x152);
  15854. if (PHY_IPA(pi)) {
  15855. if (((pi->pubpi.radiorev == 5)
  15856. && (CHSPEC_IS40(pi->radio_chanspec) == 1))
  15857. || (pi->pubpi.radiorev == 7)
  15858. || (pi->pubpi.radiorev == 8)) {
  15859. rccal_bcap_val =
  15860. read_radio_reg(
  15861. pi,
  15862. RADIO_2057_RCCAL_BCAP_VAL);
  15863. rccal_scap_val =
  15864. read_radio_reg(
  15865. pi,
  15866. RADIO_2057_RCCAL_SCAP_VAL);
  15867. rccal_tx20_11b_bcap = rccal_bcap_val;
  15868. rccal_tx20_11b_scap = rccal_scap_val;
  15869. if ((pi->pubpi.radiorev == 5) &&
  15870. (CHSPEC_IS40(pi->radio_chanspec) == 1)) {
  15871. rccal_tx20_11n_bcap = rccal_bcap_val;
  15872. rccal_tx20_11n_scap = rccal_scap_val;
  15873. rccal_tx40_11n_bcap = 0xc;
  15874. rccal_tx40_11n_scap = 0xc;
  15875. rccal_ovrd = true;
  15876. } else if ((pi->pubpi.radiorev == 7)
  15877. || (pi->pubpi.radiorev == 8)) {
  15878. tx_lpf_bw_ofdm_20mhz = 4;
  15879. tx_lpf_bw_11b = 1;
  15880. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  15881. rccal_tx20_11n_bcap = 0xc;
  15882. rccal_tx20_11n_scap = 0xc;
  15883. rccal_tx40_11n_bcap = 0xa;
  15884. rccal_tx40_11n_scap = 0xa;
  15885. } else {
  15886. rccal_tx20_11n_bcap = 0x14;
  15887. rccal_tx20_11n_scap = 0x14;
  15888. rccal_tx40_11n_bcap = 0xf;
  15889. rccal_tx40_11n_scap = 0xf;
  15890. }
  15891. rccal_ovrd = true;
  15892. }
  15893. }
  15894. } else {
  15895. if (pi->pubpi.radiorev == 5) {
  15896. tx_lpf_bw_ofdm_20mhz = 1;
  15897. tx_lpf_bw_ofdm_40mhz = 3;
  15898. rccal_bcap_val =
  15899. read_radio_reg(
  15900. pi,
  15901. RADIO_2057_RCCAL_BCAP_VAL);
  15902. rccal_scap_val =
  15903. read_radio_reg(
  15904. pi,
  15905. RADIO_2057_RCCAL_SCAP_VAL);
  15906. rccal_tx20_11b_bcap = rccal_bcap_val;
  15907. rccal_tx20_11b_scap = rccal_scap_val;
  15908. rccal_tx20_11n_bcap = 0x13;
  15909. rccal_tx20_11n_scap = 0x11;
  15910. rccal_tx40_11n_bcap = 0x13;
  15911. rccal_tx40_11n_scap = 0x11;
  15912. rccal_ovrd = true;
  15913. }
  15914. }
  15915. if (rccal_ovrd) {
  15916. rx2tx_lpf_rc_lut_tx20_11b =
  15917. (rccal_tx20_11b_bcap << 8) |
  15918. (rccal_tx20_11b_scap << 3) |
  15919. tx_lpf_bw_11b;
  15920. rx2tx_lpf_rc_lut_tx20_11n =
  15921. (rccal_tx20_11n_bcap << 8) |
  15922. (rccal_tx20_11n_scap << 3) |
  15923. tx_lpf_bw_ofdm_20mhz;
  15924. rx2tx_lpf_rc_lut_tx40_11n =
  15925. (rccal_tx40_11n_bcap << 8) |
  15926. (rccal_tx40_11n_scap << 3) |
  15927. tx_lpf_bw_ofdm_40mhz;
  15928. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15929. wlc_phy_table_write_nphy(
  15930. pi, NPHY_TBL_ID_RFSEQ,
  15931. 1,
  15932. 0x152 + coreNum * 0x10,
  15933. 16,
  15934. &rx2tx_lpf_rc_lut_tx20_11b);
  15935. wlc_phy_table_write_nphy(
  15936. pi, NPHY_TBL_ID_RFSEQ,
  15937. 1,
  15938. 0x153 + coreNum * 0x10,
  15939. 16,
  15940. &rx2tx_lpf_rc_lut_tx20_11n);
  15941. wlc_phy_table_write_nphy(
  15942. pi, NPHY_TBL_ID_RFSEQ,
  15943. 1,
  15944. 0x154 + coreNum * 0x10,
  15945. 16,
  15946. &rx2tx_lpf_rc_lut_tx20_11n);
  15947. wlc_phy_table_write_nphy(
  15948. pi, NPHY_TBL_ID_RFSEQ,
  15949. 1,
  15950. 0x155 + coreNum * 0x10,
  15951. 16,
  15952. &rx2tx_lpf_rc_lut_tx40_11n);
  15953. wlc_phy_table_write_nphy(
  15954. pi, NPHY_TBL_ID_RFSEQ,
  15955. 1,
  15956. 0x156 + coreNum * 0x10,
  15957. 16,
  15958. &rx2tx_lpf_rc_lut_tx40_11n);
  15959. wlc_phy_table_write_nphy(
  15960. pi, NPHY_TBL_ID_RFSEQ,
  15961. 1,
  15962. 0x157 + coreNum * 0x10,
  15963. 16,
  15964. &rx2tx_lpf_rc_lut_tx40_11n);
  15965. wlc_phy_table_write_nphy(
  15966. pi, NPHY_TBL_ID_RFSEQ,
  15967. 1,
  15968. 0x158 + coreNum * 0x10,
  15969. 16,
  15970. &rx2tx_lpf_rc_lut_tx40_11n);
  15971. wlc_phy_table_write_nphy(
  15972. pi, NPHY_TBL_ID_RFSEQ,
  15973. 1,
  15974. 0x159 + coreNum * 0x10,
  15975. 16,
  15976. &rx2tx_lpf_rc_lut_tx40_11n);
  15977. }
  15978. wlc_phy_rfctrl_override_nphy_rev7(
  15979. pi, (0x1 << 4),
  15980. 1, 0x3, 0,
  15981. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  15982. }
  15983. write_phy_reg(pi, 0x32f, 0x3);
  15984. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  15985. wlc_phy_rfctrl_override_nphy_rev7(
  15986. pi, (0x1 << 2),
  15987. 1, 0x3, 0,
  15988. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  15989. if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) ||
  15990. (pi->pubpi.radiorev == 6)) {
  15991. if ((pi->sh->sromrev >= 8)
  15992. && (pi->sh->boardflags2 & BFL2_IPALVLSHIFT_3P3))
  15993. ipalvlshift_3p3_war_en = 1;
  15994. if (ipalvlshift_3p3_war_en) {
  15995. write_radio_reg(pi, RADIO_2057_GPAIO_CONFIG,
  15996. 0x5);
  15997. write_radio_reg(pi, RADIO_2057_GPAIO_SEL1,
  15998. 0x30);
  15999. write_radio_reg(pi, RADIO_2057_GPAIO_SEL0, 0x0);
  16000. or_radio_reg(pi,
  16001. RADIO_2057_RXTXBIAS_CONFIG_CORE0,
  16002. 0x1);
  16003. or_radio_reg(pi,
  16004. RADIO_2057_RXTXBIAS_CONFIG_CORE1,
  16005. 0x1);
  16006. ipa2g_mainbias = 0x1f;
  16007. ipa2g_casconv = 0x6f;
  16008. ipa2g_biasfilt = 0xaa;
  16009. } else {
  16010. ipa2g_mainbias = 0x2b;
  16011. ipa2g_casconv = 0x7f;
  16012. ipa2g_biasfilt = 0xee;
  16013. }
  16014. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16015. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16016. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16017. coreNum, IPA2G_IMAIN,
  16018. ipa2g_mainbias);
  16019. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16020. coreNum, IPA2G_CASCONV,
  16021. ipa2g_casconv);
  16022. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16023. coreNum,
  16024. IPA2G_BIAS_FILTER,
  16025. ipa2g_biasfilt);
  16026. }
  16027. }
  16028. }
  16029. if (PHY_IPA(pi)) {
  16030. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16031. if ((pi->pubpi.radiorev == 3)
  16032. || (pi->pubpi.radiorev == 4)
  16033. || (pi->pubpi.radiorev == 6))
  16034. txgm_idac_bleed = 0x7f;
  16035. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16036. if (txgm_idac_bleed != 0)
  16037. WRITE_RADIO_REG4(
  16038. pi, RADIO_2057,
  16039. CORE, coreNum,
  16040. TXGM_IDAC_BLEED,
  16041. txgm_idac_bleed);
  16042. }
  16043. if (pi->pubpi.radiorev == 5) {
  16044. for (coreNum = 0; coreNum <= 1;
  16045. coreNum++) {
  16046. WRITE_RADIO_REG4(pi, RADIO_2057,
  16047. CORE, coreNum,
  16048. IPA2G_CASCONV,
  16049. 0x13);
  16050. WRITE_RADIO_REG4(pi, RADIO_2057,
  16051. CORE, coreNum,
  16052. IPA2G_IMAIN,
  16053. 0x1f);
  16054. WRITE_RADIO_REG4(
  16055. pi, RADIO_2057,
  16056. CORE, coreNum,
  16057. IPA2G_BIAS_FILTER,
  16058. 0xee);
  16059. WRITE_RADIO_REG4(pi, RADIO_2057,
  16060. CORE, coreNum,
  16061. PAD2G_IDACS,
  16062. 0x8a);
  16063. WRITE_RADIO_REG4(
  16064. pi, RADIO_2057,
  16065. CORE, coreNum,
  16066. PAD_BIAS_FILTER_BWS,
  16067. 0x3e);
  16068. }
  16069. } else if ((pi->pubpi.radiorev == 7)
  16070. || (pi->pubpi.radiorev == 8)) {
  16071. if (CHSPEC_IS40(pi->radio_chanspec) ==
  16072. 0) {
  16073. WRITE_RADIO_REG4(pi, RADIO_2057,
  16074. CORE, 0,
  16075. IPA2G_IMAIN,
  16076. 0x14);
  16077. WRITE_RADIO_REG4(pi, RADIO_2057,
  16078. CORE, 1,
  16079. IPA2G_IMAIN,
  16080. 0x12);
  16081. } else {
  16082. WRITE_RADIO_REG4(pi, RADIO_2057,
  16083. CORE, 0,
  16084. IPA2G_IMAIN,
  16085. 0x16);
  16086. WRITE_RADIO_REG4(pi, RADIO_2057,
  16087. CORE, 1,
  16088. IPA2G_IMAIN,
  16089. 0x16);
  16090. }
  16091. }
  16092. } else {
  16093. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(
  16094. pi->radio_chanspec));
  16095. if (((freq >= 5180) && (freq <= 5230))
  16096. || ((freq >= 5745) && (freq <= 5805))) {
  16097. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16098. 0, IPA5G_BIAS_FILTER,
  16099. 0xff);
  16100. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16101. 1, IPA5G_BIAS_FILTER,
  16102. 0xff);
  16103. }
  16104. }
  16105. } else {
  16106. if (pi->pubpi.radiorev != 5) {
  16107. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16108. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16109. coreNum,
  16110. TXMIX2G_TUNE_BOOST_PU,
  16111. 0x61);
  16112. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16113. coreNum,
  16114. TXGM_IDAC_BLEED, 0x70);
  16115. }
  16116. }
  16117. }
  16118. if (pi->pubpi.radiorev == 4) {
  16119. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16120. 0x05, 16,
  16121. &afectrl_adc_ctrl1_rev7);
  16122. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16123. 0x15, 16,
  16124. &afectrl_adc_ctrl1_rev7);
  16125. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16126. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16127. AFE_VCM_CAL_MASTER, 0x0);
  16128. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16129. AFE_SET_VCM_I, 0x3f);
  16130. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16131. AFE_SET_VCM_Q, 0x3f);
  16132. }
  16133. } else {
  16134. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  16135. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  16136. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  16137. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  16138. mod_phy_reg(pi, 0xa6, (0x1 << 0), 0);
  16139. mod_phy_reg(pi, 0x8f, (0x1 << 0), (0x1 << 0));
  16140. mod_phy_reg(pi, 0xa7, (0x1 << 0), 0);
  16141. mod_phy_reg(pi, 0xa5, (0x1 << 0), (0x1 << 0));
  16142. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16143. 0x05, 16,
  16144. &afectrl_adc_ctrl2_rev7);
  16145. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16146. 0x15, 16,
  16147. &afectrl_adc_ctrl2_rev7);
  16148. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  16149. mod_phy_reg(pi, 0x8f, (0x1 << 2), 0);
  16150. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  16151. mod_phy_reg(pi, 0xa5, (0x1 << 2), 0);
  16152. }
  16153. write_phy_reg(pi, 0x6a, 0x2);
  16154. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 256, 32,
  16155. &min_nvar_offset_6mbps);
  16156. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x138, 16,
  16157. &rfseq_pktgn_lpf_hpc_rev7);
  16158. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x141, 16,
  16159. &rfseq_pktgn_lpf_h_hpc_rev7);
  16160. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 3, 0x133, 16,
  16161. &rfseq_htpktgn_lpf_hpc_rev7);
  16162. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x146, 16,
  16163. &rfseq_cckpktgn_lpf_hpc_rev7);
  16164. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x123, 16,
  16165. &rfseq_tx2rx_lpf_h_hpc_rev7);
  16166. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x12A, 16,
  16167. &rfseq_rx2tx_lpf_h_hpc_rev7);
  16168. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16169. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16170. 32, &min_nvar_val);
  16171. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16172. 127, 32, &min_nvar_val);
  16173. } else {
  16174. min_nvar_val = noise_var_tbl_rev7[3];
  16175. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16176. 32, &min_nvar_val);
  16177. min_nvar_val = noise_var_tbl_rev7[127];
  16178. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16179. 127, 32, &min_nvar_val);
  16180. }
  16181. wlc_phy_workarounds_nphy_gainctrl(pi);
  16182. pdetrange =
  16183. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16184. pdetrange : pi->srom_fem2g.pdetrange;
  16185. if (pdetrange == 0) {
  16186. chan_freq_range =
  16187. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16188. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16189. aux_adc_vmid_rev7_core0[3] = 0x70;
  16190. aux_adc_vmid_rev7_core1[3] = 0x70;
  16191. aux_adc_gain_rev7[3] = 2;
  16192. } else {
  16193. aux_adc_vmid_rev7_core0[3] = 0x80;
  16194. aux_adc_vmid_rev7_core1[3] = 0x80;
  16195. aux_adc_gain_rev7[3] = 3;
  16196. }
  16197. } else if (pdetrange == 1) {
  16198. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16199. aux_adc_vmid_rev7_core0[3] = 0x7c;
  16200. aux_adc_vmid_rev7_core1[3] = 0x7c;
  16201. aux_adc_gain_rev7[3] = 2;
  16202. } else {
  16203. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16204. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16205. aux_adc_gain_rev7[3] = 1;
  16206. }
  16207. } else if (pdetrange == 2) {
  16208. if (pi->pubpi.radioid == BCM2057_ID) {
  16209. if ((pi->pubpi.radiorev == 5)
  16210. || (pi->pubpi.radiorev == 7)
  16211. || (pi->pubpi.radiorev == 8)) {
  16212. if (chan_freq_range ==
  16213. WL_CHAN_FREQ_RANGE_2G) {
  16214. aux_adc_vmid_rev7_core0[3] =
  16215. 0x8c;
  16216. aux_adc_vmid_rev7_core1[3] =
  16217. 0x8c;
  16218. aux_adc_gain_rev7[3] = 0;
  16219. } else {
  16220. aux_adc_vmid_rev7_core0[3] =
  16221. 0x96;
  16222. aux_adc_vmid_rev7_core1[3] =
  16223. 0x96;
  16224. aux_adc_gain_rev7[3] = 0;
  16225. }
  16226. }
  16227. }
  16228. } else if (pdetrange == 3) {
  16229. if (chan_freq_range == WL_CHAN_FREQ_RANGE_2G) {
  16230. aux_adc_vmid_rev7_core0[3] = 0x89;
  16231. aux_adc_vmid_rev7_core1[3] = 0x89;
  16232. aux_adc_gain_rev7[3] = 0;
  16233. }
  16234. } else if (pdetrange == 5) {
  16235. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16236. aux_adc_vmid_rev7_core0[3] = 0x80;
  16237. aux_adc_vmid_rev7_core1[3] = 0x80;
  16238. aux_adc_gain_rev7[3] = 3;
  16239. } else {
  16240. aux_adc_vmid_rev7_core0[3] = 0x70;
  16241. aux_adc_vmid_rev7_core1[3] = 0x70;
  16242. aux_adc_gain_rev7[3] = 2;
  16243. }
  16244. }
  16245. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x08, 16,
  16246. &aux_adc_vmid_rev7_core0);
  16247. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x18, 16,
  16248. &aux_adc_vmid_rev7_core1);
  16249. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x0c, 16,
  16250. &aux_adc_gain_rev7);
  16251. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x1c, 16,
  16252. &aux_adc_gain_rev7);
  16253. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16254. write_phy_reg(pi, 0x23f, 0x1f8);
  16255. write_phy_reg(pi, 0x240, 0x1f8);
  16256. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16257. 1, 0, 32, &leg_data_weights);
  16258. leg_data_weights = leg_data_weights & 0xffffff;
  16259. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16260. 1, 0, 32, &leg_data_weights);
  16261. alpha0 = 293;
  16262. alpha1 = 435;
  16263. alpha2 = 261;
  16264. beta0 = 366;
  16265. beta1 = 205;
  16266. beta2 = 32;
  16267. write_phy_reg(pi, 0x145, alpha0);
  16268. write_phy_reg(pi, 0x146, alpha1);
  16269. write_phy_reg(pi, 0x147, alpha2);
  16270. write_phy_reg(pi, 0x148, beta0);
  16271. write_phy_reg(pi, 0x149, beta1);
  16272. write_phy_reg(pi, 0x14a, beta2);
  16273. write_phy_reg(pi, 0x38, 0xC);
  16274. write_phy_reg(pi, 0x2ae, 0xC);
  16275. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX,
  16276. rfseq_tx2rx_events_rev3,
  16277. rfseq_tx2rx_dlys_rev3,
  16278. ARRAY_SIZE(rfseq_tx2rx_events_rev3));
  16279. if (PHY_IPA(pi))
  16280. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16281. rfseq_rx2tx_events_rev3_ipa,
  16282. rfseq_rx2tx_dlys_rev3_ipa,
  16283. ARRAY_SIZE(rfseq_rx2tx_events_rev3_ipa));
  16284. if ((pi->sh->hw_phyrxchain != 0x3) &&
  16285. (pi->sh->hw_phyrxchain != pi->sh->hw_phytxchain)) {
  16286. if (PHY_IPA(pi)) {
  16287. rfseq_rx2tx_dlys_rev3[5] = 59;
  16288. rfseq_rx2tx_dlys_rev3[6] = 1;
  16289. rfseq_rx2tx_events_rev3[7] =
  16290. NPHY_REV3_RFSEQ_CMD_END;
  16291. }
  16292. wlc_phy_set_rfseq_nphy(
  16293. pi, NPHY_RFSEQ_RX2TX,
  16294. rfseq_rx2tx_events_rev3,
  16295. rfseq_rx2tx_dlys_rev3,
  16296. ARRAY_SIZE(rfseq_rx2tx_events_rev3));
  16297. }
  16298. if (CHSPEC_IS2G(pi->radio_chanspec))
  16299. write_phy_reg(pi, 0x6a, 0x2);
  16300. else
  16301. write_phy_reg(pi, 0x6a, 0x9c40);
  16302. mod_phy_reg(pi, 0x294, (0xf << 8), (7 << 8));
  16303. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16304. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16305. 32, &min_nvar_val);
  16306. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16307. 127, 32, &min_nvar_val);
  16308. } else {
  16309. min_nvar_val = noise_var_tbl_rev3[3];
  16310. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16311. 32, &min_nvar_val);
  16312. min_nvar_val = noise_var_tbl_rev3[127];
  16313. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16314. 127, 32, &min_nvar_val);
  16315. }
  16316. wlc_phy_workarounds_nphy_gainctrl(pi);
  16317. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  16318. &dac_control);
  16319. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  16320. &dac_control);
  16321. pdetrange =
  16322. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16323. pdetrange : pi->srom_fem2g.pdetrange;
  16324. if (pdetrange == 0) {
  16325. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  16326. aux_adc_vmid = aux_adc_vmid_rev4;
  16327. aux_adc_gain = aux_adc_gain_rev4;
  16328. } else {
  16329. aux_adc_vmid = aux_adc_vmid_rev3;
  16330. aux_adc_gain = aux_adc_gain_rev3;
  16331. }
  16332. chan_freq_range =
  16333. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16334. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16335. switch (chan_freq_range) {
  16336. case WL_CHAN_FREQ_RANGE_5GL:
  16337. aux_adc_vmid[3] = 0x89;
  16338. aux_adc_gain[3] = 0;
  16339. break;
  16340. case WL_CHAN_FREQ_RANGE_5GM:
  16341. aux_adc_vmid[3] = 0x89;
  16342. aux_adc_gain[3] = 0;
  16343. break;
  16344. case WL_CHAN_FREQ_RANGE_5GH:
  16345. aux_adc_vmid[3] = 0x89;
  16346. aux_adc_gain[3] = 0;
  16347. break;
  16348. default:
  16349. break;
  16350. }
  16351. }
  16352. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16353. 0x08, 16, aux_adc_vmid);
  16354. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16355. 0x18, 16, aux_adc_vmid);
  16356. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16357. 0x0c, 16, aux_adc_gain);
  16358. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16359. 0x1c, 16, aux_adc_gain);
  16360. } else if (pdetrange == 1) {
  16361. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16362. 0x08, 16, sk_adc_vmid);
  16363. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16364. 0x18, 16, sk_adc_vmid);
  16365. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16366. 0x0c, 16, sk_adc_gain);
  16367. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16368. 0x1c, 16, sk_adc_gain);
  16369. } else if (pdetrange == 2) {
  16370. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x74 };
  16371. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x04 };
  16372. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16373. chan_freq_range =
  16374. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16375. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16376. bcm_adc_vmid[3] = 0x8e;
  16377. bcm_adc_gain[3] = 0x03;
  16378. } else {
  16379. bcm_adc_vmid[3] = 0x94;
  16380. bcm_adc_gain[3] = 0x03;
  16381. }
  16382. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  16383. bcm_adc_vmid[3] = 0x84;
  16384. bcm_adc_gain[3] = 0x02;
  16385. }
  16386. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16387. 0x08, 16, bcm_adc_vmid);
  16388. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16389. 0x18, 16, bcm_adc_vmid);
  16390. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16391. 0x0c, 16, bcm_adc_gain);
  16392. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16393. 0x1c, 16, bcm_adc_gain);
  16394. } else if (pdetrange == 3) {
  16395. chan_freq_range =
  16396. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16397. if ((NREV_GE(pi->pubpi.phy_rev, 4))
  16398. && (chan_freq_range == WL_CHAN_FREQ_RANGE_2G)) {
  16399. u16 auxadc_vmid[] = {
  16400. 0xa2, 0xb4, 0xb4, 0x270
  16401. };
  16402. u16 auxadc_gain[] = {
  16403. 0x02, 0x02, 0x02, 0x00
  16404. };
  16405. wlc_phy_table_write_nphy(pi,
  16406. NPHY_TBL_ID_AFECTRL, 4,
  16407. 0x08, 16, auxadc_vmid);
  16408. wlc_phy_table_write_nphy(pi,
  16409. NPHY_TBL_ID_AFECTRL, 4,
  16410. 0x18, 16, auxadc_vmid);
  16411. wlc_phy_table_write_nphy(pi,
  16412. NPHY_TBL_ID_AFECTRL, 4,
  16413. 0x0c, 16, auxadc_gain);
  16414. wlc_phy_table_write_nphy(pi,
  16415. NPHY_TBL_ID_AFECTRL, 4,
  16416. 0x1c, 16, auxadc_gain);
  16417. }
  16418. } else if ((pdetrange == 4) || (pdetrange == 5)) {
  16419. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x0 };
  16420. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x0 };
  16421. u16 Vmid[2], Av[2];
  16422. chan_freq_range =
  16423. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16424. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16425. Vmid[0] = (pdetrange == 4) ? 0x8e : 0x89;
  16426. Vmid[1] = (pdetrange == 4) ? 0x96 : 0x89;
  16427. Av[0] = (pdetrange == 4) ? 2 : 0;
  16428. Av[1] = (pdetrange == 4) ? 2 : 0;
  16429. } else {
  16430. Vmid[0] = (pdetrange == 4) ? 0x89 : 0x74;
  16431. Vmid[1] = (pdetrange == 4) ? 0x8b : 0x70;
  16432. Av[0] = (pdetrange == 4) ? 2 : 0;
  16433. Av[1] = (pdetrange == 4) ? 2 : 0;
  16434. }
  16435. bcm_adc_vmid[3] = Vmid[0];
  16436. bcm_adc_gain[3] = Av[0];
  16437. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16438. 0x08, 16, bcm_adc_vmid);
  16439. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16440. 0x0c, 16, bcm_adc_gain);
  16441. bcm_adc_vmid[3] = Vmid[1];
  16442. bcm_adc_gain[3] = Av[1];
  16443. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16444. 0x18, 16, bcm_adc_vmid);
  16445. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16446. 0x1c, 16, bcm_adc_gain);
  16447. }
  16448. write_radio_reg(pi,
  16449. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX0),
  16450. 0x0);
  16451. write_radio_reg(pi,
  16452. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX1),
  16453. 0x0);
  16454. write_radio_reg(pi,
  16455. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX0),
  16456. 0x6);
  16457. write_radio_reg(pi,
  16458. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX1),
  16459. 0x6);
  16460. write_radio_reg(pi,
  16461. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX0),
  16462. 0x7);
  16463. write_radio_reg(pi,
  16464. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX1),
  16465. 0x7);
  16466. write_radio_reg(pi,
  16467. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX0),
  16468. 0x88);
  16469. write_radio_reg(pi,
  16470. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX1),
  16471. 0x88);
  16472. write_radio_reg(pi,
  16473. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX0),
  16474. 0x0);
  16475. write_radio_reg(pi,
  16476. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX1),
  16477. 0x0);
  16478. write_radio_reg(pi,
  16479. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX0),
  16480. 0x0);
  16481. write_radio_reg(pi,
  16482. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX1),
  16483. 0x0);
  16484. triso =
  16485. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16486. triso : pi->srom_fem2g.triso;
  16487. if (triso == 7) {
  16488. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  16489. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  16490. }
  16491. wlc_phy_war_txchain_upd_nphy(pi, pi->sh->hw_phytxchain);
  16492. if (((pi->sh->boardflags2 & BFL2_APLL_WAR) &&
  16493. (CHSPEC_IS5G(pi->radio_chanspec))) ||
  16494. (((pi->sh->boardflags2 & BFL2_GPLL_WAR) ||
  16495. (pi->sh->boardflags2 & BFL2_GPLL_WAR2)) &&
  16496. (CHSPEC_IS2G(pi->radio_chanspec)))) {
  16497. nss1_data_weights = 0x00088888;
  16498. ht_data_weights = 0x00088888;
  16499. stbc_data_weights = 0x00088888;
  16500. } else {
  16501. nss1_data_weights = 0x88888888;
  16502. ht_data_weights = 0x88888888;
  16503. stbc_data_weights = 0x88888888;
  16504. }
  16505. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16506. 1, 1, 32, &nss1_data_weights);
  16507. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16508. 1, 2, 32, &ht_data_weights);
  16509. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16510. 1, 3, 32, &stbc_data_weights);
  16511. if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  16512. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  16513. write_radio_reg(pi,
  16514. RADIO_2056_TX_GMBB_IDAC |
  16515. RADIO_2056_TX0, 0x70);
  16516. write_radio_reg(pi,
  16517. RADIO_2056_TX_GMBB_IDAC |
  16518. RADIO_2056_TX1, 0x70);
  16519. }
  16520. }
  16521. if (!pi->edcrs_threshold_lock) {
  16522. write_phy_reg(pi, 0x224, 0x3eb);
  16523. write_phy_reg(pi, 0x225, 0x3eb);
  16524. write_phy_reg(pi, 0x226, 0x341);
  16525. write_phy_reg(pi, 0x227, 0x341);
  16526. write_phy_reg(pi, 0x228, 0x42b);
  16527. write_phy_reg(pi, 0x229, 0x42b);
  16528. write_phy_reg(pi, 0x22a, 0x381);
  16529. write_phy_reg(pi, 0x22b, 0x381);
  16530. write_phy_reg(pi, 0x22c, 0x42b);
  16531. write_phy_reg(pi, 0x22d, 0x42b);
  16532. write_phy_reg(pi, 0x22e, 0x381);
  16533. write_phy_reg(pi, 0x22f, 0x381);
  16534. }
  16535. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16536. if (pi->sh->boardflags2 & BFL2_SINGLEANT_CCK)
  16537. wlapi_bmac_mhf(pi->sh->physhim, MHF4,
  16538. MHF4_BPHY_TXCORE0,
  16539. MHF4_BPHY_TXCORE0, BRCM_BAND_ALL);
  16540. }
  16541. } else {
  16542. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD ||
  16543. (pi->sh->boardtype == 0x8b)) {
  16544. uint i;
  16545. u8 war_dlys[] = { 1, 6, 6, 2, 4, 20, 1 };
  16546. for (i = 0; i < ARRAY_SIZE(rfseq_rx2tx_dlys); i++)
  16547. rfseq_rx2tx_dlys[i] = war_dlys[i];
  16548. }
  16549. if (CHSPEC_IS5G(pi->radio_chanspec) && pi->phy_5g_pwrgain) {
  16550. and_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0xf7);
  16551. and_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0xf7);
  16552. } else {
  16553. or_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0x8);
  16554. or_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0x8);
  16555. }
  16556. regval = 0x000a;
  16557. wlc_phy_table_write_nphy(pi, 8, 1, 0, 16, &regval);
  16558. wlc_phy_table_write_nphy(pi, 8, 1, 0x10, 16, &regval);
  16559. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16560. regval = 0xcdaa;
  16561. wlc_phy_table_write_nphy(pi, 8, 1, 0x02, 16, &regval);
  16562. wlc_phy_table_write_nphy(pi, 8, 1, 0x12, 16, &regval);
  16563. }
  16564. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16565. regval = 0x0000;
  16566. wlc_phy_table_write_nphy(pi, 8, 1, 0x08, 16, &regval);
  16567. wlc_phy_table_write_nphy(pi, 8, 1, 0x18, 16, &regval);
  16568. regval = 0x7aab;
  16569. wlc_phy_table_write_nphy(pi, 8, 1, 0x07, 16, &regval);
  16570. wlc_phy_table_write_nphy(pi, 8, 1, 0x17, 16, &regval);
  16571. regval = 0x0800;
  16572. wlc_phy_table_write_nphy(pi, 8, 1, 0x06, 16, &regval);
  16573. wlc_phy_table_write_nphy(pi, 8, 1, 0x16, 16, &regval);
  16574. }
  16575. write_phy_reg(pi, 0xf8, 0x02d8);
  16576. write_phy_reg(pi, 0xf9, 0x0301);
  16577. write_phy_reg(pi, 0xfa, 0x02d8);
  16578. write_phy_reg(pi, 0xfb, 0x0301);
  16579. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX, rfseq_rx2tx_events,
  16580. rfseq_rx2tx_dlys,
  16581. ARRAY_SIZE(rfseq_rx2tx_events));
  16582. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX, rfseq_tx2rx_events,
  16583. rfseq_tx2rx_dlys,
  16584. ARRAY_SIZE(rfseq_tx2rx_events));
  16585. wlc_phy_workarounds_nphy_gainctrl(pi);
  16586. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16587. if (read_phy_reg(pi, 0xa0) & NPHY_MLenable)
  16588. wlapi_bmac_mhf(pi->sh->physhim, MHF3,
  16589. MHF3_NPHY_MLADV_WAR,
  16590. MHF3_NPHY_MLADV_WAR,
  16591. BRCM_BAND_ALL);
  16592. } else if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  16593. write_phy_reg(pi, 0x1e3, 0x0);
  16594. write_phy_reg(pi, 0x1e4, 0x0);
  16595. }
  16596. if (NREV_LT(pi->pubpi.phy_rev, 2))
  16597. mod_phy_reg(pi, 0x90, (0x1 << 7), 0);
  16598. alpha0 = 293;
  16599. alpha1 = 435;
  16600. alpha2 = 261;
  16601. beta0 = 366;
  16602. beta1 = 205;
  16603. beta2 = 32;
  16604. write_phy_reg(pi, 0x145, alpha0);
  16605. write_phy_reg(pi, 0x146, alpha1);
  16606. write_phy_reg(pi, 0x147, alpha2);
  16607. write_phy_reg(pi, 0x148, beta0);
  16608. write_phy_reg(pi, 0x149, beta1);
  16609. write_phy_reg(pi, 0x14a, beta2);
  16610. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16611. mod_phy_reg(pi, 0x142, (0xf << 12), 0);
  16612. write_phy_reg(pi, 0x192, 0xb5);
  16613. write_phy_reg(pi, 0x193, 0xa4);
  16614. write_phy_reg(pi, 0x194, 0x0);
  16615. }
  16616. if (NREV_IS(pi->pubpi.phy_rev, 2))
  16617. mod_phy_reg(pi, 0x221,
  16618. NPHY_FORCESIG_DECODEGATEDCLKS,
  16619. NPHY_FORCESIG_DECODEGATEDCLKS);
  16620. }
  16621. if (pi->phyhang_avoid)
  16622. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  16623. }
  16624. static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  16625. {
  16626. int j, type = 2;
  16627. u16 addr_offset = 0x2c5;
  16628. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  16629. write_phy_reg(pi, addr_offset + j,
  16630. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  16631. }
  16632. static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals)
  16633. {
  16634. if (write == 0) {
  16635. vals[0] = read_phy_reg(pi, 0x2c);
  16636. vals[1] = read_phy_reg(pi, 0x42);
  16637. } else {
  16638. write_phy_reg(pi, 0x2c, vals[0]);
  16639. write_phy_reg(pi, 0x42, vals[1]);
  16640. }
  16641. }
  16642. static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi)
  16643. {
  16644. u8 core;
  16645. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  16646. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16647. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16648. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16649. TX_SSI_MASTER, 0x5);
  16650. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16651. TX_SSI_MUX, 0xe);
  16652. if (pi->pubpi.radiorev != 5)
  16653. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16654. core, TSSIA, 0);
  16655. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16656. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16657. core, TSSIG, 0x1);
  16658. else
  16659. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16660. core, TSSIG, 0x31);
  16661. } else {
  16662. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16663. TX_SSI_MASTER, 0x9);
  16664. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16665. TX_SSI_MUX, 0xc);
  16666. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16667. TSSIG, 0);
  16668. if (pi->pubpi.radiorev != 5) {
  16669. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16670. WRITE_RADIO_REG3(pi, RADIO_2057,
  16671. TX, core,
  16672. TSSIA, 0x1);
  16673. else
  16674. WRITE_RADIO_REG3(pi, RADIO_2057,
  16675. TX, core,
  16676. TSSIA, 0x31);
  16677. }
  16678. }
  16679. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  16680. 0);
  16681. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  16682. 0);
  16683. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  16684. 0x3);
  16685. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  16686. 0x0);
  16687. }
  16688. } else {
  16689. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR31,
  16690. (CHSPEC_IS2G(pi->radio_chanspec)) ? 0x128 :
  16691. 0x80);
  16692. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR30, 0x0);
  16693. WRITE_RADIO_SYN(pi, RADIO_2056, GPIO_MASTER1, 0x29);
  16694. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16695. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_VCM_HG,
  16696. 0x0);
  16697. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_IDAC,
  16698. 0x0);
  16699. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_VCM,
  16700. 0x3);
  16701. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TX_AMP_DET,
  16702. 0x0);
  16703. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC1,
  16704. 0x8);
  16705. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC2,
  16706. 0x0);
  16707. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC3,
  16708. 0x0);
  16709. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16710. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16711. TX_SSI_MASTER, 0x5);
  16712. if (pi->pubpi.radiorev != 5)
  16713. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16714. core, TSSIA, 0x0);
  16715. if (NREV_GE(pi->pubpi.phy_rev, 5))
  16716. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16717. core, TSSIG, 0x31);
  16718. else
  16719. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16720. core, TSSIG, 0x11);
  16721. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16722. TX_SSI_MUX, 0xe);
  16723. } else {
  16724. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16725. TX_SSI_MASTER, 0x9);
  16726. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16727. TSSIA, 0x31);
  16728. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16729. TSSIG, 0x0);
  16730. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16731. TX_SSI_MUX, 0xc);
  16732. }
  16733. }
  16734. }
  16735. }
  16736. static void
  16737. wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value,
  16738. u8 core_mask, u8 off)
  16739. {
  16740. u8 core_num;
  16741. u16 addr = 0, mask = 0, en_addr = 0, val_addr = 0, en_mask =
  16742. 0, val_mask = 0;
  16743. u8 shift = 0, val_shift = 0;
  16744. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  16745. en_mask = field;
  16746. for (core_num = 0; core_num < 2; core_num++) {
  16747. switch (field) {
  16748. case (0x1 << 1):
  16749. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16750. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16751. val_mask = (0x1 << 0);
  16752. val_shift = 0;
  16753. break;
  16754. case (0x1 << 2):
  16755. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16756. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16757. val_mask = (0x1 << 1);
  16758. val_shift = 1;
  16759. break;
  16760. case (0x1 << 3):
  16761. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16762. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16763. val_mask = (0x1 << 2);
  16764. val_shift = 2;
  16765. break;
  16766. case (0x1 << 4):
  16767. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16768. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16769. val_mask = (0x1 << 4);
  16770. val_shift = 4;
  16771. break;
  16772. case (0x1 << 5):
  16773. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16774. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16775. val_mask = (0x1 << 5);
  16776. val_shift = 5;
  16777. break;
  16778. case (0x1 << 6):
  16779. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16780. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16781. val_mask = (0x1 << 6);
  16782. val_shift = 6;
  16783. break;
  16784. case (0x1 << 7):
  16785. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16786. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16787. val_mask = (0x1 << 7);
  16788. val_shift = 7;
  16789. break;
  16790. case (0x1 << 8):
  16791. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16792. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16793. val_mask = (0x7 << 8);
  16794. val_shift = 8;
  16795. break;
  16796. case (0x1 << 11):
  16797. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16798. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16799. val_mask = (0x7 << 13);
  16800. val_shift = 13;
  16801. break;
  16802. case (0x1 << 9):
  16803. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16804. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16805. val_mask = (0x7 << 0);
  16806. val_shift = 0;
  16807. break;
  16808. case (0x1 << 10):
  16809. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16810. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16811. val_mask = (0x7 << 4);
  16812. val_shift = 4;
  16813. break;
  16814. case (0x1 << 12):
  16815. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16816. val_addr = (core_num == 0) ? 0x7b : 0x7e;
  16817. val_mask = (0xffff << 0);
  16818. val_shift = 0;
  16819. break;
  16820. case (0x1 << 13):
  16821. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16822. val_addr = (core_num == 0) ? 0x7c : 0x7f;
  16823. val_mask = (0xffff << 0);
  16824. val_shift = 0;
  16825. break;
  16826. case (0x1 << 14):
  16827. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16828. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16829. val_mask = (0x3 << 6);
  16830. val_shift = 6;
  16831. break;
  16832. case (0x1 << 0):
  16833. en_addr = (core_num == 0) ? 0xe5 : 0xe6;
  16834. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16835. val_mask = (0x1 << 15);
  16836. val_shift = 15;
  16837. break;
  16838. default:
  16839. addr = 0xffff;
  16840. break;
  16841. }
  16842. if (off) {
  16843. and_phy_reg(pi, en_addr, ~en_mask);
  16844. and_phy_reg(pi, val_addr, ~val_mask);
  16845. } else {
  16846. if ((core_mask == 0)
  16847. || (core_mask & (1 << core_num))) {
  16848. or_phy_reg(pi, en_addr, en_mask);
  16849. if (addr != 0xffff)
  16850. mod_phy_reg(pi, val_addr,
  16851. val_mask,
  16852. (value <<
  16853. val_shift));
  16854. }
  16855. }
  16856. }
  16857. } else {
  16858. if (off) {
  16859. and_phy_reg(pi, 0xec, ~field);
  16860. value = 0x0;
  16861. } else {
  16862. or_phy_reg(pi, 0xec, field);
  16863. }
  16864. for (core_num = 0; core_num < 2; core_num++) {
  16865. switch (field) {
  16866. case (0x1 << 1):
  16867. case (0x1 << 9):
  16868. case (0x1 << 12):
  16869. case (0x1 << 13):
  16870. case (0x1 << 14):
  16871. addr = 0x78;
  16872. core_mask = 0x1;
  16873. break;
  16874. case (0x1 << 2):
  16875. case (0x1 << 3):
  16876. case (0x1 << 4):
  16877. case (0x1 << 5):
  16878. case (0x1 << 6):
  16879. case (0x1 << 7):
  16880. case (0x1 << 8):
  16881. addr = (core_num == 0) ? 0x7a : 0x7d;
  16882. break;
  16883. case (0x1 << 10):
  16884. addr = (core_num == 0) ? 0x7b : 0x7e;
  16885. break;
  16886. case (0x1 << 11):
  16887. addr = (core_num == 0) ? 0x7c : 0x7f;
  16888. break;
  16889. default:
  16890. addr = 0xffff;
  16891. }
  16892. switch (field) {
  16893. case (0x1 << 1):
  16894. mask = (0x7 << 3);
  16895. shift = 3;
  16896. break;
  16897. case (0x1 << 9):
  16898. mask = (0x1 << 2);
  16899. shift = 2;
  16900. break;
  16901. case (0x1 << 12):
  16902. mask = (0x1 << 8);
  16903. shift = 8;
  16904. break;
  16905. case (0x1 << 13):
  16906. mask = (0x1 << 9);
  16907. shift = 9;
  16908. break;
  16909. case (0x1 << 14):
  16910. mask = (0xf << 12);
  16911. shift = 12;
  16912. break;
  16913. case (0x1 << 2):
  16914. mask = (0x1 << 0);
  16915. shift = 0;
  16916. break;
  16917. case (0x1 << 3):
  16918. mask = (0x1 << 1);
  16919. shift = 1;
  16920. break;
  16921. case (0x1 << 4):
  16922. mask = (0x1 << 2);
  16923. shift = 2;
  16924. break;
  16925. case (0x1 << 5):
  16926. mask = (0x3 << 4);
  16927. shift = 4;
  16928. break;
  16929. case (0x1 << 6):
  16930. mask = (0x3 << 6);
  16931. shift = 6;
  16932. break;
  16933. case (0x1 << 7):
  16934. mask = (0x1 << 8);
  16935. shift = 8;
  16936. break;
  16937. case (0x1 << 8):
  16938. mask = (0x1 << 9);
  16939. shift = 9;
  16940. break;
  16941. case (0x1 << 10):
  16942. mask = 0x1fff;
  16943. shift = 0x0;
  16944. break;
  16945. case (0x1 << 11):
  16946. mask = 0x1fff;
  16947. shift = 0x0;
  16948. break;
  16949. default:
  16950. mask = 0x0;
  16951. shift = 0x0;
  16952. break;
  16953. }
  16954. if ((addr != 0xffff) && (core_mask & (1 << core_num)))
  16955. mod_phy_reg(pi, addr, mask, (value << shift));
  16956. }
  16957. or_phy_reg(pi, 0xec, (0x1 << 0));
  16958. or_phy_reg(pi, 0x78, (0x1 << 0));
  16959. udelay(1);
  16960. and_phy_reg(pi, 0xec, ~(0x1 << 0));
  16961. }
  16962. }
  16963. static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi)
  16964. {
  16965. s32 rssi_buf[4];
  16966. s32 int_val;
  16967. if (SCAN_RM_IN_PROGRESS(pi) || PLT_INPROG_PHY(pi) || PHY_MUTED(pi))
  16968. return;
  16969. if (PHY_IPA(pi))
  16970. wlc_phy_ipa_internal_tssi_setup_nphy(pi);
  16971. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16972. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  16973. 0, 0x3, 0,
  16974. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16975. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16976. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 0);
  16977. wlc_phy_stopplayback_nphy(pi);
  16978. wlc_phy_tx_tone_nphy(pi, 4000, 0, 0, 0, false);
  16979. udelay(20);
  16980. int_val =
  16981. wlc_phy_poll_rssi_nphy(pi, (u8) NPHY_RSSI_SEL_TSSI_2G, rssi_buf,
  16982. 1);
  16983. wlc_phy_stopplayback_nphy(pi);
  16984. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, 0);
  16985. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16986. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  16987. 0, 0x3, 1,
  16988. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16989. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16990. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 1);
  16991. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16992. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  16993. (u8) ((int_val >> 24) & 0xff);
  16994. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  16995. (u8) ((int_val >> 24) & 0xff);
  16996. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  16997. (u8) ((int_val >> 8) & 0xff);
  16998. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  16999. (u8) ((int_val >> 8) & 0xff);
  17000. } else {
  17001. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17002. (u8) ((int_val >> 24) & 0xff);
  17003. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17004. (u8) ((int_val >> 8) & 0xff);
  17005. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17006. (u8) ((int_val >> 16) & 0xff);
  17007. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17008. (u8) ((int_val) & 0xff);
  17009. }
  17010. }
  17011. static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi)
  17012. {
  17013. u8 idx, idx2, i, delta_ind;
  17014. for (idx = TXP_FIRST_CCK; idx <= TXP_LAST_CCK; idx++)
  17015. pi->adj_pwr_tbl_nphy[idx] = pi->tx_power_offset[idx];
  17016. for (i = 0; i < 4; i++) {
  17017. idx2 = 0;
  17018. delta_ind = 0;
  17019. switch (i) {
  17020. case 0:
  17021. if (CHSPEC_IS40(pi->radio_chanspec)
  17022. && NPHY_IS_SROM_REINTERPRET) {
  17023. idx = TXP_FIRST_MCS_40_SISO;
  17024. } else {
  17025. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17026. TXP_FIRST_OFDM_40_SISO : TXP_FIRST_OFDM;
  17027. delta_ind = 1;
  17028. }
  17029. break;
  17030. case 1:
  17031. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17032. TXP_FIRST_MCS_40_CDD : TXP_FIRST_MCS_20_CDD;
  17033. break;
  17034. case 2:
  17035. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17036. TXP_FIRST_MCS_40_STBC : TXP_FIRST_MCS_20_STBC;
  17037. break;
  17038. case 3:
  17039. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17040. TXP_FIRST_MCS_40_SDM : TXP_FIRST_MCS_20_SDM;
  17041. break;
  17042. }
  17043. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17044. pi->tx_power_offset[idx];
  17045. idx = idx + delta_ind;
  17046. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17047. pi->tx_power_offset[idx];
  17048. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17049. pi->tx_power_offset[idx];
  17050. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17051. pi->tx_power_offset[idx++];
  17052. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17053. pi->tx_power_offset[idx++];
  17054. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17055. pi->tx_power_offset[idx];
  17056. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17057. pi->tx_power_offset[idx];
  17058. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17059. pi->tx_power_offset[idx++];
  17060. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17061. pi->tx_power_offset[idx++];
  17062. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17063. pi->tx_power_offset[idx];
  17064. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17065. pi->tx_power_offset[idx];
  17066. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17067. pi->tx_power_offset[idx++];
  17068. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17069. pi->tx_power_offset[idx];
  17070. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17071. pi->tx_power_offset[idx++];
  17072. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17073. pi->tx_power_offset[idx];
  17074. idx = idx + 1 - delta_ind;
  17075. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17076. pi->tx_power_offset[idx];
  17077. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17078. pi->tx_power_offset[idx];
  17079. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17080. pi->tx_power_offset[idx];
  17081. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17082. pi->tx_power_offset[idx];
  17083. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17084. pi->tx_power_offset[idx];
  17085. }
  17086. }
  17087. static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi)
  17088. {
  17089. u32 idx;
  17090. s16 a1[2], b0[2], b1[2];
  17091. s8 target_pwr_qtrdbm[2];
  17092. s32 num, den, pwr_est;
  17093. u8 chan_freq_range;
  17094. u8 idle_tssi[2];
  17095. u32 tbl_id, tbl_len, tbl_offset;
  17096. u32 regval[64];
  17097. u8 core;
  17098. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17099. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17100. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17101. udelay(1);
  17102. }
  17103. if (pi->phyhang_avoid)
  17104. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17105. or_phy_reg(pi, 0x122, (0x1 << 0));
  17106. if (NREV_GE(pi->pubpi.phy_rev, 3))
  17107. and_phy_reg(pi, 0x1e7, (u16) (~(0x1 << 15)));
  17108. else
  17109. or_phy_reg(pi, 0x1e7, (0x1 << 15));
  17110. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17111. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17112. if (pi->sh->sromrev < 4) {
  17113. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17114. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17115. a1[0] = -424;
  17116. a1[1] = -424;
  17117. b0[0] = 5612;
  17118. b0[1] = 5612;
  17119. b1[1] = -1393;
  17120. b1[0] = -1393;
  17121. } else {
  17122. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  17123. switch (chan_freq_range) {
  17124. case WL_CHAN_FREQ_RANGE_2G:
  17125. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17126. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17127. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_a1;
  17128. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_a1;
  17129. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b0;
  17130. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b0;
  17131. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b1;
  17132. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b1;
  17133. break;
  17134. case WL_CHAN_FREQ_RANGE_5GL:
  17135. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17136. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17137. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1;
  17138. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1;
  17139. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0;
  17140. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0;
  17141. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1;
  17142. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1;
  17143. break;
  17144. case WL_CHAN_FREQ_RANGE_5GM:
  17145. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17146. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17147. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_a1;
  17148. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_a1;
  17149. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b0;
  17150. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b0;
  17151. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b1;
  17152. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b1;
  17153. break;
  17154. case WL_CHAN_FREQ_RANGE_5GH:
  17155. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17156. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17157. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1;
  17158. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1;
  17159. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0;
  17160. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0;
  17161. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1;
  17162. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1;
  17163. break;
  17164. default:
  17165. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17166. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17167. a1[0] = -424;
  17168. a1[1] = -424;
  17169. b0[0] = 5612;
  17170. b0[1] = 5612;
  17171. b1[1] = -1393;
  17172. b1[0] = -1393;
  17173. break;
  17174. }
  17175. }
  17176. /* use the provided transmit power */
  17177. target_pwr_qtrdbm[0] = (s8) pi->tx_power_max;
  17178. target_pwr_qtrdbm[1] = (s8) pi->tx_power_max;
  17179. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17180. if (pi->srom_fem2g.tssipos)
  17181. or_phy_reg(pi, 0x1e9, (0x1 << 14));
  17182. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17183. for (core = 0; core <= 1; core++) {
  17184. if (PHY_IPA(pi)) {
  17185. if (CHSPEC_IS2G(pi->radio_chanspec))
  17186. WRITE_RADIO_REG3(pi, RADIO_2057,
  17187. TX, core,
  17188. TX_SSI_MUX,
  17189. 0xe);
  17190. else
  17191. WRITE_RADIO_REG3(pi, RADIO_2057,
  17192. TX, core,
  17193. TX_SSI_MUX,
  17194. 0xc);
  17195. }
  17196. }
  17197. } else {
  17198. if (PHY_IPA(pi)) {
  17199. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17200. RADIO_2056_TX0,
  17201. (CHSPEC_IS5G
  17202. (pi->radio_chanspec)) ?
  17203. 0xc : 0xe);
  17204. write_radio_reg(pi,
  17205. RADIO_2056_TX_TX_SSI_MUX |
  17206. RADIO_2056_TX1,
  17207. (CHSPEC_IS5G
  17208. (pi->radio_chanspec)) ?
  17209. 0xc : 0xe);
  17210. } else {
  17211. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17212. RADIO_2056_TX0, 0x11);
  17213. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17214. RADIO_2056_TX1, 0x11);
  17215. }
  17216. }
  17217. }
  17218. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17219. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17220. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17221. udelay(1);
  17222. }
  17223. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17224. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17225. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17226. else
  17227. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17228. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17229. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17230. mod_phy_reg(pi, 0x222, (0xff << 0),
  17231. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17232. else if (NREV_GT(pi->pubpi.phy_rev, 1))
  17233. mod_phy_reg(pi, 0x222, (0xff << 0),
  17234. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17235. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17236. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17237. write_phy_reg(pi, 0x1e8, (0x3 << 8) | (240 << 0));
  17238. write_phy_reg(pi, 0x1e9,
  17239. (1 << 15) | (idle_tssi[0] << 0) | (idle_tssi[1] << 8));
  17240. write_phy_reg(pi, 0x1ea,
  17241. (target_pwr_qtrdbm[0] << 0) |
  17242. (target_pwr_qtrdbm[1] << 8));
  17243. tbl_len = 64;
  17244. tbl_offset = 0;
  17245. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  17246. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  17247. for (idx = 0; idx < tbl_len; idx++) {
  17248. num = 8 *
  17249. (16 * b0[tbl_id - 26] + b1[tbl_id - 26] * idx);
  17250. den = 32768 + a1[tbl_id - 26] * idx;
  17251. pwr_est = max(((4 * num + den / 2) / den), -8);
  17252. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  17253. if (idx <=
  17254. (uint) (31 - idle_tssi[tbl_id - 26] + 1))
  17255. pwr_est =
  17256. max(pwr_est,
  17257. target_pwr_qtrdbm
  17258. [tbl_id - 26] + 1);
  17259. }
  17260. regval[idx] = (u32) pwr_est;
  17261. }
  17262. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  17263. regval);
  17264. }
  17265. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  17266. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64, 8,
  17267. pi->adj_pwr_tbl_nphy);
  17268. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64, 8,
  17269. pi->adj_pwr_tbl_nphy);
  17270. if (pi->phyhang_avoid)
  17271. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17272. }
  17273. static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi)
  17274. {
  17275. u32 *tx_pwrctrl_tbl = NULL;
  17276. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17277. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17278. if ((pi->pubpi.radiorev == 4)
  17279. || (pi->pubpi.radiorev == 6))
  17280. tx_pwrctrl_tbl =
  17281. nphy_tpc_txgain_ipa_2g_2057rev4n6;
  17282. else if (pi->pubpi.radiorev == 3)
  17283. tx_pwrctrl_tbl =
  17284. nphy_tpc_txgain_ipa_2g_2057rev3;
  17285. else if (pi->pubpi.radiorev == 5)
  17286. tx_pwrctrl_tbl =
  17287. nphy_tpc_txgain_ipa_2g_2057rev5;
  17288. else if ((pi->pubpi.radiorev == 7)
  17289. || (pi->pubpi.radiorev == 8))
  17290. tx_pwrctrl_tbl =
  17291. nphy_tpc_txgain_ipa_2g_2057rev7;
  17292. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17293. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev6;
  17294. if (pi->sh->chip == BCMA_CHIP_ID_BCM47162)
  17295. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17296. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17297. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17298. } else {
  17299. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa;
  17300. }
  17301. } else {
  17302. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17303. if ((pi->pubpi.radiorev == 3) ||
  17304. (pi->pubpi.radiorev == 4) ||
  17305. (pi->pubpi.radiorev == 6))
  17306. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g_2057;
  17307. else if ((pi->pubpi.radiorev == 7)
  17308. || (pi->pubpi.radiorev == 8))
  17309. tx_pwrctrl_tbl =
  17310. nphy_tpc_txgain_ipa_5g_2057rev7;
  17311. } else {
  17312. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g;
  17313. }
  17314. }
  17315. return tx_pwrctrl_tbl;
  17316. }
  17317. static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi)
  17318. {
  17319. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17320. if (pi->nphy_rssical_chanspec_2G == 0)
  17321. return;
  17322. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17323. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17324. RADIO_2057_VCM_MASK,
  17325. pi->rssical_cache.
  17326. rssical_radio_regs_2G[0]);
  17327. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17328. RADIO_2057_VCM_MASK,
  17329. pi->rssical_cache.
  17330. rssical_radio_regs_2G[1]);
  17331. } else {
  17332. mod_radio_reg(pi,
  17333. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17334. RADIO_2056_VCM_MASK,
  17335. pi->rssical_cache.
  17336. rssical_radio_regs_2G[0]);
  17337. mod_radio_reg(pi,
  17338. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17339. RADIO_2056_VCM_MASK,
  17340. pi->rssical_cache.
  17341. rssical_radio_regs_2G[1]);
  17342. }
  17343. write_phy_reg(pi, 0x1a6,
  17344. pi->rssical_cache.rssical_phyregs_2G[0]);
  17345. write_phy_reg(pi, 0x1ac,
  17346. pi->rssical_cache.rssical_phyregs_2G[1]);
  17347. write_phy_reg(pi, 0x1b2,
  17348. pi->rssical_cache.rssical_phyregs_2G[2]);
  17349. write_phy_reg(pi, 0x1b8,
  17350. pi->rssical_cache.rssical_phyregs_2G[3]);
  17351. write_phy_reg(pi, 0x1a4,
  17352. pi->rssical_cache.rssical_phyregs_2G[4]);
  17353. write_phy_reg(pi, 0x1aa,
  17354. pi->rssical_cache.rssical_phyregs_2G[5]);
  17355. write_phy_reg(pi, 0x1b0,
  17356. pi->rssical_cache.rssical_phyregs_2G[6]);
  17357. write_phy_reg(pi, 0x1b6,
  17358. pi->rssical_cache.rssical_phyregs_2G[7]);
  17359. write_phy_reg(pi, 0x1a5,
  17360. pi->rssical_cache.rssical_phyregs_2G[8]);
  17361. write_phy_reg(pi, 0x1ab,
  17362. pi->rssical_cache.rssical_phyregs_2G[9]);
  17363. write_phy_reg(pi, 0x1b1,
  17364. pi->rssical_cache.rssical_phyregs_2G[10]);
  17365. write_phy_reg(pi, 0x1b7,
  17366. pi->rssical_cache.rssical_phyregs_2G[11]);
  17367. } else {
  17368. if (pi->nphy_rssical_chanspec_5G == 0)
  17369. return;
  17370. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17371. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17372. RADIO_2057_VCM_MASK,
  17373. pi->rssical_cache.
  17374. rssical_radio_regs_5G[0]);
  17375. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17376. RADIO_2057_VCM_MASK,
  17377. pi->rssical_cache.
  17378. rssical_radio_regs_5G[1]);
  17379. } else {
  17380. mod_radio_reg(pi,
  17381. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17382. RADIO_2056_VCM_MASK,
  17383. pi->rssical_cache.
  17384. rssical_radio_regs_5G[0]);
  17385. mod_radio_reg(pi,
  17386. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17387. RADIO_2056_VCM_MASK,
  17388. pi->rssical_cache.
  17389. rssical_radio_regs_5G[1]);
  17390. }
  17391. write_phy_reg(pi, 0x1a6,
  17392. pi->rssical_cache.rssical_phyregs_5G[0]);
  17393. write_phy_reg(pi, 0x1ac,
  17394. pi->rssical_cache.rssical_phyregs_5G[1]);
  17395. write_phy_reg(pi, 0x1b2,
  17396. pi->rssical_cache.rssical_phyregs_5G[2]);
  17397. write_phy_reg(pi, 0x1b8,
  17398. pi->rssical_cache.rssical_phyregs_5G[3]);
  17399. write_phy_reg(pi, 0x1a4,
  17400. pi->rssical_cache.rssical_phyregs_5G[4]);
  17401. write_phy_reg(pi, 0x1aa,
  17402. pi->rssical_cache.rssical_phyregs_5G[5]);
  17403. write_phy_reg(pi, 0x1b0,
  17404. pi->rssical_cache.rssical_phyregs_5G[6]);
  17405. write_phy_reg(pi, 0x1b6,
  17406. pi->rssical_cache.rssical_phyregs_5G[7]);
  17407. write_phy_reg(pi, 0x1a5,
  17408. pi->rssical_cache.rssical_phyregs_5G[8]);
  17409. write_phy_reg(pi, 0x1ab,
  17410. pi->rssical_cache.rssical_phyregs_5G[9]);
  17411. write_phy_reg(pi, 0x1b1,
  17412. pi->rssical_cache.rssical_phyregs_5G[10]);
  17413. write_phy_reg(pi, 0x1b7,
  17414. pi->rssical_cache.rssical_phyregs_5G[11]);
  17415. }
  17416. }
  17417. static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi)
  17418. {
  17419. u16 txcal_gain[2];
  17420. pi->nphy_txcal_pwr_idx[0] = pi->nphy_cal_orig_pwr_idx[0];
  17421. pi->nphy_txcal_pwr_idx[1] = pi->nphy_cal_orig_pwr_idx[0];
  17422. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17423. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17424. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17425. txcal_gain);
  17426. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17427. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F40;
  17428. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F40;
  17429. } else {
  17430. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F60;
  17431. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F60;
  17432. }
  17433. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17434. txcal_gain);
  17435. }
  17436. static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi)
  17437. {
  17438. bool save_bbmult = false;
  17439. u8 txcal_index_2057_rev5n7 = 0;
  17440. u8 txcal_index_2057_rev3n4n6 = 10;
  17441. if (pi->use_int_tx_iqlo_cal_nphy) {
  17442. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17443. if ((pi->pubpi.radiorev == 3) ||
  17444. (pi->pubpi.radiorev == 4) ||
  17445. (pi->pubpi.radiorev == 6)) {
  17446. pi->nphy_txcal_pwr_idx[0] =
  17447. txcal_index_2057_rev3n4n6;
  17448. pi->nphy_txcal_pwr_idx[1] =
  17449. txcal_index_2057_rev3n4n6;
  17450. wlc_phy_txpwr_index_nphy(
  17451. pi, 3,
  17452. txcal_index_2057_rev3n4n6,
  17453. false);
  17454. } else {
  17455. pi->nphy_txcal_pwr_idx[0] =
  17456. txcal_index_2057_rev5n7;
  17457. pi->nphy_txcal_pwr_idx[1] =
  17458. txcal_index_2057_rev5n7;
  17459. wlc_phy_txpwr_index_nphy(
  17460. pi, 3,
  17461. txcal_index_2057_rev5n7,
  17462. false);
  17463. }
  17464. save_bbmult = true;
  17465. } else if (NREV_LT(pi->pubpi.phy_rev, 5)) {
  17466. wlc_phy_cal_txgainctrl_nphy(pi, 11, false);
  17467. if (pi->sh->hw_phytxchain != 3) {
  17468. pi->nphy_txcal_pwr_idx[1] =
  17469. pi->nphy_txcal_pwr_idx[0];
  17470. wlc_phy_txpwr_index_nphy(pi, 3,
  17471. pi->
  17472. nphy_txcal_pwr_idx[0],
  17473. true);
  17474. save_bbmult = true;
  17475. }
  17476. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17477. if (PHY_IPA(pi)) {
  17478. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17479. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17480. false);
  17481. } else {
  17482. pi->nphy_txcal_pwr_idx[0] = 80;
  17483. pi->nphy_txcal_pwr_idx[1] = 80;
  17484. wlc_phy_txpwr_index_nphy(pi, 3, 80,
  17485. false);
  17486. save_bbmult = true;
  17487. }
  17488. } else {
  17489. wlc_phy_internal_cal_txgain_nphy(pi);
  17490. save_bbmult = true;
  17491. }
  17492. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17493. if (PHY_IPA(pi)) {
  17494. if (CHSPEC_IS2G(pi->radio_chanspec))
  17495. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17496. false);
  17497. else
  17498. wlc_phy_cal_txgainctrl_nphy(pi, 14,
  17499. false);
  17500. } else {
  17501. wlc_phy_internal_cal_txgain_nphy(pi);
  17502. save_bbmult = true;
  17503. }
  17504. }
  17505. } else {
  17506. wlc_phy_cal_txgainctrl_nphy(pi, 10, false);
  17507. }
  17508. if (save_bbmult)
  17509. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  17510. &pi->nphy_txcal_bbmult);
  17511. }
  17512. static void
  17513. wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value,
  17514. u8 core_code)
  17515. {
  17516. u16 mask;
  17517. u16 val;
  17518. u8 core;
  17519. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17520. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17521. if (core_code == RADIO_MIMO_CORESEL_CORE1
  17522. && core == PHY_CORE_1)
  17523. continue;
  17524. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  17525. && core == PHY_CORE_0)
  17526. continue;
  17527. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  17528. mask = (0x1 << 10);
  17529. val = 1 << 10;
  17530. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17531. 0x92, mask, val);
  17532. }
  17533. if (field == NPHY_RfctrlIntc_override_OFF) {
  17534. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17535. 0x92, 0);
  17536. wlc_phy_force_rfseq_nphy(pi,
  17537. NPHY_RFSEQ_RESET2RX);
  17538. } else if (field == NPHY_RfctrlIntc_override_TRSW) {
  17539. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17540. mask = (0x1 << 6) | (0x1 << 7);
  17541. val = value << 6;
  17542. mod_phy_reg(pi,
  17543. (core ==
  17544. PHY_CORE_0) ? 0x91 : 0x92,
  17545. mask, val);
  17546. or_phy_reg(pi,
  17547. (core ==
  17548. PHY_CORE_0) ? 0x91 : 0x92,
  17549. (0x1 << 10));
  17550. and_phy_reg(pi, 0x2ff, (u16)
  17551. ~(0x3 << 14));
  17552. or_phy_reg(pi, 0x2ff, (0x1 << 13));
  17553. or_phy_reg(pi, 0x2ff, (0x1 << 0));
  17554. } else {
  17555. mask = (0x1 << 6) |
  17556. (0x1 << 7) |
  17557. (0x1 << 8) | (0x1 << 9);
  17558. val = value << 6;
  17559. mod_phy_reg(pi,
  17560. (core ==
  17561. PHY_CORE_0) ? 0x91 : 0x92,
  17562. mask, val);
  17563. mask = (0x1 << 0);
  17564. val = 1 << 0;
  17565. mod_phy_reg(pi,
  17566. (core ==
  17567. PHY_CORE_0) ? 0xe7 : 0xec,
  17568. mask, val);
  17569. mask = (core == PHY_CORE_0) ?
  17570. (0x1 << 0) : (0x1 << 1);
  17571. val = 1 << ((core == PHY_CORE_0) ?
  17572. 0 : 1);
  17573. mod_phy_reg(pi, 0x78, mask, val);
  17574. SPINWAIT(((read_phy_reg(pi, 0x78) & val)
  17575. != 0), 10000);
  17576. if (WARN(read_phy_reg(pi, 0x78) & val,
  17577. "HW error: override failed"))
  17578. return;
  17579. mask = (0x1 << 0);
  17580. val = 0 << 0;
  17581. mod_phy_reg(pi,
  17582. (core ==
  17583. PHY_CORE_0) ? 0xe7 : 0xec,
  17584. mask, val);
  17585. }
  17586. } else if (field == NPHY_RfctrlIntc_override_PA) {
  17587. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17588. mask = (0x1 << 4) | (0x1 << 5);
  17589. if (CHSPEC_IS5G(pi->radio_chanspec))
  17590. val = value << 5;
  17591. else
  17592. val = value << 4;
  17593. mod_phy_reg(pi,
  17594. (core ==
  17595. PHY_CORE_0) ? 0x91 : 0x92,
  17596. mask, val);
  17597. or_phy_reg(pi,
  17598. (core ==
  17599. PHY_CORE_0) ? 0x91 : 0x92,
  17600. (0x1 << 12));
  17601. } else {
  17602. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17603. mask = (0x1 << 5);
  17604. val = value << 5;
  17605. } else {
  17606. mask = (0x1 << 4);
  17607. val = value << 4;
  17608. }
  17609. mod_phy_reg(pi,
  17610. (core ==
  17611. PHY_CORE_0) ? 0x91 : 0x92,
  17612. mask, val);
  17613. }
  17614. } else if (field ==
  17615. NPHY_RfctrlIntc_override_EXT_LNA_PU) {
  17616. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17617. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17618. mask = (0x1 << 0);
  17619. val = value << 0;
  17620. mod_phy_reg(pi,
  17621. (core ==
  17622. PHY_CORE_0) ? 0x91
  17623. : 0x92, mask, val);
  17624. mask = (0x1 << 2);
  17625. mod_phy_reg(pi,
  17626. (core ==
  17627. PHY_CORE_0) ? 0x91
  17628. : 0x92, mask, 0);
  17629. } else {
  17630. mask = (0x1 << 2);
  17631. val = value << 2;
  17632. mod_phy_reg(pi,
  17633. (core ==
  17634. PHY_CORE_0) ? 0x91
  17635. : 0x92, mask, val);
  17636. mask = (0x1 << 0);
  17637. mod_phy_reg(pi,
  17638. (core ==
  17639. PHY_CORE_0) ? 0x91
  17640. : 0x92, mask, 0);
  17641. }
  17642. mask = (0x1 << 11);
  17643. val = 1 << 11;
  17644. mod_phy_reg(pi,
  17645. (core ==
  17646. PHY_CORE_0) ? 0x91 : 0x92,
  17647. mask, val);
  17648. } else {
  17649. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17650. mask = (0x1 << 0);
  17651. val = value << 0;
  17652. } else {
  17653. mask = (0x1 << 2);
  17654. val = value << 2;
  17655. }
  17656. mod_phy_reg(pi,
  17657. (core ==
  17658. PHY_CORE_0) ? 0x91 : 0x92,
  17659. mask, val);
  17660. }
  17661. } else if (field ==
  17662. NPHY_RfctrlIntc_override_EXT_LNA_GAIN) {
  17663. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17664. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17665. mask = (0x1 << 1);
  17666. val = value << 1;
  17667. mod_phy_reg(pi,
  17668. (core ==
  17669. PHY_CORE_0) ? 0x91
  17670. : 0x92, mask, val);
  17671. mask = (0x1 << 3);
  17672. mod_phy_reg(pi,
  17673. (core ==
  17674. PHY_CORE_0) ? 0x91
  17675. : 0x92, mask, 0);
  17676. } else {
  17677. mask = (0x1 << 3);
  17678. val = value << 3;
  17679. mod_phy_reg(pi,
  17680. (core ==
  17681. PHY_CORE_0) ? 0x91
  17682. : 0x92, mask, val);
  17683. mask = (0x1 << 1);
  17684. mod_phy_reg(pi,
  17685. (core ==
  17686. PHY_CORE_0) ? 0x91
  17687. : 0x92, mask, 0);
  17688. }
  17689. mask = (0x1 << 11);
  17690. val = 1 << 11;
  17691. mod_phy_reg(pi,
  17692. (core ==
  17693. PHY_CORE_0) ? 0x91 : 0x92,
  17694. mask, val);
  17695. } else {
  17696. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17697. mask = (0x1 << 1);
  17698. val = value << 1;
  17699. } else {
  17700. mask = (0x1 << 3);
  17701. val = value << 3;
  17702. }
  17703. mod_phy_reg(pi,
  17704. (core ==
  17705. PHY_CORE_0) ? 0x91 : 0x92,
  17706. mask, val);
  17707. }
  17708. }
  17709. }
  17710. }
  17711. }
  17712. void
  17713. wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower,
  17714. bool debug)
  17715. {
  17716. int gainctrl_loopidx;
  17717. uint core;
  17718. u16 m0m1, curr_m0m1;
  17719. s32 delta_power;
  17720. s32 txpwrindex;
  17721. s32 qdBm_power[2];
  17722. u16 orig_BBConfig;
  17723. u16 phy_saveregs[4];
  17724. u32 freq_test;
  17725. u16 ampl_test = 250;
  17726. uint stepsize;
  17727. bool phyhang_avoid_state = false;
  17728. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17729. stepsize = 2;
  17730. else
  17731. stepsize = 1;
  17732. if (CHSPEC_IS40(pi->radio_chanspec))
  17733. freq_test = 5000;
  17734. else
  17735. freq_test = 2500;
  17736. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17737. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17738. if (pi->phyhang_avoid)
  17739. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17740. phyhang_avoid_state = pi->phyhang_avoid;
  17741. pi->phyhang_avoid = false;
  17742. phy_saveregs[0] = read_phy_reg(pi, 0x91);
  17743. phy_saveregs[1] = read_phy_reg(pi, 0x92);
  17744. phy_saveregs[2] = read_phy_reg(pi, 0xe7);
  17745. phy_saveregs[3] = read_phy_reg(pi, 0xec);
  17746. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 1,
  17747. RADIO_MIMO_CORESEL_CORE1 |
  17748. RADIO_MIMO_CORESEL_CORE2);
  17749. if (!debug) {
  17750. wlc_phy_rfctrlintc_override_nphy(pi,
  17751. NPHY_RfctrlIntc_override_TRSW,
  17752. 0x2, RADIO_MIMO_CORESEL_CORE1);
  17753. wlc_phy_rfctrlintc_override_nphy(pi,
  17754. NPHY_RfctrlIntc_override_TRSW,
  17755. 0x8, RADIO_MIMO_CORESEL_CORE2);
  17756. } else {
  17757. wlc_phy_rfctrlintc_override_nphy(pi,
  17758. NPHY_RfctrlIntc_override_TRSW,
  17759. 0x1, RADIO_MIMO_CORESEL_CORE1);
  17760. wlc_phy_rfctrlintc_override_nphy(pi,
  17761. NPHY_RfctrlIntc_override_TRSW,
  17762. 0x7, RADIO_MIMO_CORESEL_CORE2);
  17763. }
  17764. orig_BBConfig = read_phy_reg(pi, 0x01);
  17765. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  17766. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  17767. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17768. txpwrindex = (s32) pi->nphy_cal_orig_pwr_idx[core];
  17769. for (gainctrl_loopidx = 0; gainctrl_loopidx < 2;
  17770. gainctrl_loopidx++) {
  17771. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17772. false);
  17773. if (core == PHY_CORE_0)
  17774. curr_m0m1 = m0m1 & 0xff00;
  17775. else
  17776. curr_m0m1 = m0m1 & 0x00ff;
  17777. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &curr_m0m1);
  17778. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &curr_m0m1);
  17779. udelay(50);
  17780. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17781. NPHY_CAL_TSSISAMPS);
  17782. pi->nphy_bb_mult_save = 0;
  17783. wlc_phy_stopplayback_nphy(pi);
  17784. delta_power = (dBm_targetpower * 4) - qdBm_power[core];
  17785. txpwrindex -= stepsize * delta_power;
  17786. if (txpwrindex < 0)
  17787. txpwrindex = 0;
  17788. else if (txpwrindex > 127)
  17789. txpwrindex = 127;
  17790. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17791. if (NREV_IS(pi->pubpi.phy_rev, 4) &&
  17792. (pi->srom_fem5g.extpagain == 3)) {
  17793. if (txpwrindex < 30)
  17794. txpwrindex = 30;
  17795. }
  17796. } else {
  17797. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  17798. (pi->srom_fem2g.extpagain == 3)) {
  17799. if (txpwrindex < 50)
  17800. txpwrindex = 50;
  17801. }
  17802. }
  17803. wlc_phy_txpwr_index_nphy(pi, (1 << core),
  17804. (u8) txpwrindex, true);
  17805. }
  17806. pi->nphy_txcal_pwr_idx[core] = (u8) txpwrindex;
  17807. if (debug) {
  17808. u16 radio_gain;
  17809. u16 dbg_m0m1;
  17810. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17811. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17812. false);
  17813. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17814. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &dbg_m0m1);
  17815. udelay(100);
  17816. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17817. NPHY_CAL_TSSISAMPS);
  17818. wlc_phy_table_read_nphy(pi, 7, 1, (0x110 + core), 16,
  17819. &radio_gain);
  17820. mdelay(4000);
  17821. pi->nphy_bb_mult_save = 0;
  17822. wlc_phy_stopplayback_nphy(pi);
  17823. }
  17824. }
  17825. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_txcal_pwr_idx[0], true);
  17826. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_txcal_pwr_idx[1], true);
  17827. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &pi->nphy_txcal_bbmult);
  17828. write_phy_reg(pi, 0x01, orig_BBConfig);
  17829. write_phy_reg(pi, 0x91, phy_saveregs[0]);
  17830. write_phy_reg(pi, 0x92, phy_saveregs[1]);
  17831. write_phy_reg(pi, 0xe7, phy_saveregs[2]);
  17832. write_phy_reg(pi, 0xec, phy_saveregs[3]);
  17833. pi->phyhang_avoid = phyhang_avoid_state;
  17834. if (pi->phyhang_avoid)
  17835. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17836. }
  17837. static void wlc_phy_savecal_nphy(struct brcms_phy *pi)
  17838. {
  17839. void *tbl_ptr;
  17840. int coreNum;
  17841. u16 *txcal_radio_regs = NULL;
  17842. if (pi->phyhang_avoid)
  17843. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17844. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17845. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17846. &pi->calibration_cache.
  17847. rxcal_coeffs_2G);
  17848. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17849. txcal_radio_regs =
  17850. pi->calibration_cache.txcal_radio_regs_2G;
  17851. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17852. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17853. read_radio_reg(pi,
  17854. RADIO_2056_TX_LOFT_FINE_I |
  17855. RADIO_2056_TX0);
  17856. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17857. read_radio_reg(pi,
  17858. RADIO_2056_TX_LOFT_FINE_Q |
  17859. RADIO_2056_TX0);
  17860. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17861. read_radio_reg(pi,
  17862. RADIO_2056_TX_LOFT_FINE_I |
  17863. RADIO_2056_TX1);
  17864. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17865. read_radio_reg(pi,
  17866. RADIO_2056_TX_LOFT_FINE_Q |
  17867. RADIO_2056_TX1);
  17868. pi->calibration_cache.txcal_radio_regs_2G[4] =
  17869. read_radio_reg(pi,
  17870. RADIO_2056_TX_LOFT_COARSE_I |
  17871. RADIO_2056_TX0);
  17872. pi->calibration_cache.txcal_radio_regs_2G[5] =
  17873. read_radio_reg(pi,
  17874. RADIO_2056_TX_LOFT_COARSE_Q |
  17875. RADIO_2056_TX0);
  17876. pi->calibration_cache.txcal_radio_regs_2G[6] =
  17877. read_radio_reg(pi,
  17878. RADIO_2056_TX_LOFT_COARSE_I |
  17879. RADIO_2056_TX1);
  17880. pi->calibration_cache.txcal_radio_regs_2G[7] =
  17881. read_radio_reg(pi,
  17882. RADIO_2056_TX_LOFT_COARSE_Q |
  17883. RADIO_2056_TX1);
  17884. } else {
  17885. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17886. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  17887. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17888. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  17889. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17890. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  17891. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17892. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  17893. }
  17894. pi->nphy_iqcal_chanspec_2G = pi->radio_chanspec;
  17895. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  17896. } else {
  17897. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17898. &pi->calibration_cache.
  17899. rxcal_coeffs_5G);
  17900. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17901. txcal_radio_regs =
  17902. pi->calibration_cache.txcal_radio_regs_5G;
  17903. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17904. pi->calibration_cache.txcal_radio_regs_5G[0] =
  17905. read_radio_reg(pi,
  17906. RADIO_2056_TX_LOFT_FINE_I |
  17907. RADIO_2056_TX0);
  17908. pi->calibration_cache.txcal_radio_regs_5G[1] =
  17909. read_radio_reg(pi,
  17910. RADIO_2056_TX_LOFT_FINE_Q |
  17911. RADIO_2056_TX0);
  17912. pi->calibration_cache.txcal_radio_regs_5G[2] =
  17913. read_radio_reg(pi,
  17914. RADIO_2056_TX_LOFT_FINE_I |
  17915. RADIO_2056_TX1);
  17916. pi->calibration_cache.txcal_radio_regs_5G[3] =
  17917. read_radio_reg(pi,
  17918. RADIO_2056_TX_LOFT_FINE_Q |
  17919. RADIO_2056_TX1);
  17920. pi->calibration_cache.txcal_radio_regs_5G[4] =
  17921. read_radio_reg(pi,
  17922. RADIO_2056_TX_LOFT_COARSE_I |
  17923. RADIO_2056_TX0);
  17924. pi->calibration_cache.txcal_radio_regs_5G[5] =
  17925. read_radio_reg(pi,
  17926. RADIO_2056_TX_LOFT_COARSE_Q |
  17927. RADIO_2056_TX0);
  17928. pi->calibration_cache.txcal_radio_regs_5G[6] =
  17929. read_radio_reg(pi,
  17930. RADIO_2056_TX_LOFT_COARSE_I |
  17931. RADIO_2056_TX1);
  17932. pi->calibration_cache.txcal_radio_regs_5G[7] =
  17933. read_radio_reg(pi,
  17934. RADIO_2056_TX_LOFT_COARSE_Q |
  17935. RADIO_2056_TX1);
  17936. } else {
  17937. pi->calibration_cache.txcal_radio_regs_5G[0] =
  17938. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  17939. pi->calibration_cache.txcal_radio_regs_5G[1] =
  17940. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  17941. pi->calibration_cache.txcal_radio_regs_5G[2] =
  17942. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  17943. pi->calibration_cache.txcal_radio_regs_5G[3] =
  17944. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  17945. }
  17946. pi->nphy_iqcal_chanspec_5G = pi->radio_chanspec;
  17947. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  17948. }
  17949. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17950. for (coreNum = 0; coreNum <= 1; coreNum++) {
  17951. txcal_radio_regs[2 * coreNum] =
  17952. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17953. LOFT_FINE_I);
  17954. txcal_radio_regs[2 * coreNum + 1] =
  17955. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17956. LOFT_FINE_Q);
  17957. txcal_radio_regs[2 * coreNum + 4] =
  17958. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17959. LOFT_COARSE_I);
  17960. txcal_radio_regs[2 * coreNum + 5] =
  17961. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17962. LOFT_COARSE_Q);
  17963. }
  17964. }
  17965. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 8, 80, 16, tbl_ptr);
  17966. if (pi->phyhang_avoid)
  17967. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17968. }
  17969. static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi)
  17970. {
  17971. struct nphy_iq_comp tx_comp;
  17972. wlc_phy_table_read_nphy(pi, 15, 4, 0x50, 16, &tx_comp);
  17973. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0);
  17974. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0);
  17975. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 4, tx_comp.a1);
  17976. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 6, tx_comp.b1);
  17977. }
  17978. static void wlc_phy_restorecal_nphy(struct brcms_phy *pi)
  17979. {
  17980. u16 *loft_comp;
  17981. u16 txcal_coeffs_bphy[4];
  17982. u16 *tbl_ptr;
  17983. int coreNum;
  17984. u16 *txcal_radio_regs = NULL;
  17985. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17986. if (pi->nphy_iqcal_chanspec_2G == 0)
  17987. return;
  17988. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  17989. loft_comp = &pi->calibration_cache.txcal_coeffs_2G[5];
  17990. } else {
  17991. if (pi->nphy_iqcal_chanspec_5G == 0)
  17992. return;
  17993. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  17994. loft_comp = &pi->calibration_cache.txcal_coeffs_5G[5];
  17995. }
  17996. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80, 16, tbl_ptr);
  17997. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17998. txcal_coeffs_bphy[0] = tbl_ptr[0];
  17999. txcal_coeffs_bphy[1] = tbl_ptr[1];
  18000. txcal_coeffs_bphy[2] = tbl_ptr[2];
  18001. txcal_coeffs_bphy[3] = tbl_ptr[3];
  18002. } else {
  18003. txcal_coeffs_bphy[0] = 0;
  18004. txcal_coeffs_bphy[1] = 0;
  18005. txcal_coeffs_bphy[2] = 0;
  18006. txcal_coeffs_bphy[3] = 0;
  18007. }
  18008. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88, 16,
  18009. txcal_coeffs_bphy);
  18010. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85, 16, loft_comp);
  18011. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93, 16, loft_comp);
  18012. if (NREV_LT(pi->pubpi.phy_rev, 2))
  18013. wlc_phy_tx_iq_war_nphy(pi);
  18014. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18015. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18016. txcal_radio_regs =
  18017. pi->calibration_cache.txcal_radio_regs_2G;
  18018. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18019. write_radio_reg(pi,
  18020. RADIO_2056_TX_LOFT_FINE_I |
  18021. RADIO_2056_TX0,
  18022. pi->calibration_cache.
  18023. txcal_radio_regs_2G[0]);
  18024. write_radio_reg(pi,
  18025. RADIO_2056_TX_LOFT_FINE_Q |
  18026. RADIO_2056_TX0,
  18027. pi->calibration_cache.
  18028. txcal_radio_regs_2G[1]);
  18029. write_radio_reg(pi,
  18030. RADIO_2056_TX_LOFT_FINE_I |
  18031. RADIO_2056_TX1,
  18032. pi->calibration_cache.
  18033. txcal_radio_regs_2G[2]);
  18034. write_radio_reg(pi,
  18035. RADIO_2056_TX_LOFT_FINE_Q |
  18036. RADIO_2056_TX1,
  18037. pi->calibration_cache.
  18038. txcal_radio_regs_2G[3]);
  18039. write_radio_reg(pi,
  18040. RADIO_2056_TX_LOFT_COARSE_I |
  18041. RADIO_2056_TX0,
  18042. pi->calibration_cache.
  18043. txcal_radio_regs_2G[4]);
  18044. write_radio_reg(pi,
  18045. RADIO_2056_TX_LOFT_COARSE_Q |
  18046. RADIO_2056_TX0,
  18047. pi->calibration_cache.
  18048. txcal_radio_regs_2G[5]);
  18049. write_radio_reg(pi,
  18050. RADIO_2056_TX_LOFT_COARSE_I |
  18051. RADIO_2056_TX1,
  18052. pi->calibration_cache.
  18053. txcal_radio_regs_2G[6]);
  18054. write_radio_reg(pi,
  18055. RADIO_2056_TX_LOFT_COARSE_Q |
  18056. RADIO_2056_TX1,
  18057. pi->calibration_cache.
  18058. txcal_radio_regs_2G[7]);
  18059. } else {
  18060. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18061. pi->calibration_cache.
  18062. txcal_radio_regs_2G[0]);
  18063. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18064. pi->calibration_cache.
  18065. txcal_radio_regs_2G[1]);
  18066. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18067. pi->calibration_cache.
  18068. txcal_radio_regs_2G[2]);
  18069. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18070. pi->calibration_cache.
  18071. txcal_radio_regs_2G[3]);
  18072. }
  18073. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18074. &pi->calibration_cache.
  18075. rxcal_coeffs_2G);
  18076. } else {
  18077. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18078. txcal_radio_regs =
  18079. pi->calibration_cache.txcal_radio_regs_5G;
  18080. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18081. write_radio_reg(pi,
  18082. RADIO_2056_TX_LOFT_FINE_I |
  18083. RADIO_2056_TX0,
  18084. pi->calibration_cache.
  18085. txcal_radio_regs_5G[0]);
  18086. write_radio_reg(pi,
  18087. RADIO_2056_TX_LOFT_FINE_Q |
  18088. RADIO_2056_TX0,
  18089. pi->calibration_cache.
  18090. txcal_radio_regs_5G[1]);
  18091. write_radio_reg(pi,
  18092. RADIO_2056_TX_LOFT_FINE_I |
  18093. RADIO_2056_TX1,
  18094. pi->calibration_cache.
  18095. txcal_radio_regs_5G[2]);
  18096. write_radio_reg(pi,
  18097. RADIO_2056_TX_LOFT_FINE_Q |
  18098. RADIO_2056_TX1,
  18099. pi->calibration_cache.
  18100. txcal_radio_regs_5G[3]);
  18101. write_radio_reg(pi,
  18102. RADIO_2056_TX_LOFT_COARSE_I |
  18103. RADIO_2056_TX0,
  18104. pi->calibration_cache.
  18105. txcal_radio_regs_5G[4]);
  18106. write_radio_reg(pi,
  18107. RADIO_2056_TX_LOFT_COARSE_Q |
  18108. RADIO_2056_TX0,
  18109. pi->calibration_cache.
  18110. txcal_radio_regs_5G[5]);
  18111. write_radio_reg(pi,
  18112. RADIO_2056_TX_LOFT_COARSE_I |
  18113. RADIO_2056_TX1,
  18114. pi->calibration_cache.
  18115. txcal_radio_regs_5G[6]);
  18116. write_radio_reg(pi,
  18117. RADIO_2056_TX_LOFT_COARSE_Q |
  18118. RADIO_2056_TX1,
  18119. pi->calibration_cache.
  18120. txcal_radio_regs_5G[7]);
  18121. } else {
  18122. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18123. pi->calibration_cache.
  18124. txcal_radio_regs_5G[0]);
  18125. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18126. pi->calibration_cache.
  18127. txcal_radio_regs_5G[1]);
  18128. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18129. pi->calibration_cache.
  18130. txcal_radio_regs_5G[2]);
  18131. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18132. pi->calibration_cache.
  18133. txcal_radio_regs_5G[3]);
  18134. }
  18135. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18136. &pi->calibration_cache.
  18137. rxcal_coeffs_5G);
  18138. }
  18139. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18140. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18141. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18142. LOFT_FINE_I,
  18143. txcal_radio_regs[2 * coreNum]);
  18144. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18145. LOFT_FINE_Q,
  18146. txcal_radio_regs[2 * coreNum + 1]);
  18147. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18148. LOFT_COARSE_I,
  18149. txcal_radio_regs[2 * coreNum + 4]);
  18150. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18151. LOFT_COARSE_Q,
  18152. txcal_radio_regs[2 * coreNum + 5]);
  18153. }
  18154. }
  18155. }
  18156. static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi)
  18157. {
  18158. u32 idx;
  18159. u16 iqloCalbuf[7];
  18160. u32 iqcomp, locomp, curr_locomp;
  18161. s8 locomp_i, locomp_q;
  18162. s8 curr_locomp_i, curr_locomp_q;
  18163. u32 tbl_id, tbl_len, tbl_offset;
  18164. u32 regval[128];
  18165. if (pi->phyhang_avoid)
  18166. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18167. wlc_phy_table_read_nphy(pi, 15, 7, 80, 16, iqloCalbuf);
  18168. tbl_len = 128;
  18169. tbl_offset = 320;
  18170. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18171. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18172. iqcomp =
  18173. (tbl_id ==
  18174. 26) ? (((u32) (iqloCalbuf[0] & 0x3ff)) << 10) |
  18175. (iqloCalbuf[1] & 0x3ff)
  18176. : (((u32) (iqloCalbuf[2] & 0x3ff)) << 10) |
  18177. (iqloCalbuf[3] & 0x3ff);
  18178. for (idx = 0; idx < tbl_len; idx++)
  18179. regval[idx] = iqcomp;
  18180. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18181. regval);
  18182. }
  18183. tbl_offset = 448;
  18184. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18185. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18186. locomp =
  18187. (u32) ((tbl_id == 26) ? iqloCalbuf[5] : iqloCalbuf[6]);
  18188. locomp_i = (s8) ((locomp >> 8) & 0xff);
  18189. locomp_q = (s8) ((locomp) & 0xff);
  18190. for (idx = 0; idx < tbl_len; idx++) {
  18191. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18192. curr_locomp_i = locomp_i;
  18193. curr_locomp_q = locomp_q;
  18194. } else {
  18195. curr_locomp_i = (s8) ((locomp_i *
  18196. nphy_tpc_loscale[idx] +
  18197. 128) >> 8);
  18198. curr_locomp_q =
  18199. (s8) ((locomp_q *
  18200. nphy_tpc_loscale[idx] +
  18201. 128) >> 8);
  18202. }
  18203. curr_locomp = (u32) ((curr_locomp_i & 0xff) << 8);
  18204. curr_locomp |= (u32) (curr_locomp_q & 0xff);
  18205. regval[idx] = curr_locomp;
  18206. }
  18207. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18208. regval);
  18209. }
  18210. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18211. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX1, 0xFFFF);
  18212. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX2, 0xFFFF);
  18213. }
  18214. if (pi->phyhang_avoid)
  18215. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18216. }
  18217. static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi)
  18218. {
  18219. u8 tx_lpf_bw = 0;
  18220. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18221. if (CHSPEC_IS40(pi->radio_chanspec))
  18222. tx_lpf_bw = 3;
  18223. else
  18224. tx_lpf_bw = 1;
  18225. if (PHY_IPA(pi)) {
  18226. if (CHSPEC_IS40(pi->radio_chanspec))
  18227. tx_lpf_bw = 5;
  18228. else
  18229. tx_lpf_bw = 4;
  18230. }
  18231. write_phy_reg(pi, 0xe8,
  18232. (tx_lpf_bw << 0) |
  18233. (tx_lpf_bw << 3) |
  18234. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18235. if (PHY_IPA(pi)) {
  18236. if (CHSPEC_IS40(pi->radio_chanspec))
  18237. tx_lpf_bw = 4;
  18238. else
  18239. tx_lpf_bw = 1;
  18240. write_phy_reg(pi, 0xe9,
  18241. (tx_lpf_bw << 0) |
  18242. (tx_lpf_bw << 3) |
  18243. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18244. }
  18245. }
  18246. }
  18247. static void
  18248. wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr)
  18249. {
  18250. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18251. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18252. CHSPEC_IS40(pi->radio_chanspec)) {
  18253. if (!pi->nphy_anarxlpf_adjusted) {
  18254. write_radio_reg(pi,
  18255. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18256. RADIO_2056_RX0),
  18257. ((pi->nphy_rccal_value +
  18258. reduction_factr) | 0x80));
  18259. pi->nphy_anarxlpf_adjusted = true;
  18260. }
  18261. } else {
  18262. if (pi->nphy_anarxlpf_adjusted) {
  18263. write_radio_reg(pi,
  18264. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18265. RADIO_2056_RX0),
  18266. (pi->nphy_rccal_value | 0x80));
  18267. pi->nphy_anarxlpf_adjusted = false;
  18268. }
  18269. }
  18270. }
  18271. }
  18272. static void
  18273. wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones,
  18274. int *tone_id_buf, u32 *noise_var_buf)
  18275. {
  18276. int i;
  18277. u32 offset;
  18278. int tone_id;
  18279. int tbllen =
  18280. CHSPEC_IS40(pi->radio_chanspec) ?
  18281. NPHY_NOISEVAR_TBLLEN40 : NPHY_NOISEVAR_TBLLEN20;
  18282. if (pi->nphy_noisevars_adjusted) {
  18283. for (i = 0; i < pi->nphy_saved_noisevars.bufcount; i++) {
  18284. tone_id = pi->nphy_saved_noisevars.tone_id[i];
  18285. offset = (tone_id >= 0) ?
  18286. ((tone_id *
  18287. 2) + 1) : (tbllen + (tone_id * 2) + 1);
  18288. wlc_phy_table_write_nphy(
  18289. pi, NPHY_TBL_ID_NOISEVAR, 1,
  18290. offset, 32,
  18291. &pi->nphy_saved_noisevars.min_noise_vars[i]);
  18292. }
  18293. pi->nphy_saved_noisevars.bufcount = 0;
  18294. pi->nphy_noisevars_adjusted = false;
  18295. }
  18296. if ((noise_var_buf != NULL) && (tone_id_buf != NULL)) {
  18297. pi->nphy_saved_noisevars.bufcount = 0;
  18298. for (i = 0; i < ntones; i++) {
  18299. tone_id = tone_id_buf[i];
  18300. offset = (tone_id >= 0) ?
  18301. ((tone_id * 2) + 1) :
  18302. (tbllen + (tone_id * 2) + 1);
  18303. pi->nphy_saved_noisevars.tone_id[i] = tone_id;
  18304. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18305. offset, 32,
  18306. &pi->nphy_saved_noisevars.
  18307. min_noise_vars[i]);
  18308. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18309. offset, 32, &noise_var_buf[i]);
  18310. pi->nphy_saved_noisevars.bufcount++;
  18311. }
  18312. pi->nphy_noisevars_adjusted = true;
  18313. }
  18314. }
  18315. static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr)
  18316. {
  18317. u16 regval;
  18318. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18319. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18320. CHSPEC_IS40(pi->radio_chanspec)) {
  18321. if (!pi->nphy_crsminpwr_adjusted) {
  18322. regval = read_phy_reg(pi, 0x27d);
  18323. pi->nphy_crsminpwr[0] = regval & 0xff;
  18324. regval &= 0xff00;
  18325. regval |= (u16) minpwr;
  18326. write_phy_reg(pi, 0x27d, regval);
  18327. regval = read_phy_reg(pi, 0x280);
  18328. pi->nphy_crsminpwr[1] = regval & 0xff;
  18329. regval &= 0xff00;
  18330. regval |= (u16) minpwr;
  18331. write_phy_reg(pi, 0x280, regval);
  18332. regval = read_phy_reg(pi, 0x283);
  18333. pi->nphy_crsminpwr[2] = regval & 0xff;
  18334. regval &= 0xff00;
  18335. regval |= (u16) minpwr;
  18336. write_phy_reg(pi, 0x283, regval);
  18337. pi->nphy_crsminpwr_adjusted = true;
  18338. }
  18339. } else {
  18340. if (pi->nphy_crsminpwr_adjusted) {
  18341. regval = read_phy_reg(pi, 0x27d);
  18342. regval &= 0xff00;
  18343. regval |= pi->nphy_crsminpwr[0];
  18344. write_phy_reg(pi, 0x27d, regval);
  18345. regval = read_phy_reg(pi, 0x280);
  18346. regval &= 0xff00;
  18347. regval |= pi->nphy_crsminpwr[1];
  18348. write_phy_reg(pi, 0x280, regval);
  18349. regval = read_phy_reg(pi, 0x283);
  18350. regval &= 0xff00;
  18351. regval |= pi->nphy_crsminpwr[2];
  18352. write_phy_reg(pi, 0x283, regval);
  18353. pi->nphy_crsminpwr_adjusted = false;
  18354. }
  18355. }
  18356. }
  18357. }
  18358. static void wlc_phy_spurwar_nphy(struct brcms_phy *pi)
  18359. {
  18360. u16 cur_channel = 0;
  18361. int nphy_adj_tone_id_buf[] = { 57, 58 };
  18362. u32 nphy_adj_noise_var_buf[] = { 0x3ff, 0x3ff };
  18363. bool isAdjustNoiseVar = false;
  18364. uint numTonesAdjust = 0;
  18365. u32 tempval = 0;
  18366. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18367. if (pi->phyhang_avoid)
  18368. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18369. cur_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  18370. if (pi->nphy_gband_spurwar_en) {
  18371. wlc_phy_adjust_rx_analpfbw_nphy(
  18372. pi,
  18373. NPHY_ANARXLPFBW_REDUCTIONFACT);
  18374. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18375. if ((cur_channel == 11)
  18376. && CHSPEC_IS40(pi->radio_chanspec))
  18377. wlc_phy_adjust_min_noisevar_nphy(
  18378. pi, 2,
  18379. nphy_adj_tone_id_buf,
  18380. nphy_adj_noise_var_buf);
  18381. else
  18382. wlc_phy_adjust_min_noisevar_nphy(pi, 0,
  18383. NULL,
  18384. NULL);
  18385. }
  18386. wlc_phy_adjust_crsminpwr_nphy(pi,
  18387. NPHY_ADJUSTED_MINCRSPOWER);
  18388. }
  18389. if ((pi->nphy_gband_spurwar2_en)
  18390. && CHSPEC_IS2G(pi->radio_chanspec)) {
  18391. if (CHSPEC_IS40(pi->radio_chanspec)) {
  18392. switch (cur_channel) {
  18393. case 3:
  18394. nphy_adj_tone_id_buf[0] = 57;
  18395. nphy_adj_tone_id_buf[1] = 58;
  18396. nphy_adj_noise_var_buf[0] = 0x22f;
  18397. nphy_adj_noise_var_buf[1] = 0x25f;
  18398. isAdjustNoiseVar = true;
  18399. break;
  18400. case 4:
  18401. nphy_adj_tone_id_buf[0] = 41;
  18402. nphy_adj_tone_id_buf[1] = 42;
  18403. nphy_adj_noise_var_buf[0] = 0x22f;
  18404. nphy_adj_noise_var_buf[1] = 0x25f;
  18405. isAdjustNoiseVar = true;
  18406. break;
  18407. case 5:
  18408. nphy_adj_tone_id_buf[0] = 25;
  18409. nphy_adj_tone_id_buf[1] = 26;
  18410. nphy_adj_noise_var_buf[0] = 0x24f;
  18411. nphy_adj_noise_var_buf[1] = 0x25f;
  18412. isAdjustNoiseVar = true;
  18413. break;
  18414. case 6:
  18415. nphy_adj_tone_id_buf[0] = 9;
  18416. nphy_adj_tone_id_buf[1] = 10;
  18417. nphy_adj_noise_var_buf[0] = 0x22f;
  18418. nphy_adj_noise_var_buf[1] = 0x24f;
  18419. isAdjustNoiseVar = true;
  18420. break;
  18421. case 7:
  18422. nphy_adj_tone_id_buf[0] = 121;
  18423. nphy_adj_tone_id_buf[1] = 122;
  18424. nphy_adj_noise_var_buf[0] = 0x18f;
  18425. nphy_adj_noise_var_buf[1] = 0x24f;
  18426. isAdjustNoiseVar = true;
  18427. break;
  18428. case 8:
  18429. nphy_adj_tone_id_buf[0] = 105;
  18430. nphy_adj_tone_id_buf[1] = 106;
  18431. nphy_adj_noise_var_buf[0] = 0x22f;
  18432. nphy_adj_noise_var_buf[1] = 0x25f;
  18433. isAdjustNoiseVar = true;
  18434. break;
  18435. case 9:
  18436. nphy_adj_tone_id_buf[0] = 89;
  18437. nphy_adj_tone_id_buf[1] = 90;
  18438. nphy_adj_noise_var_buf[0] = 0x22f;
  18439. nphy_adj_noise_var_buf[1] = 0x24f;
  18440. isAdjustNoiseVar = true;
  18441. break;
  18442. case 10:
  18443. nphy_adj_tone_id_buf[0] = 73;
  18444. nphy_adj_tone_id_buf[1] = 74;
  18445. nphy_adj_noise_var_buf[0] = 0x22f;
  18446. nphy_adj_noise_var_buf[1] = 0x24f;
  18447. isAdjustNoiseVar = true;
  18448. break;
  18449. default:
  18450. isAdjustNoiseVar = false;
  18451. break;
  18452. }
  18453. }
  18454. if (isAdjustNoiseVar) {
  18455. numTonesAdjust = ARRAY_SIZE(nphy_adj_tone_id_buf);
  18456. wlc_phy_adjust_min_noisevar_nphy(
  18457. pi,
  18458. numTonesAdjust,
  18459. nphy_adj_tone_id_buf,
  18460. nphy_adj_noise_var_buf);
  18461. tempval = 0;
  18462. } else {
  18463. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18464. NULL);
  18465. }
  18466. }
  18467. if ((pi->nphy_aband_spurwar_en) &&
  18468. (CHSPEC_IS5G(pi->radio_chanspec))) {
  18469. switch (cur_channel) {
  18470. case 54:
  18471. nphy_adj_tone_id_buf[0] = 32;
  18472. nphy_adj_noise_var_buf[0] = 0x25f;
  18473. break;
  18474. case 38:
  18475. case 102:
  18476. case 118:
  18477. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) &&
  18478. (pi->sh->chippkg == BCMA_PKG_ID_BCM4717)) {
  18479. nphy_adj_tone_id_buf[0] = 32;
  18480. nphy_adj_noise_var_buf[0] = 0x21f;
  18481. } else {
  18482. nphy_adj_tone_id_buf[0] = 0;
  18483. nphy_adj_noise_var_buf[0] = 0x0;
  18484. }
  18485. break;
  18486. case 134:
  18487. nphy_adj_tone_id_buf[0] = 32;
  18488. nphy_adj_noise_var_buf[0] = 0x21f;
  18489. break;
  18490. case 151:
  18491. nphy_adj_tone_id_buf[0] = 16;
  18492. nphy_adj_noise_var_buf[0] = 0x23f;
  18493. break;
  18494. case 153:
  18495. case 161:
  18496. nphy_adj_tone_id_buf[0] = 48;
  18497. nphy_adj_noise_var_buf[0] = 0x23f;
  18498. break;
  18499. default:
  18500. nphy_adj_tone_id_buf[0] = 0;
  18501. nphy_adj_noise_var_buf[0] = 0x0;
  18502. break;
  18503. }
  18504. if (nphy_adj_tone_id_buf[0]
  18505. && nphy_adj_noise_var_buf[0])
  18506. wlc_phy_adjust_min_noisevar_nphy(
  18507. pi, 1,
  18508. nphy_adj_tone_id_buf,
  18509. nphy_adj_noise_var_buf);
  18510. else
  18511. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18512. NULL);
  18513. }
  18514. if (pi->phyhang_avoid)
  18515. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18516. }
  18517. }
  18518. void wlc_phy_init_nphy(struct brcms_phy *pi)
  18519. {
  18520. u16 val;
  18521. u16 clip1_ths[2];
  18522. struct nphy_txgains target_gain;
  18523. u8 tx_pwr_ctrl_state;
  18524. bool do_nphy_cal = false;
  18525. uint core;
  18526. u32 d11_clk_ctl_st;
  18527. bool do_rssi_cal = false;
  18528. core = 0;
  18529. if (!(pi->measure_hold & PHY_HOLD_FOR_SCAN))
  18530. pi->measure_hold |= PHY_HOLD_FOR_NOT_ASSOC;
  18531. if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) &&
  18532. ((pi->sh->chippkg == BCMA_PKG_ID_BCM4717) ||
  18533. (pi->sh->chippkg == BCMA_PKG_ID_BCM4718))) {
  18534. if ((pi->sh->boardflags & BFL_EXTLNA) &&
  18535. (CHSPEC_IS2G(pi->radio_chanspec)))
  18536. bcma_cc_set32(&pi->d11core->bus->drv_cc,
  18537. BCMA_CC_CHIPCTL, 0x40);
  18538. }
  18539. if ((!PHY_IPA(pi)) && (pi->sh->chip == BCMA_CHIP_ID_BCM5357))
  18540. bcma_chipco_chipctl_maskset(&pi->d11core->bus->drv_cc, 1,
  18541. ~CCTRL5357_EXTPA, CCTRL5357_EXTPA);
  18542. if ((pi->nphy_gband_spurwar2_en) && CHSPEC_IS2G(pi->radio_chanspec) &&
  18543. CHSPEC_IS40(pi->radio_chanspec)) {
  18544. d11_clk_ctl_st = bcma_read32(pi->d11core,
  18545. D11REGOFFS(clk_ctl_st));
  18546. bcma_mask32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18547. ~(CCS_FORCEHT | CCS_HTAREQ));
  18548. bcma_write32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18549. d11_clk_ctl_st);
  18550. }
  18551. pi->use_int_tx_iqlo_cal_nphy =
  18552. (PHY_IPA(pi) ||
  18553. (NREV_GE(pi->pubpi.phy_rev, 7) ||
  18554. (NREV_GE(pi->pubpi.phy_rev, 5)
  18555. && pi->sh->boardflags2 & BFL2_INTERNDET_TXIQCAL)));
  18556. pi->internal_tx_iqlo_cal_tapoff_intpa_nphy = false;
  18557. pi->nphy_deaf_count = 0;
  18558. wlc_phy_tbl_init_nphy(pi);
  18559. pi->nphy_crsminpwr_adjusted = false;
  18560. pi->nphy_noisevars_adjusted = false;
  18561. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18562. write_phy_reg(pi, 0xe7, 0);
  18563. write_phy_reg(pi, 0xec, 0);
  18564. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18565. write_phy_reg(pi, 0x342, 0);
  18566. write_phy_reg(pi, 0x343, 0);
  18567. write_phy_reg(pi, 0x346, 0);
  18568. write_phy_reg(pi, 0x347, 0);
  18569. }
  18570. write_phy_reg(pi, 0xe5, 0);
  18571. write_phy_reg(pi, 0xe6, 0);
  18572. } else {
  18573. write_phy_reg(pi, 0xec, 0);
  18574. }
  18575. write_phy_reg(pi, 0x91, 0);
  18576. write_phy_reg(pi, 0x92, 0);
  18577. if (NREV_LT(pi->pubpi.phy_rev, 6)) {
  18578. write_phy_reg(pi, 0x93, 0);
  18579. write_phy_reg(pi, 0x94, 0);
  18580. }
  18581. and_phy_reg(pi, 0xa1, ~3);
  18582. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18583. write_phy_reg(pi, 0x8f, 0);
  18584. write_phy_reg(pi, 0xa5, 0);
  18585. } else {
  18586. write_phy_reg(pi, 0xa5, 0);
  18587. }
  18588. if (NREV_IS(pi->pubpi.phy_rev, 2))
  18589. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  18590. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  18591. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  18592. write_phy_reg(pi, 0x203, 32);
  18593. write_phy_reg(pi, 0x201, 32);
  18594. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD)
  18595. write_phy_reg(pi, 0x20d, 160);
  18596. else
  18597. write_phy_reg(pi, 0x20d, 184);
  18598. write_phy_reg(pi, 0x13a, 200);
  18599. write_phy_reg(pi, 0x70, 80);
  18600. write_phy_reg(pi, 0x1ff, 48);
  18601. if (NREV_LT(pi->pubpi.phy_rev, 8))
  18602. wlc_phy_update_mimoconfig_nphy(pi, pi->n_preamble_override);
  18603. wlc_phy_stf_chain_upd_nphy(pi);
  18604. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18605. write_phy_reg(pi, 0x180, 0xaa8);
  18606. write_phy_reg(pi, 0x181, 0x9a4);
  18607. }
  18608. if (PHY_IPA(pi)) {
  18609. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  18610. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  18611. 0x29b, (0x1 << 0), (1) << 0);
  18612. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x298 :
  18613. 0x29c, (0x1ff << 7),
  18614. (pi->nphy_papd_epsilon_offset[core]) << 7);
  18615. }
  18616. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  18617. } else if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  18618. wlc_phy_extpa_set_tx_digi_filts_nphy(pi);
  18619. }
  18620. wlc_phy_workarounds_nphy(pi);
  18621. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18622. val = read_phy_reg(pi, 0x01);
  18623. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18624. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18625. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18626. wlapi_bmac_macphyclk_set(pi->sh->physhim, ON);
  18627. wlc_phy_pa_override_nphy(pi, OFF);
  18628. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  18629. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18630. wlc_phy_pa_override_nphy(pi, ON);
  18631. wlc_phy_classifier_nphy(pi, 0, 0);
  18632. wlc_phy_clip_det_nphy(pi, 0, clip1_ths);
  18633. if (CHSPEC_IS2G(pi->radio_chanspec))
  18634. wlc_phy_bphy_init_nphy(pi);
  18635. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  18636. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  18637. wlc_phy_txpwr_fixpower_nphy(pi);
  18638. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  18639. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  18640. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18641. u32 *tx_pwrctrl_tbl = NULL;
  18642. u16 idx;
  18643. s16 pga_gn = 0;
  18644. s16 pad_gn = 0;
  18645. s32 rfpwr_offset;
  18646. if (PHY_IPA(pi)) {
  18647. tx_pwrctrl_tbl = wlc_phy_get_ipa_gaintbl_nphy(pi);
  18648. } else {
  18649. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  18650. if (NREV_IS(pi->pubpi.phy_rev, 3))
  18651. tx_pwrctrl_tbl =
  18652. nphy_tpc_5GHz_txgain_rev3;
  18653. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  18654. tx_pwrctrl_tbl =
  18655. (pi->srom_fem5g.extpagain ==
  18656. 3) ?
  18657. nphy_tpc_5GHz_txgain_HiPwrEPA :
  18658. nphy_tpc_5GHz_txgain_rev4;
  18659. else
  18660. tx_pwrctrl_tbl =
  18661. nphy_tpc_5GHz_txgain_rev5;
  18662. } else {
  18663. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18664. if (pi->pubpi.radiorev == 5)
  18665. tx_pwrctrl_tbl =
  18666. nphy_tpc_txgain_epa_2057rev5;
  18667. else if (pi->pubpi.radiorev == 3)
  18668. tx_pwrctrl_tbl =
  18669. nphy_tpc_txgain_epa_2057rev3;
  18670. } else {
  18671. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  18672. (pi->srom_fem2g.extpagain == 3))
  18673. tx_pwrctrl_tbl =
  18674. nphy_tpc_txgain_HiPwrEPA;
  18675. else
  18676. tx_pwrctrl_tbl =
  18677. nphy_tpc_txgain_rev3;
  18678. }
  18679. }
  18680. }
  18681. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18682. 192, 32, tx_pwrctrl_tbl);
  18683. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18684. 192, 32, tx_pwrctrl_tbl);
  18685. pi->nphy_gmval = (u16) ((*tx_pwrctrl_tbl >> 16) & 0x7000);
  18686. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18687. for (idx = 0; idx < 128; idx++) {
  18688. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18689. pad_gn = (tx_pwrctrl_tbl[idx] >> 19) & 0x1f;
  18690. rfpwr_offset = get_rf_pwr_offset(pi, pga_gn,
  18691. pad_gn);
  18692. wlc_phy_table_write_nphy(
  18693. pi,
  18694. NPHY_TBL_ID_CORE1TXPWRCTL,
  18695. 1, 576 + idx, 32,
  18696. &rfpwr_offset);
  18697. wlc_phy_table_write_nphy(
  18698. pi,
  18699. NPHY_TBL_ID_CORE2TXPWRCTL,
  18700. 1, 576 + idx, 32,
  18701. &rfpwr_offset);
  18702. }
  18703. } else {
  18704. for (idx = 0; idx < 128; idx++) {
  18705. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18706. if (CHSPEC_IS2G(pi->radio_chanspec))
  18707. rfpwr_offset = (s16)
  18708. nphy_papd_pga_gain_delta_ipa_2g
  18709. [pga_gn];
  18710. else
  18711. rfpwr_offset = (s16)
  18712. nphy_papd_pga_gain_delta_ipa_5g
  18713. [pga_gn];
  18714. wlc_phy_table_write_nphy(
  18715. pi,
  18716. NPHY_TBL_ID_CORE1TXPWRCTL,
  18717. 1, 576 + idx, 32,
  18718. &rfpwr_offset);
  18719. wlc_phy_table_write_nphy(
  18720. pi,
  18721. NPHY_TBL_ID_CORE2TXPWRCTL,
  18722. 1, 576 + idx, 32,
  18723. &rfpwr_offset);
  18724. }
  18725. }
  18726. } else {
  18727. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18728. 192, 32, nphy_tpc_txgain);
  18729. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18730. 192, 32, nphy_tpc_txgain);
  18731. }
  18732. if (pi->sh->phyrxchain != 0x3)
  18733. wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
  18734. pi->sh->phyrxchain);
  18735. if (PHY_PERICAL_MPHASE_PENDING(pi))
  18736. wlc_phy_cal_perical_mphase_restart(pi);
  18737. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18738. do_rssi_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18739. (pi->nphy_rssical_chanspec_2G == 0) :
  18740. (pi->nphy_rssical_chanspec_5G == 0);
  18741. if (do_rssi_cal)
  18742. wlc_phy_rssi_cal_nphy(pi);
  18743. else
  18744. wlc_phy_restore_rssical_nphy(pi);
  18745. } else {
  18746. wlc_phy_rssi_cal_nphy(pi);
  18747. }
  18748. if (!SCAN_RM_IN_PROGRESS(pi))
  18749. do_nphy_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18750. (pi->nphy_iqcal_chanspec_2G == 0) :
  18751. (pi->nphy_iqcal_chanspec_5G == 0);
  18752. if (!pi->do_initcal)
  18753. do_nphy_cal = false;
  18754. if (do_nphy_cal) {
  18755. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  18756. if (pi->antsel_type == ANTSEL_2x3)
  18757. wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
  18758. true);
  18759. if (pi->nphy_perical != PHY_PERICAL_MPHASE) {
  18760. wlc_phy_rssi_cal_nphy(pi);
  18761. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18762. pi->nphy_cal_orig_pwr_idx[0] =
  18763. pi->nphy_txpwrindex[PHY_CORE_0]
  18764. .
  18765. index_internal;
  18766. pi->nphy_cal_orig_pwr_idx[1] =
  18767. pi->nphy_txpwrindex[PHY_CORE_1]
  18768. .
  18769. index_internal;
  18770. wlc_phy_precal_txgain_nphy(pi);
  18771. target_gain =
  18772. wlc_phy_get_tx_gain_nphy(pi);
  18773. }
  18774. if (wlc_phy_cal_txiqlo_nphy
  18775. (pi, target_gain, true,
  18776. false) == 0) {
  18777. if (wlc_phy_cal_rxiq_nphy
  18778. (pi, target_gain, 2,
  18779. false) == 0)
  18780. wlc_phy_savecal_nphy(pi);
  18781. }
  18782. } else if (pi->mphase_cal_phase_id ==
  18783. MPHASE_CAL_STATE_IDLE) {
  18784. wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
  18785. PHY_PERICAL_PHYINIT);
  18786. }
  18787. } else {
  18788. wlc_phy_restorecal_nphy(pi);
  18789. }
  18790. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  18791. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  18792. wlc_phy_nphy_tkip_rifs_war(pi, pi->sh->_rifs_phy);
  18793. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6))
  18794. write_phy_reg(pi, 0x70, 50);
  18795. wlc_phy_txlpfbw_nphy(pi);
  18796. wlc_phy_spurwar_nphy(pi);
  18797. }
  18798. static void wlc_phy_resetcca_nphy(struct brcms_phy *pi)
  18799. {
  18800. u16 val;
  18801. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18802. val = read_phy_reg(pi, 0x01);
  18803. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18804. udelay(1);
  18805. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18806. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18807. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18808. }
  18809. void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en)
  18810. {
  18811. u16 rfctrlintc_override_val;
  18812. if (!en) {
  18813. pi->rfctrlIntc1_save = read_phy_reg(pi, 0x91);
  18814. pi->rfctrlIntc2_save = read_phy_reg(pi, 0x92);
  18815. if (NREV_GE(pi->pubpi.phy_rev, 7))
  18816. rfctrlintc_override_val = 0x1480;
  18817. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  18818. rfctrlintc_override_val =
  18819. CHSPEC_IS5G(pi->radio_chanspec) ? 0x600 : 0x480;
  18820. else
  18821. rfctrlintc_override_val =
  18822. CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  18823. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  18824. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  18825. } else {
  18826. write_phy_reg(pi, 0x91, pi->rfctrlIntc1_save);
  18827. write_phy_reg(pi, 0x92, pi->rfctrlIntc2_save);
  18828. }
  18829. }
  18830. void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi)
  18831. {
  18832. u16 txrx_chain =
  18833. (NPHY_RfseqCoreActv_TxRxChain0 | NPHY_RfseqCoreActv_TxRxChain1);
  18834. bool CoreActv_override = false;
  18835. if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN0) {
  18836. txrx_chain = NPHY_RfseqCoreActv_TxRxChain0;
  18837. CoreActv_override = true;
  18838. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18839. and_phy_reg(pi, 0xa0, ~0x20);
  18840. } else if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN1) {
  18841. txrx_chain = NPHY_RfseqCoreActv_TxRxChain1;
  18842. CoreActv_override = true;
  18843. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18844. or_phy_reg(pi, 0xa0, 0x20);
  18845. }
  18846. mod_phy_reg(pi, 0xa2, ((0xf << 0) | (0xf << 4)), txrx_chain);
  18847. if (CoreActv_override) {
  18848. pi->nphy_perical = PHY_PERICAL_DISABLE;
  18849. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  18850. } else {
  18851. pi->nphy_perical = PHY_PERICAL_MPHASE;
  18852. and_phy_reg(pi, 0xa1, ~NPHY_RfseqMode_CoreActv_override);
  18853. }
  18854. }
  18855. void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
  18856. {
  18857. u16 regval;
  18858. u16 tbl_buf[16];
  18859. uint i;
  18860. struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro);
  18861. u16 tbl_opcode;
  18862. bool suspend;
  18863. pi->sh->phyrxchain = rxcore_bitmask;
  18864. if (!pi->sh->clk)
  18865. return;
  18866. suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  18867. MCTL_EN_MAC));
  18868. if (!suspend)
  18869. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  18870. if (pi->phyhang_avoid)
  18871. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18872. regval = read_phy_reg(pi, 0xa2);
  18873. regval &= ~(0xf << 4);
  18874. regval |= ((u16) (rxcore_bitmask & 0x3)) << 4;
  18875. write_phy_reg(pi, 0xa2, regval);
  18876. if ((rxcore_bitmask & 0x3) != 0x3) {
  18877. write_phy_reg(pi, 0x20e, 1);
  18878. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18879. if (pi->rx2tx_biasentry == -1) {
  18880. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ,
  18881. ARRAY_SIZE(tbl_buf), 80,
  18882. 16, tbl_buf);
  18883. for (i = 0; i < ARRAY_SIZE(tbl_buf); i++) {
  18884. if (tbl_buf[i] ==
  18885. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS) {
  18886. pi->rx2tx_biasentry = (u8) i;
  18887. tbl_opcode =
  18888. NPHY_REV3_RFSEQ_CMD_NOP;
  18889. wlc_phy_table_write_nphy(
  18890. pi,
  18891. NPHY_TBL_ID_RFSEQ,
  18892. 1, i,
  18893. 16,
  18894. &tbl_opcode);
  18895. break;
  18896. } else if (tbl_buf[i] ==
  18897. NPHY_REV3_RFSEQ_CMD_END)
  18898. break;
  18899. }
  18900. }
  18901. }
  18902. } else {
  18903. write_phy_reg(pi, 0x20e, 30);
  18904. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18905. if (pi->rx2tx_biasentry != -1) {
  18906. tbl_opcode = NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS;
  18907. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  18908. 1, pi->rx2tx_biasentry,
  18909. 16, &tbl_opcode);
  18910. pi->rx2tx_biasentry = -1;
  18911. }
  18912. }
  18913. }
  18914. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18915. if (pi->phyhang_avoid)
  18916. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18917. if (!suspend)
  18918. wlapi_enable_mac(pi->sh->physhim);
  18919. }
  18920. u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
  18921. {
  18922. u16 regval, rxen_bits;
  18923. struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro);
  18924. regval = read_phy_reg(pi, 0xa2);
  18925. rxen_bits = (regval >> 4) & 0xf;
  18926. return (u8) rxen_bits;
  18927. }
  18928. bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi)
  18929. {
  18930. return PHY_IPA(pi);
  18931. }
  18932. void wlc_phy_cal_init_nphy(struct brcms_phy *pi)
  18933. {
  18934. }
  18935. static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi)
  18936. {
  18937. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  18938. and_phy_reg(pi, 0x78, RFCC_OE_POR_FORCE);
  18939. or_phy_reg(pi, 0x78, ~RFCC_OE_POR_FORCE);
  18940. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU);
  18941. }
  18942. static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
  18943. {
  18944. struct radio_20xx_regs *regs_2057_ptr = NULL;
  18945. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  18946. regs_2057_ptr = regs_2057_rev4;
  18947. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  18948. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  18949. switch (pi->pubpi.radiorev) {
  18950. case 5:
  18951. if (NREV_IS(pi->pubpi.phy_rev, 8))
  18952. regs_2057_ptr = regs_2057_rev5;
  18953. else if (NREV_IS(pi->pubpi.phy_rev, 9))
  18954. regs_2057_ptr = regs_2057_rev5v1;
  18955. break;
  18956. case 7:
  18957. regs_2057_ptr = regs_2057_rev7;
  18958. break;
  18959. case 8:
  18960. regs_2057_ptr = regs_2057_rev8;
  18961. break;
  18962. default:
  18963. break;
  18964. }
  18965. }
  18966. wlc_phy_init_radio_regs_allbands(pi, regs_2057_ptr);
  18967. }
  18968. static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi)
  18969. {
  18970. u16 rcal_reg = 0;
  18971. int i;
  18972. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18973. if (pi->pubpi.radiorev == 5) {
  18974. and_phy_reg(pi, 0x342, ~(0x1 << 1));
  18975. udelay(10);
  18976. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x1);
  18977. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  18978. 0x1);
  18979. }
  18980. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x1);
  18981. udelay(10);
  18982. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x3, 0x3);
  18983. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  18984. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS);
  18985. if (rcal_reg & 0x1)
  18986. break;
  18987. udelay(100);
  18988. }
  18989. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  18990. "HW error: radio calib2"))
  18991. return 0;
  18992. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x2, 0x0);
  18993. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS) & 0x3e;
  18994. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x0);
  18995. if (pi->pubpi.radiorev == 5) {
  18996. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x0);
  18997. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  18998. 0x0);
  18999. }
  19000. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19001. mod_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x3c,
  19002. rcal_reg);
  19003. mod_radio_reg(pi, RADIO_2057_BANDGAP_RCAL_TRIM, 0xf0,
  19004. rcal_reg << 2);
  19005. }
  19006. } else if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19007. u16 savereg;
  19008. savereg =
  19009. read_radio_reg(
  19010. pi,
  19011. RADIO_2056_SYN_PLL_MAST2 |
  19012. RADIO_2056_SYN);
  19013. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19014. savereg | 0x7);
  19015. udelay(10);
  19016. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19017. 0x1);
  19018. udelay(10);
  19019. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19020. 0x9);
  19021. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19022. rcal_reg = read_radio_reg(
  19023. pi,
  19024. RADIO_2056_SYN_RCAL_CODE_OUT |
  19025. RADIO_2056_SYN);
  19026. if (rcal_reg & 0x80)
  19027. break;
  19028. udelay(100);
  19029. }
  19030. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19031. "HW error: radio calib3"))
  19032. return 0;
  19033. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19034. 0x1);
  19035. rcal_reg =
  19036. read_radio_reg(pi,
  19037. RADIO_2056_SYN_RCAL_CODE_OUT |
  19038. RADIO_2056_SYN);
  19039. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19040. 0x0);
  19041. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19042. savereg);
  19043. return rcal_reg & 0x1f;
  19044. }
  19045. return rcal_reg & 0x3e;
  19046. }
  19047. static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi)
  19048. {
  19049. u16 rccal_valid;
  19050. int i;
  19051. bool chip43226_6362A0;
  19052. chip43226_6362A0 = ((pi->pubpi.radiorev == 3)
  19053. || (pi->pubpi.radiorev == 4)
  19054. || (pi->pubpi.radiorev == 6));
  19055. rccal_valid = 0;
  19056. if (chip43226_6362A0) {
  19057. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x61);
  19058. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xc0);
  19059. } else {
  19060. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x61);
  19061. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xe9);
  19062. }
  19063. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19064. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19065. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19066. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19067. if (rccal_valid & 0x2)
  19068. break;
  19069. udelay(500);
  19070. }
  19071. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19072. rccal_valid = 0;
  19073. if (chip43226_6362A0) {
  19074. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x69);
  19075. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19076. } else {
  19077. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x69);
  19078. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xd5);
  19079. }
  19080. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19081. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19082. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19083. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19084. if (rccal_valid & 0x2)
  19085. break;
  19086. udelay(500);
  19087. }
  19088. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19089. rccal_valid = 0;
  19090. if (chip43226_6362A0) {
  19091. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x73);
  19092. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x28);
  19093. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19094. } else {
  19095. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x73);
  19096. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19097. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0x99);
  19098. }
  19099. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19100. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19101. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19102. if (rccal_valid & 0x2)
  19103. break;
  19104. udelay(500);
  19105. }
  19106. if (WARN(!(rccal_valid & 0x2), "HW error: radio calib4"))
  19107. return 0;
  19108. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19109. return rccal_valid;
  19110. }
  19111. static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi)
  19112. {
  19113. mod_radio_reg(pi, RADIO_2057_XTALPUOVR_PINCTRL, 0x1, 0x1);
  19114. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x78);
  19115. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x80);
  19116. mdelay(2);
  19117. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x0);
  19118. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x0);
  19119. if (pi->phy_init_por) {
  19120. wlc_phy_radio205x_rcal(pi);
  19121. wlc_phy_radio2057_rccal(pi);
  19122. }
  19123. mod_radio_reg(pi, RADIO_2057_RFPLL_MASTER, 0x8, 0x0);
  19124. }
  19125. static void wlc_phy_radio_init_2056(struct brcms_phy *pi)
  19126. {
  19127. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19128. const struct radio_regs *regs_TX_2056_ptr = NULL;
  19129. const struct radio_regs *regs_RX_2056_ptr = NULL;
  19130. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19131. regs_SYN_2056_ptr = regs_SYN_2056;
  19132. regs_TX_2056_ptr = regs_TX_2056;
  19133. regs_RX_2056_ptr = regs_RX_2056;
  19134. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19135. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19136. regs_TX_2056_ptr = regs_TX_2056_A1;
  19137. regs_RX_2056_ptr = regs_RX_2056_A1;
  19138. } else {
  19139. switch (pi->pubpi.radiorev) {
  19140. case 5:
  19141. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19142. regs_TX_2056_ptr = regs_TX_2056_rev5;
  19143. regs_RX_2056_ptr = regs_RX_2056_rev5;
  19144. break;
  19145. case 6:
  19146. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19147. regs_TX_2056_ptr = regs_TX_2056_rev6;
  19148. regs_RX_2056_ptr = regs_RX_2056_rev6;
  19149. break;
  19150. case 7:
  19151. case 9:
  19152. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19153. regs_TX_2056_ptr = regs_TX_2056_rev7;
  19154. regs_RX_2056_ptr = regs_RX_2056_rev7;
  19155. break;
  19156. case 8:
  19157. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19158. regs_TX_2056_ptr = regs_TX_2056_rev8;
  19159. regs_RX_2056_ptr = regs_RX_2056_rev8;
  19160. break;
  19161. case 11:
  19162. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19163. regs_TX_2056_ptr = regs_TX_2056_rev11;
  19164. regs_RX_2056_ptr = regs_RX_2056_rev11;
  19165. break;
  19166. default:
  19167. break;
  19168. }
  19169. }
  19170. wlc_phy_init_radio_regs(pi, regs_SYN_2056_ptr, (u16) RADIO_2056_SYN);
  19171. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX0);
  19172. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX1);
  19173. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX0);
  19174. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX1);
  19175. }
  19176. static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi)
  19177. {
  19178. mod_radio_reg(pi, RADIO_2056_SYN_COM_CTRL, 0xb, 0xb);
  19179. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x2);
  19180. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x2);
  19181. udelay(1000);
  19182. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x0);
  19183. if ((pi->sh->boardflags2 & BFL2_LEGACY)
  19184. || (pi->sh->boardflags2 & BFL2_XTALBUFOUTEN))
  19185. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xf4, 0x0);
  19186. else
  19187. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xfc, 0x0);
  19188. mod_radio_reg(pi, RADIO_2056_SYN_RCCAL_CTRL0, 0x1, 0x0);
  19189. if (pi->phy_init_por)
  19190. wlc_phy_radio205x_rcal(pi);
  19191. }
  19192. static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi)
  19193. {
  19194. and_phy_reg(pi, 0x78, ~RFCC_POR_FORCE);
  19195. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU | RFCC_OE_POR_FORCE);
  19196. or_phy_reg(pi, 0x78, RFCC_POR_FORCE);
  19197. }
  19198. static void wlc_phy_radio_init_2055(struct brcms_phy *pi)
  19199. {
  19200. wlc_phy_init_radio_regs(pi, regs_2055, RADIO_DEFAULT_CORE);
  19201. }
  19202. static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi)
  19203. {
  19204. and_radio_reg(pi, RADIO_2055_MASTER_CNTRL1,
  19205. ~(RADIO_2055_JTAGCTRL_MASK | RADIO_2055_JTAGSYNC_MASK));
  19206. if (((pi->sh->sromrev >= 4)
  19207. && !(pi->sh->boardflags2 & BFL2_RXBB_INT_REG_DIS))
  19208. || ((pi->sh->sromrev < 4))) {
  19209. and_radio_reg(pi, RADIO_2055_CORE1_RXBB_REGULATOR, 0x7F);
  19210. and_radio_reg(pi, RADIO_2055_CORE2_RXBB_REGULATOR, 0x7F);
  19211. }
  19212. mod_radio_reg(pi, RADIO_2055_RRCCAL_N_OPT_SEL, 0x3F, 0x2C);
  19213. write_radio_reg(pi, RADIO_2055_CAL_MISC, 0x3C);
  19214. and_radio_reg(pi, RADIO_2055_CAL_MISC,
  19215. ~(RADIO_2055_RRCAL_START | RADIO_2055_RRCAL_RST_N));
  19216. or_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL, RADIO_2055_CAL_LPO_ENABLE);
  19217. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_RST_N);
  19218. udelay(1000);
  19219. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_START);
  19220. SPINWAIT(((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19221. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE), 2000);
  19222. if (WARN((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19223. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE,
  19224. "HW error: radio calibration1\n"))
  19225. return;
  19226. and_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL,
  19227. ~(RADIO_2055_CAL_LPO_ENABLE));
  19228. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
  19229. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_LPF, 9);
  19230. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_LPF, 9);
  19231. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_MIDAC_HIPAS, 0x83);
  19232. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_MIDAC_HIPAS, 0x83);
  19233. mod_radio_reg(pi, RADIO_2055_CORE1_LNA_GAINBST,
  19234. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19235. mod_radio_reg(pi, RADIO_2055_CORE2_LNA_GAINBST,
  19236. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19237. if (pi->nphy_gain_boost) {
  19238. and_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19239. ~(RADIO_2055_GAINBST_DISABLE));
  19240. and_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19241. ~(RADIO_2055_GAINBST_DISABLE));
  19242. } else {
  19243. or_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19244. RADIO_2055_GAINBST_DISABLE);
  19245. or_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19246. RADIO_2055_GAINBST_DISABLE);
  19247. }
  19248. udelay(2);
  19249. }
  19250. void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
  19251. {
  19252. if (on) {
  19253. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19254. if (!pi->radio_is_on) {
  19255. wlc_phy_radio_preinit_205x(pi);
  19256. wlc_phy_radio_init_2057(pi);
  19257. wlc_phy_radio_postinit_2057(pi);
  19258. }
  19259. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19260. pi->radio_chanspec);
  19261. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19262. wlc_phy_radio_preinit_205x(pi);
  19263. wlc_phy_radio_init_2056(pi);
  19264. wlc_phy_radio_postinit_2056(pi);
  19265. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19266. pi->radio_chanspec);
  19267. } else {
  19268. wlc_phy_radio_preinit_2055(pi);
  19269. wlc_phy_radio_init_2055(pi);
  19270. wlc_phy_radio_postinit_2055(pi);
  19271. }
  19272. pi->radio_is_on = true;
  19273. } else {
  19274. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19275. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  19276. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19277. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x0);
  19278. write_radio_reg(pi,
  19279. RADIO_2056_TX_PADA_BOOST_TUNE |
  19280. RADIO_2056_TX0, 0);
  19281. write_radio_reg(pi,
  19282. RADIO_2056_TX_PADG_BOOST_TUNE |
  19283. RADIO_2056_TX0, 0);
  19284. write_radio_reg(pi,
  19285. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19286. RADIO_2056_TX0, 0);
  19287. write_radio_reg(pi,
  19288. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19289. RADIO_2056_TX0, 0);
  19290. mod_radio_reg(pi,
  19291. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19292. RADIO_2056_TX0, 0xf0, 0);
  19293. write_radio_reg(pi,
  19294. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19295. RADIO_2056_TX0, 0);
  19296. write_radio_reg(pi,
  19297. RADIO_2056_TX_PADA_BOOST_TUNE |
  19298. RADIO_2056_TX1, 0);
  19299. write_radio_reg(pi,
  19300. RADIO_2056_TX_PADG_BOOST_TUNE |
  19301. RADIO_2056_TX1, 0);
  19302. write_radio_reg(pi,
  19303. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19304. RADIO_2056_TX1, 0);
  19305. write_radio_reg(pi,
  19306. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19307. RADIO_2056_TX1, 0);
  19308. mod_radio_reg(pi,
  19309. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19310. RADIO_2056_TX1, 0xf0, 0);
  19311. write_radio_reg(pi,
  19312. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19313. RADIO_2056_TX1, 0);
  19314. pi->radio_is_on = false;
  19315. }
  19316. if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  19317. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19318. pi->radio_is_on = false;
  19319. }
  19320. }
  19321. }
  19322. static bool
  19323. wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f,
  19324. const struct chan_info_nphy_radio2057 **t0,
  19325. const struct chan_info_nphy_radio205x **t1,
  19326. const struct chan_info_nphy_radio2057_rev5 **t2,
  19327. const struct chan_info_nphy_2055 **t3)
  19328. {
  19329. uint i;
  19330. const struct chan_info_nphy_radio2057 *chan_info_tbl_p_0 = NULL;
  19331. const struct chan_info_nphy_radio205x *chan_info_tbl_p_1 = NULL;
  19332. const struct chan_info_nphy_radio2057_rev5 *chan_info_tbl_p_2 = NULL;
  19333. u32 tbl_len = 0;
  19334. int freq = 0;
  19335. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19336. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19337. chan_info_tbl_p_0 = chan_info_nphyrev7_2057_rev4;
  19338. tbl_len = ARRAY_SIZE(chan_info_nphyrev7_2057_rev4);
  19339. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19340. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19341. switch (pi->pubpi.radiorev) {
  19342. case 5:
  19343. if (pi->pubpi.radiover == 0x0) {
  19344. chan_info_tbl_p_2 =
  19345. chan_info_nphyrev8_2057_rev5;
  19346. tbl_len = ARRAY_SIZE(
  19347. chan_info_nphyrev8_2057_rev5);
  19348. } else if (pi->pubpi.radiover == 0x1) {
  19349. chan_info_tbl_p_2 =
  19350. chan_info_nphyrev9_2057_rev5v1;
  19351. tbl_len = ARRAY_SIZE(
  19352. chan_info_nphyrev9_2057_rev5v1);
  19353. }
  19354. break;
  19355. case 7:
  19356. chan_info_tbl_p_0 =
  19357. chan_info_nphyrev8_2057_rev7;
  19358. tbl_len = ARRAY_SIZE(
  19359. chan_info_nphyrev8_2057_rev7);
  19360. break;
  19361. case 8:
  19362. chan_info_tbl_p_0 =
  19363. chan_info_nphyrev8_2057_rev8;
  19364. tbl_len = ARRAY_SIZE(
  19365. chan_info_nphyrev8_2057_rev8);
  19366. break;
  19367. default:
  19368. break;
  19369. }
  19370. } else if (NREV_IS(pi->pubpi.phy_rev, 16)) {
  19371. chan_info_tbl_p_0 = chan_info_nphyrev8_2057_rev8;
  19372. tbl_len = ARRAY_SIZE(chan_info_nphyrev8_2057_rev8);
  19373. } else {
  19374. goto fail;
  19375. }
  19376. for (i = 0; i < tbl_len; i++) {
  19377. if (pi->pubpi.radiorev == 5) {
  19378. if (chan_info_tbl_p_2[i].chan == channel)
  19379. break;
  19380. } else {
  19381. if (chan_info_tbl_p_0[i].chan == channel)
  19382. break;
  19383. }
  19384. }
  19385. if (i >= tbl_len)
  19386. goto fail;
  19387. if (pi->pubpi.radiorev == 5) {
  19388. *t2 = &chan_info_tbl_p_2[i];
  19389. freq = chan_info_tbl_p_2[i].freq;
  19390. } else {
  19391. *t0 = &chan_info_tbl_p_0[i];
  19392. freq = chan_info_tbl_p_0[i].freq;
  19393. }
  19394. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19395. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19396. chan_info_tbl_p_1 = chan_info_nphyrev3_2056;
  19397. tbl_len = ARRAY_SIZE(chan_info_nphyrev3_2056);
  19398. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19399. chan_info_tbl_p_1 = chan_info_nphyrev4_2056_A1;
  19400. tbl_len = ARRAY_SIZE(chan_info_nphyrev4_2056_A1);
  19401. } else if (NREV_IS(pi->pubpi.phy_rev, 5)
  19402. || NREV_IS(pi->pubpi.phy_rev, 6)) {
  19403. switch (pi->pubpi.radiorev) {
  19404. case 5:
  19405. chan_info_tbl_p_1 = chan_info_nphyrev5_2056v5;
  19406. tbl_len = ARRAY_SIZE(chan_info_nphyrev5_2056v5);
  19407. break;
  19408. case 6:
  19409. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v6;
  19410. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v6);
  19411. break;
  19412. case 7:
  19413. case 9:
  19414. chan_info_tbl_p_1 = chan_info_nphyrev5n6_2056v7;
  19415. tbl_len =
  19416. ARRAY_SIZE(chan_info_nphyrev5n6_2056v7);
  19417. break;
  19418. case 8:
  19419. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v8;
  19420. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v8);
  19421. break;
  19422. case 11:
  19423. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v11;
  19424. tbl_len = ARRAY_SIZE(
  19425. chan_info_nphyrev6_2056v11);
  19426. break;
  19427. default:
  19428. break;
  19429. }
  19430. }
  19431. for (i = 0; i < tbl_len; i++) {
  19432. if (chan_info_tbl_p_1[i].chan == channel)
  19433. break;
  19434. }
  19435. if (i >= tbl_len)
  19436. goto fail;
  19437. *t1 = &chan_info_tbl_p_1[i];
  19438. freq = chan_info_tbl_p_1[i].freq;
  19439. } else {
  19440. for (i = 0; i < ARRAY_SIZE(chan_info_nphy_2055); i++)
  19441. if (chan_info_nphy_2055[i].chan == channel)
  19442. break;
  19443. if (i >= ARRAY_SIZE(chan_info_nphy_2055))
  19444. goto fail;
  19445. *t3 = &chan_info_nphy_2055[i];
  19446. freq = chan_info_nphy_2055[i].freq;
  19447. }
  19448. *f = freq;
  19449. return true;
  19450. fail:
  19451. *f = WL_CHAN_FREQ_RANGE_2G;
  19452. return false;
  19453. }
  19454. u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel)
  19455. {
  19456. int freq;
  19457. const struct chan_info_nphy_radio2057 *t0 = NULL;
  19458. const struct chan_info_nphy_radio205x *t1 = NULL;
  19459. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  19460. const struct chan_info_nphy_2055 *t3 = NULL;
  19461. if (channel == 0)
  19462. channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  19463. wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
  19464. if (CHSPEC_IS2G(pi->radio_chanspec))
  19465. return WL_CHAN_FREQ_RANGE_2G;
  19466. if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
  19467. return WL_CHAN_FREQ_RANGE_5GL;
  19468. else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
  19469. return WL_CHAN_FREQ_RANGE_5GM;
  19470. else
  19471. return WL_CHAN_FREQ_RANGE_5GH;
  19472. }
  19473. static void
  19474. wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi,
  19475. const struct chan_info_nphy_2055 *ci)
  19476. {
  19477. write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref);
  19478. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0);
  19479. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1);
  19480. write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail);
  19481. BRCMS_PHY_WAR_PR51571(pi);
  19482. write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1);
  19483. write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2);
  19484. write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1);
  19485. write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1);
  19486. BRCMS_PHY_WAR_PR51571(pi);
  19487. write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2);
  19488. write_radio_reg(pi, RADIO_2055_LGBUF_CEN_BUF, ci->RF_lgbuf_cen_buf);
  19489. write_radio_reg(pi, RADIO_2055_LGEN_TUNE1, ci->RF_lgen_tune1);
  19490. write_radio_reg(pi, RADIO_2055_LGEN_TUNE2, ci->RF_lgen_tune2);
  19491. BRCMS_PHY_WAR_PR51571(pi);
  19492. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_A_TUNE,
  19493. ci->RF_core1_lgbuf_a_tune);
  19494. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_G_TUNE,
  19495. ci->RF_core1_lgbuf_g_tune);
  19496. write_radio_reg(pi, RADIO_2055_CORE1_RXRF_REG1, ci->RF_core1_rxrf_reg1);
  19497. write_radio_reg(pi, RADIO_2055_CORE1_TX_PGA_PAD_TN,
  19498. ci->RF_core1_tx_pga_pad_tn);
  19499. BRCMS_PHY_WAR_PR51571(pi);
  19500. write_radio_reg(pi, RADIO_2055_CORE1_TX_MX_BGTRIM,
  19501. ci->RF_core1_tx_mx_bgtrim);
  19502. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_A_TUNE,
  19503. ci->RF_core2_lgbuf_a_tune);
  19504. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_G_TUNE,
  19505. ci->RF_core2_lgbuf_g_tune);
  19506. write_radio_reg(pi, RADIO_2055_CORE2_RXRF_REG1, ci->RF_core2_rxrf_reg1);
  19507. BRCMS_PHY_WAR_PR51571(pi);
  19508. write_radio_reg(pi, RADIO_2055_CORE2_TX_PGA_PAD_TN,
  19509. ci->RF_core2_tx_pga_pad_tn);
  19510. write_radio_reg(pi, RADIO_2055_CORE2_TX_MX_BGTRIM,
  19511. ci->RF_core2_tx_mx_bgtrim);
  19512. udelay(50);
  19513. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x05);
  19514. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x45);
  19515. BRCMS_PHY_WAR_PR51571(pi);
  19516. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x65);
  19517. udelay(300);
  19518. }
  19519. static void
  19520. wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi,
  19521. const struct chan_info_nphy_radio205x *ci)
  19522. {
  19523. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19524. write_radio_reg(pi,
  19525. RADIO_2056_SYN_PLL_VCOCAL1 | RADIO_2056_SYN,
  19526. ci->RF_SYN_pll_vcocal1);
  19527. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL2 | RADIO_2056_SYN,
  19528. ci->RF_SYN_pll_vcocal2);
  19529. write_radio_reg(pi, RADIO_2056_SYN_PLL_REFDIV | RADIO_2056_SYN,
  19530. ci->RF_SYN_pll_refdiv);
  19531. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD2 | RADIO_2056_SYN,
  19532. ci->RF_SYN_pll_mmd2);
  19533. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD1 | RADIO_2056_SYN,
  19534. ci->RF_SYN_pll_mmd1);
  19535. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19536. ci->RF_SYN_pll_loopfilter1);
  19537. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19538. ci->RF_SYN_pll_loopfilter2);
  19539. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER3 | RADIO_2056_SYN,
  19540. ci->RF_SYN_pll_loopfilter3);
  19541. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19542. ci->RF_SYN_pll_loopfilter4);
  19543. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER5 | RADIO_2056_SYN,
  19544. ci->RF_SYN_pll_loopfilter5);
  19545. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR27 | RADIO_2056_SYN,
  19546. ci->RF_SYN_reserved_addr27);
  19547. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR28 | RADIO_2056_SYN,
  19548. ci->RF_SYN_reserved_addr28);
  19549. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR29 | RADIO_2056_SYN,
  19550. ci->RF_SYN_reserved_addr29);
  19551. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_VCOBUF1 | RADIO_2056_SYN,
  19552. ci->RF_SYN_logen_VCOBUF1);
  19553. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_MIXER2 | RADIO_2056_SYN,
  19554. ci->RF_SYN_logen_MIXER2);
  19555. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF3 | RADIO_2056_SYN,
  19556. ci->RF_SYN_logen_BUF3);
  19557. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF4 | RADIO_2056_SYN,
  19558. ci->RF_SYN_logen_BUF4);
  19559. write_radio_reg(pi,
  19560. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX0,
  19561. ci->RF_RX0_lnaa_tune);
  19562. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX0,
  19563. ci->RF_RX0_lnag_tune);
  19564. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX0,
  19565. ci->RF_TX0_intpaa_boost_tune);
  19566. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX0,
  19567. ci->RF_TX0_intpag_boost_tune);
  19568. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX0,
  19569. ci->RF_TX0_pada_boost_tune);
  19570. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX0,
  19571. ci->RF_TX0_padg_boost_tune);
  19572. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX0,
  19573. ci->RF_TX0_pgaa_boost_tune);
  19574. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX0,
  19575. ci->RF_TX0_pgag_boost_tune);
  19576. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX0,
  19577. ci->RF_TX0_mixa_boost_tune);
  19578. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX0,
  19579. ci->RF_TX0_mixg_boost_tune);
  19580. write_radio_reg(pi,
  19581. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX1,
  19582. ci->RF_RX1_lnaa_tune);
  19583. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX1,
  19584. ci->RF_RX1_lnag_tune);
  19585. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX1,
  19586. ci->RF_TX1_intpaa_boost_tune);
  19587. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX1,
  19588. ci->RF_TX1_intpag_boost_tune);
  19589. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX1,
  19590. ci->RF_TX1_pada_boost_tune);
  19591. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX1,
  19592. ci->RF_TX1_padg_boost_tune);
  19593. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX1,
  19594. ci->RF_TX1_pgaa_boost_tune);
  19595. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX1,
  19596. ci->RF_TX1_pgag_boost_tune);
  19597. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX1,
  19598. ci->RF_TX1_mixa_boost_tune);
  19599. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX1,
  19600. ci->RF_TX1_mixg_boost_tune);
  19601. if (NREV_IS(pi->pubpi.phy_rev, 3))
  19602. regs_SYN_2056_ptr = regs_SYN_2056;
  19603. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  19604. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19605. else {
  19606. switch (pi->pubpi.radiorev) {
  19607. case 5:
  19608. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19609. break;
  19610. case 6:
  19611. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19612. break;
  19613. case 7:
  19614. case 9:
  19615. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19616. break;
  19617. case 8:
  19618. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19619. break;
  19620. case 11:
  19621. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19622. break;
  19623. }
  19624. }
  19625. if (CHSPEC_IS2G(pi->radio_chanspec))
  19626. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19627. RADIO_2056_SYN,
  19628. (u16) regs_SYN_2056_ptr[0x49 - 2].init_g);
  19629. else
  19630. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19631. RADIO_2056_SYN,
  19632. (u16) regs_SYN_2056_ptr[0x49 - 2].init_a);
  19633. if (pi->sh->boardflags2 & BFL2_GPLL_WAR) {
  19634. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19635. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19636. RADIO_2056_SYN, 0x1f);
  19637. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19638. RADIO_2056_SYN, 0x1f);
  19639. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  19640. (pi->sh->chip == BCMA_CHIP_ID_BCM47162)) {
  19641. write_radio_reg(pi,
  19642. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19643. RADIO_2056_SYN, 0x14);
  19644. write_radio_reg(pi,
  19645. RADIO_2056_SYN_PLL_CP2 |
  19646. RADIO_2056_SYN, 0x00);
  19647. } else {
  19648. write_radio_reg(pi,
  19649. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19650. RADIO_2056_SYN, 0xb);
  19651. write_radio_reg(pi,
  19652. RADIO_2056_SYN_PLL_CP2 |
  19653. RADIO_2056_SYN, 0x14);
  19654. }
  19655. }
  19656. }
  19657. if ((pi->sh->boardflags2 & BFL2_GPLL_WAR2) &&
  19658. (CHSPEC_IS2G(pi->radio_chanspec))) {
  19659. write_radio_reg(pi,
  19660. RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19661. 0x1f);
  19662. write_radio_reg(pi,
  19663. RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19664. 0x1f);
  19665. write_radio_reg(pi,
  19666. RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19667. 0xb);
  19668. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 | RADIO_2056_SYN,
  19669. 0x20);
  19670. }
  19671. if (pi->sh->boardflags2 & BFL2_APLL_WAR) {
  19672. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  19673. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19674. RADIO_2056_SYN, 0x1f);
  19675. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19676. RADIO_2056_SYN, 0x1f);
  19677. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19678. RADIO_2056_SYN, 0x5);
  19679. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19680. RADIO_2056_SYN, 0xc);
  19681. }
  19682. }
  19683. if (PHY_IPA(pi) && CHSPEC_IS2G(pi->radio_chanspec)) {
  19684. u16 pag_boost_tune;
  19685. u16 padg_boost_tune;
  19686. u16 pgag_boost_tune;
  19687. u16 mixg_boost_tune;
  19688. u16 bias, cascbias;
  19689. uint core;
  19690. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19691. if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  19692. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19693. PADG_IDAC, 0xcc);
  19694. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  19695. (pi->sh->chip == BCMA_CHIP_ID_BCM47162)) {
  19696. bias = 0x40;
  19697. cascbias = 0x45;
  19698. pag_boost_tune = 0x5;
  19699. pgag_boost_tune = 0x33;
  19700. padg_boost_tune = 0x77;
  19701. mixg_boost_tune = 0x55;
  19702. } else {
  19703. bias = 0x25;
  19704. cascbias = 0x20;
  19705. if ((pi->sh->chip == BCMA_CHIP_ID_BCM43224 ||
  19706. pi->sh->chip == BCMA_CHIP_ID_BCM43225) &&
  19707. pi->sh->chippkg == BCMA_PKG_ID_BCM43224_FAB_SMIC) {
  19708. bias = 0x2a;
  19709. cascbias = 0x38;
  19710. }
  19711. pag_boost_tune = 0x4;
  19712. pgag_boost_tune = 0x03;
  19713. padg_boost_tune = 0x77;
  19714. mixg_boost_tune = 0x65;
  19715. }
  19716. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19717. INTPAG_IMAIN_STAT, bias);
  19718. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19719. INTPAG_IAUX_STAT, bias);
  19720. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19721. INTPAG_CASCBIAS, cascbias);
  19722. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19723. INTPAG_BOOST_TUNE,
  19724. pag_boost_tune);
  19725. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19726. PGAG_BOOST_TUNE,
  19727. pgag_boost_tune);
  19728. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19729. PADG_BOOST_TUNE,
  19730. padg_boost_tune);
  19731. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19732. MIXG_BOOST_TUNE,
  19733. mixg_boost_tune);
  19734. } else {
  19735. bias = (pi->bw == WL_CHANSPEC_BW_40) ?
  19736. 0x40 : 0x20;
  19737. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19738. INTPAG_IMAIN_STAT, bias);
  19739. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19740. INTPAG_IAUX_STAT, bias);
  19741. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19742. INTPAG_CASCBIAS, 0x30);
  19743. }
  19744. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, PA_SPARE1,
  19745. 0xee);
  19746. }
  19747. }
  19748. if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6)
  19749. && CHSPEC_IS5G(pi->radio_chanspec)) {
  19750. u16 paa_boost_tune;
  19751. u16 pada_boost_tune;
  19752. u16 pgaa_boost_tune;
  19753. u16 mixa_boost_tune;
  19754. u16 freq, pabias, cascbias;
  19755. uint core;
  19756. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  19757. if (freq < 5150) {
  19758. paa_boost_tune = 0xa;
  19759. pada_boost_tune = 0x77;
  19760. pgaa_boost_tune = 0xf;
  19761. mixa_boost_tune = 0xf;
  19762. } else if (freq < 5340) {
  19763. paa_boost_tune = 0x8;
  19764. pada_boost_tune = 0x77;
  19765. pgaa_boost_tune = 0xfb;
  19766. mixa_boost_tune = 0xf;
  19767. } else if (freq < 5650) {
  19768. paa_boost_tune = 0x0;
  19769. pada_boost_tune = 0x77;
  19770. pgaa_boost_tune = 0xb;
  19771. mixa_boost_tune = 0xf;
  19772. } else {
  19773. paa_boost_tune = 0x0;
  19774. pada_boost_tune = 0x77;
  19775. if (freq != 5825)
  19776. pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
  19777. else
  19778. pgaa_boost_tune = 6;
  19779. mixa_boost_tune = 0xf;
  19780. }
  19781. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19782. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19783. INTPAA_BOOST_TUNE, paa_boost_tune);
  19784. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19785. PADA_BOOST_TUNE, pada_boost_tune);
  19786. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19787. PGAA_BOOST_TUNE, pgaa_boost_tune);
  19788. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19789. MIXA_BOOST_TUNE, mixa_boost_tune);
  19790. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19791. TXSPARE1, 0x30);
  19792. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19793. PA_SPARE2, 0xee);
  19794. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19795. PADA_CASCBIAS, 0x3);
  19796. cascbias = 0x30;
  19797. if ((pi->sh->chip == BCMA_CHIP_ID_BCM43224 ||
  19798. pi->sh->chip == BCMA_CHIP_ID_BCM43225) &&
  19799. pi->sh->chippkg == BCMA_PKG_ID_BCM43224_FAB_SMIC)
  19800. cascbias = 0x35;
  19801. pabias = (pi->phy_pabias == 0) ? 0x30 : pi->phy_pabias;
  19802. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19803. INTPAA_IAUX_STAT, pabias);
  19804. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19805. INTPAA_IMAIN_STAT, pabias);
  19806. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19807. INTPAA_CASCBIAS, cascbias);
  19808. }
  19809. }
  19810. udelay(50);
  19811. wlc_phy_radio205x_vcocal_nphy(pi);
  19812. }
  19813. void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi)
  19814. {
  19815. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19816. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x0);
  19817. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04, 0x0);
  19818. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04,
  19819. (1 << 2));
  19820. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x01);
  19821. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19822. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL12, 0x0);
  19823. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19824. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x18);
  19825. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19826. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x39);
  19827. }
  19828. udelay(300);
  19829. }
  19830. static void
  19831. wlc_phy_chanspec_radio2057_setup(
  19832. struct brcms_phy *pi,
  19833. const struct chan_info_nphy_radio2057 *ci,
  19834. const struct chan_info_nphy_radio2057_rev5 *
  19835. ci2)
  19836. {
  19837. int coreNum;
  19838. u16 txmix2g_tune_boost_pu = 0;
  19839. u16 pad2g_tune_pus = 0;
  19840. if (pi->pubpi.radiorev == 5) {
  19841. write_radio_reg(pi,
  19842. RADIO_2057_VCOCAL_COUNTVAL0,
  19843. ci2->RF_vcocal_countval0);
  19844. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19845. ci2->RF_vcocal_countval1);
  19846. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19847. ci2->RF_rfpll_refmaster_sparextalsize);
  19848. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19849. ci2->RF_rfpll_loopfilter_r1);
  19850. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19851. ci2->RF_rfpll_loopfilter_c2);
  19852. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19853. ci2->RF_rfpll_loopfilter_c1);
  19854. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC,
  19855. ci2->RF_cp_kpd_idac);
  19856. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci2->RF_rfpll_mmd0);
  19857. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci2->RF_rfpll_mmd1);
  19858. write_radio_reg(pi,
  19859. RADIO_2057_VCOBUF_TUNE, ci2->RF_vcobuf_tune);
  19860. write_radio_reg(pi,
  19861. RADIO_2057_LOGEN_MX2G_TUNE,
  19862. ci2->RF_logen_mx2g_tune);
  19863. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19864. ci2->RF_logen_indbuf2g_tune);
  19865. write_radio_reg(pi,
  19866. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19867. ci2->RF_txmix2g_tune_boost_pu_core0);
  19868. write_radio_reg(pi,
  19869. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19870. ci2->RF_pad2g_tune_pus_core0);
  19871. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19872. ci2->RF_lna2g_tune_core0);
  19873. write_radio_reg(pi,
  19874. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19875. ci2->RF_txmix2g_tune_boost_pu_core1);
  19876. write_radio_reg(pi,
  19877. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19878. ci2->RF_pad2g_tune_pus_core1);
  19879. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19880. ci2->RF_lna2g_tune_core1);
  19881. } else {
  19882. write_radio_reg(pi,
  19883. RADIO_2057_VCOCAL_COUNTVAL0,
  19884. ci->RF_vcocal_countval0);
  19885. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19886. ci->RF_vcocal_countval1);
  19887. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19888. ci->RF_rfpll_refmaster_sparextalsize);
  19889. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19890. ci->RF_rfpll_loopfilter_r1);
  19891. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19892. ci->RF_rfpll_loopfilter_c2);
  19893. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19894. ci->RF_rfpll_loopfilter_c1);
  19895. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, ci->RF_cp_kpd_idac);
  19896. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci->RF_rfpll_mmd0);
  19897. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci->RF_rfpll_mmd1);
  19898. write_radio_reg(pi, RADIO_2057_VCOBUF_TUNE, ci->RF_vcobuf_tune);
  19899. write_radio_reg(pi,
  19900. RADIO_2057_LOGEN_MX2G_TUNE,
  19901. ci->RF_logen_mx2g_tune);
  19902. write_radio_reg(pi, RADIO_2057_LOGEN_MX5G_TUNE,
  19903. ci->RF_logen_mx5g_tune);
  19904. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19905. ci->RF_logen_indbuf2g_tune);
  19906. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF5G_TUNE,
  19907. ci->RF_logen_indbuf5g_tune);
  19908. write_radio_reg(pi,
  19909. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19910. ci->RF_txmix2g_tune_boost_pu_core0);
  19911. write_radio_reg(pi,
  19912. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19913. ci->RF_pad2g_tune_pus_core0);
  19914. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE0,
  19915. ci->RF_pga_boost_tune_core0);
  19916. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE0,
  19917. ci->RF_txmix5g_boost_tune_core0);
  19918. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE0,
  19919. ci->RF_pad5g_tune_misc_pus_core0);
  19920. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19921. ci->RF_lna2g_tune_core0);
  19922. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE0,
  19923. ci->RF_lna5g_tune_core0);
  19924. write_radio_reg(pi,
  19925. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19926. ci->RF_txmix2g_tune_boost_pu_core1);
  19927. write_radio_reg(pi,
  19928. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19929. ci->RF_pad2g_tune_pus_core1);
  19930. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE1,
  19931. ci->RF_pga_boost_tune_core1);
  19932. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE1,
  19933. ci->RF_txmix5g_boost_tune_core1);
  19934. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE1,
  19935. ci->RF_pad5g_tune_misc_pus_core1);
  19936. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19937. ci->RF_lna2g_tune_core1);
  19938. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE1,
  19939. ci->RF_lna5g_tune_core1);
  19940. }
  19941. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19942. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19943. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19944. 0x3f);
  19945. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19946. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19947. 0x8);
  19948. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19949. 0x8);
  19950. } else {
  19951. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19952. 0x1f);
  19953. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19954. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19955. 0x8);
  19956. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19957. 0x8);
  19958. }
  19959. } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) ||
  19960. (pi->pubpi.radiorev == 8)) {
  19961. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19962. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19963. 0x1b);
  19964. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x30);
  19965. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19966. 0xa);
  19967. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19968. 0xa);
  19969. } else {
  19970. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19971. 0x1f);
  19972. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19973. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19974. 0x8);
  19975. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19976. 0x8);
  19977. }
  19978. }
  19979. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19980. if (PHY_IPA(pi)) {
  19981. if (pi->pubpi.radiorev == 3)
  19982. txmix2g_tune_boost_pu = 0x6b;
  19983. if (pi->pubpi.radiorev == 5)
  19984. pad2g_tune_pus = 0x73;
  19985. } else {
  19986. if (pi->pubpi.radiorev != 5) {
  19987. pad2g_tune_pus = 0x3;
  19988. txmix2g_tune_boost_pu = 0x61;
  19989. }
  19990. }
  19991. for (coreNum = 0; coreNum <= 1; coreNum++) {
  19992. if (txmix2g_tune_boost_pu != 0)
  19993. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  19994. TXMIX2G_TUNE_BOOST_PU,
  19995. txmix2g_tune_boost_pu);
  19996. if (pad2g_tune_pus != 0)
  19997. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  19998. PAD2G_TUNE_PUS,
  19999. pad2g_tune_pus);
  20000. }
  20001. }
  20002. udelay(50);
  20003. wlc_phy_radio205x_vcocal_nphy(pi);
  20004. }
  20005. static void
  20006. wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec,
  20007. const struct nphy_sfo_cfg *ci)
  20008. {
  20009. u16 val;
  20010. val = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  20011. if (CHSPEC_IS5G(chanspec) && !val) {
  20012. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20013. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20014. (val | MAC_PHY_FORCE_CLK));
  20015. or_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20016. (BBCFG_RESETCCA | BBCFG_RESETRX));
  20017. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20018. or_phy_reg(pi, 0x09, NPHY_BandControl_currentBand);
  20019. } else if (!CHSPEC_IS5G(chanspec) && val) {
  20020. and_phy_reg(pi, 0x09, ~NPHY_BandControl_currentBand);
  20021. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20022. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20023. (val | MAC_PHY_FORCE_CLK));
  20024. and_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20025. (u16) (~(BBCFG_RESETCCA | BBCFG_RESETRX)));
  20026. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20027. }
  20028. write_phy_reg(pi, 0x1ce, ci->PHY_BW1a);
  20029. write_phy_reg(pi, 0x1cf, ci->PHY_BW2);
  20030. write_phy_reg(pi, 0x1d0, ci->PHY_BW3);
  20031. write_phy_reg(pi, 0x1d1, ci->PHY_BW4);
  20032. write_phy_reg(pi, 0x1d2, ci->PHY_BW5);
  20033. write_phy_reg(pi, 0x1d3, ci->PHY_BW6);
  20034. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  20035. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en, 0);
  20036. or_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, 0x800);
  20037. } else {
  20038. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en,
  20039. NPHY_ClassifierCtrl_ofdm_en);
  20040. if (CHSPEC_IS2G(chanspec))
  20041. and_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, ~0x840);
  20042. }
  20043. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF)
  20044. wlc_phy_txpwr_fixpower_nphy(pi);
  20045. if (NREV_LT(pi->pubpi.phy_rev, 3))
  20046. wlc_phy_adjust_lnagaintbl_nphy(pi);
  20047. wlc_phy_txlpfbw_nphy(pi);
  20048. if (NREV_GE(pi->pubpi.phy_rev, 3)
  20049. && (pi->phy_spuravoid != SPURAVOID_DISABLE)) {
  20050. u8 spuravoid = 0;
  20051. val = CHSPEC_CHANNEL(chanspec);
  20052. if (!CHSPEC_IS40(pi->radio_chanspec)) {
  20053. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20054. if ((val == 13) || (val == 14) || (val == 153))
  20055. spuravoid = 1;
  20056. } else if (((val >= 5) && (val <= 8)) || (val == 13)
  20057. || (val == 14)) {
  20058. spuravoid = 1;
  20059. }
  20060. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20061. if (val == 54)
  20062. spuravoid = 1;
  20063. } else if (pi->nphy_aband_spurwar_en &&
  20064. ((val == 38) || (val == 102) || (val == 118))) {
  20065. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716)
  20066. && (pi->sh->chippkg == BCMA_PKG_ID_BCM4717)) {
  20067. spuravoid = 0;
  20068. } else {
  20069. spuravoid = 1;
  20070. }
  20071. }
  20072. if (pi->phy_spuravoid == SPURAVOID_FORCEON)
  20073. spuravoid = 1;
  20074. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  20075. (pi->sh->chip == BCMA_CHIP_ID_BCM43225)) {
  20076. bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc,
  20077. spuravoid);
  20078. } else {
  20079. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, false);
  20080. bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc,
  20081. spuravoid);
  20082. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, true);
  20083. }
  20084. if ((pi->sh->chip == BCMA_CHIP_ID_BCM43224) ||
  20085. (pi->sh->chip == BCMA_CHIP_ID_BCM43225)) {
  20086. if (spuravoid == 1) {
  20087. bcma_write16(pi->d11core,
  20088. D11REGOFFS(tsf_clk_frac_l),
  20089. 0x5341);
  20090. bcma_write16(pi->d11core,
  20091. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20092. } else {
  20093. bcma_write16(pi->d11core,
  20094. D11REGOFFS(tsf_clk_frac_l),
  20095. 0x8889);
  20096. bcma_write16(pi->d11core,
  20097. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20098. }
  20099. }
  20100. if (!((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  20101. (pi->sh->chip == BCMA_CHIP_ID_BCM47162)))
  20102. wlapi_bmac_core_phypll_reset(pi->sh->physhim);
  20103. mod_phy_reg(pi, 0x01, (0x1 << 15),
  20104. ((spuravoid > 0) ? (0x1 << 15) : 0));
  20105. wlc_phy_resetcca_nphy(pi);
  20106. pi->phy_isspuravoid = (spuravoid > 0);
  20107. }
  20108. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20109. write_phy_reg(pi, 0x17e, 0x3830);
  20110. wlc_phy_spurwar_nphy(pi);
  20111. }
  20112. void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec)
  20113. {
  20114. int freq;
  20115. const struct chan_info_nphy_radio2057 *t0 = NULL;
  20116. const struct chan_info_nphy_radio205x *t1 = NULL;
  20117. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  20118. const struct chan_info_nphy_2055 *t3 = NULL;
  20119. if (!wlc_phy_chan2freq_nphy
  20120. (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
  20121. return;
  20122. wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
  20123. if (CHSPEC_BW(chanspec) != pi->bw)
  20124. wlapi_bmac_bw_set(pi->sh->physhim, CHSPEC_BW(chanspec));
  20125. if (CHSPEC_IS40(chanspec)) {
  20126. if (CHSPEC_SB_UPPER(chanspec)) {
  20127. or_phy_reg(pi, 0xa0, BPHY_BAND_SEL_UP20);
  20128. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20129. or_phy_reg(pi, 0x310, PRIM_SEL_UP20);
  20130. } else {
  20131. and_phy_reg(pi, 0xa0, ~BPHY_BAND_SEL_UP20);
  20132. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20133. and_phy_reg(pi, 0x310,
  20134. (~PRIM_SEL_UP20 & 0xffff));
  20135. }
  20136. }
  20137. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20138. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20139. if ((pi->pubpi.radiorev <= 4)
  20140. || (pi->pubpi.radiorev == 6)) {
  20141. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE0,
  20142. 0x2,
  20143. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20144. : 0));
  20145. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE1,
  20146. 0x2,
  20147. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20148. : 0));
  20149. }
  20150. wlc_phy_chanspec_radio2057_setup(pi, t0, t2);
  20151. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20152. (pi->pubpi.radiorev == 5) ?
  20153. (const struct nphy_sfo_cfg *)&(t2->PHY_BW1a) :
  20154. (const struct nphy_sfo_cfg *)&(t0->PHY_BW1a));
  20155. } else {
  20156. mod_radio_reg(pi,
  20157. RADIO_2056_SYN_COM_CTRL | RADIO_2056_SYN,
  20158. 0x4,
  20159. (CHSPEC_IS5G(chanspec) ? (0x1 << 2) : 0));
  20160. wlc_phy_chanspec_radio2056_setup(pi, t1);
  20161. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20162. (const struct nphy_sfo_cfg *) &(t1->PHY_BW1a));
  20163. }
  20164. } else {
  20165. mod_radio_reg(pi, RADIO_2055_MASTER_CNTRL1, 0x70,
  20166. (CHSPEC_IS5G(chanspec) ? (0x02 << 4)
  20167. : (0x05 << 4)));
  20168. wlc_phy_chanspec_radio2055_setup(pi, t3);
  20169. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20170. (const struct nphy_sfo_cfg *)
  20171. &(t3->PHY_BW1a));
  20172. }
  20173. }
  20174. void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
  20175. {
  20176. struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro);
  20177. u16 mask = 0xfc00;
  20178. u32 mc = 0;
  20179. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20180. return;
  20181. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20182. u16 v0 = 0x211, v1 = 0x222, v2 = 0x144, v3 = 0x188;
  20183. if (!lut_init)
  20184. return;
  20185. if (pi->srom_fem2g.antswctrllut == 0) {
  20186. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20187. 1, 0x02, 16, &v0);
  20188. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20189. 1, 0x03, 16, &v1);
  20190. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20191. 1, 0x08, 16, &v2);
  20192. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20193. 1, 0x0C, 16, &v3);
  20194. }
  20195. if (pi->srom_fem5g.antswctrllut == 0) {
  20196. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20197. 1, 0x12, 16, &v0);
  20198. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20199. 1, 0x13, 16, &v1);
  20200. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20201. 1, 0x18, 16, &v2);
  20202. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20203. 1, 0x1C, 16, &v3);
  20204. }
  20205. } else {
  20206. write_phy_reg(pi, 0xc8, 0x0);
  20207. write_phy_reg(pi, 0xc9, 0x0);
  20208. bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, mask, mask);
  20209. mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  20210. mc &= ~MCTL_GPOUT_SEL_MASK;
  20211. bcma_write32(pi->d11core, D11REGOFFS(maccontrol), mc);
  20212. bcma_set16(pi->d11core, D11REGOFFS(psm_gpio_oe), mask);
  20213. bcma_mask16(pi->d11core, D11REGOFFS(psm_gpio_out), ~mask);
  20214. if (lut_init) {
  20215. write_phy_reg(pi, 0xf8, 0x02d8);
  20216. write_phy_reg(pi, 0xf9, 0x0301);
  20217. write_phy_reg(pi, 0xfa, 0x02d8);
  20218. write_phy_reg(pi, 0xfb, 0x0301);
  20219. }
  20220. }
  20221. }
  20222. u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val)
  20223. {
  20224. u16 curr_ctl, new_ctl;
  20225. bool suspended = false;
  20226. if (D11REV_IS(pi->sh->corerev, 16)) {
  20227. suspended = (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  20228. MCTL_EN_MAC) ? false : true;
  20229. if (!suspended)
  20230. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  20231. }
  20232. curr_ctl = read_phy_reg(pi, 0xb0) & (0x7 << 0);
  20233. new_ctl = (curr_ctl & (~mask)) | (val & mask);
  20234. mod_phy_reg(pi, 0xb0, (0x7 << 0), new_ctl);
  20235. if (D11REV_IS(pi->sh->corerev, 16) && !suspended)
  20236. wlapi_enable_mac(pi->sh->physhim);
  20237. return new_ctl;
  20238. }
  20239. void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd)
  20240. {
  20241. u16 trigger_mask, status_mask;
  20242. u16 orig_RfseqCoreActv;
  20243. switch (cmd) {
  20244. case NPHY_RFSEQ_RX2TX:
  20245. trigger_mask = NPHY_RfseqTrigger_rx2tx;
  20246. status_mask = NPHY_RfseqStatus_rx2tx;
  20247. break;
  20248. case NPHY_RFSEQ_TX2RX:
  20249. trigger_mask = NPHY_RfseqTrigger_tx2rx;
  20250. status_mask = NPHY_RfseqStatus_tx2rx;
  20251. break;
  20252. case NPHY_RFSEQ_RESET2RX:
  20253. trigger_mask = NPHY_RfseqTrigger_reset2rx;
  20254. status_mask = NPHY_RfseqStatus_reset2rx;
  20255. break;
  20256. case NPHY_RFSEQ_UPDATEGAINH:
  20257. trigger_mask = NPHY_RfseqTrigger_updategainh;
  20258. status_mask = NPHY_RfseqStatus_updategainh;
  20259. break;
  20260. case NPHY_RFSEQ_UPDATEGAINL:
  20261. trigger_mask = NPHY_RfseqTrigger_updategainl;
  20262. status_mask = NPHY_RfseqStatus_updategainl;
  20263. break;
  20264. case NPHY_RFSEQ_UPDATEGAINU:
  20265. trigger_mask = NPHY_RfseqTrigger_updategainu;
  20266. status_mask = NPHY_RfseqStatus_updategainu;
  20267. break;
  20268. default:
  20269. return;
  20270. }
  20271. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  20272. or_phy_reg(pi, 0xa1,
  20273. (NPHY_RfseqMode_CoreActv_override |
  20274. NPHY_RfseqMode_Trigger_override));
  20275. or_phy_reg(pi, 0xa3, trigger_mask);
  20276. SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000);
  20277. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  20278. WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf");
  20279. }
  20280. static void
  20281. wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value,
  20282. u8 core_mask, u8 off)
  20283. {
  20284. u16 rfmxgain = 0, lpfgain = 0;
  20285. u16 tgain = 0;
  20286. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20287. switch (cmd) {
  20288. case NPHY_REV7_RfctrlOverride_cmd_rxrf_pu:
  20289. wlc_phy_rfctrl_override_nphy_rev7(
  20290. pi, (0x1 << 5),
  20291. value, core_mask, off,
  20292. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20293. wlc_phy_rfctrl_override_nphy_rev7(
  20294. pi, (0x1 << 4), value,
  20295. core_mask, off,
  20296. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20297. wlc_phy_rfctrl_override_nphy_rev7(
  20298. pi, (0x1 << 3), value,
  20299. core_mask, off,
  20300. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20301. break;
  20302. case NPHY_REV7_RfctrlOverride_cmd_rx_pu:
  20303. wlc_phy_rfctrl_override_nphy_rev7(
  20304. pi, (0x1 << 2),
  20305. value, core_mask, off,
  20306. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20307. wlc_phy_rfctrl_override_nphy_rev7(
  20308. pi, (0x1 << 1), value,
  20309. core_mask, off,
  20310. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20311. wlc_phy_rfctrl_override_nphy_rev7(
  20312. pi, (0x1 << 0), value,
  20313. core_mask, off,
  20314. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20315. wlc_phy_rfctrl_override_nphy_rev7(
  20316. pi, (0x1 << 1), value,
  20317. core_mask, off,
  20318. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20319. wlc_phy_rfctrl_override_nphy_rev7(
  20320. pi, (0x1 << 11), 0,
  20321. core_mask, off,
  20322. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20323. break;
  20324. case NPHY_REV7_RfctrlOverride_cmd_tx_pu:
  20325. wlc_phy_rfctrl_override_nphy_rev7(
  20326. pi, (0x1 << 2),
  20327. value, core_mask, off,
  20328. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20329. wlc_phy_rfctrl_override_nphy_rev7(
  20330. pi, (0x1 << 1), value,
  20331. core_mask, off,
  20332. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20333. wlc_phy_rfctrl_override_nphy_rev7(
  20334. pi, (0x1 << 0), value,
  20335. core_mask, off,
  20336. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20337. wlc_phy_rfctrl_override_nphy_rev7(
  20338. pi, (0x1 << 2), value,
  20339. core_mask, off,
  20340. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20341. wlc_phy_rfctrl_override_nphy_rev7(
  20342. pi, (0x1 << 11), 1,
  20343. core_mask, off,
  20344. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20345. break;
  20346. case NPHY_REV7_RfctrlOverride_cmd_rxgain:
  20347. rfmxgain = value & 0x000ff;
  20348. lpfgain = value & 0x0ff00;
  20349. lpfgain = lpfgain >> 8;
  20350. wlc_phy_rfctrl_override_nphy_rev7(
  20351. pi, (0x1 << 11),
  20352. rfmxgain, core_mask,
  20353. off,
  20354. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20355. wlc_phy_rfctrl_override_nphy_rev7(
  20356. pi, (0x3 << 13),
  20357. lpfgain, core_mask,
  20358. off,
  20359. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20360. break;
  20361. case NPHY_REV7_RfctrlOverride_cmd_txgain:
  20362. tgain = value & 0x7fff;
  20363. lpfgain = value & 0x8000;
  20364. lpfgain = lpfgain >> 14;
  20365. wlc_phy_rfctrl_override_nphy_rev7(
  20366. pi, (0x1 << 12),
  20367. tgain, core_mask, off,
  20368. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20369. wlc_phy_rfctrl_override_nphy_rev7(
  20370. pi, (0x1 << 13),
  20371. lpfgain, core_mask,
  20372. off,
  20373. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20374. break;
  20375. }
  20376. }
  20377. }
  20378. static void
  20379. wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset,
  20380. u8 coresel, u8 rail, u8 rssi_type)
  20381. {
  20382. u16 valuetostuff;
  20383. offset = (offset > NPHY_RSSICAL_MAXREAD) ?
  20384. NPHY_RSSICAL_MAXREAD : offset;
  20385. offset = (offset < (-NPHY_RSSICAL_MAXREAD - 1)) ?
  20386. -NPHY_RSSICAL_MAXREAD - 1 : offset;
  20387. valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f);
  20388. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20389. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20390. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20391. write_phy_reg(pi, 0x1a6, valuetostuff);
  20392. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20393. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20394. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20395. write_phy_reg(pi, 0x1ac, valuetostuff);
  20396. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20397. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20398. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20399. write_phy_reg(pi, 0x1b2, valuetostuff);
  20400. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20401. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20402. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20403. write_phy_reg(pi, 0x1b8, valuetostuff);
  20404. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20405. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20406. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20407. write_phy_reg(pi, 0x1a4, valuetostuff);
  20408. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20409. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20410. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20411. write_phy_reg(pi, 0x1aa, valuetostuff);
  20412. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20413. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20414. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20415. write_phy_reg(pi, 0x1b0, valuetostuff);
  20416. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20417. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20418. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20419. write_phy_reg(pi, 0x1b6, valuetostuff);
  20420. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20421. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20422. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20423. write_phy_reg(pi, 0x1a5, valuetostuff);
  20424. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20425. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20426. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20427. write_phy_reg(pi, 0x1ab, valuetostuff);
  20428. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20429. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20430. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20431. write_phy_reg(pi, 0x1b1, valuetostuff);
  20432. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20433. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20434. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20435. write_phy_reg(pi, 0x1b7, valuetostuff);
  20436. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20437. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20438. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20439. write_phy_reg(pi, 0x1a7, valuetostuff);
  20440. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20441. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20442. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20443. write_phy_reg(pi, 0x1ad, valuetostuff);
  20444. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20445. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20446. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20447. write_phy_reg(pi, 0x1b3, valuetostuff);
  20448. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20449. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20450. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20451. write_phy_reg(pi, 0x1b9, valuetostuff);
  20452. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20453. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20454. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20455. write_phy_reg(pi, 0x1a8, valuetostuff);
  20456. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20457. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20458. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20459. write_phy_reg(pi, 0x1ae, valuetostuff);
  20460. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20461. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20462. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20463. write_phy_reg(pi, 0x1b4, valuetostuff);
  20464. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20465. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20466. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20467. write_phy_reg(pi, 0x1ba, valuetostuff);
  20468. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20469. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20470. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20471. write_phy_reg(pi, 0x1a9, valuetostuff);
  20472. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20473. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20474. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20475. write_phy_reg(pi, 0x1b5, valuetostuff);
  20476. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20477. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20478. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20479. write_phy_reg(pi, 0x1af, valuetostuff);
  20480. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20481. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20482. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20483. write_phy_reg(pi, 0x1bb, valuetostuff);
  20484. }
  20485. static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core)
  20486. {
  20487. if (PHY_IPA(pi)) {
  20488. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20489. write_radio_reg(pi,
  20490. ((core == PHY_CORE_0) ?
  20491. RADIO_2057_TX0_TX_SSI_MUX :
  20492. RADIO_2057_TX1_TX_SSI_MUX),
  20493. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20494. 0xc : 0xe));
  20495. else
  20496. write_radio_reg(pi,
  20497. RADIO_2056_TX_TX_SSI_MUX |
  20498. ((core == PHY_CORE_0) ?
  20499. RADIO_2056_TX0 : RADIO_2056_TX1),
  20500. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20501. 0xc : 0xe));
  20502. } else {
  20503. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20504. write_radio_reg(pi,
  20505. ((core == PHY_CORE_0) ?
  20506. RADIO_2057_TX0_TX_SSI_MUX :
  20507. RADIO_2057_TX1_TX_SSI_MUX),
  20508. 0x11);
  20509. if (pi->pubpi.radioid == BCM2057_ID)
  20510. write_radio_reg(pi,
  20511. RADIO_2057_IQTEST_SEL_PU, 0x1);
  20512. } else {
  20513. write_radio_reg(pi,
  20514. RADIO_2056_TX_TX_SSI_MUX |
  20515. ((core == PHY_CORE_0) ?
  20516. RADIO_2056_TX0 : RADIO_2056_TX1),
  20517. 0x11);
  20518. }
  20519. }
  20520. }
  20521. void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type)
  20522. {
  20523. u16 mask, val;
  20524. u16 afectrlovr_rssi_val, rfctrlcmd_rxen_val, rfctrlcmd_coresel_val,
  20525. startseq;
  20526. u16 rfctrlovr_rssi_val, rfctrlovr_rxen_val, rfctrlovr_coresel_val,
  20527. rfctrlovr_trigger_val;
  20528. u16 afectrlovr_rssi_mask, rfctrlcmd_mask, rfctrlovr_mask;
  20529. u16 rfctrlcmd_val, rfctrlovr_val;
  20530. u8 core;
  20531. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20532. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20533. mod_phy_reg(pi, 0x8f, (0x1 << 9), 0);
  20534. mod_phy_reg(pi, 0xa5, (0x1 << 9), 0);
  20535. mod_phy_reg(pi, 0xa6, (0x3 << 8), 0);
  20536. mod_phy_reg(pi, 0xa7, (0x3 << 8), 0);
  20537. mod_phy_reg(pi, 0xe5, (0x1 << 5), 0);
  20538. mod_phy_reg(pi, 0xe6, (0x1 << 5), 0);
  20539. mask = (0x1 << 2) |
  20540. (0x1 << 3) | (0x1 << 4) | (0x1 << 5);
  20541. mod_phy_reg(pi, 0xf9, mask, 0);
  20542. mod_phy_reg(pi, 0xfb, mask, 0);
  20543. } else {
  20544. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20545. if (core_code == RADIO_MIMO_CORESEL_CORE1
  20546. && core == PHY_CORE_1)
  20547. continue;
  20548. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  20549. && core == PHY_CORE_0)
  20550. continue;
  20551. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20552. 0x8f : 0xa5, (0x1 << 9), 1 << 9);
  20553. if (rssi_type == NPHY_RSSI_SEL_W1 ||
  20554. rssi_type == NPHY_RSSI_SEL_W2 ||
  20555. rssi_type == NPHY_RSSI_SEL_NB) {
  20556. mod_phy_reg(pi,
  20557. (core ==
  20558. PHY_CORE_0) ? 0xa6 : 0xa7,
  20559. (0x3 << 8), 0);
  20560. mask = (0x1 << 2) |
  20561. (0x1 << 3) |
  20562. (0x1 << 4) | (0x1 << 5);
  20563. mod_phy_reg(pi,
  20564. (core ==
  20565. PHY_CORE_0) ? 0xf9 : 0xfb,
  20566. mask, 0);
  20567. if (rssi_type == NPHY_RSSI_SEL_W1) {
  20568. if (CHSPEC_IS5G(
  20569. pi->radio_chanspec)) {
  20570. mask = (0x1 << 2);
  20571. val = 1 << 2;
  20572. } else {
  20573. mask = (0x1 << 3);
  20574. val = 1 << 3;
  20575. }
  20576. } else if (rssi_type ==
  20577. NPHY_RSSI_SEL_W2) {
  20578. mask = (0x1 << 4);
  20579. val = 1 << 4;
  20580. } else {
  20581. mask = (0x1 << 5);
  20582. val = 1 << 5;
  20583. }
  20584. mod_phy_reg(pi,
  20585. (core ==
  20586. PHY_CORE_0) ? 0xf9 : 0xfb,
  20587. mask, val);
  20588. mask = (0x1 << 5);
  20589. val = 1 << 5;
  20590. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20591. 0xe5 : 0xe6, mask, val);
  20592. } else {
  20593. if (rssi_type == NPHY_RSSI_SEL_TBD) {
  20594. mask = (0x3 << 8);
  20595. val = 1 << 8;
  20596. mod_phy_reg(pi,
  20597. (core ==
  20598. PHY_CORE_0) ? 0xa6
  20599. : 0xa7, mask, val);
  20600. mask = (0x3 << 10);
  20601. val = 1 << 10;
  20602. mod_phy_reg(pi,
  20603. (core ==
  20604. PHY_CORE_0) ? 0xa6
  20605. : 0xa7, mask, val);
  20606. } else if (rssi_type ==
  20607. NPHY_RSSI_SEL_IQ) {
  20608. mask = (0x3 << 8);
  20609. val = 2 << 8;
  20610. mod_phy_reg(pi,
  20611. (core ==
  20612. PHY_CORE_0) ? 0xa6
  20613. : 0xa7, mask, val);
  20614. mask = (0x3 << 10);
  20615. val = 2 << 10;
  20616. mod_phy_reg(pi,
  20617. (core ==
  20618. PHY_CORE_0) ? 0xa6
  20619. : 0xa7, mask, val);
  20620. } else {
  20621. mask = (0x3 << 8);
  20622. val = 3 << 8;
  20623. mod_phy_reg(pi,
  20624. (core ==
  20625. PHY_CORE_0) ? 0xa6
  20626. : 0xa7, mask, val);
  20627. mask = (0x3 << 10);
  20628. val = 3 << 10;
  20629. mod_phy_reg(pi,
  20630. (core ==
  20631. PHY_CORE_0) ? 0xa6
  20632. : 0xa7, mask, val);
  20633. brcms_phy_wr_tx_mux(pi, core);
  20634. afectrlovr_rssi_val = 1 << 9;
  20635. mod_phy_reg(pi,
  20636. (core ==
  20637. PHY_CORE_0) ? 0x8f
  20638. : 0xa5, (0x1 << 9),
  20639. afectrlovr_rssi_val);
  20640. }
  20641. }
  20642. }
  20643. }
  20644. } else {
  20645. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20646. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20647. (rssi_type == NPHY_RSSI_SEL_NB))
  20648. val = 0x0;
  20649. else if (rssi_type == NPHY_RSSI_SEL_TBD)
  20650. val = 0x1;
  20651. else if (rssi_type == NPHY_RSSI_SEL_IQ)
  20652. val = 0x2;
  20653. else
  20654. val = 0x3;
  20655. mask = ((0x3 << 12) | (0x3 << 14));
  20656. val = (val << 12) | (val << 14);
  20657. mod_phy_reg(pi, 0xa6, mask, val);
  20658. mod_phy_reg(pi, 0xa7, mask, val);
  20659. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20660. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20661. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20662. if (rssi_type == NPHY_RSSI_SEL_W1)
  20663. val = 0x1;
  20664. if (rssi_type == NPHY_RSSI_SEL_W2)
  20665. val = 0x2;
  20666. if (rssi_type == NPHY_RSSI_SEL_NB)
  20667. val = 0x3;
  20668. mask = (0x3 << 4);
  20669. val = (val << 4);
  20670. mod_phy_reg(pi, 0x7a, mask, val);
  20671. mod_phy_reg(pi, 0x7d, mask, val);
  20672. }
  20673. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20674. afectrlovr_rssi_val = 0;
  20675. rfctrlcmd_rxen_val = 0;
  20676. rfctrlcmd_coresel_val = 0;
  20677. rfctrlovr_rssi_val = 0;
  20678. rfctrlovr_rxen_val = 0;
  20679. rfctrlovr_coresel_val = 0;
  20680. rfctrlovr_trigger_val = 0;
  20681. startseq = 0;
  20682. } else {
  20683. afectrlovr_rssi_val = 1;
  20684. rfctrlcmd_rxen_val = 1;
  20685. rfctrlcmd_coresel_val = core_code;
  20686. rfctrlovr_rssi_val = 1;
  20687. rfctrlovr_rxen_val = 1;
  20688. rfctrlovr_coresel_val = 1;
  20689. rfctrlovr_trigger_val = 1;
  20690. startseq = 1;
  20691. }
  20692. afectrlovr_rssi_mask = ((0x1 << 12) | (0x1 << 13));
  20693. afectrlovr_rssi_val = (afectrlovr_rssi_val <<
  20694. 12) | (afectrlovr_rssi_val << 13);
  20695. mod_phy_reg(pi, 0xa5, afectrlovr_rssi_mask,
  20696. afectrlovr_rssi_val);
  20697. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20698. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20699. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20700. rfctrlcmd_mask = ((0x1 << 8) | (0x7 << 3));
  20701. rfctrlcmd_val = (rfctrlcmd_rxen_val << 8) |
  20702. (rfctrlcmd_coresel_val << 3);
  20703. rfctrlovr_mask = ((0x1 << 5) |
  20704. (0x1 << 12) |
  20705. (0x1 << 1) | (0x1 << 0));
  20706. rfctrlovr_val = (rfctrlovr_rssi_val <<
  20707. 5) |
  20708. (rfctrlovr_rxen_val << 12) |
  20709. (rfctrlovr_coresel_val << 1) |
  20710. (rfctrlovr_trigger_val << 0);
  20711. mod_phy_reg(pi, 0x78, rfctrlcmd_mask, rfctrlcmd_val);
  20712. mod_phy_reg(pi, 0xec, rfctrlovr_mask, rfctrlovr_val);
  20713. mod_phy_reg(pi, 0x78, (0x1 << 0), (startseq << 0));
  20714. udelay(20);
  20715. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  20716. }
  20717. }
  20718. }
  20719. int
  20720. wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf,
  20721. u8 nsamps)
  20722. {
  20723. s16 rssi0, rssi1;
  20724. u16 afectrlCore1_save = 0;
  20725. u16 afectrlCore2_save = 0;
  20726. u16 afectrlOverride1_save = 0;
  20727. u16 afectrlOverride2_save = 0;
  20728. u16 rfctrlOverrideAux0_save = 0;
  20729. u16 rfctrlOverrideAux1_save = 0;
  20730. u16 rfctrlMiscReg1_save = 0;
  20731. u16 rfctrlMiscReg2_save = 0;
  20732. u16 rfctrlcmd_save = 0;
  20733. u16 rfctrloverride_save = 0;
  20734. u16 rfctrlrssiothers1_save = 0;
  20735. u16 rfctrlrssiothers2_save = 0;
  20736. s8 tmp_buf[4];
  20737. u8 ctr = 0, samp = 0;
  20738. s32 rssi_out_val;
  20739. u16 gpiosel_orig;
  20740. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20741. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20742. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20743. rfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  20744. rfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  20745. afectrlOverride1_save = read_phy_reg(pi, 0x8f);
  20746. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20747. rfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  20748. rfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  20749. } else {
  20750. afectrlOverride1_save = read_phy_reg(pi, 0xa5);
  20751. rfctrlcmd_save = read_phy_reg(pi, 0x78);
  20752. rfctrloverride_save = read_phy_reg(pi, 0xec);
  20753. rfctrlrssiothers1_save = read_phy_reg(pi, 0x7a);
  20754. rfctrlrssiothers2_save = read_phy_reg(pi, 0x7d);
  20755. }
  20756. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  20757. gpiosel_orig = read_phy_reg(pi, 0xca);
  20758. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20759. write_phy_reg(pi, 0xca, 5);
  20760. for (ctr = 0; ctr < 4; ctr++)
  20761. rssi_buf[ctr] = 0;
  20762. for (samp = 0; samp < nsamps; samp++) {
  20763. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  20764. rssi0 = read_phy_reg(pi, 0x1c9);
  20765. rssi1 = read_phy_reg(pi, 0x1ca);
  20766. } else {
  20767. rssi0 = read_phy_reg(pi, 0x219);
  20768. rssi1 = read_phy_reg(pi, 0x21a);
  20769. }
  20770. ctr = 0;
  20771. tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2;
  20772. tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2;
  20773. tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2;
  20774. tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2;
  20775. for (ctr = 0; ctr < 4; ctr++)
  20776. rssi_buf[ctr] += tmp_buf[ctr];
  20777. }
  20778. rssi_out_val = rssi_buf[3] & 0xff;
  20779. rssi_out_val |= (rssi_buf[2] & 0xff) << 8;
  20780. rssi_out_val |= (rssi_buf[1] & 0xff) << 16;
  20781. rssi_out_val |= (rssi_buf[0] & 0xff) << 24;
  20782. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20783. write_phy_reg(pi, 0xca, gpiosel_orig);
  20784. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20785. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20786. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20787. write_phy_reg(pi, 0xf9, rfctrlMiscReg1_save);
  20788. write_phy_reg(pi, 0xfb, rfctrlMiscReg2_save);
  20789. write_phy_reg(pi, 0x8f, afectrlOverride1_save);
  20790. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20791. write_phy_reg(pi, 0xe5, rfctrlOverrideAux0_save);
  20792. write_phy_reg(pi, 0xe6, rfctrlOverrideAux1_save);
  20793. } else {
  20794. write_phy_reg(pi, 0xa5, afectrlOverride1_save);
  20795. write_phy_reg(pi, 0x78, rfctrlcmd_save);
  20796. write_phy_reg(pi, 0xec, rfctrloverride_save);
  20797. write_phy_reg(pi, 0x7a, rfctrlrssiothers1_save);
  20798. write_phy_reg(pi, 0x7d, rfctrlrssiothers2_save);
  20799. }
  20800. return rssi_out_val;
  20801. }
  20802. s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi)
  20803. {
  20804. u16 core1_txrf_iqcal1_save, core1_txrf_iqcal2_save;
  20805. u16 core2_txrf_iqcal1_save, core2_txrf_iqcal2_save;
  20806. u16 pwrdet_rxtx_core1_save;
  20807. u16 pwrdet_rxtx_core2_save;
  20808. u16 afectrlCore1_save;
  20809. u16 afectrlCore2_save;
  20810. u16 afectrlOverride_save;
  20811. u16 afectrlOverride2_save;
  20812. u16 pd_pll_ts_save;
  20813. u16 gpioSel_save;
  20814. s32 radio_temp[4];
  20815. s32 radio_temp2[4];
  20816. u16 syn_tempprocsense_save;
  20817. s16 offset = 0;
  20818. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20819. u16 auxADC_Vmid, auxADC_Av, auxADC_Vmid_save, auxADC_Av_save;
  20820. u16 auxADC_rssi_ctrlL_save, auxADC_rssi_ctrlH_save;
  20821. u16 auxADC_rssi_ctrlL, auxADC_rssi_ctrlH;
  20822. s32 auxADC_Vl;
  20823. u16 RfctrlOverride5_save, RfctrlOverride6_save;
  20824. u16 RfctrlMiscReg5_save, RfctrlMiscReg6_save;
  20825. u16 RSSIMultCoef0QPowerDet_save;
  20826. u16 tempsense_Rcal;
  20827. syn_tempprocsense_save =
  20828. read_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG);
  20829. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20830. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20831. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20832. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20833. RSSIMultCoef0QPowerDet_save = read_phy_reg(pi, 0x1ae);
  20834. RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  20835. RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  20836. RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  20837. RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  20838. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20839. &auxADC_Vmid_save);
  20840. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20841. &auxADC_Av_save);
  20842. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20843. &auxADC_rssi_ctrlL_save);
  20844. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20845. &auxADC_rssi_ctrlH_save);
  20846. write_phy_reg(pi, 0x1ae, 0x0);
  20847. auxADC_rssi_ctrlL = 0x0;
  20848. auxADC_rssi_ctrlH = 0x20;
  20849. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20850. &auxADC_rssi_ctrlL);
  20851. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20852. &auxADC_rssi_ctrlH);
  20853. tempsense_Rcal = syn_tempprocsense_save & 0x1c;
  20854. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20855. tempsense_Rcal | 0x01);
  20856. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  20857. 1, 0, 0,
  20858. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20859. mod_phy_reg(pi, 0xa6, (0x1 << 7), 0);
  20860. mod_phy_reg(pi, 0xa7, (0x1 << 7), 0);
  20861. mod_phy_reg(pi, 0x8f, (0x1 << 7), (0x1 << 7));
  20862. mod_phy_reg(pi, 0xa5, (0x1 << 7), (0x1 << 7));
  20863. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  20864. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  20865. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  20866. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  20867. udelay(5);
  20868. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  20869. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  20870. mod_phy_reg(pi, 0xa6, (0x1 << 3), 0);
  20871. mod_phy_reg(pi, 0xa7, (0x1 << 3), 0);
  20872. mod_phy_reg(pi, 0x8f, (0x1 << 3), (0x1 << 3));
  20873. mod_phy_reg(pi, 0xa5, (0x1 << 3), (0x1 << 3));
  20874. mod_phy_reg(pi, 0xa6, (0x1 << 6), 0);
  20875. mod_phy_reg(pi, 0xa7, (0x1 << 6), 0);
  20876. mod_phy_reg(pi, 0x8f, (0x1 << 6), (0x1 << 6));
  20877. mod_phy_reg(pi, 0xa5, (0x1 << 6), (0x1 << 6));
  20878. auxADC_Vmid = 0xA3;
  20879. auxADC_Av = 0x0;
  20880. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20881. &auxADC_Vmid);
  20882. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20883. &auxADC_Av);
  20884. udelay(3);
  20885. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20886. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20887. tempsense_Rcal | 0x03);
  20888. udelay(5);
  20889. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20890. auxADC_Av = 0x7;
  20891. if (radio_temp[1] + radio_temp2[1] < -30) {
  20892. auxADC_Vmid = 0x45;
  20893. auxADC_Vl = 263;
  20894. } else if (radio_temp[1] + radio_temp2[1] < -9) {
  20895. auxADC_Vmid = 0x200;
  20896. auxADC_Vl = 467;
  20897. } else if (radio_temp[1] + radio_temp2[1] < 11) {
  20898. auxADC_Vmid = 0x266;
  20899. auxADC_Vl = 634;
  20900. } else {
  20901. auxADC_Vmid = 0x2D5;
  20902. auxADC_Vl = 816;
  20903. }
  20904. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20905. &auxADC_Vmid);
  20906. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20907. &auxADC_Av);
  20908. udelay(3);
  20909. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20910. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20911. tempsense_Rcal | 0x01);
  20912. udelay(5);
  20913. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20914. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20915. syn_tempprocsense_save);
  20916. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20917. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20918. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  20919. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20920. write_phy_reg(pi, 0x1ae, RSSIMultCoef0QPowerDet_save);
  20921. write_phy_reg(pi, 0x346, RfctrlOverride5_save);
  20922. write_phy_reg(pi, 0x347, RfctrlOverride6_save);
  20923. write_phy_reg(pi, 0x344, RfctrlMiscReg5_save);
  20924. write_phy_reg(pi, 0x345, RfctrlMiscReg5_save);
  20925. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20926. &auxADC_Vmid_save);
  20927. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20928. &auxADC_Av_save);
  20929. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20930. &auxADC_rssi_ctrlL_save);
  20931. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20932. &auxADC_rssi_ctrlH_save);
  20933. if (pi->sh->chip == BCMA_CHIP_ID_BCM5357) {
  20934. radio_temp[0] = (193 * (radio_temp[1] + radio_temp2[1])
  20935. + 88 * (auxADC_Vl) - 27111 +
  20936. 128) / 256;
  20937. } else {
  20938. radio_temp[0] = (179 * (radio_temp[1] + radio_temp2[1])
  20939. + 82 * (auxADC_Vl) - 28861 +
  20940. 128) / 256;
  20941. }
  20942. offset = (s16) pi->phy_tempsense_offset;
  20943. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20944. syn_tempprocsense_save =
  20945. read_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE);
  20946. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20947. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20948. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20949. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20950. gpioSel_save = read_phy_reg(pi, 0xca);
  20951. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  20952. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20953. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20954. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x05);
  20955. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20956. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20957. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x01);
  20958. else
  20959. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  20960. radio_temp[0] =
  20961. (126 * (radio_temp[1] + radio_temp2[1]) + 3987) / 64;
  20962. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE,
  20963. syn_tempprocsense_save);
  20964. write_phy_reg(pi, 0xca, gpioSel_save);
  20965. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20966. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20967. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  20968. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20969. offset = (s16) pi->phy_tempsense_offset;
  20970. } else {
  20971. pwrdet_rxtx_core1_save =
  20972. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  20973. pwrdet_rxtx_core2_save =
  20974. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  20975. core1_txrf_iqcal1_save =
  20976. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  20977. core1_txrf_iqcal2_save =
  20978. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  20979. core2_txrf_iqcal1_save =
  20980. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  20981. core2_txrf_iqcal2_save =
  20982. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  20983. pd_pll_ts_save = read_radio_reg(pi, RADIO_2055_PD_PLL_TS);
  20984. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20985. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20986. afectrlOverride_save = read_phy_reg(pi, 0xa5);
  20987. gpioSel_save = read_phy_reg(pi, 0xca);
  20988. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x01);
  20989. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x01);
  20990. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x08);
  20991. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x08);
  20992. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  20993. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  20994. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, 0x00);
  20995. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20996. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20997. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20998. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20999. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21000. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21001. radio_temp[0] = (radio_temp[0] + radio_temp2[0]);
  21002. radio_temp[1] = (radio_temp[1] + radio_temp2[1]);
  21003. radio_temp[2] = (radio_temp[2] + radio_temp2[2]);
  21004. radio_temp[3] = (radio_temp[3] + radio_temp2[3]);
  21005. radio_temp[0] =
  21006. (radio_temp[0] + radio_temp[1] + radio_temp[2] +
  21007. radio_temp[3]);
  21008. radio_temp[0] =
  21009. (radio_temp[0] +
  21010. (8 * 32)) * (950 - 350) / 63 + (350 * 8);
  21011. radio_temp[0] = (radio_temp[0] - (8 * 420)) / 38;
  21012. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  21013. pwrdet_rxtx_core1_save);
  21014. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  21015. pwrdet_rxtx_core2_save);
  21016. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  21017. core1_txrf_iqcal1_save);
  21018. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  21019. core2_txrf_iqcal1_save);
  21020. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  21021. core1_txrf_iqcal2_save);
  21022. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  21023. core2_txrf_iqcal2_save);
  21024. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, pd_pll_ts_save);
  21025. write_phy_reg(pi, 0xca, gpioSel_save);
  21026. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21027. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21028. write_phy_reg(pi, 0xa5, afectrlOverride_save);
  21029. }
  21030. return (s16) radio_temp[0] + offset;
  21031. }
  21032. static void
  21033. wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf)
  21034. {
  21035. u8 core;
  21036. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21037. if (rssi_type == NPHY_RSSI_SEL_NB) {
  21038. if (core == PHY_CORE_0) {
  21039. mod_radio_reg(pi,
  21040. RADIO_2055_CORE1_B0_NBRSSI_VCM,
  21041. RADIO_2055_NBRSSI_VCM_I_MASK,
  21042. vcm_buf[2 *
  21043. core] <<
  21044. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21045. mod_radio_reg(pi,
  21046. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21047. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21048. vcm_buf[2 * core +
  21049. 1] <<
  21050. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21051. } else {
  21052. mod_radio_reg(pi,
  21053. RADIO_2055_CORE2_B0_NBRSSI_VCM,
  21054. RADIO_2055_NBRSSI_VCM_I_MASK,
  21055. vcm_buf[2 *
  21056. core] <<
  21057. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21058. mod_radio_reg(pi,
  21059. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21060. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21061. vcm_buf[2 * core +
  21062. 1] <<
  21063. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21064. }
  21065. } else {
  21066. if (core == PHY_CORE_0)
  21067. mod_radio_reg(pi,
  21068. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21069. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21070. vcm_buf[2 *
  21071. core] <<
  21072. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21073. else
  21074. mod_radio_reg(pi,
  21075. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21076. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21077. vcm_buf[2 *
  21078. core] <<
  21079. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21080. }
  21081. }
  21082. }
  21083. static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi)
  21084. {
  21085. u16 classif_state;
  21086. u16 clip_state[2];
  21087. u16 clip_off[] = { 0xffff, 0xffff };
  21088. s32 target_code;
  21089. u8 vcm, min_vcm;
  21090. u8 vcm_final = 0;
  21091. u8 result_idx;
  21092. s32 poll_results[8][4] = {
  21093. {0, 0, 0, 0},
  21094. {0, 0, 0, 0},
  21095. {0, 0, 0, 0},
  21096. {0, 0, 0, 0},
  21097. {0, 0, 0, 0},
  21098. {0, 0, 0, 0},
  21099. {0, 0, 0, 0},
  21100. {0, 0, 0, 0}
  21101. };
  21102. s32 poll_result_core[4] = { 0, 0, 0, 0 };
  21103. s32 min_d = NPHY_RSSICAL_MAXD, curr_d;
  21104. s32 fine_digital_offset[4];
  21105. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21106. s32 min_poll;
  21107. u8 vcm_level_max;
  21108. u8 core;
  21109. u8 wb_cnt;
  21110. u8 rssi_type;
  21111. u16 NPHY_Rfctrlintc1_save, NPHY_Rfctrlintc2_save;
  21112. u16 NPHY_AfectrlOverride1_save, NPHY_AfectrlOverride2_save;
  21113. u16 NPHY_AfectrlCore1_save, NPHY_AfectrlCore2_save;
  21114. u16 NPHY_RfctrlOverride0_save, NPHY_RfctrlOverride1_save;
  21115. u16 NPHY_RfctrlOverrideAux0_save, NPHY_RfctrlOverrideAux1_save;
  21116. u16 NPHY_RfctrlCmd_save;
  21117. u16 NPHY_RfctrlMiscReg1_save, NPHY_RfctrlMiscReg2_save;
  21118. u16 NPHY_RfctrlRSSIOTHERS1_save, NPHY_RfctrlRSSIOTHERS2_save;
  21119. u8 rxcore_state;
  21120. u16 NPHY_REV7_RfctrlOverride3_save, NPHY_REV7_RfctrlOverride4_save;
  21121. u16 NPHY_REV7_RfctrlOverride5_save, NPHY_REV7_RfctrlOverride6_save;
  21122. u16 NPHY_REV7_RfctrlMiscReg3_save, NPHY_REV7_RfctrlMiscReg4_save;
  21123. u16 NPHY_REV7_RfctrlMiscReg5_save, NPHY_REV7_RfctrlMiscReg6_save;
  21124. NPHY_REV7_RfctrlOverride3_save =
  21125. NPHY_REV7_RfctrlOverride4_save =
  21126. NPHY_REV7_RfctrlOverride5_save =
  21127. NPHY_REV7_RfctrlOverride6_save =
  21128. NPHY_REV7_RfctrlMiscReg3_save =
  21129. NPHY_REV7_RfctrlMiscReg4_save =
  21130. NPHY_REV7_RfctrlMiscReg5_save =
  21131. NPHY_REV7_RfctrlMiscReg6_save = 0;
  21132. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21133. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21134. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21135. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21136. NPHY_Rfctrlintc1_save = read_phy_reg(pi, 0x91);
  21137. NPHY_Rfctrlintc2_save = read_phy_reg(pi, 0x92);
  21138. NPHY_AfectrlOverride1_save = read_phy_reg(pi, 0x8f);
  21139. NPHY_AfectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21140. NPHY_AfectrlCore1_save = read_phy_reg(pi, 0xa6);
  21141. NPHY_AfectrlCore2_save = read_phy_reg(pi, 0xa7);
  21142. NPHY_RfctrlOverride0_save = read_phy_reg(pi, 0xe7);
  21143. NPHY_RfctrlOverride1_save = read_phy_reg(pi, 0xec);
  21144. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21145. NPHY_REV7_RfctrlOverride3_save = read_phy_reg(pi, 0x342);
  21146. NPHY_REV7_RfctrlOverride4_save = read_phy_reg(pi, 0x343);
  21147. NPHY_REV7_RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  21148. NPHY_REV7_RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  21149. }
  21150. NPHY_RfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  21151. NPHY_RfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  21152. NPHY_RfctrlCmd_save = read_phy_reg(pi, 0x78);
  21153. NPHY_RfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  21154. NPHY_RfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  21155. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21156. NPHY_REV7_RfctrlMiscReg3_save = read_phy_reg(pi, 0x340);
  21157. NPHY_REV7_RfctrlMiscReg4_save = read_phy_reg(pi, 0x341);
  21158. NPHY_REV7_RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  21159. NPHY_REV7_RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  21160. }
  21161. NPHY_RfctrlRSSIOTHERS1_save = read_phy_reg(pi, 0x7a);
  21162. NPHY_RfctrlRSSIOTHERS2_save = read_phy_reg(pi, 0x7d);
  21163. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_OFF, 0,
  21164. RADIO_MIMO_CORESEL_ALLRXTX);
  21165. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_TRSW, 1,
  21166. RADIO_MIMO_CORESEL_ALLRXTX);
  21167. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21168. wlc_phy_rfctrl_override_1tomany_nphy(
  21169. pi,
  21170. NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,
  21171. 0, 0, 0);
  21172. else
  21173. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0, 0);
  21174. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21175. wlc_phy_rfctrl_override_1tomany_nphy(
  21176. pi,
  21177. NPHY_REV7_RfctrlOverride_cmd_rx_pu,
  21178. 1, 0, 0);
  21179. else
  21180. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0, 0);
  21181. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21182. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  21183. 1, 0, 0,
  21184. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21185. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 6), 1, 0, 0,
  21186. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21187. } else {
  21188. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 7), 1, 0, 0);
  21189. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 6), 1, 0, 0);
  21190. }
  21191. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21192. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21193. wlc_phy_rfctrl_override_nphy_rev7(
  21194. pi, (0x1 << 5),
  21195. 0, 0, 0,
  21196. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21197. wlc_phy_rfctrl_override_nphy_rev7(
  21198. pi, (0x1 << 4), 1, 0,
  21199. 0,
  21200. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21201. } else {
  21202. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 0, 0, 0);
  21203. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 1, 0, 0);
  21204. }
  21205. } else {
  21206. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21207. wlc_phy_rfctrl_override_nphy_rev7(
  21208. pi, (0x1 << 4),
  21209. 0, 0, 0,
  21210. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21211. wlc_phy_rfctrl_override_nphy_rev7(
  21212. pi, (0x1 << 5), 1, 0,
  21213. 0,
  21214. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21215. } else {
  21216. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 0, 0, 0);
  21217. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 1, 0, 0);
  21218. }
  21219. }
  21220. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  21221. (struct brcms_phy_pub *) pi);
  21222. vcm_level_max = 8;
  21223. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21224. if ((rxcore_state & (1 << core)) == 0)
  21225. continue;
  21226. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21227. core ==
  21228. PHY_CORE_0 ?
  21229. RADIO_MIMO_CORESEL_CORE1 :
  21230. RADIO_MIMO_CORESEL_CORE2,
  21231. NPHY_RAIL_I, NPHY_RSSI_SEL_NB);
  21232. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21233. core ==
  21234. PHY_CORE_0 ?
  21235. RADIO_MIMO_CORESEL_CORE1 :
  21236. RADIO_MIMO_CORESEL_CORE2,
  21237. NPHY_RAIL_Q, NPHY_RSSI_SEL_NB);
  21238. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21239. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21240. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21241. RADIO_2057_NB_MASTER_CORE0 :
  21242. RADIO_2057_NB_MASTER_CORE1,
  21243. RADIO_2057_VCM_MASK, vcm);
  21244. else
  21245. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21246. ((core ==
  21247. PHY_CORE_0) ? RADIO_2056_RX0 :
  21248. RADIO_2056_RX1),
  21249. RADIO_2056_VCM_MASK,
  21250. vcm << RADIO_2056_RSSI_VCM_SHIFT);
  21251. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_NB,
  21252. &poll_results[vcm][0],
  21253. NPHY_RSSICAL_NPOLL);
  21254. }
  21255. for (result_idx = 0; result_idx < 4; result_idx++) {
  21256. if ((core == result_idx / 2) &&
  21257. (result_idx % 2 == 0)) {
  21258. min_d = NPHY_RSSICAL_MAXD;
  21259. min_vcm = 0;
  21260. min_poll =
  21261. NPHY_RSSICAL_MAXREAD *
  21262. NPHY_RSSICAL_NPOLL + 1;
  21263. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21264. curr_d =
  21265. poll_results[vcm][result_idx] *
  21266. poll_results[vcm][result_idx] +
  21267. poll_results[vcm][result_idx +
  21268. 1] *
  21269. poll_results[vcm][result_idx +
  21270. 1];
  21271. if (curr_d < min_d) {
  21272. min_d = curr_d;
  21273. min_vcm = vcm;
  21274. }
  21275. if (poll_results[vcm][result_idx] <
  21276. min_poll)
  21277. min_poll =
  21278. poll_results[vcm]
  21279. [result_idx];
  21280. }
  21281. vcm_final = min_vcm;
  21282. poll_results_min[result_idx] = min_poll;
  21283. }
  21284. }
  21285. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21286. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21287. RADIO_2057_NB_MASTER_CORE0 :
  21288. RADIO_2057_NB_MASTER_CORE1,
  21289. RADIO_2057_VCM_MASK, vcm_final);
  21290. else
  21291. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21292. ((core ==
  21293. PHY_CORE_0) ? RADIO_2056_RX0 :
  21294. RADIO_2056_RX1), RADIO_2056_VCM_MASK,
  21295. vcm_final << RADIO_2056_RSSI_VCM_SHIFT);
  21296. for (result_idx = 0; result_idx < 4; result_idx++) {
  21297. if (core == result_idx / 2) {
  21298. fine_digital_offset[result_idx] =
  21299. (NPHY_RSSICAL_NB_TARGET *
  21300. NPHY_RSSICAL_NPOLL) -
  21301. poll_results[vcm_final][result_idx];
  21302. if (fine_digital_offset[result_idx] < 0) {
  21303. fine_digital_offset[result_idx] =
  21304. abs(fine_digital_offset
  21305. [result_idx]);
  21306. fine_digital_offset[result_idx] +=
  21307. (NPHY_RSSICAL_NPOLL / 2);
  21308. fine_digital_offset[result_idx] /=
  21309. NPHY_RSSICAL_NPOLL;
  21310. fine_digital_offset[result_idx] =
  21311. -fine_digital_offset[
  21312. result_idx];
  21313. } else {
  21314. fine_digital_offset[result_idx] +=
  21315. (NPHY_RSSICAL_NPOLL / 2);
  21316. fine_digital_offset[result_idx] /=
  21317. NPHY_RSSICAL_NPOLL;
  21318. }
  21319. if (poll_results_min[result_idx] ==
  21320. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21321. fine_digital_offset[result_idx] =
  21322. (NPHY_RSSICAL_NB_TARGET -
  21323. NPHY_RSSICAL_MAXREAD - 1);
  21324. wlc_phy_scale_offset_rssi_nphy(
  21325. pi, 0x0,
  21326. (s8)
  21327. fine_digital_offset
  21328. [result_idx],
  21329. (result_idx / 2 == 0) ?
  21330. RADIO_MIMO_CORESEL_CORE1 :
  21331. RADIO_MIMO_CORESEL_CORE2,
  21332. (result_idx % 2 == 0) ?
  21333. NPHY_RAIL_I : NPHY_RAIL_Q,
  21334. NPHY_RSSI_SEL_NB);
  21335. }
  21336. }
  21337. }
  21338. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21339. if ((rxcore_state & (1 << core)) == 0)
  21340. continue;
  21341. for (wb_cnt = 0; wb_cnt < 2; wb_cnt++) {
  21342. if (wb_cnt == 0) {
  21343. rssi_type = NPHY_RSSI_SEL_W1;
  21344. target_code = NPHY_RSSICAL_W1_TARGET_REV3;
  21345. } else {
  21346. rssi_type = NPHY_RSSI_SEL_W2;
  21347. target_code = NPHY_RSSICAL_W2_TARGET_REV3;
  21348. }
  21349. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21350. core ==
  21351. PHY_CORE_0 ?
  21352. RADIO_MIMO_CORESEL_CORE1
  21353. :
  21354. RADIO_MIMO_CORESEL_CORE2,
  21355. NPHY_RAIL_I, rssi_type);
  21356. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21357. core ==
  21358. PHY_CORE_0 ?
  21359. RADIO_MIMO_CORESEL_CORE1
  21360. :
  21361. RADIO_MIMO_CORESEL_CORE2,
  21362. NPHY_RAIL_Q, rssi_type);
  21363. wlc_phy_poll_rssi_nphy(pi, rssi_type, poll_result_core,
  21364. NPHY_RSSICAL_NPOLL);
  21365. for (result_idx = 0; result_idx < 4; result_idx++) {
  21366. if (core == result_idx / 2) {
  21367. fine_digital_offset[result_idx] =
  21368. (target_code *
  21369. NPHY_RSSICAL_NPOLL) -
  21370. poll_result_core[result_idx];
  21371. if (fine_digital_offset[result_idx] <
  21372. 0) {
  21373. fine_digital_offset[result_idx]
  21374. = abs(
  21375. fine_digital_offset
  21376. [result_idx]);
  21377. fine_digital_offset[result_idx]
  21378. += (NPHY_RSSICAL_NPOLL
  21379. / 2);
  21380. fine_digital_offset[result_idx]
  21381. /= NPHY_RSSICAL_NPOLL;
  21382. fine_digital_offset[result_idx]
  21383. = -fine_digital_offset
  21384. [result_idx];
  21385. } else {
  21386. fine_digital_offset[result_idx]
  21387. += (NPHY_RSSICAL_NPOLL
  21388. / 2);
  21389. fine_digital_offset[result_idx]
  21390. /= NPHY_RSSICAL_NPOLL;
  21391. }
  21392. wlc_phy_scale_offset_rssi_nphy(
  21393. pi, 0x0,
  21394. (s8)
  21395. fine_digital_offset
  21396. [core *
  21397. 2],
  21398. (core == PHY_CORE_0) ?
  21399. RADIO_MIMO_CORESEL_CORE1 :
  21400. RADIO_MIMO_CORESEL_CORE2,
  21401. (result_idx % 2 == 0) ?
  21402. NPHY_RAIL_I :
  21403. NPHY_RAIL_Q,
  21404. rssi_type);
  21405. }
  21406. }
  21407. }
  21408. }
  21409. write_phy_reg(pi, 0x91, NPHY_Rfctrlintc1_save);
  21410. write_phy_reg(pi, 0x92, NPHY_Rfctrlintc2_save);
  21411. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  21412. mod_phy_reg(pi, 0xe7, (0x1 << 0), 1 << 0);
  21413. mod_phy_reg(pi, 0x78, (0x1 << 0), 1 << 0);
  21414. mod_phy_reg(pi, 0xe7, (0x1 << 0), 0);
  21415. mod_phy_reg(pi, 0xec, (0x1 << 0), 1 << 0);
  21416. mod_phy_reg(pi, 0x78, (0x1 << 1), 1 << 1);
  21417. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  21418. write_phy_reg(pi, 0x8f, NPHY_AfectrlOverride1_save);
  21419. write_phy_reg(pi, 0xa5, NPHY_AfectrlOverride2_save);
  21420. write_phy_reg(pi, 0xa6, NPHY_AfectrlCore1_save);
  21421. write_phy_reg(pi, 0xa7, NPHY_AfectrlCore2_save);
  21422. write_phy_reg(pi, 0xe7, NPHY_RfctrlOverride0_save);
  21423. write_phy_reg(pi, 0xec, NPHY_RfctrlOverride1_save);
  21424. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21425. write_phy_reg(pi, 0x342, NPHY_REV7_RfctrlOverride3_save);
  21426. write_phy_reg(pi, 0x343, NPHY_REV7_RfctrlOverride4_save);
  21427. write_phy_reg(pi, 0x346, NPHY_REV7_RfctrlOverride5_save);
  21428. write_phy_reg(pi, 0x347, NPHY_REV7_RfctrlOverride6_save);
  21429. }
  21430. write_phy_reg(pi, 0xe5, NPHY_RfctrlOverrideAux0_save);
  21431. write_phy_reg(pi, 0xe6, NPHY_RfctrlOverrideAux1_save);
  21432. write_phy_reg(pi, 0x78, NPHY_RfctrlCmd_save);
  21433. write_phy_reg(pi, 0xf9, NPHY_RfctrlMiscReg1_save);
  21434. write_phy_reg(pi, 0xfb, NPHY_RfctrlMiscReg2_save);
  21435. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21436. write_phy_reg(pi, 0x340, NPHY_REV7_RfctrlMiscReg3_save);
  21437. write_phy_reg(pi, 0x341, NPHY_REV7_RfctrlMiscReg4_save);
  21438. write_phy_reg(pi, 0x344, NPHY_REV7_RfctrlMiscReg5_save);
  21439. write_phy_reg(pi, 0x345, NPHY_REV7_RfctrlMiscReg6_save);
  21440. }
  21441. write_phy_reg(pi, 0x7a, NPHY_RfctrlRSSIOTHERS1_save);
  21442. write_phy_reg(pi, 0x7d, NPHY_RfctrlRSSIOTHERS2_save);
  21443. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  21444. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21445. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21446. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21447. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21448. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21449. } else {
  21450. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21451. read_radio_reg(pi,
  21452. RADIO_2056_RX_RSSI_MISC |
  21453. RADIO_2056_RX0);
  21454. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21455. read_radio_reg(pi,
  21456. RADIO_2056_RX_RSSI_MISC |
  21457. RADIO_2056_RX1);
  21458. }
  21459. pi->rssical_cache.rssical_phyregs_2G[0] =
  21460. read_phy_reg(pi, 0x1a6);
  21461. pi->rssical_cache.rssical_phyregs_2G[1] =
  21462. read_phy_reg(pi, 0x1ac);
  21463. pi->rssical_cache.rssical_phyregs_2G[2] =
  21464. read_phy_reg(pi, 0x1b2);
  21465. pi->rssical_cache.rssical_phyregs_2G[3] =
  21466. read_phy_reg(pi, 0x1b8);
  21467. pi->rssical_cache.rssical_phyregs_2G[4] =
  21468. read_phy_reg(pi, 0x1a4);
  21469. pi->rssical_cache.rssical_phyregs_2G[5] =
  21470. read_phy_reg(pi, 0x1aa);
  21471. pi->rssical_cache.rssical_phyregs_2G[6] =
  21472. read_phy_reg(pi, 0x1b0);
  21473. pi->rssical_cache.rssical_phyregs_2G[7] =
  21474. read_phy_reg(pi, 0x1b6);
  21475. pi->rssical_cache.rssical_phyregs_2G[8] =
  21476. read_phy_reg(pi, 0x1a5);
  21477. pi->rssical_cache.rssical_phyregs_2G[9] =
  21478. read_phy_reg(pi, 0x1ab);
  21479. pi->rssical_cache.rssical_phyregs_2G[10] =
  21480. read_phy_reg(pi, 0x1b1);
  21481. pi->rssical_cache.rssical_phyregs_2G[11] =
  21482. read_phy_reg(pi, 0x1b7);
  21483. pi->nphy_rssical_chanspec_2G = pi->radio_chanspec;
  21484. } else {
  21485. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21486. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21487. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21488. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21489. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21490. } else {
  21491. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21492. read_radio_reg(pi,
  21493. RADIO_2056_RX_RSSI_MISC |
  21494. RADIO_2056_RX0);
  21495. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21496. read_radio_reg(pi,
  21497. RADIO_2056_RX_RSSI_MISC |
  21498. RADIO_2056_RX1);
  21499. }
  21500. pi->rssical_cache.rssical_phyregs_5G[0] =
  21501. read_phy_reg(pi, 0x1a6);
  21502. pi->rssical_cache.rssical_phyregs_5G[1] =
  21503. read_phy_reg(pi, 0x1ac);
  21504. pi->rssical_cache.rssical_phyregs_5G[2] =
  21505. read_phy_reg(pi, 0x1b2);
  21506. pi->rssical_cache.rssical_phyregs_5G[3] =
  21507. read_phy_reg(pi, 0x1b8);
  21508. pi->rssical_cache.rssical_phyregs_5G[4] =
  21509. read_phy_reg(pi, 0x1a4);
  21510. pi->rssical_cache.rssical_phyregs_5G[5] =
  21511. read_phy_reg(pi, 0x1aa);
  21512. pi->rssical_cache.rssical_phyregs_5G[6] =
  21513. read_phy_reg(pi, 0x1b0);
  21514. pi->rssical_cache.rssical_phyregs_5G[7] =
  21515. read_phy_reg(pi, 0x1b6);
  21516. pi->rssical_cache.rssical_phyregs_5G[8] =
  21517. read_phy_reg(pi, 0x1a5);
  21518. pi->rssical_cache.rssical_phyregs_5G[9] =
  21519. read_phy_reg(pi, 0x1ab);
  21520. pi->rssical_cache.rssical_phyregs_5G[10] =
  21521. read_phy_reg(pi, 0x1b1);
  21522. pi->rssical_cache.rssical_phyregs_5G[11] =
  21523. read_phy_reg(pi, 0x1b7);
  21524. pi->nphy_rssical_chanspec_5G = pi->radio_chanspec;
  21525. }
  21526. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21527. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21528. }
  21529. static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
  21530. {
  21531. s32 target_code;
  21532. u16 classif_state;
  21533. u16 clip_state[2];
  21534. u16 rssi_ctrl_state[2], pd_state[2];
  21535. u16 rfctrlintc_state[2], rfpdcorerxtx_state[2];
  21536. u16 rfctrlintc_override_val;
  21537. u16 clip_off[] = { 0xffff, 0xffff };
  21538. u16 rf_pd_val, pd_mask, rssi_ctrl_mask;
  21539. u8 vcm, min_vcm, vcm_tmp[4];
  21540. u8 vcm_final[4] = { 0, 0, 0, 0 };
  21541. u8 result_idx, ctr;
  21542. s32 poll_results[4][4] = {
  21543. {0, 0, 0, 0},
  21544. {0, 0, 0, 0},
  21545. {0, 0, 0, 0},
  21546. {0, 0, 0, 0}
  21547. };
  21548. s32 poll_miniq[4][2] = {
  21549. {0, 0},
  21550. {0, 0},
  21551. {0, 0},
  21552. {0, 0}
  21553. };
  21554. s32 min_d, curr_d;
  21555. s32 fine_digital_offset[4];
  21556. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21557. s32 min_poll;
  21558. switch (rssi_type) {
  21559. case NPHY_RSSI_SEL_NB:
  21560. target_code = NPHY_RSSICAL_NB_TARGET;
  21561. break;
  21562. case NPHY_RSSI_SEL_W1:
  21563. target_code = NPHY_RSSICAL_W1_TARGET;
  21564. break;
  21565. case NPHY_RSSI_SEL_W2:
  21566. target_code = NPHY_RSSICAL_W2_TARGET;
  21567. break;
  21568. default:
  21569. return;
  21570. }
  21571. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21572. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21573. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21574. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21575. rf_pd_val = (rssi_type == NPHY_RSSI_SEL_NB) ? 0x6 : 0x4;
  21576. rfctrlintc_override_val =
  21577. CHSPEC_IS5G(pi->radio_chanspec) ? 0x140 : 0x110;
  21578. rfctrlintc_state[0] = read_phy_reg(pi, 0x91);
  21579. rfpdcorerxtx_state[0] = read_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX);
  21580. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  21581. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rf_pd_val);
  21582. rfctrlintc_state[1] = read_phy_reg(pi, 0x92);
  21583. rfpdcorerxtx_state[1] = read_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX);
  21584. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  21585. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rf_pd_val);
  21586. pd_mask = RADIO_2055_NBRSSI_PD | RADIO_2055_WBRSSI_G1_PD |
  21587. RADIO_2055_WBRSSI_G2_PD;
  21588. pd_state[0] =
  21589. read_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC) & pd_mask;
  21590. pd_state[1] =
  21591. read_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC) & pd_mask;
  21592. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, 0);
  21593. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, 0);
  21594. rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  21595. RADIO_2055_WBRSSI_G2_SEL;
  21596. rssi_ctrl_state[0] =
  21597. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE1) & rssi_ctrl_mask;
  21598. rssi_ctrl_state[1] =
  21599. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE2) & rssi_ctrl_mask;
  21600. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  21601. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21602. NPHY_RAIL_I, rssi_type);
  21603. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21604. NPHY_RAIL_Q, rssi_type);
  21605. for (vcm = 0; vcm < 4; vcm++) {
  21606. vcm_tmp[0] = vcm_tmp[1] = vcm_tmp[2] = vcm_tmp[3] = vcm;
  21607. if (rssi_type != NPHY_RSSI_SEL_W2)
  21608. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_tmp);
  21609. wlc_phy_poll_rssi_nphy(pi, rssi_type, &poll_results[vcm][0],
  21610. NPHY_RSSICAL_NPOLL);
  21611. if ((rssi_type == NPHY_RSSI_SEL_W1)
  21612. || (rssi_type == NPHY_RSSI_SEL_W2)) {
  21613. for (ctr = 0; ctr < 2; ctr++)
  21614. poll_miniq[vcm][ctr] =
  21615. min(poll_results[vcm][ctr * 2 + 0],
  21616. poll_results[vcm][ctr * 2 + 1]);
  21617. }
  21618. }
  21619. for (result_idx = 0; result_idx < 4; result_idx++) {
  21620. min_d = NPHY_RSSICAL_MAXD;
  21621. min_vcm = 0;
  21622. min_poll = NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL + 1;
  21623. for (vcm = 0; vcm < 4; vcm++) {
  21624. curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ?
  21625. poll_results[vcm][result_idx] :
  21626. poll_miniq[vcm][result_idx / 2]) -
  21627. (target_code * NPHY_RSSICAL_NPOLL));
  21628. if (curr_d < min_d) {
  21629. min_d = curr_d;
  21630. min_vcm = vcm;
  21631. }
  21632. if (poll_results[vcm][result_idx] < min_poll)
  21633. min_poll = poll_results[vcm][result_idx];
  21634. }
  21635. vcm_final[result_idx] = min_vcm;
  21636. poll_results_min[result_idx] = min_poll;
  21637. }
  21638. if (rssi_type != NPHY_RSSI_SEL_W2)
  21639. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_final);
  21640. for (result_idx = 0; result_idx < 4; result_idx++) {
  21641. fine_digital_offset[result_idx] =
  21642. (target_code * NPHY_RSSICAL_NPOLL) -
  21643. poll_results[vcm_final[result_idx]][result_idx];
  21644. if (fine_digital_offset[result_idx] < 0) {
  21645. fine_digital_offset[result_idx] =
  21646. abs(fine_digital_offset[result_idx]);
  21647. fine_digital_offset[result_idx] +=
  21648. (NPHY_RSSICAL_NPOLL / 2);
  21649. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21650. fine_digital_offset[result_idx] =
  21651. -fine_digital_offset[result_idx];
  21652. } else {
  21653. fine_digital_offset[result_idx] +=
  21654. (NPHY_RSSICAL_NPOLL / 2);
  21655. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21656. }
  21657. if (poll_results_min[result_idx] ==
  21658. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21659. fine_digital_offset[result_idx] =
  21660. (target_code - NPHY_RSSICAL_MAXREAD - 1);
  21661. wlc_phy_scale_offset_rssi_nphy(pi, 0x0,
  21662. (s8)
  21663. fine_digital_offset[result_idx],
  21664. (result_idx / 2 ==
  21665. 0) ? RADIO_MIMO_CORESEL_CORE1 :
  21666. RADIO_MIMO_CORESEL_CORE2,
  21667. (result_idx % 2 ==
  21668. 0) ? NPHY_RAIL_I : NPHY_RAIL_Q,
  21669. rssi_type);
  21670. }
  21671. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, pd_state[0]);
  21672. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, pd_state[1]);
  21673. if (rssi_ctrl_state[0] == RADIO_2055_NBRSSI_SEL)
  21674. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21675. NPHY_RSSI_SEL_NB);
  21676. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G1_SEL)
  21677. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21678. NPHY_RSSI_SEL_W1);
  21679. else /* RADIO_2055_WBRSSI_G2_SEL */
  21680. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21681. NPHY_RSSI_SEL_W2);
  21682. if (rssi_ctrl_state[1] == RADIO_2055_NBRSSI_SEL)
  21683. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21684. NPHY_RSSI_SEL_NB);
  21685. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G1_SEL)
  21686. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21687. NPHY_RSSI_SEL_W1);
  21688. else /* RADIO_2055_WBRSSI_G1_SEL */
  21689. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21690. NPHY_RSSI_SEL_W2);
  21691. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, rssi_type);
  21692. write_phy_reg(pi, 0x91, rfctrlintc_state[0]);
  21693. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rfpdcorerxtx_state[0]);
  21694. write_phy_reg(pi, 0x92, rfctrlintc_state[1]);
  21695. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rfpdcorerxtx_state[1]);
  21696. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21697. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21698. wlc_phy_resetcca_nphy(pi);
  21699. }
  21700. void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi)
  21701. {
  21702. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21703. wlc_phy_rssi_cal_nphy_rev3(pi);
  21704. } else {
  21705. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_NB);
  21706. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W1);
  21707. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W2);
  21708. }
  21709. }
  21710. int
  21711. wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh)
  21712. {
  21713. s16 rxpwr, rxpwr0, rxpwr1;
  21714. s16 phyRx0_l, phyRx2_l;
  21715. rxpwr = 0;
  21716. rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK;
  21717. rxpwr1 = (rxh->PhyRxStatus_1 & PRXS1_nphy_PWR1_MASK) >> 8;
  21718. if (rxpwr0 > 127)
  21719. rxpwr0 -= 256;
  21720. if (rxpwr1 > 127)
  21721. rxpwr1 -= 256;
  21722. phyRx0_l = rxh->PhyRxStatus_0 & 0x00ff;
  21723. phyRx2_l = rxh->PhyRxStatus_2 & 0x00ff;
  21724. if (phyRx2_l > 127)
  21725. phyRx2_l -= 256;
  21726. if (((rxpwr0 == 16) || (rxpwr0 == 32))) {
  21727. rxpwr0 = rxpwr1;
  21728. rxpwr1 = phyRx2_l;
  21729. }
  21730. if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MAX)
  21731. rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1;
  21732. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MIN)
  21733. rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1;
  21734. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_AVG)
  21735. rxpwr = (rxpwr0 + rxpwr1) >> 1;
  21736. return rxpwr;
  21737. }
  21738. static void
  21739. wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf,
  21740. u16 num_samps)
  21741. {
  21742. u16 t;
  21743. u32 *data_buf = NULL;
  21744. data_buf = kmalloc(sizeof(u32) * num_samps, GFP_ATOMIC);
  21745. if (data_buf == NULL)
  21746. return;
  21747. if (pi->phyhang_avoid)
  21748. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21749. for (t = 0; t < num_samps; t++)
  21750. data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) |
  21751. (((unsigned int)tone_buf[t].q) & 0x3ff);
  21752. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SAMPLEPLAY, num_samps, 0, 32,
  21753. data_buf);
  21754. kfree(data_buf);
  21755. if (pi->phyhang_avoid)
  21756. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21757. }
  21758. static u16
  21759. wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21760. u8 dac_test_mode)
  21761. {
  21762. u8 phy_bw, is_phybw40;
  21763. u16 num_samps, t, spur;
  21764. s32 theta = 0, rot = 0;
  21765. u32 tbl_len;
  21766. struct cordic_iq *tone_buf = NULL;
  21767. is_phybw40 = CHSPEC_IS40(pi->radio_chanspec);
  21768. phy_bw = (is_phybw40 == 1) ? 40 : 20;
  21769. tbl_len = (phy_bw << 3);
  21770. if (dac_test_mode == 1) {
  21771. spur = read_phy_reg(pi, 0x01);
  21772. spur = (spur >> 15) & 1;
  21773. phy_bw = (spur == 1) ? 82 : 80;
  21774. phy_bw = (is_phybw40 == 1) ? (phy_bw << 1) : phy_bw;
  21775. tbl_len = (phy_bw << 1);
  21776. }
  21777. tone_buf = kmalloc(sizeof(struct cordic_iq) * tbl_len, GFP_ATOMIC);
  21778. if (tone_buf == NULL)
  21779. return 0;
  21780. num_samps = (u16) tbl_len;
  21781. rot = ((f_kHz * 36) / phy_bw) / 100;
  21782. theta = 0;
  21783. for (t = 0; t < num_samps; t++) {
  21784. tone_buf[t] = cordic_calc_iq(theta);
  21785. theta += rot;
  21786. tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val);
  21787. tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val);
  21788. }
  21789. wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps);
  21790. kfree(tone_buf);
  21791. return num_samps;
  21792. }
  21793. static void
  21794. wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops,
  21795. u16 wait, u8 iqmode, u8 dac_test_mode,
  21796. bool modify_bbmult)
  21797. {
  21798. u16 bb_mult;
  21799. u8 phy_bw, sample_cmd;
  21800. u16 orig_RfseqCoreActv;
  21801. u16 lpf_bw_ctl_override3, lpf_bw_ctl_override4, lpf_bw_ctl_miscreg3,
  21802. lpf_bw_ctl_miscreg4;
  21803. if (pi->phyhang_avoid)
  21804. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21805. phy_bw = 20;
  21806. if (CHSPEC_IS40(pi->radio_chanspec))
  21807. phy_bw = 40;
  21808. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21809. lpf_bw_ctl_override3 = read_phy_reg(pi, 0x342) & (0x1 << 7);
  21810. lpf_bw_ctl_override4 = read_phy_reg(pi, 0x343) & (0x1 << 7);
  21811. if (lpf_bw_ctl_override3 | lpf_bw_ctl_override4) {
  21812. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21813. (0x7 << 8);
  21814. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21815. (0x7 << 8);
  21816. } else {
  21817. wlc_phy_rfctrl_override_nphy_rev7(
  21818. pi,
  21819. (0x1 << 7),
  21820. wlc_phy_read_lpf_bw_ctl_nphy
  21821. (pi,
  21822. 0), 0, 0,
  21823. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21824. pi->nphy_sample_play_lpf_bw_ctl_ovr = true;
  21825. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21826. (0x7 << 8);
  21827. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21828. (0x7 << 8);
  21829. }
  21830. }
  21831. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) == 0) {
  21832. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21833. &bb_mult);
  21834. pi->nphy_bb_mult_save =
  21835. BB_MULT_VALID_MASK | (bb_mult & BB_MULT_MASK);
  21836. }
  21837. if (modify_bbmult) {
  21838. bb_mult = (phy_bw == 20) ? 100 : 71;
  21839. bb_mult = (bb_mult << 8) + bb_mult;
  21840. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21841. &bb_mult);
  21842. }
  21843. if (pi->phyhang_avoid)
  21844. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21845. write_phy_reg(pi, 0xc6, num_samps - 1);
  21846. if (loops != 0xffff)
  21847. write_phy_reg(pi, 0xc4, loops - 1);
  21848. else
  21849. write_phy_reg(pi, 0xc4, loops);
  21850. write_phy_reg(pi, 0xc5, wait);
  21851. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  21852. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  21853. if (iqmode) {
  21854. and_phy_reg(pi, 0xc2, 0x7FFF);
  21855. or_phy_reg(pi, 0xc2, 0x8000);
  21856. } else {
  21857. sample_cmd = (dac_test_mode == 1) ? 0x5 : 0x1;
  21858. write_phy_reg(pi, 0xc3, sample_cmd);
  21859. }
  21860. SPINWAIT(((read_phy_reg(pi, 0xa4) & 0x1) == 1), 1000);
  21861. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  21862. }
  21863. int
  21864. wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21865. u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
  21866. {
  21867. u16 num_samps;
  21868. u16 loops = 0xffff;
  21869. u16 wait = 0;
  21870. num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val,
  21871. dac_test_mode);
  21872. if (num_samps == 0)
  21873. return -EBADE;
  21874. wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode,
  21875. dac_test_mode, modify_bbmult);
  21876. return 0;
  21877. }
  21878. void wlc_phy_stopplayback_nphy(struct brcms_phy *pi)
  21879. {
  21880. u16 playback_status;
  21881. u16 bb_mult;
  21882. if (pi->phyhang_avoid)
  21883. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21884. playback_status = read_phy_reg(pi, 0xc7);
  21885. if (playback_status & 0x1)
  21886. or_phy_reg(pi, 0xc3, NPHY_sampleCmd_STOP);
  21887. else if (playback_status & 0x2)
  21888. and_phy_reg(pi, 0xc2,
  21889. (u16) ~NPHY_iqloCalCmdGctl_IQLO_CAL_EN);
  21890. and_phy_reg(pi, 0xc3, (u16) ~(0x1 << 2));
  21891. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) != 0) {
  21892. bb_mult = pi->nphy_bb_mult_save & BB_MULT_MASK;
  21893. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21894. &bb_mult);
  21895. pi->nphy_bb_mult_save = 0;
  21896. }
  21897. if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) {
  21898. if (pi->nphy_sample_play_lpf_bw_ctl_ovr) {
  21899. wlc_phy_rfctrl_override_nphy_rev7(
  21900. pi,
  21901. (0x1 << 7),
  21902. 0, 0, 1,
  21903. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21904. pi->nphy_sample_play_lpf_bw_ctl_ovr = false;
  21905. }
  21906. }
  21907. if (pi->phyhang_avoid)
  21908. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21909. }
  21910. static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi)
  21911. {
  21912. u32 *tx_pwrctrl_tbl = NULL;
  21913. uint phyrev = pi->pubpi.phy_rev;
  21914. if (PHY_IPA(pi)) {
  21915. tx_pwrctrl_tbl =
  21916. wlc_phy_get_ipa_gaintbl_nphy(pi);
  21917. } else {
  21918. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21919. if (NREV_IS(phyrev, 3))
  21920. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev3;
  21921. else if (NREV_IS(phyrev, 4))
  21922. tx_pwrctrl_tbl =
  21923. (pi->srom_fem5g.extpagain == 3) ?
  21924. nphy_tpc_5GHz_txgain_HiPwrEPA :
  21925. nphy_tpc_5GHz_txgain_rev4;
  21926. else
  21927. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev5;
  21928. } else {
  21929. if (NREV_GE(phyrev, 7)) {
  21930. if (pi->pubpi.radiorev == 3)
  21931. tx_pwrctrl_tbl =
  21932. nphy_tpc_txgain_epa_2057rev3;
  21933. else if (pi->pubpi.radiorev == 5)
  21934. tx_pwrctrl_tbl =
  21935. nphy_tpc_txgain_epa_2057rev5;
  21936. } else {
  21937. if (NREV_GE(phyrev, 5) &&
  21938. (pi->srom_fem2g.extpagain == 3))
  21939. tx_pwrctrl_tbl =
  21940. nphy_tpc_txgain_HiPwrEPA;
  21941. else
  21942. tx_pwrctrl_tbl =
  21943. nphy_tpc_txgain_rev3;
  21944. }
  21945. }
  21946. }
  21947. return tx_pwrctrl_tbl;
  21948. }
  21949. struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi)
  21950. {
  21951. u16 base_idx[2], curr_gain[2];
  21952. u8 core_no;
  21953. struct nphy_txgains target_gain;
  21954. u32 *tx_pwrctrl_tbl = NULL;
  21955. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF) {
  21956. if (pi->phyhang_avoid)
  21957. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21958. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  21959. curr_gain);
  21960. if (pi->phyhang_avoid)
  21961. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21962. for (core_no = 0; core_no < 2; core_no++) {
  21963. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21964. target_gain.ipa[core_no] =
  21965. curr_gain[core_no] & 0x0007;
  21966. target_gain.pad[core_no] =
  21967. ((curr_gain[core_no] & 0x00F8) >> 3);
  21968. target_gain.pga[core_no] =
  21969. ((curr_gain[core_no] & 0x0F00) >> 8);
  21970. target_gain.txgm[core_no] =
  21971. ((curr_gain[core_no] & 0x7000) >> 12);
  21972. target_gain.txlpf[core_no] =
  21973. ((curr_gain[core_no] & 0x8000) >> 15);
  21974. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21975. target_gain.ipa[core_no] =
  21976. curr_gain[core_no] & 0x000F;
  21977. target_gain.pad[core_no] =
  21978. ((curr_gain[core_no] & 0x00F0) >> 4);
  21979. target_gain.pga[core_no] =
  21980. ((curr_gain[core_no] & 0x0F00) >> 8);
  21981. target_gain.txgm[core_no] =
  21982. ((curr_gain[core_no] & 0x7000) >> 12);
  21983. } else {
  21984. target_gain.ipa[core_no] =
  21985. curr_gain[core_no] & 0x0003;
  21986. target_gain.pad[core_no] =
  21987. ((curr_gain[core_no] & 0x000C) >> 2);
  21988. target_gain.pga[core_no] =
  21989. ((curr_gain[core_no] & 0x0070) >> 4);
  21990. target_gain.txgm[core_no] =
  21991. ((curr_gain[core_no] & 0x0380) >> 7);
  21992. }
  21993. }
  21994. } else {
  21995. uint phyrev = pi->pubpi.phy_rev;
  21996. base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f;
  21997. base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f;
  21998. for (core_no = 0; core_no < 2; core_no++) {
  21999. if (NREV_GE(phyrev, 3)) {
  22000. tx_pwrctrl_tbl =
  22001. brcms_phy_get_tx_pwrctrl_tbl(pi);
  22002. if (NREV_GE(phyrev, 7)) {
  22003. target_gain.ipa[core_no] =
  22004. (tx_pwrctrl_tbl
  22005. [base_idx[core_no]]
  22006. >> 16) & 0x7;
  22007. target_gain.pad[core_no] =
  22008. (tx_pwrctrl_tbl
  22009. [base_idx[core_no]]
  22010. >> 19) & 0x1f;
  22011. target_gain.pga[core_no] =
  22012. (tx_pwrctrl_tbl
  22013. [base_idx[core_no]]
  22014. >> 24) & 0xf;
  22015. target_gain.txgm[core_no] =
  22016. (tx_pwrctrl_tbl
  22017. [base_idx[core_no]]
  22018. >> 28) & 0x7;
  22019. target_gain.txlpf[core_no] =
  22020. (tx_pwrctrl_tbl
  22021. [base_idx[core_no]]
  22022. >> 31) & 0x1;
  22023. } else {
  22024. target_gain.ipa[core_no] =
  22025. (tx_pwrctrl_tbl
  22026. [base_idx[core_no]]
  22027. >> 16) & 0xf;
  22028. target_gain.pad[core_no] =
  22029. (tx_pwrctrl_tbl
  22030. [base_idx[core_no]]
  22031. >> 20) & 0xf;
  22032. target_gain.pga[core_no] =
  22033. (tx_pwrctrl_tbl
  22034. [base_idx[core_no]]
  22035. >> 24) & 0xf;
  22036. target_gain.txgm[core_no] =
  22037. (tx_pwrctrl_tbl
  22038. [base_idx[core_no]]
  22039. >> 28) & 0x7;
  22040. }
  22041. } else {
  22042. target_gain.ipa[core_no] =
  22043. (nphy_tpc_txgain[base_idx[core_no]] >>
  22044. 16) & 0x3;
  22045. target_gain.pad[core_no] =
  22046. (nphy_tpc_txgain[base_idx[core_no]] >>
  22047. 18) & 0x3;
  22048. target_gain.pga[core_no] =
  22049. (nphy_tpc_txgain[base_idx[core_no]] >>
  22050. 20) & 0x7;
  22051. target_gain.txgm[core_no] =
  22052. (nphy_tpc_txgain[base_idx[core_no]] >>
  22053. 23) & 0x7;
  22054. }
  22055. }
  22056. }
  22057. return target_gain;
  22058. }
  22059. static void
  22060. wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no,
  22061. struct nphy_txgains target_gain,
  22062. struct nphy_iqcal_params *params)
  22063. {
  22064. u8 k;
  22065. int idx;
  22066. u16 gain_index;
  22067. u8 band_idx = (CHSPEC_IS5G(pi->radio_chanspec) ? 1 : 0);
  22068. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22069. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22070. params->txlpf = target_gain.txlpf[core_no];
  22071. params->txgm = target_gain.txgm[core_no];
  22072. params->pga = target_gain.pga[core_no];
  22073. params->pad = target_gain.pad[core_no];
  22074. params->ipa = target_gain.ipa[core_no];
  22075. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22076. params->cal_gain =
  22077. ((params->txlpf << 15) | (params->txgm << 12) |
  22078. (params->pga << 8) |
  22079. (params->pad << 3) | (params->ipa));
  22080. else
  22081. params->cal_gain =
  22082. ((params->txgm << 12) | (params->pga << 8) |
  22083. (params->pad << 4) | (params->ipa));
  22084. params->ncorr[0] = 0x79;
  22085. params->ncorr[1] = 0x79;
  22086. params->ncorr[2] = 0x79;
  22087. params->ncorr[3] = 0x79;
  22088. params->ncorr[4] = 0x79;
  22089. } else {
  22090. gain_index = ((target_gain.pad[core_no] << 0) |
  22091. (target_gain.pga[core_no] << 4) |
  22092. (target_gain.txgm[core_no] << 8));
  22093. idx = -1;
  22094. for (k = 0; k < NPHY_IQCAL_NUMGAINS; k++) {
  22095. if (tbl_iqcal_gainparams_nphy[band_idx][k][0] ==
  22096. gain_index) {
  22097. idx = k;
  22098. break;
  22099. }
  22100. }
  22101. params->txgm = tbl_iqcal_gainparams_nphy[band_idx][k][1];
  22102. params->pga = tbl_iqcal_gainparams_nphy[band_idx][k][2];
  22103. params->pad = tbl_iqcal_gainparams_nphy[band_idx][k][3];
  22104. params->cal_gain = ((params->txgm << 7) | (params->pga << 4) |
  22105. (params->pad << 2));
  22106. params->ncorr[0] = tbl_iqcal_gainparams_nphy[band_idx][k][4];
  22107. params->ncorr[1] = tbl_iqcal_gainparams_nphy[band_idx][k][5];
  22108. params->ncorr[2] = tbl_iqcal_gainparams_nphy[band_idx][k][6];
  22109. params->ncorr[3] = tbl_iqcal_gainparams_nphy[band_idx][k][7];
  22110. }
  22111. }
  22112. static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi)
  22113. {
  22114. u16 jtag_core, core;
  22115. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22116. for (core = 0; core <= 1; core++) {
  22117. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22118. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22119. TX_SSI_MASTER);
  22120. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22121. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22122. IQCAL_VCM_HG);
  22123. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22124. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22125. IQCAL_IDAC);
  22126. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22127. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22128. TSSI_VCM);
  22129. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] = 0;
  22130. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22131. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22132. TX_SSI_MUX);
  22133. if (pi->pubpi.radiorev != 5)
  22134. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22135. READ_RADIO_REG3(pi, RADIO_2057, TX,
  22136. core,
  22137. TSSIA);
  22138. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22139. READ_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG);
  22140. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22141. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22142. TSSI_MISC1);
  22143. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22144. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22145. TX_SSI_MASTER, 0x0a);
  22146. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22147. IQCAL_VCM_HG, 0x43);
  22148. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22149. IQCAL_IDAC, 0x55);
  22150. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22151. TSSI_VCM, 0x00);
  22152. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22153. TSSIG, 0x00);
  22154. if (pi->use_int_tx_iqlo_cal_nphy) {
  22155. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22156. core, TX_SSI_MUX, 0x4);
  22157. if (!(pi->
  22158. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22159. WRITE_RADIO_REG3(pi, RADIO_2057,
  22160. TX, core,
  22161. TSSIA, 0x31);
  22162. else
  22163. WRITE_RADIO_REG3(pi, RADIO_2057,
  22164. TX, core,
  22165. TSSIA, 0x21);
  22166. }
  22167. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22168. TSSI_MISC1, 0x00);
  22169. } else {
  22170. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22171. TX_SSI_MASTER, 0x06);
  22172. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22173. IQCAL_VCM_HG, 0x43);
  22174. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22175. IQCAL_IDAC, 0x55);
  22176. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22177. TSSI_VCM, 0x00);
  22178. if (pi->pubpi.radiorev != 5)
  22179. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22180. core, TSSIA, 0x00);
  22181. if (pi->use_int_tx_iqlo_cal_nphy) {
  22182. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22183. core, TX_SSI_MUX,
  22184. 0x06);
  22185. if (!(pi->
  22186. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22187. WRITE_RADIO_REG3(pi, RADIO_2057,
  22188. TX, core,
  22189. TSSIG, 0x31);
  22190. else
  22191. WRITE_RADIO_REG3(pi, RADIO_2057,
  22192. TX, core,
  22193. TSSIG, 0x21);
  22194. }
  22195. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22196. TSSI_MISC1, 0x00);
  22197. }
  22198. }
  22199. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22200. for (core = 0; core <= 1; core++) {
  22201. jtag_core =
  22202. (core ==
  22203. PHY_CORE_0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  22204. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22205. read_radio_reg(pi,
  22206. RADIO_2056_TX_TX_SSI_MASTER |
  22207. jtag_core);
  22208. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22209. read_radio_reg(pi,
  22210. RADIO_2056_TX_IQCAL_VCM_HG |
  22211. jtag_core);
  22212. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22213. read_radio_reg(pi,
  22214. RADIO_2056_TX_IQCAL_IDAC |
  22215. jtag_core);
  22216. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22217. read_radio_reg(
  22218. pi,
  22219. RADIO_2056_TX_TSSI_VCM |
  22220. jtag_core);
  22221. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] =
  22222. read_radio_reg(pi,
  22223. RADIO_2056_TX_TX_AMP_DET |
  22224. jtag_core);
  22225. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22226. read_radio_reg(pi,
  22227. RADIO_2056_TX_TX_SSI_MUX |
  22228. jtag_core);
  22229. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22230. read_radio_reg(pi,
  22231. RADIO_2056_TX_TSSIA | jtag_core);
  22232. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22233. read_radio_reg(pi,
  22234. RADIO_2056_TX_TSSIG | jtag_core);
  22235. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22236. read_radio_reg(pi,
  22237. RADIO_2056_TX_TSSI_MISC1 |
  22238. jtag_core);
  22239. pi->tx_rx_cal_radio_saveregs[(core * 11) + 9] =
  22240. read_radio_reg(pi,
  22241. RADIO_2056_TX_TSSI_MISC2 |
  22242. jtag_core);
  22243. pi->tx_rx_cal_radio_saveregs[(core * 11) + 10] =
  22244. read_radio_reg(pi,
  22245. RADIO_2056_TX_TSSI_MISC3 |
  22246. jtag_core);
  22247. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22248. write_radio_reg(pi,
  22249. RADIO_2056_TX_TX_SSI_MASTER |
  22250. jtag_core, 0x0a);
  22251. write_radio_reg(pi,
  22252. RADIO_2056_TX_IQCAL_VCM_HG |
  22253. jtag_core, 0x40);
  22254. write_radio_reg(pi,
  22255. RADIO_2056_TX_IQCAL_IDAC |
  22256. jtag_core, 0x55);
  22257. write_radio_reg(pi,
  22258. RADIO_2056_TX_TSSI_VCM |
  22259. jtag_core, 0x00);
  22260. write_radio_reg(pi,
  22261. RADIO_2056_TX_TX_AMP_DET |
  22262. jtag_core, 0x00);
  22263. if (PHY_IPA(pi)) {
  22264. write_radio_reg(
  22265. pi,
  22266. RADIO_2056_TX_TX_SSI_MUX
  22267. | jtag_core, 0x4);
  22268. write_radio_reg(pi,
  22269. RADIO_2056_TX_TSSIA |
  22270. jtag_core, 0x1);
  22271. } else {
  22272. write_radio_reg(
  22273. pi,
  22274. RADIO_2056_TX_TX_SSI_MUX
  22275. | jtag_core, 0x00);
  22276. write_radio_reg(pi,
  22277. RADIO_2056_TX_TSSIA |
  22278. jtag_core, 0x2f);
  22279. }
  22280. write_radio_reg(pi,
  22281. RADIO_2056_TX_TSSIG | jtag_core,
  22282. 0x00);
  22283. write_radio_reg(pi,
  22284. RADIO_2056_TX_TSSI_MISC1 |
  22285. jtag_core, 0x00);
  22286. write_radio_reg(pi,
  22287. RADIO_2056_TX_TSSI_MISC2 |
  22288. jtag_core, 0x00);
  22289. write_radio_reg(pi,
  22290. RADIO_2056_TX_TSSI_MISC3 |
  22291. jtag_core, 0x00);
  22292. } else {
  22293. write_radio_reg(pi,
  22294. RADIO_2056_TX_TX_SSI_MASTER |
  22295. jtag_core, 0x06);
  22296. write_radio_reg(pi,
  22297. RADIO_2056_TX_IQCAL_VCM_HG |
  22298. jtag_core, 0x40);
  22299. write_radio_reg(pi,
  22300. RADIO_2056_TX_IQCAL_IDAC |
  22301. jtag_core, 0x55);
  22302. write_radio_reg(pi,
  22303. RADIO_2056_TX_TSSI_VCM |
  22304. jtag_core, 0x00);
  22305. write_radio_reg(pi,
  22306. RADIO_2056_TX_TX_AMP_DET |
  22307. jtag_core, 0x00);
  22308. write_radio_reg(pi,
  22309. RADIO_2056_TX_TSSIA | jtag_core,
  22310. 0x00);
  22311. if (PHY_IPA(pi)) {
  22312. write_radio_reg(
  22313. pi,
  22314. RADIO_2056_TX_TX_SSI_MUX
  22315. | jtag_core, 0x06);
  22316. if (NREV_LT(pi->pubpi.phy_rev, 5))
  22317. write_radio_reg(
  22318. pi,
  22319. RADIO_2056_TX_TSSIG
  22320. | jtag_core,
  22321. 0x11);
  22322. else
  22323. write_radio_reg(
  22324. pi,
  22325. RADIO_2056_TX_TSSIG
  22326. | jtag_core,
  22327. 0x1);
  22328. } else {
  22329. write_radio_reg(
  22330. pi,
  22331. RADIO_2056_TX_TX_SSI_MUX
  22332. | jtag_core, 0x00);
  22333. write_radio_reg(pi,
  22334. RADIO_2056_TX_TSSIG |
  22335. jtag_core, 0x20);
  22336. }
  22337. write_radio_reg(pi,
  22338. RADIO_2056_TX_TSSI_MISC1 |
  22339. jtag_core, 0x00);
  22340. write_radio_reg(pi,
  22341. RADIO_2056_TX_TSSI_MISC2 |
  22342. jtag_core, 0x00);
  22343. write_radio_reg(pi,
  22344. RADIO_2056_TX_TSSI_MISC3 |
  22345. jtag_core, 0x00);
  22346. }
  22347. }
  22348. } else {
  22349. pi->tx_rx_cal_radio_saveregs[0] =
  22350. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  22351. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x29);
  22352. pi->tx_rx_cal_radio_saveregs[1] =
  22353. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  22354. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x54);
  22355. pi->tx_rx_cal_radio_saveregs[2] =
  22356. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  22357. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x29);
  22358. pi->tx_rx_cal_radio_saveregs[3] =
  22359. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  22360. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x54);
  22361. pi->tx_rx_cal_radio_saveregs[4] =
  22362. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  22363. pi->tx_rx_cal_radio_saveregs[5] =
  22364. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  22365. if ((read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand) ==
  22366. 0) {
  22367. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  22368. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  22369. } else {
  22370. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x20);
  22371. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x20);
  22372. }
  22373. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  22374. or_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0x20);
  22375. or_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0x20);
  22376. } else {
  22377. and_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0xdf);
  22378. and_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0xdf);
  22379. }
  22380. }
  22381. }
  22382. static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi)
  22383. {
  22384. u16 jtag_core, core;
  22385. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22386. for (core = 0; core <= 1; core++) {
  22387. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22388. TX_SSI_MASTER,
  22389. pi->
  22390. tx_rx_cal_radio_saveregs[(core * 11) +
  22391. 0]);
  22392. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  22393. pi->
  22394. tx_rx_cal_radio_saveregs[(core * 11) +
  22395. 1]);
  22396. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  22397. pi->
  22398. tx_rx_cal_radio_saveregs[(core * 11) +
  22399. 2]);
  22400. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  22401. pi->
  22402. tx_rx_cal_radio_saveregs[(core * 11) +
  22403. 3]);
  22404. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TX_SSI_MUX,
  22405. pi->
  22406. tx_rx_cal_radio_saveregs[(core * 11) +
  22407. 5]);
  22408. if (pi->pubpi.radiorev != 5)
  22409. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22410. TSSIA,
  22411. pi->tx_rx_cal_radio_saveregs
  22412. [(core * 11) + 6]);
  22413. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG,
  22414. pi->
  22415. tx_rx_cal_radio_saveregs[(core * 11) +
  22416. 7]);
  22417. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  22418. pi->
  22419. tx_rx_cal_radio_saveregs[(core * 11) +
  22420. 8]);
  22421. }
  22422. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22423. for (core = 0; core <= 1; core++) {
  22424. jtag_core = (core == PHY_CORE_0) ?
  22425. RADIO_2056_TX0 : RADIO_2056_TX1;
  22426. write_radio_reg(pi,
  22427. RADIO_2056_TX_TX_SSI_MASTER | jtag_core,
  22428. pi->
  22429. tx_rx_cal_radio_saveregs[(core * 11) +
  22430. 0]);
  22431. write_radio_reg(pi,
  22432. RADIO_2056_TX_IQCAL_VCM_HG | jtag_core,
  22433. pi->
  22434. tx_rx_cal_radio_saveregs[(core * 11) +
  22435. 1]);
  22436. write_radio_reg(pi,
  22437. RADIO_2056_TX_IQCAL_IDAC | jtag_core,
  22438. pi->
  22439. tx_rx_cal_radio_saveregs[(core * 11) +
  22440. 2]);
  22441. write_radio_reg(pi, RADIO_2056_TX_TSSI_VCM | jtag_core,
  22442. pi->
  22443. tx_rx_cal_radio_saveregs[(core * 11) +
  22444. 3]);
  22445. write_radio_reg(pi,
  22446. RADIO_2056_TX_TX_AMP_DET | jtag_core,
  22447. pi->
  22448. tx_rx_cal_radio_saveregs[(core * 11) +
  22449. 4]);
  22450. write_radio_reg(pi,
  22451. RADIO_2056_TX_TX_SSI_MUX | jtag_core,
  22452. pi->
  22453. tx_rx_cal_radio_saveregs[(core * 11) +
  22454. 5]);
  22455. write_radio_reg(pi, RADIO_2056_TX_TSSIA | jtag_core,
  22456. pi->
  22457. tx_rx_cal_radio_saveregs[(core * 11) +
  22458. 6]);
  22459. write_radio_reg(pi, RADIO_2056_TX_TSSIG | jtag_core,
  22460. pi->
  22461. tx_rx_cal_radio_saveregs[(core * 11) +
  22462. 7]);
  22463. write_radio_reg(pi,
  22464. RADIO_2056_TX_TSSI_MISC1 | jtag_core,
  22465. pi->
  22466. tx_rx_cal_radio_saveregs[(core * 11) +
  22467. 8]);
  22468. write_radio_reg(pi,
  22469. RADIO_2056_TX_TSSI_MISC2 | jtag_core,
  22470. pi->
  22471. tx_rx_cal_radio_saveregs[(core * 11) +
  22472. 9]);
  22473. write_radio_reg(pi,
  22474. RADIO_2056_TX_TSSI_MISC3 | jtag_core,
  22475. pi->
  22476. tx_rx_cal_radio_saveregs[(core * 11) +
  22477. 10]);
  22478. }
  22479. } else {
  22480. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  22481. pi->tx_rx_cal_radio_saveregs[0]);
  22482. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  22483. pi->tx_rx_cal_radio_saveregs[1]);
  22484. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  22485. pi->tx_rx_cal_radio_saveregs[2]);
  22486. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  22487. pi->tx_rx_cal_radio_saveregs[3]);
  22488. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  22489. pi->tx_rx_cal_radio_saveregs[4]);
  22490. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  22491. pi->tx_rx_cal_radio_saveregs[5]);
  22492. }
  22493. }
  22494. static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi)
  22495. {
  22496. u16 val, mask;
  22497. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22498. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22499. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22500. mask = ((0x3 << 8) | (0x3 << 10));
  22501. val = (0x2 << 8);
  22502. val |= (0x2 << 10);
  22503. mod_phy_reg(pi, 0xa6, mask, val);
  22504. mod_phy_reg(pi, 0xa7, mask, val);
  22505. val = read_phy_reg(pi, 0x8f);
  22506. pi->tx_rx_cal_phy_saveregs[2] = val;
  22507. val |= ((0x1 << 9) | (0x1 << 10));
  22508. write_phy_reg(pi, 0x8f, val);
  22509. val = read_phy_reg(pi, 0xa5);
  22510. pi->tx_rx_cal_phy_saveregs[3] = val;
  22511. val |= ((0x1 << 9) | (0x1 << 10));
  22512. write_phy_reg(pi, 0xa5, val);
  22513. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x01);
  22514. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  22515. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22516. &val);
  22517. pi->tx_rx_cal_phy_saveregs[5] = val;
  22518. val = 0;
  22519. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22520. &val);
  22521. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22522. &val);
  22523. pi->tx_rx_cal_phy_saveregs[6] = val;
  22524. val = 0;
  22525. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22526. &val);
  22527. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0x91);
  22528. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0x92);
  22529. if (!(pi->use_int_tx_iqlo_cal_nphy))
  22530. wlc_phy_rfctrlintc_override_nphy(
  22531. pi,
  22532. NPHY_RfctrlIntc_override_PA,
  22533. 1,
  22534. RADIO_MIMO_CORESEL_CORE1
  22535. |
  22536. RADIO_MIMO_CORESEL_CORE2);
  22537. else
  22538. wlc_phy_rfctrlintc_override_nphy(
  22539. pi,
  22540. NPHY_RfctrlIntc_override_PA,
  22541. 0,
  22542. RADIO_MIMO_CORESEL_CORE1
  22543. |
  22544. RADIO_MIMO_CORESEL_CORE2);
  22545. wlc_phy_rfctrlintc_override_nphy(pi,
  22546. NPHY_RfctrlIntc_override_TRSW,
  22547. 0x2, RADIO_MIMO_CORESEL_CORE1);
  22548. wlc_phy_rfctrlintc_override_nphy(pi,
  22549. NPHY_RfctrlIntc_override_TRSW,
  22550. 0x8, RADIO_MIMO_CORESEL_CORE2);
  22551. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  22552. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  22553. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  22554. 0x29b, (0x1 << 0), (0) << 0);
  22555. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  22556. 0x29b, (0x1 << 0), (0) << 0);
  22557. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22558. || NREV_GE(pi->pubpi.phy_rev, 8))
  22559. wlc_phy_rfctrl_override_nphy_rev7(
  22560. pi, (0x1 << 7),
  22561. wlc_phy_read_lpf_bw_ctl_nphy
  22562. (pi,
  22563. 0), 0, 0,
  22564. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22565. if (pi->use_int_tx_iqlo_cal_nphy
  22566. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22567. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22568. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22569. 1 << 4);
  22570. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22571. mod_radio_reg(
  22572. pi,
  22573. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22574. 1, 0);
  22575. mod_radio_reg(
  22576. pi,
  22577. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22578. 1, 0);
  22579. } else {
  22580. mod_radio_reg(
  22581. pi,
  22582. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22583. 1, 0);
  22584. mod_radio_reg(
  22585. pi,
  22586. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22587. 1, 0);
  22588. }
  22589. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22590. wlc_phy_rfctrl_override_nphy_rev7(
  22591. pi,
  22592. (0x1 << 3), 0,
  22593. 0x3, 0,
  22594. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22595. }
  22596. }
  22597. } else {
  22598. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22599. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22600. mask = ((0x3 << 12) | (0x3 << 14));
  22601. val = (0x2 << 12);
  22602. val |= (0x2 << 14);
  22603. mod_phy_reg(pi, 0xa6, mask, val);
  22604. mod_phy_reg(pi, 0xa7, mask, val);
  22605. val = read_phy_reg(pi, 0xa5);
  22606. pi->tx_rx_cal_phy_saveregs[2] = val;
  22607. val |= ((0x1 << 12) | (0x1 << 13));
  22608. write_phy_reg(pi, 0xa5, val);
  22609. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22610. &val);
  22611. pi->tx_rx_cal_phy_saveregs[3] = val;
  22612. val |= 0x2000;
  22613. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22614. &val);
  22615. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22616. &val);
  22617. pi->tx_rx_cal_phy_saveregs[4] = val;
  22618. val |= 0x2000;
  22619. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22620. &val);
  22621. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x91);
  22622. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x92);
  22623. val = CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  22624. write_phy_reg(pi, 0x91, val);
  22625. write_phy_reg(pi, 0x92, val);
  22626. }
  22627. }
  22628. static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi)
  22629. {
  22630. u16 mask;
  22631. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22632. write_phy_reg(pi, 0xa6, pi->tx_rx_cal_phy_saveregs[0]);
  22633. write_phy_reg(pi, 0xa7, pi->tx_rx_cal_phy_saveregs[1]);
  22634. write_phy_reg(pi, 0x8f, pi->tx_rx_cal_phy_saveregs[2]);
  22635. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[3]);
  22636. write_phy_reg(pi, 0x01, pi->tx_rx_cal_phy_saveregs[4]);
  22637. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22638. &pi->tx_rx_cal_phy_saveregs[5]);
  22639. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22640. &pi->tx_rx_cal_phy_saveregs[6]);
  22641. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[7]);
  22642. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[8]);
  22643. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  22644. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  22645. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22646. || NREV_GE(pi->pubpi.phy_rev, 8))
  22647. wlc_phy_rfctrl_override_nphy_rev7(
  22648. pi, (0x1 << 7), 0, 0,
  22649. 1,
  22650. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22651. wlc_phy_resetcca_nphy(pi);
  22652. if (pi->use_int_tx_iqlo_cal_nphy
  22653. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22654. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22655. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22656. mod_radio_reg(
  22657. pi,
  22658. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22659. 1, 1);
  22660. mod_radio_reg(
  22661. pi,
  22662. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22663. 1, 1);
  22664. } else {
  22665. mod_radio_reg(
  22666. pi,
  22667. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22668. 1, 1);
  22669. mod_radio_reg(
  22670. pi,
  22671. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22672. 1, 1);
  22673. }
  22674. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22675. 0);
  22676. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22677. wlc_phy_rfctrl_override_nphy_rev7(
  22678. pi,
  22679. (0x1 << 3), 0,
  22680. 0x3, 1,
  22681. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22682. }
  22683. }
  22684. } else {
  22685. mask = ((0x3 << 12) | (0x3 << 14));
  22686. mod_phy_reg(pi, 0xa6, mask, pi->tx_rx_cal_phy_saveregs[0]);
  22687. mod_phy_reg(pi, 0xa7, mask, pi->tx_rx_cal_phy_saveregs[1]);
  22688. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[2]);
  22689. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22690. &pi->tx_rx_cal_phy_saveregs[3]);
  22691. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22692. &pi->tx_rx_cal_phy_saveregs[4]);
  22693. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[5]);
  22694. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[6]);
  22695. }
  22696. }
  22697. void
  22698. wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
  22699. {
  22700. u16 tssi_reg;
  22701. s32 temp, pwrindex[2];
  22702. s32 idle_tssi[2];
  22703. s32 rssi_buf[4];
  22704. s32 tssival[2];
  22705. u8 tssi_type;
  22706. tssi_reg = read_phy_reg(pi, 0x1e9);
  22707. temp = (s32) (tssi_reg & 0x3f);
  22708. idle_tssi[0] = (temp <= 31) ? temp : (temp - 64);
  22709. temp = (s32) ((tssi_reg >> 8) & 0x3f);
  22710. idle_tssi[1] = (temp <= 31) ? temp : (temp - 64);
  22711. tssi_type =
  22712. CHSPEC_IS5G(pi->radio_chanspec) ?
  22713. (u8)NPHY_RSSI_SEL_TSSI_5G : (u8)NPHY_RSSI_SEL_TSSI_2G;
  22714. wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
  22715. tssival[0] = rssi_buf[0] / ((s32) num_samps);
  22716. tssival[1] = rssi_buf[2] / ((s32) num_samps);
  22717. pwrindex[0] = idle_tssi[0] - tssival[0] + 64;
  22718. pwrindex[1] = idle_tssi[1] - tssival[1] + 64;
  22719. if (pwrindex[0] < 0)
  22720. pwrindex[0] = 0;
  22721. else if (pwrindex[0] > 63)
  22722. pwrindex[0] = 63;
  22723. if (pwrindex[1] < 0)
  22724. pwrindex[1] = 0;
  22725. else if (pwrindex[1] > 63)
  22726. pwrindex[1] = 63;
  22727. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 1,
  22728. (u32) pwrindex[0], 32, &qdBm_pwrbuf[0]);
  22729. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 1,
  22730. (u32) pwrindex[1], 32, &qdBm_pwrbuf[1]);
  22731. }
  22732. static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core)
  22733. {
  22734. int index;
  22735. u32 bbmult_scale;
  22736. u16 bbmult;
  22737. u16 tblentry;
  22738. static const struct nphy_txiqcal_ladder ladder_lo[] = {
  22739. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22740. {25, 0}, {25, 1}, {25, 2}, {25, 3}, {25, 4}, {25, 5},
  22741. {25, 6}, {25, 7}, {35, 7}, {50, 7}, {71, 7}, {100, 7}
  22742. };
  22743. static const struct nphy_txiqcal_ladder ladder_iq[] = {
  22744. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22745. {25, 0}, {35, 0}, {50, 0}, {71, 0}, {100, 0}, {100, 1},
  22746. {100, 2}, {100, 3}, {100, 4}, {100, 5}, {100, 6}, {100, 7}
  22747. };
  22748. bbmult = (core == PHY_CORE_0) ?
  22749. ((pi->nphy_txcal_bbmult >> 8) & 0xff) :
  22750. (pi->nphy_txcal_bbmult & 0xff);
  22751. for (index = 0; index < 18; index++) {
  22752. bbmult_scale = ladder_lo[index].percent * bbmult;
  22753. bbmult_scale /= 100;
  22754. tblentry =
  22755. ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env;
  22756. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16,
  22757. &tblentry);
  22758. bbmult_scale = ladder_iq[index].percent * bbmult;
  22759. bbmult_scale /= 100;
  22760. tblentry =
  22761. ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env;
  22762. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32,
  22763. 16, &tblentry);
  22764. }
  22765. }
  22766. static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core)
  22767. {
  22768. u16 tmp;
  22769. tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee));
  22770. tmp = (tmp & (0x7f << 8)) >> 8;
  22771. return (u8) tmp;
  22772. }
  22773. static void
  22774. wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1)
  22775. {
  22776. mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0);
  22777. if (NREV_GT(pi->pubpi.phy_rev, 1))
  22778. mod_phy_reg(pi, 0x222, (0xff << 0), idx1);
  22779. }
  22780. static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi)
  22781. {
  22782. u16 m0m1;
  22783. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  22784. return m0m1;
  22785. }
  22786. static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1)
  22787. {
  22788. u16 m0m1 = (u16) ((m0 << 8) | m1);
  22789. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m0m1);
  22790. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &m0m1);
  22791. }
  22792. static void
  22793. wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi,
  22794. struct nphy_papd_restore_state *state, u8 core)
  22795. {
  22796. s32 tone_freq;
  22797. u8 off_core;
  22798. u16 mixgain = 0;
  22799. off_core = core ^ 0x1;
  22800. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22801. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22802. || NREV_GE(pi->pubpi.phy_rev, 8))
  22803. wlc_phy_rfctrl_override_nphy_rev7(
  22804. pi, (0x1 << 7),
  22805. wlc_phy_read_lpf_bw_ctl_nphy
  22806. (pi,
  22807. 0), 0, 0,
  22808. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22809. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22810. if (pi->pubpi.radiorev == 5)
  22811. mixgain = (core == 0) ? 0x20 : 0x00;
  22812. else if ((pi->pubpi.radiorev == 7)
  22813. || (pi->pubpi.radiorev == 8))
  22814. mixgain = 0x00;
  22815. else if ((pi->pubpi.radiorev <= 4)
  22816. || (pi->pubpi.radiorev == 6))
  22817. mixgain = 0x00;
  22818. } else {
  22819. if ((pi->pubpi.radiorev == 4) ||
  22820. (pi->pubpi.radiorev == 6))
  22821. mixgain = 0x50;
  22822. else if ((pi->pubpi.radiorev == 3)
  22823. || (pi->pubpi.radiorev == 7)
  22824. || (pi->pubpi.radiorev == 8))
  22825. mixgain = 0x0;
  22826. }
  22827. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11),
  22828. mixgain, (1 << core), 0,
  22829. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22830. wlc_phy_rfctrl_override_1tomany_nphy(
  22831. pi,
  22832. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22833. 1, (1 << core), 0);
  22834. wlc_phy_rfctrl_override_1tomany_nphy(
  22835. pi,
  22836. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22837. 0, (1 << off_core), 0);
  22838. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  22839. 0, 0x3, 0,
  22840. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22841. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1,
  22842. (1 << core), 0,
  22843. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22844. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0,
  22845. (1 << core), 0,
  22846. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22847. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1,
  22848. (1 << core), 0,
  22849. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22850. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0,
  22851. (1 << core), 0,
  22852. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22853. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1,
  22854. (1 << core), 0,
  22855. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22856. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0,
  22857. (1 << core), 0,
  22858. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22859. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1,
  22860. (1 << core), 0,
  22861. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22862. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5),
  22863. 0, (1 << core), 0,
  22864. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22865. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0,
  22866. (1 << core), 0,
  22867. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22868. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22869. 0xa6 : 0xa7);
  22870. state->afeoverride[core] =
  22871. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22872. state->afectrl[off_core] =
  22873. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa7 : 0xa6);
  22874. state->afeoverride[off_core] =
  22875. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa5 : 0x8f);
  22876. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22877. (0x1 << 2), 0);
  22878. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22879. 0xa5), (0x1 << 2), (0x1 << 2));
  22880. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa7 : 0xa6),
  22881. (0x1 << 2), (0x1 << 2));
  22882. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa5 :
  22883. 0x8f), (0x1 << 2), (0x1 << 2));
  22884. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22885. state->pwrup[core] =
  22886. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22887. TXRXCOUPLE_2G_PWRUP);
  22888. state->atten[core] =
  22889. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22890. TXRXCOUPLE_2G_ATTEN);
  22891. state->pwrup[off_core] =
  22892. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22893. TXRXCOUPLE_2G_PWRUP);
  22894. state->atten[off_core] =
  22895. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22896. TXRXCOUPLE_2G_ATTEN);
  22897. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22898. TXRXCOUPLE_2G_PWRUP, 0xc);
  22899. if ((pi->pubpi.radiorev == 3) ||
  22900. (pi->pubpi.radiorev == 4) ||
  22901. (pi->pubpi.radiorev == 6))
  22902. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22903. TXRXCOUPLE_2G_ATTEN, 0xf0);
  22904. else if (pi->pubpi.radiorev == 5)
  22905. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22906. TXRXCOUPLE_2G_ATTEN,
  22907. (core == 0) ? 0xf7 : 0xf2);
  22908. else if ((pi->pubpi.radiorev == 7)
  22909. || (pi->pubpi.radiorev == 8))
  22910. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22911. TXRXCOUPLE_2G_ATTEN, 0xf0);
  22912. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22913. TXRXCOUPLE_2G_PWRUP, 0x0);
  22914. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22915. TXRXCOUPLE_2G_ATTEN, 0xff);
  22916. } else {
  22917. state->pwrup[core] =
  22918. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22919. TXRXCOUPLE_5G_PWRUP);
  22920. state->atten[core] =
  22921. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22922. TXRXCOUPLE_5G_ATTEN);
  22923. state->pwrup[off_core] =
  22924. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22925. TXRXCOUPLE_5G_PWRUP);
  22926. state->atten[off_core] =
  22927. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22928. TXRXCOUPLE_5G_ATTEN);
  22929. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22930. TXRXCOUPLE_5G_PWRUP, 0xc);
  22931. if ((pi->pubpi.radiorev == 7)
  22932. || (pi->pubpi.radiorev == 8))
  22933. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22934. TXRXCOUPLE_5G_ATTEN, 0xf4);
  22935. else
  22936. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22937. TXRXCOUPLE_5G_ATTEN, 0xf0);
  22938. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22939. TXRXCOUPLE_5G_PWRUP, 0x0);
  22940. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22941. TXRXCOUPLE_5G_ATTEN, 0xff);
  22942. }
  22943. tone_freq = 4000;
  22944. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  22945. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  22946. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  22947. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  22948. 0x2a4, (0x1 << 13), (1) << 13);
  22949. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  22950. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_OFF) << 0);
  22951. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x2a3 :
  22952. 0x2a4, (0x1 << 13), (0) << 13);
  22953. } else {
  22954. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 0);
  22955. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0, 0);
  22956. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 0);
  22957. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 1, 0x3, 0);
  22958. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0x3, 0);
  22959. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22960. 0xa6 : 0xa7);
  22961. state->afeoverride[core] =
  22962. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22963. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22964. (0x1 << 0) | (0x1 << 1) | (0x1 << 2), 0);
  22965. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22966. 0xa5),
  22967. (0x1 << 0) |
  22968. (0x1 << 1) |
  22969. (0x1 << 2), (0x1 << 0) | (0x1 << 1) | (0x1 << 2));
  22970. state->vga_master[core] =
  22971. READ_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER);
  22972. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER, 0x2b);
  22973. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22974. state->fbmix[core] =
  22975. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  22976. TXFBMIX_G);
  22977. state->intpa_master[core] =
  22978. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  22979. INTPAG_MASTER);
  22980. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_G,
  22981. 0x03);
  22982. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  22983. INTPAG_MASTER, 0x04);
  22984. } else {
  22985. state->fbmix[core] =
  22986. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  22987. TXFBMIX_A);
  22988. state->intpa_master[core] =
  22989. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  22990. INTPAA_MASTER);
  22991. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_A,
  22992. 0x03);
  22993. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  22994. INTPAA_MASTER, 0x04);
  22995. }
  22996. tone_freq = 4000;
  22997. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  22998. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  22999. 0x29b, (0x1 << 0), (1) << 0);
  23000. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23001. 0x29b, (0x1 << 0), (0) << 0);
  23002. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23003. }
  23004. }
  23005. static void
  23006. wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi,
  23007. struct nphy_papd_restore_state *state)
  23008. {
  23009. u8 core;
  23010. wlc_phy_stopplayback_nphy(pi);
  23011. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23012. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23013. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23014. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23015. TXRXCOUPLE_2G_PWRUP, 0);
  23016. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23017. TXRXCOUPLE_2G_ATTEN,
  23018. state->atten[core]);
  23019. } else {
  23020. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23021. TXRXCOUPLE_5G_PWRUP, 0);
  23022. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23023. TXRXCOUPLE_5G_ATTEN,
  23024. state->atten[core]);
  23025. }
  23026. }
  23027. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  23028. wlc_phy_rfctrl_override_nphy_rev7(
  23029. pi, (0x1 << 2),
  23030. 1, 0x3, 0,
  23031. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23032. else
  23033. wlc_phy_rfctrl_override_nphy_rev7(
  23034. pi, (0x1 << 2),
  23035. 0, 0x3, 1,
  23036. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23037. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  23038. 0, 0x3, 1,
  23039. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23040. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23041. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23042. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 0, 0x3, 1,
  23043. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23044. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 1, 0x3, 1,
  23045. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23046. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 0, 0x3, 1,
  23047. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23048. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0x3, 1,
  23049. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23050. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12), 0, 0x3, 1,
  23051. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23052. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 1,
  23053. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23054. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23055. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23056. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0x3, 1,
  23057. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23058. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0, 0x3, 1,
  23059. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23060. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1, 0x3, 1,
  23061. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23062. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0, 0x3, 1,
  23063. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23064. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1, 0x3, 1,
  23065. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23066. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0x3, 1,
  23067. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23068. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0, 0x3, 1,
  23069. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23070. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23071. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23072. 0xa6 : 0xa7, state->afectrl[core]);
  23073. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23074. 0xa5, state->afeoverride[core]);
  23075. }
  23076. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23077. (state->mm & 0xff));
  23078. if (NREV_IS(pi->pubpi.phy_rev, 7)
  23079. || NREV_GE(pi->pubpi.phy_rev, 8))
  23080. wlc_phy_rfctrl_override_nphy_rev7(
  23081. pi, (0x1 << 7), 0, 0,
  23082. 1,
  23083. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23084. } else {
  23085. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  23086. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 0x3, 1);
  23087. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 1);
  23088. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 0, 0x3, 1);
  23089. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 0, 0x3, 1);
  23090. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23091. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER,
  23092. state->vga_master[core]);
  23093. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23094. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23095. TXFBMIX_G, state->fbmix[core]);
  23096. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23097. INTPAG_MASTER,
  23098. state->intpa_master[core]);
  23099. } else {
  23100. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23101. TXFBMIX_A, state->fbmix[core]);
  23102. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23103. INTPAA_MASTER,
  23104. state->intpa_master[core]);
  23105. }
  23106. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23107. 0xa6 : 0xa7, state->afectrl[core]);
  23108. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23109. 0xa5, state->afeoverride[core]);
  23110. }
  23111. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23112. (state->mm & 0xff));
  23113. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 1);
  23114. }
  23115. }
  23116. static void
  23117. wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start,
  23118. u32 end)
  23119. {
  23120. u32 *buf, *src, *dst, sz;
  23121. sz = end - start + 1;
  23122. buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
  23123. if (NULL == buf)
  23124. return;
  23125. src = buf;
  23126. dst = buf + NPHY_PAPD_EPS_TBL_SIZE;
  23127. wlc_phy_table_read_nphy(pi,
  23128. (core ==
  23129. PHY_CORE_0 ? NPHY_TBL_ID_EPSILONTBL0 :
  23130. NPHY_TBL_ID_EPSILONTBL1),
  23131. NPHY_PAPD_EPS_TBL_SIZE, 0, 32, src);
  23132. do {
  23133. u32 phy_a1, phy_a2;
  23134. s32 phy_a3, phy_a4, phy_a5, phy_a6, phy_a7;
  23135. phy_a1 = end - min(end, (winsz >> 1));
  23136. phy_a2 = min_t(u32, NPHY_PAPD_EPS_TBL_SIZE - 1,
  23137. end + (winsz >> 1));
  23138. phy_a3 = phy_a2 - phy_a1 + 1;
  23139. phy_a6 = 0;
  23140. phy_a7 = 0;
  23141. do {
  23142. wlc_phy_papd_decode_epsilon(src[phy_a2], &phy_a4,
  23143. &phy_a5);
  23144. phy_a6 += phy_a4;
  23145. phy_a7 += phy_a5;
  23146. } while (phy_a2-- != phy_a1);
  23147. phy_a6 /= phy_a3;
  23148. phy_a7 /= phy_a3;
  23149. dst[end] = ((u32) phy_a7 << 13) | ((u32) phy_a6 & 0x1fff);
  23150. } while (end-- != start);
  23151. wlc_phy_table_write_nphy(pi,
  23152. (core ==
  23153. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0 :
  23154. NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
  23155. kfree(buf);
  23156. }
  23157. static void
  23158. wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains,
  23159. enum phy_cal_mode cal_mode, u8 core)
  23160. {
  23161. u16 phy_a1, phy_a2, phy_a3;
  23162. u16 phy_a4, phy_a5;
  23163. bool phy_a6;
  23164. u8 phy_a7, m[2];
  23165. u32 phy_a8 = 0;
  23166. struct nphy_txgains phy_a9;
  23167. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23168. return;
  23169. phy_a7 = (core == PHY_CORE_0) ? 1 : 0;
  23170. phy_a6 = ((cal_mode == CAL_GCTRL)
  23171. || (cal_mode == CAL_SOFT)) ? true : false;
  23172. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23173. phy_a9 = wlc_phy_get_tx_gain_nphy(pi);
  23174. if (CHSPEC_IS2G(pi->radio_chanspec))
  23175. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23176. (phy_a9.txgm[core] << 12) |
  23177. (phy_a9.pga[core] << 8) |
  23178. (txgains->gains.pad[core] << 3) |
  23179. (phy_a9.ipa[core]));
  23180. else
  23181. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23182. (phy_a9.txgm[core] << 12) |
  23183. (txgains->gains.pga[core] << 8) |
  23184. (phy_a9.pad[core] << 3) | (phy_a9.ipa[core]));
  23185. wlc_phy_rfctrl_override_1tomany_nphy(
  23186. pi,
  23187. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23188. phy_a5, (1 << core), 0);
  23189. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23190. if ((pi->pubpi.radiorev <= 4)
  23191. || (pi->pubpi.radiorev == 6))
  23192. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23193. 60 : 79;
  23194. else
  23195. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23196. 45 : 64;
  23197. } else {
  23198. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23199. }
  23200. m[phy_a7] = 0;
  23201. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23202. phy_a2 = 63;
  23203. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23204. if ((pi->pubpi.radiorev == 4)
  23205. || (pi->pubpi.radiorev == 6)) {
  23206. phy_a1 = 30;
  23207. phy_a3 = 30;
  23208. } else {
  23209. phy_a1 = 25;
  23210. phy_a3 = 25;
  23211. }
  23212. } else {
  23213. if ((pi->pubpi.radiorev == 5)
  23214. || (pi->pubpi.radiorev == 7)
  23215. || (pi->pubpi.radiorev == 8)) {
  23216. phy_a1 = 25;
  23217. phy_a3 = 25;
  23218. } else {
  23219. phy_a1 = 35;
  23220. phy_a3 = 35;
  23221. }
  23222. }
  23223. if (cal_mode == CAL_GCTRL) {
  23224. if ((pi->pubpi.radiorev == 5)
  23225. && (CHSPEC_IS2G(pi->radio_chanspec)))
  23226. phy_a1 = 55;
  23227. else if (((pi->pubpi.radiorev == 7) &&
  23228. (CHSPEC_IS2G(pi->radio_chanspec))) ||
  23229. ((pi->pubpi.radiorev == 8) &&
  23230. (CHSPEC_IS2G(pi->radio_chanspec))))
  23231. phy_a1 = 60;
  23232. else
  23233. phy_a1 = 63;
  23234. } else if ((cal_mode != CAL_FULL) && (cal_mode != CAL_SOFT)) {
  23235. phy_a1 = 35;
  23236. phy_a3 = 35;
  23237. }
  23238. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23239. 0x29b, (0x1 << 0), (1) << 0);
  23240. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23241. 0x29b, (0x1 << 0), (0) << 0);
  23242. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23243. 0x2a4, (0x1 << 13), (1) << 13);
  23244. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23245. 0x2a4, (0x1 << 13), (0) << 13);
  23246. write_phy_reg(pi, 0x2a1, 0x80);
  23247. write_phy_reg(pi, 0x2a2, 0x100);
  23248. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23249. 0x2a4, (0x7 << 4), (11) << 4);
  23250. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23251. 0x2a4, (0x7 << 8), (11) << 8);
  23252. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23253. 0x2a4, (0x7 << 0), (0x3) << 0);
  23254. write_phy_reg(pi, 0x2e5, 0x20);
  23255. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23256. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23257. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23258. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23259. 1, ((core == 0) ? 1 : 2), 0,
  23260. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23261. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23262. 0, ((core == 0) ? 2 : 1), 0,
  23263. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23264. write_phy_reg(pi, 0x2be, 1);
  23265. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23266. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23267. 0, 0x3, 0,
  23268. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23269. wlc_phy_table_write_nphy(pi,
  23270. (core ==
  23271. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23272. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23273. 32, &phy_a8);
  23274. if (cal_mode != CAL_GCTRL) {
  23275. if (CHSPEC_IS5G(pi->radio_chanspec))
  23276. wlc_phy_a1_nphy(pi, core, 5, 0, 35);
  23277. }
  23278. wlc_phy_rfctrl_override_1tomany_nphy(
  23279. pi,
  23280. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23281. phy_a5, (1 << core), 1);
  23282. } else {
  23283. if (txgains) {
  23284. if (txgains->useindex) {
  23285. phy_a4 = 15 - ((txgains->index) >> 3);
  23286. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23287. if (NREV_GE(pi->pubpi.phy_rev, 6) &&
  23288. pi->sh->chip == BCMA_CHIP_ID_BCM47162) {
  23289. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23290. } else if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23291. phy_a5 = 0x00f7 | (phy_a4 << 8);
  23292. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  23293. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23294. } else {
  23295. phy_a5 = 0x50f7 | (phy_a4 << 8);
  23296. }
  23297. } else {
  23298. phy_a5 = 0x70f7 | (phy_a4 << 8);
  23299. }
  23300. wlc_phy_rfctrl_override_nphy(pi,
  23301. (0x1 << 13),
  23302. phy_a5,
  23303. (1 << core), 0);
  23304. } else {
  23305. wlc_phy_rfctrl_override_nphy(pi,
  23306. (0x1 << 13),
  23307. 0x5bf7,
  23308. (1 << core), 0);
  23309. }
  23310. }
  23311. if (CHSPEC_IS2G(pi->radio_chanspec))
  23312. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
  23313. else
  23314. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23315. m[phy_a7] = 0;
  23316. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23317. phy_a2 = 63;
  23318. if (cal_mode == CAL_FULL) {
  23319. phy_a1 = 25;
  23320. phy_a3 = 25;
  23321. } else if (cal_mode == CAL_SOFT) {
  23322. phy_a1 = 25;
  23323. phy_a3 = 25;
  23324. } else if (cal_mode == CAL_GCTRL) {
  23325. phy_a1 = 63;
  23326. phy_a3 = 25;
  23327. } else {
  23328. phy_a1 = 25;
  23329. phy_a3 = 25;
  23330. }
  23331. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23332. 0x29b, (0x1 << 0), (1) << 0);
  23333. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23334. 0x29b, (0x1 << 0), (0) << 0);
  23335. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23336. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23337. 0x2a4, (0x1 << 13), (1) << 13);
  23338. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23339. 0x2a4, (0x1 << 13), (0) << 13);
  23340. write_phy_reg(pi, 0x2a1, 0x20);
  23341. write_phy_reg(pi, 0x2a2, 0x60);
  23342. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23343. 0x2a4, (0xf << 4), (9) << 4);
  23344. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23345. 0x2a4, (0xf << 8), (9) << 8);
  23346. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23347. 0x2a4, (0xf << 0), (0x2) << 0);
  23348. write_phy_reg(pi, 0x2e5, 0x20);
  23349. } else {
  23350. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23351. 0x2a4, (0x1 << 11), (1) << 11);
  23352. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23353. 0x2a4, (0x1 << 11), (0) << 11);
  23354. write_phy_reg(pi, 0x2a1, 0x80);
  23355. write_phy_reg(pi, 0x2a2, 0x600);
  23356. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23357. 0x2a4, (0x7 << 4), (0) << 4);
  23358. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23359. 0x2a4, (0x7 << 8), (0) << 8);
  23360. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23361. 0x2a4, (0x7 << 0), (0x3) << 0);
  23362. mod_phy_reg(pi, 0x2a0, (0x3f << 8), (0x20) << 8);
  23363. }
  23364. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23365. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23366. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23367. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0x3, 0);
  23368. write_phy_reg(pi, 0x2be, 1);
  23369. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23370. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23371. wlc_phy_table_write_nphy(pi,
  23372. (core ==
  23373. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23374. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23375. 32, &phy_a8);
  23376. if (cal_mode != CAL_GCTRL)
  23377. wlc_phy_a1_nphy(pi, core, 5, 0, 40);
  23378. }
  23379. }
  23380. static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core)
  23381. {
  23382. int phy_a1;
  23383. int phy_a2;
  23384. bool phy_a3;
  23385. struct nphy_ipa_txcalgains phy_a4;
  23386. bool phy_a5 = false;
  23387. bool phy_a6 = true;
  23388. s32 phy_a7, phy_a8;
  23389. u32 phy_a9;
  23390. int phy_a10;
  23391. bool phy_a11 = false;
  23392. int phy_a12;
  23393. u8 phy_a13 = 0;
  23394. u8 phy_a14;
  23395. u8 *phy_a15 = NULL;
  23396. phy_a4.useindex = true;
  23397. phy_a12 = start_gain;
  23398. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23399. phy_a2 = 20;
  23400. phy_a1 = 1;
  23401. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23402. if (pi->pubpi.radiorev == 5) {
  23403. phy_a15 = pad_gain_codes_used_2057rev5;
  23404. phy_a13 =
  23405. ARRAY_SIZE(pad_gain_codes_used_2057rev5) - 1;
  23406. } else if ((pi->pubpi.radiorev == 7)
  23407. || (pi->pubpi.radiorev == 8)) {
  23408. phy_a15 = pad_gain_codes_used_2057rev7;
  23409. phy_a13 =
  23410. ARRAY_SIZE(pad_gain_codes_used_2057rev7) - 1;
  23411. } else {
  23412. phy_a15 = pad_all_gain_codes_2057;
  23413. phy_a13 = ARRAY_SIZE(pad_all_gain_codes_2057) -
  23414. 1;
  23415. }
  23416. } else {
  23417. phy_a15 = pga_all_gain_codes_2057;
  23418. phy_a13 = ARRAY_SIZE(pga_all_gain_codes_2057) - 1;
  23419. }
  23420. phy_a14 = 0;
  23421. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23422. if (CHSPEC_IS2G(pi->radio_chanspec))
  23423. phy_a4.gains.pad[core] =
  23424. (u16) phy_a15[phy_a12];
  23425. else
  23426. phy_a4.gains.pga[core] =
  23427. (u16) phy_a15[phy_a12];
  23428. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23429. wlc_phy_table_read_nphy(pi,
  23430. (core ==
  23431. PHY_CORE_0 ?
  23432. NPHY_TBL_ID_EPSILONTBL0 :
  23433. NPHY_TBL_ID_EPSILONTBL1), 1,
  23434. 63, 32, &phy_a9);
  23435. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23436. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23437. (phy_a8 == 4095) || (phy_a8 == -4096));
  23438. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23439. if (!phy_a3)
  23440. phy_a12 -= (u8) phy_a1;
  23441. phy_a11 = true;
  23442. break;
  23443. }
  23444. if (phy_a3)
  23445. phy_a12 += (u8) phy_a1;
  23446. else
  23447. phy_a12 -= (u8) phy_a1;
  23448. if ((phy_a12 < phy_a14) || (phy_a12 > phy_a13)) {
  23449. if (phy_a12 < phy_a14)
  23450. phy_a12 = phy_a14;
  23451. else
  23452. phy_a12 = phy_a13;
  23453. phy_a11 = true;
  23454. break;
  23455. }
  23456. phy_a6 = false;
  23457. phy_a5 = phy_a3;
  23458. }
  23459. } else {
  23460. phy_a2 = 10;
  23461. phy_a1 = 8;
  23462. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23463. phy_a4.index = (u8) phy_a12;
  23464. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23465. wlc_phy_table_read_nphy(pi,
  23466. (core ==
  23467. PHY_CORE_0 ?
  23468. NPHY_TBL_ID_EPSILONTBL0 :
  23469. NPHY_TBL_ID_EPSILONTBL1), 1,
  23470. 63, 32, &phy_a9);
  23471. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23472. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23473. (phy_a8 == 4095) || (phy_a8 == -4096));
  23474. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23475. if (!phy_a3)
  23476. phy_a12 -= (u8) phy_a1;
  23477. phy_a11 = true;
  23478. break;
  23479. }
  23480. if (phy_a3)
  23481. phy_a12 += (u8) phy_a1;
  23482. else
  23483. phy_a12 -= (u8) phy_a1;
  23484. if ((phy_a12 < 0) || (phy_a12 > 127)) {
  23485. if (phy_a12 < 0)
  23486. phy_a12 = 0;
  23487. else
  23488. phy_a12 = 127;
  23489. phy_a11 = true;
  23490. break;
  23491. }
  23492. phy_a6 = false;
  23493. phy_a5 = phy_a3;
  23494. }
  23495. }
  23496. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23497. return (u8) phy_a15[phy_a12];
  23498. else
  23499. return (u8) phy_a12;
  23500. }
  23501. static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal)
  23502. {
  23503. struct nphy_ipa_txcalgains phy_b1[2];
  23504. struct nphy_papd_restore_state phy_b2;
  23505. bool phy_b3;
  23506. u8 phy_b4;
  23507. u8 phy_b5;
  23508. s16 phy_b6, phy_b7, phy_b8;
  23509. u16 phy_b9;
  23510. s16 phy_b10, phy_b11, phy_b12;
  23511. phy_b11 = 0;
  23512. phy_b12 = 0;
  23513. phy_b7 = 0;
  23514. phy_b8 = 0;
  23515. phy_b6 = 0;
  23516. if (pi->nphy_papd_skip == 1)
  23517. return;
  23518. phy_b3 = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  23519. MCTL_EN_MAC));
  23520. if (!phy_b3)
  23521. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23522. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23523. pi->nphy_force_papd_cal = false;
  23524. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++)
  23525. pi->nphy_papd_tx_gain_at_last_cal[phy_b5] =
  23526. wlc_phy_txpwr_idx_cur_get_nphy(pi, phy_b5);
  23527. pi->nphy_papd_last_cal = pi->sh->now;
  23528. pi->nphy_papd_recal_counter++;
  23529. phy_b4 = pi->nphy_txpwrctrl;
  23530. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23531. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL0, 64, 0, 32,
  23532. nphy_papd_scaltbl);
  23533. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL1, 64, 0, 32,
  23534. nphy_papd_scaltbl);
  23535. phy_b9 = read_phy_reg(pi, 0x01);
  23536. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  23537. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23538. s32 i, val = 0;
  23539. for (i = 0; i < 64; i++)
  23540. wlc_phy_table_write_nphy(pi,
  23541. ((phy_b5 ==
  23542. PHY_CORE_0) ?
  23543. NPHY_TBL_ID_EPSILONTBL0 :
  23544. NPHY_TBL_ID_EPSILONTBL1), 1,
  23545. i, 32, &val);
  23546. }
  23547. wlc_phy_ipa_restore_tx_digi_filts_nphy(pi);
  23548. phy_b2.mm = wlc_phy_ipa_get_bbmult_nphy(pi);
  23549. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23550. wlc_phy_papd_cal_setup_nphy(pi, &phy_b2, phy_b5);
  23551. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23552. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23553. if ((pi->pubpi.radiorev == 3)
  23554. || (pi->pubpi.radiorev == 4)
  23555. || (pi->pubpi.radiorev == 6)) {
  23556. pi->nphy_papd_cal_gain_index[phy_b5] =
  23557. 23;
  23558. } else if (pi->pubpi.radiorev == 5) {
  23559. pi->nphy_papd_cal_gain_index[phy_b5] =
  23560. 0;
  23561. pi->nphy_papd_cal_gain_index[phy_b5] =
  23562. wlc_phy_a3_nphy(
  23563. pi,
  23564. pi->
  23565. nphy_papd_cal_gain_index
  23566. [phy_b5],
  23567. phy_b5);
  23568. } else if ((pi->pubpi.radiorev == 7)
  23569. || (pi->pubpi.radiorev == 8)) {
  23570. pi->nphy_papd_cal_gain_index[phy_b5] =
  23571. 0;
  23572. pi->nphy_papd_cal_gain_index[phy_b5] =
  23573. wlc_phy_a3_nphy(
  23574. pi,
  23575. pi->
  23576. nphy_papd_cal_gain_index
  23577. [phy_b5],
  23578. phy_b5);
  23579. }
  23580. phy_b1[phy_b5].gains.pad[phy_b5] =
  23581. pi->nphy_papd_cal_gain_index[phy_b5];
  23582. } else {
  23583. pi->nphy_papd_cal_gain_index[phy_b5] = 0;
  23584. pi->nphy_papd_cal_gain_index[phy_b5] =
  23585. wlc_phy_a3_nphy(
  23586. pi,
  23587. pi->
  23588. nphy_papd_cal_gain_index
  23589. [phy_b5], phy_b5);
  23590. phy_b1[phy_b5].gains.pga[phy_b5] =
  23591. pi->nphy_papd_cal_gain_index[phy_b5];
  23592. }
  23593. } else {
  23594. phy_b1[phy_b5].useindex = true;
  23595. phy_b1[phy_b5].index = 16;
  23596. phy_b1[phy_b5].index =
  23597. wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index,
  23598. phy_b5);
  23599. pi->nphy_papd_cal_gain_index[phy_b5] =
  23600. 15 - ((phy_b1[phy_b5].index) >> 3);
  23601. }
  23602. switch (pi->nphy_papd_cal_type) {
  23603. case 0:
  23604. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_FULL, phy_b5);
  23605. break;
  23606. case 1:
  23607. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_SOFT, phy_b5);
  23608. break;
  23609. }
  23610. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23611. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23612. }
  23613. if (NREV_LT(pi->pubpi.phy_rev, 7))
  23614. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23615. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23616. int eps_offset = 0;
  23617. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23618. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23619. if (pi->pubpi.radiorev == 3)
  23620. eps_offset = -2;
  23621. else if (pi->pubpi.radiorev == 5)
  23622. eps_offset = 3;
  23623. else
  23624. eps_offset = -1;
  23625. } else {
  23626. eps_offset = 2;
  23627. }
  23628. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23629. phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5];
  23630. phy_b10 = 0;
  23631. if ((pi->pubpi.radiorev == 3) ||
  23632. (pi->pubpi.radiorev == 4) ||
  23633. (pi->pubpi.radiorev == 6)) {
  23634. phy_b12 = -(
  23635. nphy_papd_padgain_dlt_2g_2057rev3n4
  23636. [phy_b8] + 1) / 2;
  23637. phy_b10 = -1;
  23638. } else if (pi->pubpi.radiorev == 5) {
  23639. phy_b12 = -(
  23640. nphy_papd_padgain_dlt_2g_2057rev5
  23641. [phy_b8] + 1) / 2;
  23642. } else if ((pi->pubpi.radiorev == 7) ||
  23643. (pi->pubpi.radiorev == 8)) {
  23644. phy_b12 = -(
  23645. nphy_papd_padgain_dlt_2g_2057rev7
  23646. [phy_b8] + 1) / 2;
  23647. }
  23648. } else {
  23649. phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5];
  23650. if ((pi->pubpi.radiorev == 3) ||
  23651. (pi->pubpi.radiorev == 4) ||
  23652. (pi->pubpi.radiorev == 6))
  23653. phy_b11 =
  23654. -(nphy_papd_pgagain_dlt_5g_2057
  23655. [phy_b7]
  23656. + 1) / 2;
  23657. else if ((pi->pubpi.radiorev == 7)
  23658. || (pi->pubpi.radiorev == 8))
  23659. phy_b11 = -(
  23660. nphy_papd_pgagain_dlt_5g_2057rev7
  23661. [phy_b7] + 1) / 2;
  23662. phy_b10 = -9;
  23663. }
  23664. if (CHSPEC_IS2G(pi->radio_chanspec))
  23665. phy_b6 =
  23666. -60 + 27 + eps_offset + phy_b12 +
  23667. phy_b10;
  23668. else
  23669. phy_b6 =
  23670. -60 + 27 + eps_offset + phy_b11 +
  23671. phy_b10;
  23672. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23673. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23674. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23675. } else {
  23676. if (NREV_LT(pi->pubpi.phy_rev, 5))
  23677. eps_offset = 4;
  23678. else
  23679. eps_offset = 2;
  23680. phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3);
  23681. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23682. phy_b11 =
  23683. -(nphy_papd_pga_gain_delta_ipa_2g[
  23684. phy_b7] +
  23685. 1) / 2;
  23686. phy_b10 = 0;
  23687. } else {
  23688. phy_b11 =
  23689. -(nphy_papd_pga_gain_delta_ipa_5g[
  23690. phy_b7] +
  23691. 1) / 2;
  23692. phy_b10 = -9;
  23693. }
  23694. phy_b6 = -60 + 27 + eps_offset + phy_b11 + phy_b10;
  23695. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23696. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23697. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23698. }
  23699. }
  23700. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  23701. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23702. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  23703. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23704. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23705. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23706. 0x2a4, (0x1 << 13), (0) << 13);
  23707. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23708. 0x2a4, (0x1 << 13), (0) << 13);
  23709. } else {
  23710. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23711. 0x2a4, (0x1 << 11), (0) << 11);
  23712. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23713. 0x2a4, (0x1 << 11), (0) << 11);
  23714. }
  23715. pi->nphy_papdcomp = NPHY_PAPD_COMP_ON;
  23716. write_phy_reg(pi, 0x01, phy_b9);
  23717. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  23718. wlc_phy_txpwrctrl_enable_nphy(pi, phy_b4);
  23719. if (phy_b4 == PHY_TPC_HW_OFF) {
  23720. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23721. (s8) (pi->nphy_txpwrindex[0].
  23722. index_internal), false);
  23723. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23724. (s8) (pi->nphy_txpwrindex[1].
  23725. index_internal), false);
  23726. }
  23727. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  23728. if (!phy_b3)
  23729. wlapi_enable_mac(pi->sh->physhim);
  23730. }
  23731. void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype)
  23732. {
  23733. struct nphy_txgains target_gain;
  23734. u8 tx_pwr_ctrl_state;
  23735. bool fullcal = true;
  23736. bool restore_tx_gain = false;
  23737. bool mphase;
  23738. if (PHY_MUTED(pi))
  23739. return;
  23740. if (caltype == PHY_PERICAL_AUTO)
  23741. fullcal = (pi->radio_chanspec != pi->nphy_txiqlocal_chanspec);
  23742. else if (caltype == PHY_PERICAL_PARTIAL)
  23743. fullcal = false;
  23744. if (pi->cal_type_override != PHY_PERICAL_AUTO)
  23745. fullcal =
  23746. (pi->cal_type_override ==
  23747. PHY_PERICAL_FULL) ? true : false;
  23748. if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) {
  23749. if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec)
  23750. wlc_phy_cal_perical_mphase_restart(pi);
  23751. }
  23752. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL))
  23753. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000);
  23754. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23755. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23756. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_IDLE) ||
  23757. (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_INIT)) {
  23758. pi->nphy_cal_orig_pwr_idx[0] =
  23759. (u8) ((read_phy_reg(pi, 0x1ed) >> 8) & 0x7f);
  23760. pi->nphy_cal_orig_pwr_idx[1] =
  23761. (u8) ((read_phy_reg(pi, 0x1ee) >> 8) & 0x7f);
  23762. if (pi->nphy_txpwrctrl != PHY_TPC_HW_OFF) {
  23763. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2,
  23764. 0x110, 16,
  23765. pi->nphy_cal_orig_tx_gain);
  23766. } else {
  23767. pi->nphy_cal_orig_tx_gain[0] = 0;
  23768. pi->nphy_cal_orig_tx_gain[1] = 0;
  23769. }
  23770. }
  23771. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23772. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  23773. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23774. if (pi->antsel_type == ANTSEL_2x3)
  23775. wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
  23776. mphase = (pi->mphase_cal_phase_id != MPHASE_CAL_STATE_IDLE);
  23777. if (!mphase) {
  23778. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23779. wlc_phy_precal_txgain_nphy(pi);
  23780. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23781. restore_tx_gain = true;
  23782. target_gain = pi->nphy_cal_target_gain;
  23783. }
  23784. if (0 ==
  23785. wlc_phy_cal_txiqlo_nphy(pi, target_gain, fullcal,
  23786. mphase)) {
  23787. if (PHY_IPA(pi))
  23788. wlc_phy_a4(pi, true);
  23789. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23790. wlapi_enable_mac(pi->sh->physhim);
  23791. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION,
  23792. 10000);
  23793. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23794. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23795. if (0 == wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23796. (pi->first_cal_after_assoc ||
  23797. (pi->cal_type_override ==
  23798. PHY_PERICAL_FULL)) ? 2 : 0, false)) {
  23799. wlc_phy_savecal_nphy(pi);
  23800. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23801. pi->nphy_perical_last = pi->sh->now;
  23802. }
  23803. }
  23804. if (caltype != PHY_PERICAL_AUTO)
  23805. wlc_phy_rssi_cal_nphy(pi);
  23806. if (pi->first_cal_after_assoc
  23807. || (pi->cal_type_override == PHY_PERICAL_FULL)) {
  23808. pi->first_cal_after_assoc = false;
  23809. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23810. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23811. }
  23812. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23813. wlc_phy_radio205x_vcocal_nphy(pi);
  23814. } else {
  23815. switch (pi->mphase_cal_phase_id) {
  23816. case MPHASE_CAL_STATE_INIT:
  23817. pi->nphy_perical_last = pi->sh->now;
  23818. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  23819. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23820. wlc_phy_precal_txgain_nphy(pi);
  23821. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23822. pi->mphase_cal_phase_id++;
  23823. break;
  23824. case MPHASE_CAL_STATE_TXPHASE0:
  23825. case MPHASE_CAL_STATE_TXPHASE1:
  23826. case MPHASE_CAL_STATE_TXPHASE2:
  23827. case MPHASE_CAL_STATE_TXPHASE3:
  23828. case MPHASE_CAL_STATE_TXPHASE4:
  23829. case MPHASE_CAL_STATE_TXPHASE5:
  23830. if ((pi->radar_percal_mask & 0x10) != 0)
  23831. pi->nphy_rxcal_active = true;
  23832. if (wlc_phy_cal_txiqlo_nphy
  23833. (pi, pi->nphy_cal_target_gain, fullcal,
  23834. true) != 0) {
  23835. wlc_phy_cal_perical_mphase_reset(pi);
  23836. break;
  23837. }
  23838. if (NREV_LE(pi->pubpi.phy_rev, 2) &&
  23839. (pi->mphase_cal_phase_id ==
  23840. MPHASE_CAL_STATE_TXPHASE4))
  23841. pi->mphase_cal_phase_id += 2;
  23842. else
  23843. pi->mphase_cal_phase_id++;
  23844. break;
  23845. case MPHASE_CAL_STATE_PAPDCAL:
  23846. if ((pi->radar_percal_mask & 0x2) != 0)
  23847. pi->nphy_rxcal_active = true;
  23848. if (PHY_IPA(pi))
  23849. wlc_phy_a4(pi, true);
  23850. pi->mphase_cal_phase_id++;
  23851. break;
  23852. case MPHASE_CAL_STATE_RXCAL:
  23853. if ((pi->radar_percal_mask & 0x1) != 0)
  23854. pi->nphy_rxcal_active = true;
  23855. if (wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23856. (pi->first_cal_after_assoc ||
  23857. (pi->cal_type_override ==
  23858. PHY_PERICAL_FULL)) ? 2 : 0,
  23859. false) == 0)
  23860. wlc_phy_savecal_nphy(pi);
  23861. pi->mphase_cal_phase_id++;
  23862. break;
  23863. case MPHASE_CAL_STATE_RSSICAL:
  23864. if ((pi->radar_percal_mask & 0x4) != 0)
  23865. pi->nphy_rxcal_active = true;
  23866. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23867. wlc_phy_rssi_cal_nphy(pi);
  23868. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23869. wlc_phy_radio205x_vcocal_nphy(pi);
  23870. restore_tx_gain = true;
  23871. if (pi->first_cal_after_assoc)
  23872. pi->mphase_cal_phase_id++;
  23873. else
  23874. wlc_phy_cal_perical_mphase_reset(pi);
  23875. break;
  23876. case MPHASE_CAL_STATE_IDLETSSI:
  23877. if ((pi->radar_percal_mask & 0x8) != 0)
  23878. pi->nphy_rxcal_active = true;
  23879. if (pi->first_cal_after_assoc) {
  23880. pi->first_cal_after_assoc = false;
  23881. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23882. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23883. }
  23884. wlc_phy_cal_perical_mphase_reset(pi);
  23885. break;
  23886. default:
  23887. wlc_phy_cal_perical_mphase_reset(pi);
  23888. break;
  23889. }
  23890. }
  23891. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23892. if (restore_tx_gain) {
  23893. if (tx_pwr_ctrl_state != PHY_TPC_HW_OFF) {
  23894. wlc_phy_txpwr_index_nphy(pi, 1,
  23895. pi->
  23896. nphy_cal_orig_pwr_idx
  23897. [0], false);
  23898. wlc_phy_txpwr_index_nphy(pi, 2,
  23899. pi->
  23900. nphy_cal_orig_pwr_idx
  23901. [1], false);
  23902. pi->nphy_txpwrindex[0].index = -1;
  23903. pi->nphy_txpwrindex[1].index = -1;
  23904. } else {
  23905. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23906. (s8) (pi->
  23907. nphy_txpwrindex
  23908. [0].
  23909. index_internal),
  23910. false);
  23911. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23912. (s8) (pi->
  23913. nphy_txpwrindex
  23914. [1].
  23915. index_internal),
  23916. false);
  23917. }
  23918. }
  23919. }
  23920. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  23921. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23922. wlapi_enable_mac(pi->sh->physhim);
  23923. }
  23924. int
  23925. wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  23926. bool fullcal, bool mphase)
  23927. {
  23928. u16 val;
  23929. u16 tbl_buf[11];
  23930. u8 cal_cnt;
  23931. u16 cal_cmd;
  23932. u8 num_cals, max_cal_cmds;
  23933. u16 core_no, cal_type;
  23934. u16 diq_start = 0;
  23935. u8 phy_bw;
  23936. u16 max_val;
  23937. u16 tone_freq;
  23938. u16 gain_save[2];
  23939. u16 cal_gain[2];
  23940. struct nphy_iqcal_params cal_params[2];
  23941. u32 tbl_len;
  23942. const void *tbl_ptr;
  23943. bool ladder_updated[2];
  23944. u8 mphase_cal_lastphase = 0;
  23945. int bcmerror = 0;
  23946. bool phyhang_avoid_state = false;
  23947. static const u16 tbl_tx_iqlo_cal_loft_ladder_20[] = {
  23948. 0x0300, 0x0500, 0x0700, 0x0900, 0x0d00, 0x1100, 0x1900, 0x1901,
  23949. 0x1902,
  23950. 0x1903, 0x1904, 0x1905, 0x1906, 0x1907, 0x2407, 0x3207, 0x4607,
  23951. 0x6407
  23952. };
  23953. static const u16 tbl_tx_iqlo_cal_iqimb_ladder_20[] = {
  23954. 0x0200, 0x0300, 0x0600, 0x0900, 0x0d00, 0x1100, 0x1900, 0x2400,
  23955. 0x3200,
  23956. 0x4600, 0x6400, 0x6401, 0x6402, 0x6403, 0x6404, 0x6405, 0x6406,
  23957. 0x6407
  23958. };
  23959. static const u16 tbl_tx_iqlo_cal_loft_ladder_40[] = {
  23960. 0x0200, 0x0300, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1201,
  23961. 0x1202,
  23962. 0x1203, 0x1204, 0x1205, 0x1206, 0x1207, 0x1907, 0x2307, 0x3207,
  23963. 0x4707
  23964. };
  23965. static const u16 tbl_tx_iqlo_cal_iqimb_ladder_40[] = {
  23966. 0x0100, 0x0200, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1900,
  23967. 0x2300,
  23968. 0x3200, 0x4700, 0x4701, 0x4702, 0x4703, 0x4704, 0x4705, 0x4706,
  23969. 0x4707
  23970. };
  23971. static const u16 tbl_tx_iqlo_cal_startcoefs[] = {
  23972. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23973. 0x0000
  23974. };
  23975. static const u16 tbl_tx_iqlo_cal_cmds_fullcal[] = {
  23976. 0x8123, 0x8264, 0x8086, 0x8245, 0x8056,
  23977. 0x9123, 0x9264, 0x9086, 0x9245, 0x9056
  23978. };
  23979. static const u16 tbl_tx_iqlo_cal_cmds_recal[] = {
  23980. 0x8101, 0x8253, 0x8053, 0x8234, 0x8034,
  23981. 0x9101, 0x9253, 0x9053, 0x9234, 0x9034
  23982. };
  23983. static const u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[] = {
  23984. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23985. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23986. 0x0000
  23987. };
  23988. static const u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[] = {
  23989. 0x8434, 0x8334, 0x8084, 0x8267, 0x8056, 0x8234,
  23990. 0x9434, 0x9334, 0x9084, 0x9267, 0x9056, 0x9234
  23991. };
  23992. static const u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[] = {
  23993. 0x8423, 0x8323, 0x8073, 0x8256, 0x8045, 0x8223,
  23994. 0x9423, 0x9323, 0x9073, 0x9256, 0x9045, 0x9223
  23995. };
  23996. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23997. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  23998. phyhang_avoid_state = pi->phyhang_avoid;
  23999. pi->phyhang_avoid = false;
  24000. }
  24001. if (CHSPEC_IS40(pi->radio_chanspec))
  24002. phy_bw = 40;
  24003. else
  24004. phy_bw = 20;
  24005. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  24006. for (core_no = 0; core_no <= 1; core_no++) {
  24007. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  24008. &cal_params[core_no]);
  24009. cal_gain[core_no] = cal_params[core_no].cal_gain;
  24010. }
  24011. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  24012. wlc_phy_txcal_radio_setup_nphy(pi);
  24013. wlc_phy_txcal_physetup_nphy(pi);
  24014. ladder_updated[0] = ladder_updated[1] = false;
  24015. if (!(NREV_GE(pi->pubpi.phy_rev, 6) ||
  24016. (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi)
  24017. && (CHSPEC_IS2G(pi->radio_chanspec))))) {
  24018. if (phy_bw == 40) {
  24019. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_40;
  24020. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_40);
  24021. } else {
  24022. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_20;
  24023. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_20);
  24024. }
  24025. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 0,
  24026. 16, tbl_ptr);
  24027. if (phy_bw == 40) {
  24028. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_40;
  24029. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_40);
  24030. } else {
  24031. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_20;
  24032. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_20);
  24033. }
  24034. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 32,
  24035. 16, tbl_ptr);
  24036. }
  24037. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24038. write_phy_reg(pi, 0xc2, 0x8ad9);
  24039. else
  24040. write_phy_reg(pi, 0xc2, 0x8aa9);
  24041. max_val = 250;
  24042. tone_freq = (phy_bw == 20) ? 2500 : 5000;
  24043. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24044. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff, 0, 1, 0, false);
  24045. bcmerror = 0;
  24046. } else {
  24047. bcmerror =
  24048. wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0,
  24049. false);
  24050. }
  24051. if (bcmerror == 0) {
  24052. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24053. tbl_ptr = pi->mphase_txcal_bestcoeffs;
  24054. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24055. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24056. tbl_len -= 2;
  24057. } else {
  24058. if ((!fullcal) && (pi->nphy_txiqlocal_coeffsvalid)) {
  24059. tbl_ptr = pi->nphy_txiqlocal_bestc;
  24060. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24061. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24062. tbl_len -= 2;
  24063. } else {
  24064. fullcal = true;
  24065. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24066. tbl_ptr =
  24067. tbl_tx_iqlo_cal_startcoefs_nphyrev3;
  24068. tbl_len = ARRAY_SIZE(
  24069. tbl_tx_iqlo_cal_startcoefs_nphyrev3);
  24070. } else {
  24071. tbl_ptr = tbl_tx_iqlo_cal_startcoefs;
  24072. tbl_len = ARRAY_SIZE(
  24073. tbl_tx_iqlo_cal_startcoefs);
  24074. }
  24075. }
  24076. }
  24077. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 64,
  24078. 16, tbl_ptr);
  24079. if (fullcal) {
  24080. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24081. ARRAY_SIZE(
  24082. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3) :
  24083. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_fullcal);
  24084. } else {
  24085. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24086. ARRAY_SIZE(
  24087. tbl_tx_iqlo_cal_cmds_recal_nphyrev3) :
  24088. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_recal);
  24089. }
  24090. if (mphase) {
  24091. cal_cnt = pi->mphase_txcal_cmdidx;
  24092. if ((cal_cnt + pi->mphase_txcal_numcmds) < max_cal_cmds)
  24093. num_cals = cal_cnt + pi->mphase_txcal_numcmds;
  24094. else
  24095. num_cals = max_cal_cmds;
  24096. } else {
  24097. cal_cnt = 0;
  24098. num_cals = max_cal_cmds;
  24099. }
  24100. for (; cal_cnt < num_cals; cal_cnt++) {
  24101. if (fullcal) {
  24102. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24103. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3
  24104. [cal_cnt] :
  24105. tbl_tx_iqlo_cal_cmds_fullcal[cal_cnt];
  24106. } else {
  24107. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24108. tbl_tx_iqlo_cal_cmds_recal_nphyrev3[
  24109. cal_cnt]
  24110. : tbl_tx_iqlo_cal_cmds_recal[cal_cnt];
  24111. }
  24112. core_no = ((cal_cmd & 0x3000) >> 12);
  24113. cal_type = ((cal_cmd & 0x0F00) >> 8);
  24114. if (NREV_GE(pi->pubpi.phy_rev, 6) ||
  24115. (NREV_IS(pi->pubpi.phy_rev, 5) &&
  24116. PHY_IPA(pi)
  24117. && (CHSPEC_IS2G(pi->radio_chanspec)))) {
  24118. if (!ladder_updated[core_no]) {
  24119. wlc_phy_update_txcal_ladder_nphy(
  24120. pi,
  24121. core_no);
  24122. ladder_updated[core_no] = true;
  24123. }
  24124. }
  24125. val =
  24126. (cal_params[core_no].
  24127. ncorr[cal_type] << 8) | NPHY_N_GCTL;
  24128. write_phy_reg(pi, 0xc1, val);
  24129. if ((cal_type == 1) || (cal_type == 3)
  24130. || (cal_type == 4)) {
  24131. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24132. 1, 69 + core_no, 16,
  24133. tbl_buf);
  24134. diq_start = tbl_buf[0];
  24135. tbl_buf[0] = 0;
  24136. wlc_phy_table_write_nphy(pi,
  24137. NPHY_TBL_ID_IQLOCAL, 1,
  24138. 69 + core_no, 16,
  24139. tbl_buf);
  24140. }
  24141. write_phy_reg(pi, 0xc0, cal_cmd);
  24142. SPINWAIT(((read_phy_reg(pi, 0xc0) & 0xc000) != 0),
  24143. 20000);
  24144. if (WARN(read_phy_reg(pi, 0xc0) & 0xc000,
  24145. "HW error: txiq calib"))
  24146. return -EIO;
  24147. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24148. tbl_len, 96, 16, tbl_buf);
  24149. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24150. tbl_len, 64, 16, tbl_buf);
  24151. if ((cal_type == 1) || (cal_type == 3)
  24152. || (cal_type == 4)) {
  24153. tbl_buf[0] = diq_start;
  24154. }
  24155. }
  24156. if (mphase) {
  24157. pi->mphase_txcal_cmdidx = num_cals;
  24158. if (pi->mphase_txcal_cmdidx >= max_cal_cmds)
  24159. pi->mphase_txcal_cmdidx = 0;
  24160. }
  24161. mphase_cal_lastphase =
  24162. (NREV_LE(pi->pubpi.phy_rev, 2)) ?
  24163. MPHASE_CAL_STATE_TXPHASE4 : MPHASE_CAL_STATE_TXPHASE5;
  24164. if (!mphase
  24165. || (pi->mphase_cal_phase_id == mphase_cal_lastphase)) {
  24166. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 96,
  24167. 16, tbl_buf);
  24168. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24169. 16, tbl_buf);
  24170. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24171. tbl_buf[0] = 0;
  24172. tbl_buf[1] = 0;
  24173. tbl_buf[2] = 0;
  24174. tbl_buf[3] = 0;
  24175. }
  24176. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24177. 16, tbl_buf);
  24178. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 101,
  24179. 16, tbl_buf);
  24180. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24181. 16, tbl_buf);
  24182. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24183. 16, tbl_buf);
  24184. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24185. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24186. tbl_len -= 2;
  24187. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24188. tbl_len, 96, 16,
  24189. pi->nphy_txiqlocal_bestc);
  24190. pi->nphy_txiqlocal_coeffsvalid = true;
  24191. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  24192. } else {
  24193. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24194. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24195. tbl_len -= 2;
  24196. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24197. tbl_len, 96, 16,
  24198. pi->mphase_txcal_bestcoeffs);
  24199. }
  24200. wlc_phy_stopplayback_nphy(pi);
  24201. write_phy_reg(pi, 0xc2, 0x0000);
  24202. }
  24203. wlc_phy_txcal_phycleanup_nphy(pi);
  24204. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  24205. gain_save);
  24206. wlc_phy_txcal_radio_cleanup_nphy(pi);
  24207. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24208. if (!mphase
  24209. || (pi->mphase_cal_phase_id == mphase_cal_lastphase))
  24210. wlc_phy_tx_iq_war_nphy(pi);
  24211. }
  24212. if (NREV_GE(pi->pubpi.phy_rev, 4))
  24213. pi->phyhang_avoid = phyhang_avoid_state;
  24214. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  24215. return bcmerror;
  24216. }
  24217. static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi)
  24218. {
  24219. u16 tbl_buf[7];
  24220. if ((pi->nphy_txiqlocal_chanspec == pi->radio_chanspec) &&
  24221. (pi->nphy_txiqlocal_coeffsvalid)) {
  24222. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24223. ARRAY_SIZE(tbl_buf), 80, 16, tbl_buf);
  24224. if ((pi->nphy_txiqlocal_bestc[0] != tbl_buf[0]) ||
  24225. (pi->nphy_txiqlocal_bestc[1] != tbl_buf[1]) ||
  24226. (pi->nphy_txiqlocal_bestc[2] != tbl_buf[2]) ||
  24227. (pi->nphy_txiqlocal_bestc[3] != tbl_buf[3])) {
  24228. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24229. 16, pi->nphy_txiqlocal_bestc);
  24230. tbl_buf[0] = 0;
  24231. tbl_buf[1] = 0;
  24232. tbl_buf[2] = 0;
  24233. tbl_buf[3] = 0;
  24234. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24235. 16, tbl_buf);
  24236. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24237. 16,
  24238. &pi->nphy_txiqlocal_bestc[5]);
  24239. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24240. 16,
  24241. &pi->nphy_txiqlocal_bestc[5]);
  24242. }
  24243. }
  24244. }
  24245. void
  24246. wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write,
  24247. struct nphy_iq_comp *pcomp)
  24248. {
  24249. if (write) {
  24250. write_phy_reg(pi, 0x9a, pcomp->a0);
  24251. write_phy_reg(pi, 0x9b, pcomp->b0);
  24252. write_phy_reg(pi, 0x9c, pcomp->a1);
  24253. write_phy_reg(pi, 0x9d, pcomp->b1);
  24254. } else {
  24255. pcomp->a0 = read_phy_reg(pi, 0x9a);
  24256. pcomp->b0 = read_phy_reg(pi, 0x9b);
  24257. pcomp->a1 = read_phy_reg(pi, 0x9c);
  24258. pcomp->b1 = read_phy_reg(pi, 0x9d);
  24259. }
  24260. }
  24261. void
  24262. wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
  24263. u16 num_samps, u8 wait_time, u8 wait_for_crs)
  24264. {
  24265. u8 core;
  24266. write_phy_reg(pi, 0x12b, num_samps);
  24267. mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0));
  24268. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqMode,
  24269. (wait_for_crs) ? NPHY_IqestCmd_iqMode : 0);
  24270. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqstart, NPHY_IqestCmd_iqstart);
  24271. SPINWAIT(((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) != 0),
  24272. 10000);
  24273. if (WARN(read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart,
  24274. "HW error: rxiq est"))
  24275. return;
  24276. if ((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) == 0) {
  24277. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  24278. est[core].i_pwr =
  24279. (read_phy_reg(pi,
  24280. NPHY_IqestipwrAccHi(core)) << 16)
  24281. | read_phy_reg(pi, NPHY_IqestipwrAccLo(core));
  24282. est[core].q_pwr =
  24283. (read_phy_reg(pi,
  24284. NPHY_IqestqpwrAccHi(core)) << 16)
  24285. | read_phy_reg(pi, NPHY_IqestqpwrAccLo(core));
  24286. est[core].iq_prod =
  24287. (read_phy_reg(pi,
  24288. NPHY_IqestIqAccHi(core)) << 16) |
  24289. read_phy_reg(pi, NPHY_IqestIqAccLo(core));
  24290. }
  24291. }
  24292. }
  24293. #define CAL_RETRY_CNT 2
  24294. static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask)
  24295. {
  24296. u8 curr_core;
  24297. struct phy_iq_est est[PHY_CORE_MAX];
  24298. struct nphy_iq_comp old_comp, new_comp;
  24299. s32 iq = 0;
  24300. u32 ii = 0, qq = 0;
  24301. s16 iq_nbits, qq_nbits, brsh, arsh;
  24302. s32 a, b, temp;
  24303. int bcmerror = 0;
  24304. uint cal_retry = 0;
  24305. if (core_mask == 0x0)
  24306. return;
  24307. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &old_comp);
  24308. new_comp.a0 = new_comp.b0 = new_comp.a1 = new_comp.b1 = 0x0;
  24309. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24310. cal_try:
  24311. wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0);
  24312. new_comp = old_comp;
  24313. for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) {
  24314. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24315. iq = est[curr_core].iq_prod;
  24316. ii = est[curr_core].i_pwr;
  24317. qq = est[curr_core].q_pwr;
  24318. } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24319. iq = est[curr_core].iq_prod;
  24320. ii = est[curr_core].i_pwr;
  24321. qq = est[curr_core].q_pwr;
  24322. } else {
  24323. continue;
  24324. }
  24325. if ((ii + qq) < NPHY_MIN_RXIQ_PWR) {
  24326. bcmerror = -EBADE;
  24327. break;
  24328. }
  24329. iq_nbits = wlc_phy_nbits(iq);
  24330. qq_nbits = wlc_phy_nbits(qq);
  24331. arsh = 10 - (30 - iq_nbits);
  24332. if (arsh >= 0) {
  24333. a = (-(iq << (30 - iq_nbits)) + (ii >> (1 + arsh)));
  24334. temp = (s32) (ii >> arsh);
  24335. if (temp == 0) {
  24336. bcmerror = -EBADE;
  24337. break;
  24338. }
  24339. } else {
  24340. a = (-(iq << (30 - iq_nbits)) + (ii << (-1 - arsh)));
  24341. temp = (s32) (ii << -arsh);
  24342. if (temp == 0) {
  24343. bcmerror = -EBADE;
  24344. break;
  24345. }
  24346. }
  24347. a /= temp;
  24348. brsh = qq_nbits - 31 + 20;
  24349. if (brsh >= 0) {
  24350. b = (qq << (31 - qq_nbits));
  24351. temp = (s32) (ii >> brsh);
  24352. if (temp == 0) {
  24353. bcmerror = -EBADE;
  24354. break;
  24355. }
  24356. } else {
  24357. b = (qq << (31 - qq_nbits));
  24358. temp = (s32) (ii << -brsh);
  24359. if (temp == 0) {
  24360. bcmerror = -EBADE;
  24361. break;
  24362. }
  24363. }
  24364. b /= temp;
  24365. b -= a * a;
  24366. b = (s32) int_sqrt((unsigned long) b);
  24367. b -= (1 << 10);
  24368. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24369. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24370. new_comp.a0 = (s16) a & 0x3ff;
  24371. new_comp.b0 = (s16) b & 0x3ff;
  24372. } else {
  24373. new_comp.a0 = (s16) b & 0x3ff;
  24374. new_comp.b0 = (s16) a & 0x3ff;
  24375. }
  24376. }
  24377. if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24378. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24379. new_comp.a1 = (s16) a & 0x3ff;
  24380. new_comp.b1 = (s16) b & 0x3ff;
  24381. } else {
  24382. new_comp.a1 = (s16) b & 0x3ff;
  24383. new_comp.b1 = (s16) a & 0x3ff;
  24384. }
  24385. }
  24386. }
  24387. if (bcmerror != 0) {
  24388. pr_debug("%s: Failed, cnt = %d\n", __func__, cal_retry);
  24389. if (cal_retry < CAL_RETRY_CNT) {
  24390. cal_retry++;
  24391. goto cal_try;
  24392. }
  24393. new_comp = old_comp;
  24394. }
  24395. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24396. }
  24397. static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core)
  24398. {
  24399. u16 offtune_val;
  24400. u16 bias_g = 0;
  24401. u16 bias_a = 0;
  24402. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24403. if (rx_core == PHY_CORE_0) {
  24404. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24405. pi->tx_rx_cal_radio_saveregs[0] =
  24406. read_radio_reg(pi,
  24407. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP);
  24408. pi->tx_rx_cal_radio_saveregs[1] =
  24409. read_radio_reg(pi,
  24410. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN);
  24411. write_radio_reg(pi,
  24412. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24413. 0x3);
  24414. write_radio_reg(pi,
  24415. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24416. 0xaf);
  24417. } else {
  24418. pi->tx_rx_cal_radio_saveregs[0] =
  24419. read_radio_reg(pi,
  24420. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP);
  24421. pi->tx_rx_cal_radio_saveregs[1] =
  24422. read_radio_reg(pi,
  24423. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN);
  24424. write_radio_reg(
  24425. pi,
  24426. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24427. 0x3);
  24428. write_radio_reg(
  24429. pi,
  24430. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24431. 0x7f);
  24432. }
  24433. } else {
  24434. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24435. pi->tx_rx_cal_radio_saveregs[0] =
  24436. read_radio_reg(pi,
  24437. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP);
  24438. pi->tx_rx_cal_radio_saveregs[1] =
  24439. read_radio_reg(pi,
  24440. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN);
  24441. write_radio_reg(
  24442. pi,
  24443. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24444. 0x3);
  24445. write_radio_reg(
  24446. pi,
  24447. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24448. 0xaf);
  24449. } else {
  24450. pi->tx_rx_cal_radio_saveregs[0] =
  24451. read_radio_reg(pi,
  24452. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP);
  24453. pi->tx_rx_cal_radio_saveregs[1] =
  24454. read_radio_reg(pi,
  24455. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN);
  24456. write_radio_reg(pi,
  24457. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24458. 0x3);
  24459. write_radio_reg(pi,
  24460. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24461. 0x7f);
  24462. }
  24463. }
  24464. } else {
  24465. if (rx_core == PHY_CORE_0) {
  24466. pi->tx_rx_cal_radio_saveregs[0] =
  24467. read_radio_reg(pi,
  24468. RADIO_2056_TX_RXIQCAL_TXMUX |
  24469. RADIO_2056_TX1);
  24470. pi->tx_rx_cal_radio_saveregs[1] =
  24471. read_radio_reg(pi,
  24472. RADIO_2056_RX_RXIQCAL_RXMUX |
  24473. RADIO_2056_RX0);
  24474. if (pi->pubpi.radiorev >= 5) {
  24475. pi->tx_rx_cal_radio_saveregs[2] =
  24476. read_radio_reg(pi,
  24477. RADIO_2056_RX_RXSPARE2 |
  24478. RADIO_2056_RX0);
  24479. pi->tx_rx_cal_radio_saveregs[3] =
  24480. read_radio_reg(pi,
  24481. RADIO_2056_TX_TXSPARE2 |
  24482. RADIO_2056_TX1);
  24483. }
  24484. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24485. if (pi->pubpi.radiorev >= 5) {
  24486. pi->tx_rx_cal_radio_saveregs[4] =
  24487. read_radio_reg(pi,
  24488. RADIO_2056_RX_LNAA_MASTER
  24489. | RADIO_2056_RX0);
  24490. write_radio_reg(
  24491. pi,
  24492. RADIO_2056_RX_LNAA_MASTER
  24493. | RADIO_2056_RX0, 0x40);
  24494. write_radio_reg(pi,
  24495. RADIO_2056_TX_TXSPARE2 |
  24496. RADIO_2056_TX1, bias_a);
  24497. write_radio_reg(pi,
  24498. RADIO_2056_RX_RXSPARE2 |
  24499. RADIO_2056_RX0, bias_a);
  24500. } else {
  24501. pi->tx_rx_cal_radio_saveregs[4] =
  24502. read_radio_reg(pi,
  24503. RADIO_2056_RX_LNAA_TUNE
  24504. | RADIO_2056_RX0);
  24505. offtune_val =
  24506. (pi->tx_rx_cal_radio_saveregs
  24507. [2] & 0xF0) >> 8;
  24508. offtune_val =
  24509. (offtune_val <= 0x7) ? 0xF : 0;
  24510. mod_radio_reg(pi,
  24511. RADIO_2056_RX_LNAA_TUNE |
  24512. RADIO_2056_RX0, 0xF0,
  24513. (offtune_val << 8));
  24514. }
  24515. write_radio_reg(pi,
  24516. RADIO_2056_TX_RXIQCAL_TXMUX |
  24517. RADIO_2056_TX1, 0x9);
  24518. write_radio_reg(pi,
  24519. RADIO_2056_RX_RXIQCAL_RXMUX |
  24520. RADIO_2056_RX0, 0x9);
  24521. } else {
  24522. if (pi->pubpi.radiorev >= 5) {
  24523. pi->tx_rx_cal_radio_saveregs[4] =
  24524. read_radio_reg(
  24525. pi,
  24526. RADIO_2056_RX_LNAG_MASTER
  24527. | RADIO_2056_RX0);
  24528. write_radio_reg(
  24529. pi,
  24530. RADIO_2056_RX_LNAG_MASTER
  24531. | RADIO_2056_RX0, 0x40);
  24532. write_radio_reg(
  24533. pi,
  24534. RADIO_2056_TX_TXSPARE2
  24535. |
  24536. RADIO_2056_TX1, bias_g);
  24537. write_radio_reg(
  24538. pi,
  24539. RADIO_2056_RX_RXSPARE2
  24540. |
  24541. RADIO_2056_RX0, bias_g);
  24542. } else {
  24543. pi->tx_rx_cal_radio_saveregs[4] =
  24544. read_radio_reg(
  24545. pi,
  24546. RADIO_2056_RX_LNAG_TUNE
  24547. | RADIO_2056_RX0);
  24548. offtune_val =
  24549. (pi->
  24550. tx_rx_cal_radio_saveregs[2] &
  24551. 0xF0) >> 8;
  24552. offtune_val =
  24553. (offtune_val <= 0x7) ? 0xF : 0;
  24554. mod_radio_reg(pi,
  24555. RADIO_2056_RX_LNAG_TUNE |
  24556. RADIO_2056_RX0, 0xF0,
  24557. (offtune_val << 8));
  24558. }
  24559. write_radio_reg(pi,
  24560. RADIO_2056_TX_RXIQCAL_TXMUX |
  24561. RADIO_2056_TX1, 0x6);
  24562. write_radio_reg(pi,
  24563. RADIO_2056_RX_RXIQCAL_RXMUX |
  24564. RADIO_2056_RX0, 0x6);
  24565. }
  24566. } else {
  24567. pi->tx_rx_cal_radio_saveregs[0] =
  24568. read_radio_reg(pi,
  24569. RADIO_2056_TX_RXIQCAL_TXMUX |
  24570. RADIO_2056_TX0);
  24571. pi->tx_rx_cal_radio_saveregs[1] =
  24572. read_radio_reg(pi,
  24573. RADIO_2056_RX_RXIQCAL_RXMUX |
  24574. RADIO_2056_RX1);
  24575. if (pi->pubpi.radiorev >= 5) {
  24576. pi->tx_rx_cal_radio_saveregs[2] =
  24577. read_radio_reg(pi,
  24578. RADIO_2056_RX_RXSPARE2 |
  24579. RADIO_2056_RX1);
  24580. pi->tx_rx_cal_radio_saveregs[3] =
  24581. read_radio_reg(pi,
  24582. RADIO_2056_TX_TXSPARE2 |
  24583. RADIO_2056_TX0);
  24584. }
  24585. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24586. if (pi->pubpi.radiorev >= 5) {
  24587. pi->tx_rx_cal_radio_saveregs[4] =
  24588. read_radio_reg(
  24589. pi,
  24590. RADIO_2056_RX_LNAA_MASTER
  24591. | RADIO_2056_RX1);
  24592. write_radio_reg(
  24593. pi,
  24594. RADIO_2056_RX_LNAA_MASTER |
  24595. RADIO_2056_RX1, 0x40);
  24596. write_radio_reg(
  24597. pi,
  24598. RADIO_2056_TX_TXSPARE2
  24599. |
  24600. RADIO_2056_TX0, bias_a);
  24601. write_radio_reg(
  24602. pi,
  24603. RADIO_2056_RX_RXSPARE2
  24604. |
  24605. RADIO_2056_RX1, bias_a);
  24606. } else {
  24607. pi->tx_rx_cal_radio_saveregs[4] =
  24608. read_radio_reg(
  24609. pi,
  24610. RADIO_2056_RX_LNAA_TUNE
  24611. | RADIO_2056_RX1);
  24612. offtune_val =
  24613. (pi->
  24614. tx_rx_cal_radio_saveregs[2] &
  24615. 0xF0) >> 8;
  24616. offtune_val =
  24617. (offtune_val <= 0x7) ? 0xF : 0;
  24618. mod_radio_reg(pi,
  24619. RADIO_2056_RX_LNAA_TUNE |
  24620. RADIO_2056_RX1, 0xF0,
  24621. (offtune_val << 8));
  24622. }
  24623. write_radio_reg(pi,
  24624. RADIO_2056_TX_RXIQCAL_TXMUX |
  24625. RADIO_2056_TX0, 0x9);
  24626. write_radio_reg(pi,
  24627. RADIO_2056_RX_RXIQCAL_RXMUX |
  24628. RADIO_2056_RX1, 0x9);
  24629. } else {
  24630. if (pi->pubpi.radiorev >= 5) {
  24631. pi->tx_rx_cal_radio_saveregs[4] =
  24632. read_radio_reg(
  24633. pi,
  24634. RADIO_2056_RX_LNAG_MASTER
  24635. | RADIO_2056_RX1);
  24636. write_radio_reg(
  24637. pi,
  24638. RADIO_2056_RX_LNAG_MASTER
  24639. | RADIO_2056_RX1, 0x40);
  24640. write_radio_reg(
  24641. pi,
  24642. RADIO_2056_TX_TXSPARE2
  24643. |
  24644. RADIO_2056_TX0, bias_g);
  24645. write_radio_reg(
  24646. pi,
  24647. RADIO_2056_RX_RXSPARE2
  24648. |
  24649. RADIO_2056_RX1, bias_g);
  24650. } else {
  24651. pi->tx_rx_cal_radio_saveregs[4] =
  24652. read_radio_reg(
  24653. pi,
  24654. RADIO_2056_RX_LNAG_TUNE
  24655. | RADIO_2056_RX1);
  24656. offtune_val =
  24657. (pi->
  24658. tx_rx_cal_radio_saveregs[2] &
  24659. 0xF0) >> 8;
  24660. offtune_val =
  24661. (offtune_val <= 0x7) ? 0xF : 0;
  24662. mod_radio_reg(pi,
  24663. RADIO_2056_RX_LNAG_TUNE |
  24664. RADIO_2056_RX1, 0xF0,
  24665. (offtune_val << 8));
  24666. }
  24667. write_radio_reg(pi,
  24668. RADIO_2056_TX_RXIQCAL_TXMUX |
  24669. RADIO_2056_TX0, 0x6);
  24670. write_radio_reg(pi,
  24671. RADIO_2056_RX_RXIQCAL_RXMUX |
  24672. RADIO_2056_RX1, 0x6);
  24673. }
  24674. }
  24675. }
  24676. }
  24677. static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24678. {
  24679. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24680. if (rx_core == PHY_CORE_0) {
  24681. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24682. write_radio_reg(
  24683. pi,
  24684. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24685. pi->
  24686. tx_rx_cal_radio_saveregs[0]);
  24687. write_radio_reg(
  24688. pi,
  24689. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24690. pi->
  24691. tx_rx_cal_radio_saveregs[1]);
  24692. } else {
  24693. write_radio_reg(
  24694. pi,
  24695. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24696. pi->
  24697. tx_rx_cal_radio_saveregs[0]);
  24698. write_radio_reg(
  24699. pi,
  24700. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24701. pi->
  24702. tx_rx_cal_radio_saveregs[1]);
  24703. }
  24704. } else {
  24705. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24706. write_radio_reg(
  24707. pi,
  24708. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24709. pi->
  24710. tx_rx_cal_radio_saveregs[0]);
  24711. write_radio_reg(
  24712. pi,
  24713. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24714. pi->
  24715. tx_rx_cal_radio_saveregs[1]);
  24716. } else {
  24717. write_radio_reg(
  24718. pi,
  24719. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24720. pi->
  24721. tx_rx_cal_radio_saveregs[0]);
  24722. write_radio_reg(
  24723. pi,
  24724. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24725. pi->
  24726. tx_rx_cal_radio_saveregs[1]);
  24727. }
  24728. }
  24729. } else {
  24730. if (rx_core == PHY_CORE_0) {
  24731. write_radio_reg(pi,
  24732. RADIO_2056_TX_RXIQCAL_TXMUX |
  24733. RADIO_2056_TX1,
  24734. pi->tx_rx_cal_radio_saveregs[0]);
  24735. write_radio_reg(pi,
  24736. RADIO_2056_RX_RXIQCAL_RXMUX |
  24737. RADIO_2056_RX0,
  24738. pi->tx_rx_cal_radio_saveregs[1]);
  24739. if (pi->pubpi.radiorev >= 5) {
  24740. write_radio_reg(pi,
  24741. RADIO_2056_RX_RXSPARE2 |
  24742. RADIO_2056_RX0,
  24743. pi->
  24744. tx_rx_cal_radio_saveregs[2]);
  24745. write_radio_reg(pi,
  24746. RADIO_2056_TX_TXSPARE2 |
  24747. RADIO_2056_TX1,
  24748. pi->
  24749. tx_rx_cal_radio_saveregs[3]);
  24750. }
  24751. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24752. if (pi->pubpi.radiorev >= 5)
  24753. write_radio_reg(
  24754. pi,
  24755. RADIO_2056_RX_LNAA_MASTER
  24756. | RADIO_2056_RX0,
  24757. pi->
  24758. tx_rx_cal_radio_saveregs
  24759. [4]);
  24760. else
  24761. write_radio_reg(
  24762. pi,
  24763. RADIO_2056_RX_LNAA_TUNE
  24764. | RADIO_2056_RX0,
  24765. pi->
  24766. tx_rx_cal_radio_saveregs
  24767. [4]);
  24768. } else {
  24769. if (pi->pubpi.radiorev >= 5)
  24770. write_radio_reg(
  24771. pi,
  24772. RADIO_2056_RX_LNAG_MASTER
  24773. | RADIO_2056_RX0,
  24774. pi->
  24775. tx_rx_cal_radio_saveregs
  24776. [4]);
  24777. else
  24778. write_radio_reg(
  24779. pi,
  24780. RADIO_2056_RX_LNAG_TUNE
  24781. | RADIO_2056_RX0,
  24782. pi->
  24783. tx_rx_cal_radio_saveregs
  24784. [4]);
  24785. }
  24786. } else {
  24787. write_radio_reg(pi,
  24788. RADIO_2056_TX_RXIQCAL_TXMUX |
  24789. RADIO_2056_TX0,
  24790. pi->tx_rx_cal_radio_saveregs[0]);
  24791. write_radio_reg(pi,
  24792. RADIO_2056_RX_RXIQCAL_RXMUX |
  24793. RADIO_2056_RX1,
  24794. pi->tx_rx_cal_radio_saveregs[1]);
  24795. if (pi->pubpi.radiorev >= 5) {
  24796. write_radio_reg(pi,
  24797. RADIO_2056_RX_RXSPARE2 |
  24798. RADIO_2056_RX1,
  24799. pi->
  24800. tx_rx_cal_radio_saveregs[2]);
  24801. write_radio_reg(pi,
  24802. RADIO_2056_TX_TXSPARE2 |
  24803. RADIO_2056_TX0,
  24804. pi->
  24805. tx_rx_cal_radio_saveregs[3]);
  24806. }
  24807. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24808. if (pi->pubpi.radiorev >= 5)
  24809. write_radio_reg(
  24810. pi,
  24811. RADIO_2056_RX_LNAA_MASTER
  24812. | RADIO_2056_RX1,
  24813. pi->
  24814. tx_rx_cal_radio_saveregs
  24815. [4]);
  24816. else
  24817. write_radio_reg(
  24818. pi,
  24819. RADIO_2056_RX_LNAA_TUNE
  24820. | RADIO_2056_RX1,
  24821. pi->
  24822. tx_rx_cal_radio_saveregs
  24823. [4]);
  24824. } else {
  24825. if (pi->pubpi.radiorev >= 5)
  24826. write_radio_reg(
  24827. pi,
  24828. RADIO_2056_RX_LNAG_MASTER
  24829. | RADIO_2056_RX1,
  24830. pi->
  24831. tx_rx_cal_radio_saveregs
  24832. [4]);
  24833. else
  24834. write_radio_reg(
  24835. pi,
  24836. RADIO_2056_RX_LNAG_TUNE
  24837. | RADIO_2056_RX1,
  24838. pi->
  24839. tx_rx_cal_radio_saveregs
  24840. [4]);
  24841. }
  24842. }
  24843. }
  24844. }
  24845. static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core)
  24846. {
  24847. u8 tx_core;
  24848. u16 rx_antval, tx_antval;
  24849. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24850. tx_core = rx_core;
  24851. else
  24852. tx_core = (rx_core == PHY_CORE_0) ? 1 : 0;
  24853. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa2);
  24854. pi->tx_rx_cal_phy_saveregs[1] =
  24855. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7);
  24856. pi->tx_rx_cal_phy_saveregs[2] =
  24857. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5);
  24858. pi->tx_rx_cal_phy_saveregs[3] = read_phy_reg(pi, 0x91);
  24859. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x92);
  24860. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x7a);
  24861. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x7d);
  24862. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0xe7);
  24863. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0xec);
  24864. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24865. pi->tx_rx_cal_phy_saveregs[11] = read_phy_reg(pi, 0x342);
  24866. pi->tx_rx_cal_phy_saveregs[12] = read_phy_reg(pi, 0x343);
  24867. pi->tx_rx_cal_phy_saveregs[13] = read_phy_reg(pi, 0x346);
  24868. pi->tx_rx_cal_phy_saveregs[14] = read_phy_reg(pi, 0x347);
  24869. }
  24870. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  24871. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  24872. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  24873. 0x29b, (0x1 << 0), (0) << 0);
  24874. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  24875. 0x29b, (0x1 << 0), (0) << 0);
  24876. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24877. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24878. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << (1 - rx_core)) << 12);
  24879. } else {
  24880. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  24881. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24882. mod_phy_reg(pi, 0xa2, (0xf << 4), (1 << rx_core) << 4);
  24883. mod_phy_reg(pi, 0xa2, (0xf << 8), (1 << rx_core) << 8);
  24884. }
  24885. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7), (0x1 << 2), 0);
  24886. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24887. (0x1 << 2), (0x1 << 2));
  24888. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  24889. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  24890. (0x1 << 0) | (0x1 << 1), 0);
  24891. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  24892. 0x8f : 0xa5,
  24893. (0x1 << 0) | (0x1 << 1), (0x1 << 0) | (0x1 << 1));
  24894. }
  24895. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 0,
  24896. RADIO_MIMO_CORESEL_CORE1 |
  24897. RADIO_MIMO_CORESEL_CORE2);
  24898. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24899. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  24900. 0, 0, 0,
  24901. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  24902. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 0, 0, 0,
  24903. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24904. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 1, 0, 0,
  24905. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24906. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 1, 0, 0,
  24907. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24908. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0, 0,
  24909. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  24910. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0, 0,
  24911. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24912. if (CHSPEC_IS40(pi->radio_chanspec))
  24913. wlc_phy_rfctrl_override_nphy_rev7(
  24914. pi,
  24915. (0x1 << 7),
  24916. 2, 0, 0,
  24917. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24918. else
  24919. wlc_phy_rfctrl_override_nphy_rev7(
  24920. pi,
  24921. (0x1 << 7),
  24922. 0, 0, 0,
  24923. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24924. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  24925. 0, 0, 0,
  24926. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24927. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0, 0,
  24928. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24929. } else {
  24930. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 3, 0);
  24931. }
  24932. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  24933. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24934. wlc_phy_rfctrlintc_override_nphy(pi,
  24935. NPHY_RfctrlIntc_override_TRSW,
  24936. 0x1, rx_core + 1);
  24937. } else {
  24938. if (rx_core == PHY_CORE_0) {
  24939. rx_antval = 0x1;
  24940. tx_antval = 0x8;
  24941. } else {
  24942. rx_antval = 0x4;
  24943. tx_antval = 0x2;
  24944. }
  24945. wlc_phy_rfctrlintc_override_nphy(pi,
  24946. NPHY_RfctrlIntc_override_TRSW,
  24947. rx_antval, rx_core + 1);
  24948. wlc_phy_rfctrlintc_override_nphy(pi,
  24949. NPHY_RfctrlIntc_override_TRSW,
  24950. tx_antval, tx_core + 1);
  24951. }
  24952. }
  24953. static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24954. {
  24955. write_phy_reg(pi, 0xa2, pi->tx_rx_cal_phy_saveregs[0]);
  24956. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7,
  24957. pi->tx_rx_cal_phy_saveregs[1]);
  24958. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24959. pi->tx_rx_cal_phy_saveregs[2]);
  24960. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[3]);
  24961. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[4]);
  24962. write_phy_reg(pi, 0x7a, pi->tx_rx_cal_phy_saveregs[5]);
  24963. write_phy_reg(pi, 0x7d, pi->tx_rx_cal_phy_saveregs[6]);
  24964. write_phy_reg(pi, 0xe7, pi->tx_rx_cal_phy_saveregs[7]);
  24965. write_phy_reg(pi, 0xec, pi->tx_rx_cal_phy_saveregs[8]);
  24966. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24967. write_phy_reg(pi, 0x342, pi->tx_rx_cal_phy_saveregs[11]);
  24968. write_phy_reg(pi, 0x343, pi->tx_rx_cal_phy_saveregs[12]);
  24969. write_phy_reg(pi, 0x346, pi->tx_rx_cal_phy_saveregs[13]);
  24970. write_phy_reg(pi, 0x347, pi->tx_rx_cal_phy_saveregs[14]);
  24971. }
  24972. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  24973. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  24974. }
  24975. static void
  24976. wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
  24977. u16 *rxgain, u8 cal_type)
  24978. {
  24979. u16 num_samps;
  24980. struct phy_iq_est est[PHY_CORE_MAX];
  24981. u8 tx_core;
  24982. struct nphy_iq_comp save_comp, zero_comp;
  24983. u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0,
  24984. thresh_pwr = 10000;
  24985. s16 desired_log2_pwr, actual_log2_pwr, delta_pwr;
  24986. bool gainctrl_done = false;
  24987. u8 mix_tia_gain = 3;
  24988. s8 optim_gaintbl_index = 0, prev_gaintbl_index = 0;
  24989. s8 curr_gaintbl_index = 3;
  24990. u8 gainctrl_dirn = NPHY_RXCAL_GAIN_INIT;
  24991. const struct nphy_ipa_txrxgain *nphy_rxcal_gaintbl;
  24992. u16 hpvga, lpf_biq1, lpf_biq0, lna2, lna1;
  24993. int fine_gain_idx;
  24994. s8 txpwrindex;
  24995. u16 nphy_rxcal_txgain[2];
  24996. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24997. tx_core = rx_core;
  24998. else
  24999. tx_core = 1 - rx_core;
  25000. num_samps = 1024;
  25001. desired_log2_pwr = 13;
  25002. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
  25003. zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;
  25004. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &zero_comp);
  25005. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25006. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25007. mix_tia_gain = 3;
  25008. else if (NREV_GE(pi->pubpi.phy_rev, 4))
  25009. mix_tia_gain = 4;
  25010. else
  25011. mix_tia_gain = 6;
  25012. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25013. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz_rev7;
  25014. else
  25015. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz;
  25016. } else {
  25017. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25018. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz_rev7;
  25019. else
  25020. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz;
  25021. }
  25022. do {
  25023. hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ?
  25024. 0 : nphy_rxcal_gaintbl[curr_gaintbl_index].hpvga;
  25025. lpf_biq1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq1;
  25026. lpf_biq0 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq0;
  25027. lna2 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna2;
  25028. lna1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna1;
  25029. txpwrindex = nphy_rxcal_gaintbl[curr_gaintbl_index].txpwrindex;
  25030. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25031. wlc_phy_rfctrl_override_1tomany_nphy(
  25032. pi,
  25033. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25034. ((lpf_biq1 << 12) |
  25035. (lpf_biq0 << 8) |
  25036. (mix_tia_gain << 4) | (lna2 << 2)
  25037. | lna1), 0x3, 0);
  25038. else
  25039. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25040. ((hpvga << 12) |
  25041. (lpf_biq1 << 10) |
  25042. (lpf_biq0 << 8) |
  25043. (mix_tia_gain << 4) |
  25044. (lna2 << 2) | lna1), 0x3,
  25045. 0);
  25046. pi->nphy_rxcal_pwr_idx[tx_core] = txpwrindex;
  25047. if (txpwrindex == -1) {
  25048. nphy_rxcal_txgain[0] = 0x8ff0 | pi->nphy_gmval;
  25049. nphy_rxcal_txgain[1] = 0x8ff0 | pi->nphy_gmval;
  25050. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  25051. 2, 0x110, 16,
  25052. nphy_rxcal_txgain);
  25053. } else {
  25054. wlc_phy_txpwr_index_nphy(pi, tx_core + 1, txpwrindex,
  25055. false);
  25056. }
  25057. wlc_phy_tx_tone_nphy(pi, (CHSPEC_IS40(pi->radio_chanspec)) ?
  25058. NPHY_RXCAL_TONEFREQ_40MHz :
  25059. NPHY_RXCAL_TONEFREQ_20MHz,
  25060. NPHY_RXCAL_TONEAMP, 0, cal_type, false);
  25061. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25062. i_pwr = (est[rx_core].i_pwr + num_samps / 2) / num_samps;
  25063. q_pwr = (est[rx_core].q_pwr + num_samps / 2) / num_samps;
  25064. curr_pwr = i_pwr + q_pwr;
  25065. switch (gainctrl_dirn) {
  25066. case NPHY_RXCAL_GAIN_INIT:
  25067. if (curr_pwr > thresh_pwr) {
  25068. gainctrl_dirn = NPHY_RXCAL_GAIN_DOWN;
  25069. prev_gaintbl_index = curr_gaintbl_index;
  25070. curr_gaintbl_index--;
  25071. } else {
  25072. gainctrl_dirn = NPHY_RXCAL_GAIN_UP;
  25073. prev_gaintbl_index = curr_gaintbl_index;
  25074. curr_gaintbl_index++;
  25075. }
  25076. break;
  25077. case NPHY_RXCAL_GAIN_UP:
  25078. if (curr_pwr > thresh_pwr) {
  25079. gainctrl_done = true;
  25080. optim_pwr = prev_pwr;
  25081. optim_gaintbl_index = prev_gaintbl_index;
  25082. } else {
  25083. prev_gaintbl_index = curr_gaintbl_index;
  25084. curr_gaintbl_index++;
  25085. }
  25086. break;
  25087. case NPHY_RXCAL_GAIN_DOWN:
  25088. if (curr_pwr > thresh_pwr) {
  25089. prev_gaintbl_index = curr_gaintbl_index;
  25090. curr_gaintbl_index--;
  25091. } else {
  25092. gainctrl_done = true;
  25093. optim_pwr = curr_pwr;
  25094. optim_gaintbl_index = curr_gaintbl_index;
  25095. }
  25096. break;
  25097. default:
  25098. break;
  25099. }
  25100. if ((curr_gaintbl_index < 0) ||
  25101. (curr_gaintbl_index > NPHY_IPA_RXCAL_MAXGAININDEX)) {
  25102. gainctrl_done = true;
  25103. optim_pwr = curr_pwr;
  25104. optim_gaintbl_index = prev_gaintbl_index;
  25105. } else {
  25106. prev_pwr = curr_pwr;
  25107. }
  25108. wlc_phy_stopplayback_nphy(pi);
  25109. } while (!gainctrl_done);
  25110. hpvga = nphy_rxcal_gaintbl[optim_gaintbl_index].hpvga;
  25111. lpf_biq1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq1;
  25112. lpf_biq0 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq0;
  25113. lna2 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna2;
  25114. lna1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna1;
  25115. txpwrindex = nphy_rxcal_gaintbl[optim_gaintbl_index].txpwrindex;
  25116. actual_log2_pwr = wlc_phy_nbits(optim_pwr);
  25117. delta_pwr = desired_log2_pwr - actual_log2_pwr;
  25118. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25119. fine_gain_idx = (int)lpf_biq1 + delta_pwr;
  25120. if (fine_gain_idx + (int)lpf_biq0 > 10)
  25121. lpf_biq1 = 10 - lpf_biq0;
  25122. else
  25123. lpf_biq1 = (u16) max(fine_gain_idx, 0);
  25124. wlc_phy_rfctrl_override_1tomany_nphy(
  25125. pi,
  25126. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25127. ((lpf_biq1 << 12) |
  25128. (lpf_biq0 << 8) |
  25129. (mix_tia_gain << 4) |
  25130. (lna2 << 2) | lna1), 0x3,
  25131. 0);
  25132. } else {
  25133. hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
  25134. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25135. ((hpvga << 12) |
  25136. (lpf_biq1 << 10) |
  25137. (lpf_biq0 << 8) |
  25138. (mix_tia_gain << 4) |
  25139. (lna2 << 2) |
  25140. lna1), 0x3, 0);
  25141. }
  25142. if (rxgain != NULL) {
  25143. *rxgain++ = lna1;
  25144. *rxgain++ = lna2;
  25145. *rxgain++ = mix_tia_gain;
  25146. *rxgain++ = lpf_biq0;
  25147. *rxgain++ = lpf_biq1;
  25148. *rxgain = hpvga;
  25149. }
  25150. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &save_comp);
  25151. }
  25152. static void
  25153. wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain,
  25154. u8 cal_type)
  25155. {
  25156. wlc_phy_rxcal_gainctrl_nphy_rev5(pi, rx_core, rxgain, cal_type);
  25157. }
  25158. static u8
  25159. wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type)
  25160. {
  25161. u32 target_bws[2] = { 9500, 21000 };
  25162. u32 ref_tones[2] = { 3000, 6000 };
  25163. u32 target_bw, ref_tone;
  25164. u32 target_pwr_ratios[2] = { 28606, 18468 };
  25165. u32 target_pwr_ratio, pwr_ratio, last_pwr_ratio = 0;
  25166. u16 start_rccal_ovr_val = 128;
  25167. u16 txlpf_rccal_lpc_ovr_val = 128;
  25168. u16 rxlpf_rccal_hpc_ovr_val = 159;
  25169. u16 orig_txlpf_rccal_lpc_ovr_val;
  25170. u16 orig_rxlpf_rccal_hpc_ovr_val;
  25171. u16 radio_addr_offset_rx;
  25172. u16 radio_addr_offset_tx;
  25173. u16 orig_dcBypass;
  25174. u16 orig_RxStrnFilt40Num[6];
  25175. u16 orig_RxStrnFilt40Den[4];
  25176. u16 orig_rfctrloverride[2];
  25177. u16 orig_rfctrlauxreg[2];
  25178. u16 orig_rfctrlrssiothers;
  25179. u16 tx_lpf_bw = 4;
  25180. u16 rx_lpf_bw, rx_lpf_bws[2] = { 2, 4 };
  25181. u16 lpf_hpc = 7, hpvga_hpc = 7;
  25182. s8 rccal_stepsize;
  25183. u16 rccal_val, last_rccal_val = 0, best_rccal_val = 0;
  25184. u32 ref_iq_vals = 0, target_iq_vals = 0;
  25185. u16 num_samps, log_num_samps = 10;
  25186. struct phy_iq_est est[PHY_CORE_MAX];
  25187. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25188. return 0;
  25189. num_samps = (1 << log_num_samps);
  25190. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25191. target_bw = target_bws[1];
  25192. target_pwr_ratio = target_pwr_ratios[1];
  25193. ref_tone = ref_tones[1];
  25194. rx_lpf_bw = rx_lpf_bws[1];
  25195. } else {
  25196. target_bw = target_bws[0];
  25197. target_pwr_ratio = target_pwr_ratios[0];
  25198. ref_tone = ref_tones[0];
  25199. rx_lpf_bw = rx_lpf_bws[0];
  25200. }
  25201. if (core_idx == 0) {
  25202. radio_addr_offset_rx = RADIO_2056_RX0;
  25203. radio_addr_offset_tx =
  25204. (loopback_type == 0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  25205. } else {
  25206. radio_addr_offset_rx = RADIO_2056_RX1;
  25207. radio_addr_offset_tx =
  25208. (loopback_type == 0) ? RADIO_2056_TX1 : RADIO_2056_TX0;
  25209. }
  25210. orig_txlpf_rccal_lpc_ovr_val =
  25211. read_radio_reg(pi,
  25212. (RADIO_2056_TX_TXLPF_RCCAL |
  25213. radio_addr_offset_tx));
  25214. orig_rxlpf_rccal_hpc_ovr_val =
  25215. read_radio_reg(pi,
  25216. (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25217. radio_addr_offset_rx));
  25218. orig_dcBypass = ((read_phy_reg(pi, 0x48) >> 8) & 1);
  25219. orig_RxStrnFilt40Num[0] = read_phy_reg(pi, 0x267);
  25220. orig_RxStrnFilt40Num[1] = read_phy_reg(pi, 0x268);
  25221. orig_RxStrnFilt40Num[2] = read_phy_reg(pi, 0x269);
  25222. orig_RxStrnFilt40Den[0] = read_phy_reg(pi, 0x26a);
  25223. orig_RxStrnFilt40Den[1] = read_phy_reg(pi, 0x26b);
  25224. orig_RxStrnFilt40Num[3] = read_phy_reg(pi, 0x26c);
  25225. orig_RxStrnFilt40Num[4] = read_phy_reg(pi, 0x26d);
  25226. orig_RxStrnFilt40Num[5] = read_phy_reg(pi, 0x26e);
  25227. orig_RxStrnFilt40Den[2] = read_phy_reg(pi, 0x26f);
  25228. orig_RxStrnFilt40Den[3] = read_phy_reg(pi, 0x270);
  25229. orig_rfctrloverride[0] = read_phy_reg(pi, 0xe7);
  25230. orig_rfctrloverride[1] = read_phy_reg(pi, 0xec);
  25231. orig_rfctrlauxreg[0] = read_phy_reg(pi, 0xf8);
  25232. orig_rfctrlauxreg[1] = read_phy_reg(pi, 0xfa);
  25233. orig_rfctrlrssiothers = read_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d);
  25234. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25235. txlpf_rccal_lpc_ovr_val);
  25236. write_radio_reg(pi,
  25237. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25238. rxlpf_rccal_hpc_ovr_val);
  25239. mod_phy_reg(pi, 0x48, (0x1 << 8), (0x1 << 8));
  25240. write_phy_reg(pi, 0x267, 0x02d4);
  25241. write_phy_reg(pi, 0x268, 0x0000);
  25242. write_phy_reg(pi, 0x269, 0x0000);
  25243. write_phy_reg(pi, 0x26a, 0x0000);
  25244. write_phy_reg(pi, 0x26b, 0x0000);
  25245. write_phy_reg(pi, 0x26c, 0x02d4);
  25246. write_phy_reg(pi, 0x26d, 0x0000);
  25247. write_phy_reg(pi, 0x26e, 0x0000);
  25248. write_phy_reg(pi, 0x26f, 0x0000);
  25249. write_phy_reg(pi, 0x270, 0x0000);
  25250. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 8));
  25251. or_phy_reg(pi, (core_idx == 0) ? 0xec : 0xe7, (0x1 << 15));
  25252. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 9));
  25253. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 10));
  25254. mod_phy_reg(pi, (core_idx == 0) ? 0xfa : 0xf8,
  25255. (0x7 << 10), (tx_lpf_bw << 10));
  25256. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25257. (0x7 << 0), (hpvga_hpc << 0));
  25258. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25259. (0x7 << 4), (lpf_hpc << 4));
  25260. mod_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d,
  25261. (0x7 << 8), (rx_lpf_bw << 8));
  25262. rccal_stepsize = 16;
  25263. rccal_val = start_rccal_ovr_val + rccal_stepsize;
  25264. while (rccal_stepsize >= 0) {
  25265. write_radio_reg(pi,
  25266. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25267. radio_addr_offset_rx), rccal_val);
  25268. if (rccal_stepsize == 16) {
  25269. wlc_phy_tx_tone_nphy(pi, ref_tone, NPHY_RXCAL_TONEAMP,
  25270. 0, 1, false);
  25271. udelay(2);
  25272. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25273. if (core_idx == 0)
  25274. ref_iq_vals =
  25275. max_t(u32, (est[0].i_pwr +
  25276. est[0].q_pwr) >>
  25277. (log_num_samps + 1),
  25278. 1);
  25279. else
  25280. ref_iq_vals =
  25281. max_t(u32, (est[1].i_pwr +
  25282. est[1].q_pwr) >>
  25283. (log_num_samps + 1),
  25284. 1);
  25285. wlc_phy_tx_tone_nphy(pi, target_bw, NPHY_RXCAL_TONEAMP,
  25286. 0, 1, false);
  25287. udelay(2);
  25288. }
  25289. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25290. if (core_idx == 0)
  25291. target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >>
  25292. (log_num_samps + 1);
  25293. else
  25294. target_iq_vals =
  25295. (est[1].i_pwr +
  25296. est[1].q_pwr) >> (log_num_samps + 1);
  25297. pwr_ratio = (uint) ((target_iq_vals << 16) / ref_iq_vals);
  25298. if (rccal_stepsize == 0)
  25299. rccal_stepsize--;
  25300. else if (rccal_stepsize == 1) {
  25301. last_rccal_val = rccal_val;
  25302. rccal_val += (pwr_ratio > target_pwr_ratio) ? 1 : -1;
  25303. last_pwr_ratio = pwr_ratio;
  25304. rccal_stepsize--;
  25305. } else {
  25306. rccal_stepsize = (rccal_stepsize >> 1);
  25307. rccal_val += ((pwr_ratio > target_pwr_ratio) ?
  25308. rccal_stepsize : (-rccal_stepsize));
  25309. }
  25310. if (rccal_stepsize == -1) {
  25311. best_rccal_val =
  25312. (abs((int)last_pwr_ratio -
  25313. (int)target_pwr_ratio) <
  25314. abs((int)pwr_ratio -
  25315. (int)target_pwr_ratio)) ? last_rccal_val :
  25316. rccal_val;
  25317. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25318. if ((best_rccal_val > 140)
  25319. || (best_rccal_val < 135))
  25320. best_rccal_val = 138;
  25321. } else {
  25322. if ((best_rccal_val > 142)
  25323. || (best_rccal_val < 137))
  25324. best_rccal_val = 140;
  25325. }
  25326. write_radio_reg(pi,
  25327. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25328. radio_addr_offset_rx), best_rccal_val);
  25329. }
  25330. }
  25331. wlc_phy_stopplayback_nphy(pi);
  25332. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25333. orig_txlpf_rccal_lpc_ovr_val);
  25334. write_radio_reg(pi,
  25335. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25336. orig_rxlpf_rccal_hpc_ovr_val);
  25337. mod_phy_reg(pi, 0x48, (0x1 << 8), (orig_dcBypass << 8));
  25338. write_phy_reg(pi, 0x267, orig_RxStrnFilt40Num[0]);
  25339. write_phy_reg(pi, 0x268, orig_RxStrnFilt40Num[1]);
  25340. write_phy_reg(pi, 0x269, orig_RxStrnFilt40Num[2]);
  25341. write_phy_reg(pi, 0x26a, orig_RxStrnFilt40Den[0]);
  25342. write_phy_reg(pi, 0x26b, orig_RxStrnFilt40Den[1]);
  25343. write_phy_reg(pi, 0x26c, orig_RxStrnFilt40Num[3]);
  25344. write_phy_reg(pi, 0x26d, orig_RxStrnFilt40Num[4]);
  25345. write_phy_reg(pi, 0x26e, orig_RxStrnFilt40Num[5]);
  25346. write_phy_reg(pi, 0x26f, orig_RxStrnFilt40Den[2]);
  25347. write_phy_reg(pi, 0x270, orig_RxStrnFilt40Den[3]);
  25348. write_phy_reg(pi, 0xe7, orig_rfctrloverride[0]);
  25349. write_phy_reg(pi, 0xec, orig_rfctrloverride[1]);
  25350. write_phy_reg(pi, 0xf8, orig_rfctrlauxreg[0]);
  25351. write_phy_reg(pi, 0xfa, orig_rfctrlauxreg[1]);
  25352. write_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d, orig_rfctrlrssiothers);
  25353. pi->nphy_anarxlpf_adjusted = false;
  25354. return best_rccal_val - 0x80;
  25355. }
  25356. #define WAIT_FOR_SCOPE 4000
  25357. static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi,
  25358. struct nphy_txgains target_gain,
  25359. u8 cal_type, bool debug)
  25360. {
  25361. u16 orig_BBConfig;
  25362. u8 core_no, rx_core;
  25363. u8 best_rccal[2];
  25364. u16 gain_save[2];
  25365. u16 cal_gain[2];
  25366. struct nphy_iqcal_params cal_params[2];
  25367. u8 rxcore_state;
  25368. s8 rxlpf_rccal_hpc, txlpf_rccal_lpc;
  25369. s8 txlpf_idac;
  25370. bool phyhang_avoid_state = false;
  25371. bool skip_rxiqcal = false;
  25372. orig_BBConfig = read_phy_reg(pi, 0x01);
  25373. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  25374. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25375. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  25376. phyhang_avoid_state = pi->phyhang_avoid;
  25377. pi->phyhang_avoid = false;
  25378. }
  25379. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25380. for (core_no = 0; core_no <= 1; core_no++) {
  25381. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25382. &cal_params[core_no]);
  25383. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25384. }
  25385. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25386. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  25387. (struct brcms_phy_pub *) pi);
  25388. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25389. skip_rxiqcal =
  25390. ((rxcore_state & (1 << rx_core)) == 0) ? true : false;
  25391. wlc_phy_rxcal_physetup_nphy(pi, rx_core);
  25392. wlc_phy_rxcal_radio_setup_nphy(pi, rx_core);
  25393. if ((!skip_rxiqcal) && ((cal_type == 0) || (cal_type == 2))) {
  25394. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL, 0);
  25395. wlc_phy_tx_tone_nphy(pi,
  25396. (CHSPEC_IS40(
  25397. pi->radio_chanspec)) ?
  25398. NPHY_RXCAL_TONEFREQ_40MHz :
  25399. NPHY_RXCAL_TONEFREQ_20MHz,
  25400. NPHY_RXCAL_TONEAMP, 0, cal_type,
  25401. false);
  25402. if (debug)
  25403. mdelay(WAIT_FOR_SCOPE);
  25404. wlc_phy_calc_rx_iq_comp_nphy(pi, rx_core + 1);
  25405. wlc_phy_stopplayback_nphy(pi);
  25406. }
  25407. if (((cal_type == 1) || (cal_type == 2))
  25408. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  25409. if (rx_core == PHY_CORE_1) {
  25410. if (rxcore_state == 1)
  25411. wlc_phy_rxcore_setstate_nphy(
  25412. (struct brcms_phy_pub *) pi, 3);
  25413. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL,
  25414. 1);
  25415. best_rccal[rx_core] =
  25416. wlc_phy_rc_sweep_nphy(pi, rx_core, 1);
  25417. pi->nphy_rccal_value = best_rccal[rx_core];
  25418. if (rxcore_state == 1)
  25419. wlc_phy_rxcore_setstate_nphy(
  25420. (struct brcms_phy_pub *) pi,
  25421. rxcore_state);
  25422. }
  25423. }
  25424. wlc_phy_rxcal_radio_cleanup_nphy(pi, rx_core);
  25425. wlc_phy_rxcal_phycleanup_nphy(pi, rx_core);
  25426. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25427. }
  25428. if ((cal_type == 1) || (cal_type == 2)) {
  25429. best_rccal[0] = best_rccal[1];
  25430. write_radio_reg(pi,
  25431. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25432. RADIO_2056_RX0), (best_rccal[0] | 0x80));
  25433. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25434. rxlpf_rccal_hpc =
  25435. (((int)best_rccal[rx_core] - 12) >> 1) + 10;
  25436. txlpf_rccal_lpc = ((int)best_rccal[rx_core] - 12) + 10;
  25437. if (PHY_IPA(pi)) {
  25438. txlpf_rccal_lpc +=
  25439. (pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
  25440. txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
  25441. 0x0e : 0x13;
  25442. WRITE_RADIO_REG2(pi, RADIO_2056, TX, rx_core,
  25443. TXLPF_IDAC_4, txlpf_idac);
  25444. }
  25445. rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
  25446. 0);
  25447. txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
  25448. 0);
  25449. write_radio_reg(pi, (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25450. ((rx_core ==
  25451. PHY_CORE_0) ? RADIO_2056_RX0 :
  25452. RADIO_2056_RX1)),
  25453. (rxlpf_rccal_hpc | 0x80));
  25454. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL |
  25455. ((rx_core ==
  25456. PHY_CORE_0) ? RADIO_2056_TX0 :
  25457. RADIO_2056_TX1)),
  25458. (txlpf_rccal_lpc | 0x80));
  25459. }
  25460. }
  25461. write_phy_reg(pi, 0x01, orig_BBConfig);
  25462. wlc_phy_resetcca_nphy(pi);
  25463. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25464. wlc_phy_rfctrl_override_1tomany_nphy(
  25465. pi,
  25466. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25467. 0, 0x3, 1);
  25468. else
  25469. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  25470. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25471. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25472. gain_save);
  25473. if (NREV_GE(pi->pubpi.phy_rev, 4))
  25474. pi->phyhang_avoid = phyhang_avoid_state;
  25475. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25476. return 0;
  25477. }
  25478. static int
  25479. wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi,
  25480. struct nphy_txgains target_gain, bool debug)
  25481. {
  25482. struct phy_iq_est est[PHY_CORE_MAX];
  25483. u8 core_num, rx_core, tx_core;
  25484. u16 lna_vals[] = { 0x3, 0x3, 0x1 };
  25485. u16 hpf1_vals[] = { 0x7, 0x2, 0x0 };
  25486. u16 hpf2_vals[] = { 0x2, 0x0, 0x0 };
  25487. s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna;
  25488. s16 desired_log2_pwr, actual_log2_pwr, hpf_change;
  25489. u16 orig_RfseqCoreActv, orig_AfectrlCore, orig_AfectrlOverride;
  25490. u16 orig_RfctrlIntcRx, orig_RfctrlIntcTx;
  25491. u16 num_samps;
  25492. u32 i_pwr, q_pwr, tot_pwr[3];
  25493. u8 gain_pass, use_hpf_num;
  25494. u16 mask, val1, val2;
  25495. u16 core_no;
  25496. u16 gain_save[2];
  25497. u16 cal_gain[2];
  25498. struct nphy_iqcal_params cal_params[2];
  25499. u8 phy_bw;
  25500. int bcmerror = 0;
  25501. bool first_playtone = true;
  25502. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25503. if (NREV_LT(pi->pubpi.phy_rev, 2))
  25504. wlc_phy_reapply_txcal_coeffs_nphy(pi);
  25505. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25506. for (core_no = 0; core_no <= 1; core_no++) {
  25507. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25508. &cal_params[core_no]);
  25509. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25510. }
  25511. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25512. num_samps = 1024;
  25513. desired_log2_pwr = 13;
  25514. for (core_num = 0; core_num < 2; core_num++) {
  25515. rx_core = core_num;
  25516. tx_core = 1 - core_num;
  25517. orig_RfseqCoreActv = read_phy_reg(pi, 0xa2);
  25518. orig_AfectrlCore = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25519. 0xa6 : 0xa7);
  25520. orig_AfectrlOverride = read_phy_reg(pi, 0xa5);
  25521. orig_RfctrlIntcRx = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25522. 0x91 : 0x92);
  25523. orig_RfctrlIntcTx = read_phy_reg(pi, (tx_core == PHY_CORE_0) ?
  25524. 0x91 : 0x92);
  25525. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25526. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25527. or_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25528. ((0x1 << 1) | (0x1 << 2)));
  25529. or_phy_reg(pi, 0xa5, ((0x1 << 1) | (0x1 << 2)));
  25530. if (((pi->nphy_rxcalparams) & 0xff000000))
  25531. write_phy_reg(pi,
  25532. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25533. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25534. 0x140 : 0x110));
  25535. else
  25536. write_phy_reg(pi,
  25537. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25538. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25539. 0x180 : 0x120));
  25540. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25541. (CHSPEC_IS5G(pi->radio_chanspec) ? 0x148 :
  25542. 0x114));
  25543. mask = RADIO_2055_COUPLE_RX_MASK | RADIO_2055_COUPLE_TX_MASK;
  25544. if (rx_core == PHY_CORE_0) {
  25545. val1 = RADIO_2055_COUPLE_RX_MASK;
  25546. val2 = RADIO_2055_COUPLE_TX_MASK;
  25547. } else {
  25548. val1 = RADIO_2055_COUPLE_TX_MASK;
  25549. val2 = RADIO_2055_COUPLE_RX_MASK;
  25550. }
  25551. if ((pi->nphy_rxcalparams & 0x10000)) {
  25552. mod_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, mask,
  25553. val1);
  25554. mod_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, mask,
  25555. val2);
  25556. }
  25557. for (gain_pass = 0; gain_pass < 4; gain_pass++) {
  25558. if (debug)
  25559. mdelay(WAIT_FOR_SCOPE);
  25560. if (gain_pass < 3) {
  25561. curr_lna = lna_vals[gain_pass];
  25562. curr_hpf1 = hpf1_vals[gain_pass];
  25563. curr_hpf2 = hpf2_vals[gain_pass];
  25564. } else {
  25565. if (tot_pwr[1] > 10000) {
  25566. curr_lna = lna_vals[2];
  25567. curr_hpf1 = hpf1_vals[2];
  25568. curr_hpf2 = hpf2_vals[2];
  25569. use_hpf_num = 1;
  25570. curr_hpf = curr_hpf1;
  25571. actual_log2_pwr =
  25572. wlc_phy_nbits(tot_pwr[2]);
  25573. } else {
  25574. if (tot_pwr[0] > 10000) {
  25575. curr_lna = lna_vals[1];
  25576. curr_hpf1 = hpf1_vals[1];
  25577. curr_hpf2 = hpf2_vals[1];
  25578. use_hpf_num = 1;
  25579. curr_hpf = curr_hpf1;
  25580. actual_log2_pwr =
  25581. wlc_phy_nbits(
  25582. tot_pwr[1]);
  25583. } else {
  25584. curr_lna = lna_vals[0];
  25585. curr_hpf1 = hpf1_vals[0];
  25586. curr_hpf2 = hpf2_vals[0];
  25587. use_hpf_num = 2;
  25588. curr_hpf = curr_hpf2;
  25589. actual_log2_pwr =
  25590. wlc_phy_nbits(
  25591. tot_pwr[0]);
  25592. }
  25593. }
  25594. hpf_change = desired_log2_pwr - actual_log2_pwr;
  25595. curr_hpf += hpf_change;
  25596. curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
  25597. if (use_hpf_num == 1)
  25598. curr_hpf1 = curr_hpf;
  25599. else
  25600. curr_hpf2 = curr_hpf;
  25601. }
  25602. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10),
  25603. ((curr_hpf2 << 8) |
  25604. (curr_hpf1 << 4) |
  25605. (curr_lna << 2)), 0x3, 0);
  25606. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25607. wlc_phy_stopplayback_nphy(pi);
  25608. if (first_playtone) {
  25609. bcmerror = wlc_phy_tx_tone_nphy(pi, 4000,
  25610. (u16) (pi->nphy_rxcalparams &
  25611. 0xffff), 0, 0, true);
  25612. first_playtone = false;
  25613. } else {
  25614. phy_bw = (CHSPEC_IS40(pi->radio_chanspec)) ?
  25615. 40 : 20;
  25616. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff,
  25617. 0, 0, 0, true);
  25618. }
  25619. if (bcmerror == 0) {
  25620. if (gain_pass < 3) {
  25621. wlc_phy_rx_iq_est_nphy(pi, est,
  25622. num_samps, 32,
  25623. 0);
  25624. i_pwr = (est[rx_core].i_pwr +
  25625. num_samps / 2) / num_samps;
  25626. q_pwr = (est[rx_core].q_pwr +
  25627. num_samps / 2) / num_samps;
  25628. tot_pwr[gain_pass] = i_pwr + q_pwr;
  25629. } else {
  25630. wlc_phy_calc_rx_iq_comp_nphy(pi,
  25631. (1 <<
  25632. rx_core));
  25633. }
  25634. wlc_phy_stopplayback_nphy(pi);
  25635. }
  25636. if (bcmerror != 0)
  25637. break;
  25638. }
  25639. and_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, ~mask);
  25640. and_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, ~mask);
  25641. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 :
  25642. 0x92, orig_RfctrlIntcTx);
  25643. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x91 :
  25644. 0x92, orig_RfctrlIntcRx);
  25645. write_phy_reg(pi, 0xa5, orig_AfectrlOverride);
  25646. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 :
  25647. 0xa7, orig_AfectrlCore);
  25648. write_phy_reg(pi, 0xa2, orig_RfseqCoreActv);
  25649. if (bcmerror != 0)
  25650. break;
  25651. }
  25652. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10), 0, 0x3, 1);
  25653. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25654. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25655. gain_save);
  25656. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25657. return bcmerror;
  25658. }
  25659. int
  25660. wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  25661. u8 cal_type, bool debug)
  25662. {
  25663. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25664. cal_type = 0;
  25665. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25666. return wlc_phy_cal_rxiq_nphy_rev3(pi, target_gain, cal_type,
  25667. debug);
  25668. else
  25669. return wlc_phy_cal_rxiq_nphy_rev2(pi, target_gain, debug);
  25670. }
  25671. void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi)
  25672. {
  25673. uint core;
  25674. u32 txgain;
  25675. u16 rad_gain, dac_gain, bbmult, m1m2;
  25676. u8 txpi[2], chan_freq_range;
  25677. s32 rfpwr_offset;
  25678. if (pi->phyhang_avoid)
  25679. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25680. if (pi->sh->sromrev < 4) {
  25681. txpi[0] = txpi[1] = 72;
  25682. } else {
  25683. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  25684. switch (chan_freq_range) {
  25685. case WL_CHAN_FREQ_RANGE_2G:
  25686. case WL_CHAN_FREQ_RANGE_5GL:
  25687. case WL_CHAN_FREQ_RANGE_5GM:
  25688. case WL_CHAN_FREQ_RANGE_5GH:
  25689. txpi[0] = 0;
  25690. txpi[1] = 0;
  25691. break;
  25692. default:
  25693. txpi[0] = txpi[1] = 91;
  25694. break;
  25695. }
  25696. }
  25697. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25698. txpi[0] = txpi[1] = 30;
  25699. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  25700. txpi[0] = txpi[1] = 40;
  25701. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25702. if ((txpi[0] < 40) || (txpi[0] > 100) ||
  25703. (txpi[1] < 40) || (txpi[1] > 100))
  25704. txpi[0] = txpi[1] = 91;
  25705. }
  25706. pi->nphy_txpwrindex[PHY_CORE_0].index_internal = txpi[0];
  25707. pi->nphy_txpwrindex[PHY_CORE_1].index_internal = txpi[1];
  25708. pi->nphy_txpwrindex[PHY_CORE_0].index_internal_save = txpi[0];
  25709. pi->nphy_txpwrindex[PHY_CORE_1].index_internal_save = txpi[1];
  25710. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  25711. uint phyrev = pi->pubpi.phy_rev;
  25712. if (NREV_GE(phyrev, 3)) {
  25713. if (PHY_IPA(pi)) {
  25714. u32 *tx_gaintbl =
  25715. wlc_phy_get_ipa_gaintbl_nphy(pi);
  25716. txgain = tx_gaintbl[txpi[core]];
  25717. } else {
  25718. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25719. if (NREV_IS(phyrev, 3)) {
  25720. txgain =
  25721. nphy_tpc_5GHz_txgain_rev3
  25722. [txpi[core]];
  25723. } else if (NREV_IS(phyrev, 4)) {
  25724. txgain = (
  25725. pi->srom_fem5g.extpagain ==
  25726. 3) ?
  25727. nphy_tpc_5GHz_txgain_HiPwrEPA
  25728. [txpi[core]] :
  25729. nphy_tpc_5GHz_txgain_rev4
  25730. [txpi[core]];
  25731. } else {
  25732. txgain =
  25733. nphy_tpc_5GHz_txgain_rev5
  25734. [txpi[core]];
  25735. }
  25736. } else {
  25737. if (NREV_GE(phyrev, 5) &&
  25738. (pi->srom_fem2g.extpagain == 3)) {
  25739. txgain =
  25740. nphy_tpc_txgain_HiPwrEPA
  25741. [txpi[core]];
  25742. } else {
  25743. txgain = nphy_tpc_txgain_rev3
  25744. [txpi[core]];
  25745. }
  25746. }
  25747. }
  25748. } else {
  25749. txgain = nphy_tpc_txgain[txpi[core]];
  25750. }
  25751. if (NREV_GE(phyrev, 3))
  25752. rad_gain = (txgain >> 16) & ((1 << (32 - 16 + 1)) - 1);
  25753. else
  25754. rad_gain = (txgain >> 16) & ((1 << (28 - 16 + 1)) - 1);
  25755. if (NREV_GE(phyrev, 7))
  25756. dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1);
  25757. else
  25758. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  25759. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  25760. if (NREV_GE(phyrev, 3))
  25761. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  25762. 0xa5), (0x1 << 8), (0x1 << 8));
  25763. else
  25764. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  25765. write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain);
  25766. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  25767. &rad_gain);
  25768. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  25769. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  25770. m1m2 |= ((core == PHY_CORE_0) ? (bbmult << 8) : (bbmult << 0));
  25771. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  25772. if (PHY_IPA(pi)) {
  25773. wlc_phy_table_read_nphy(pi,
  25774. (core ==
  25775. PHY_CORE_0 ?
  25776. NPHY_TBL_ID_CORE1TXPWRCTL :
  25777. NPHY_TBL_ID_CORE2TXPWRCTL), 1,
  25778. 576 + txpi[core], 32,
  25779. &rfpwr_offset);
  25780. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25781. 0x29b, (0x1ff << 4),
  25782. ((s16) rfpwr_offset) << 4);
  25783. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25784. 0x29b, (0x1 << 2), (1) << 2);
  25785. }
  25786. }
  25787. and_phy_reg(pi, 0xbf, (u16) (~(0x1f << 0)));
  25788. if (pi->phyhang_avoid)
  25789. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25790. }
  25791. static void
  25792. wlc_phy_txpwr_nphy_srom_convert(u8 *srom_max, u16 *pwr_offset,
  25793. u8 tmp_max_pwr, u8 rate_start,
  25794. u8 rate_end)
  25795. {
  25796. u8 rate;
  25797. u8 word_num, nibble_num;
  25798. u8 tmp_nibble;
  25799. for (rate = rate_start; rate <= rate_end; rate++) {
  25800. word_num = (rate - rate_start) >> 2;
  25801. nibble_num = (rate - rate_start) & 0x3;
  25802. tmp_nibble = (pwr_offset[word_num] >> 4 * nibble_num) & 0xf;
  25803. srom_max[rate] = tmp_max_pwr - 2 * tmp_nibble;
  25804. }
  25805. }
  25806. static void
  25807. wlc_phy_txpwr_nphy_po_apply(u8 *srom_max, u8 pwr_offset,
  25808. u8 rate_start, u8 rate_end)
  25809. {
  25810. u8 rate;
  25811. for (rate = rate_start; rate <= rate_end; rate++)
  25812. srom_max[rate] -= 2 * pwr_offset;
  25813. }
  25814. void
  25815. wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start,
  25816. u8 rate_mcs_end, u8 rate_ofdm_start)
  25817. {
  25818. u8 rate1, rate2;
  25819. rate2 = rate_ofdm_start;
  25820. for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) {
  25821. power[rate1] = power[rate2];
  25822. rate2 += (rate1 == rate_mcs_start) ? 2 : 1;
  25823. }
  25824. power[rate_mcs_end] = power[rate_mcs_end - 1];
  25825. }
  25826. void
  25827. wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start,
  25828. u8 rate_ofdm_end, u8 rate_mcs_start)
  25829. {
  25830. u8 rate1, rate2;
  25831. for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start;
  25832. rate1 <= rate_ofdm_end; rate1++, rate2++) {
  25833. power[rate1] = power[rate2];
  25834. if (rate1 == rate_ofdm_start)
  25835. power[++rate1] = power[rate2];
  25836. }
  25837. }
  25838. void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi)
  25839. {
  25840. uint rate1, rate2, band_num;
  25841. u8 tmp_bw40po = 0, tmp_cddpo = 0, tmp_stbcpo = 0;
  25842. u8 tmp_max_pwr = 0;
  25843. u16 pwr_offsets1[2], *pwr_offsets2 = NULL;
  25844. u8 *tx_srom_max_rate = NULL;
  25845. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  25846. band_num++) {
  25847. switch (band_num) {
  25848. case 0:
  25849. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g,
  25850. pi->nphy_pwrctrl_info[1].max_pwr_2g);
  25851. pwr_offsets1[0] = pi->cck2gpo;
  25852. wlc_phy_txpwr_nphy_srom_convert(pi->tx_srom_max_rate_2g,
  25853. pwr_offsets1,
  25854. tmp_max_pwr,
  25855. TXP_FIRST_CCK,
  25856. TXP_LAST_CCK);
  25857. pwr_offsets1[0] = (u16) (pi->ofdm2gpo & 0xffff);
  25858. pwr_offsets1[1] =
  25859. (u16) (pi->ofdm2gpo >> 16) & 0xffff;
  25860. pwr_offsets2 = pi->mcs2gpo;
  25861. tmp_cddpo = pi->cdd2gpo;
  25862. tmp_stbcpo = pi->stbc2gpo;
  25863. tmp_bw40po = pi->bw402gpo;
  25864. tx_srom_max_rate = pi->tx_srom_max_rate_2g;
  25865. break;
  25866. case 1:
  25867. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm,
  25868. pi->nphy_pwrctrl_info[1].max_pwr_5gm);
  25869. pwr_offsets1[0] = (u16) (pi->ofdm5gpo & 0xffff);
  25870. pwr_offsets1[1] =
  25871. (u16) (pi->ofdm5gpo >> 16) & 0xffff;
  25872. pwr_offsets2 = pi->mcs5gpo;
  25873. tmp_cddpo = pi->cdd5gpo;
  25874. tmp_stbcpo = pi->stbc5gpo;
  25875. tmp_bw40po = pi->bw405gpo;
  25876. tx_srom_max_rate = pi->tx_srom_max_rate_5g_mid;
  25877. break;
  25878. case 2:
  25879. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl,
  25880. pi->nphy_pwrctrl_info[1].max_pwr_5gl);
  25881. pwr_offsets1[0] = (u16) (pi->ofdm5glpo & 0xffff);
  25882. pwr_offsets1[1] =
  25883. (u16) (pi->ofdm5glpo >> 16) & 0xffff;
  25884. pwr_offsets2 = pi->mcs5glpo;
  25885. tmp_cddpo = pi->cdd5glpo;
  25886. tmp_stbcpo = pi->stbc5glpo;
  25887. tmp_bw40po = pi->bw405glpo;
  25888. tx_srom_max_rate = pi->tx_srom_max_rate_5g_low;
  25889. break;
  25890. case 3:
  25891. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh,
  25892. pi->nphy_pwrctrl_info[1].max_pwr_5gh);
  25893. pwr_offsets1[0] = (u16) (pi->ofdm5ghpo & 0xffff);
  25894. pwr_offsets1[1] =
  25895. (u16) (pi->ofdm5ghpo >> 16) & 0xffff;
  25896. pwr_offsets2 = pi->mcs5ghpo;
  25897. tmp_cddpo = pi->cdd5ghpo;
  25898. tmp_stbcpo = pi->stbc5ghpo;
  25899. tmp_bw40po = pi->bw405ghpo;
  25900. tx_srom_max_rate = pi->tx_srom_max_rate_5g_hi;
  25901. break;
  25902. }
  25903. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets1,
  25904. tmp_max_pwr, TXP_FIRST_OFDM,
  25905. TXP_LAST_OFDM);
  25906. wlc_phy_ofdm_to_mcs_powers_nphy(tx_srom_max_rate,
  25907. TXP_FIRST_MCS_20_SISO,
  25908. TXP_LAST_MCS_20_SISO,
  25909. TXP_FIRST_OFDM);
  25910. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  25911. tmp_max_pwr,
  25912. TXP_FIRST_MCS_20_CDD,
  25913. TXP_LAST_MCS_20_CDD);
  25914. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25915. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  25916. TXP_FIRST_MCS_20_CDD,
  25917. TXP_LAST_MCS_20_CDD);
  25918. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25919. TXP_FIRST_OFDM_20_CDD,
  25920. TXP_LAST_OFDM_20_CDD,
  25921. TXP_FIRST_MCS_20_CDD);
  25922. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  25923. tmp_max_pwr,
  25924. TXP_FIRST_MCS_20_STBC,
  25925. TXP_LAST_MCS_20_STBC);
  25926. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25927. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25928. tmp_stbcpo,
  25929. TXP_FIRST_MCS_20_STBC,
  25930. TXP_LAST_MCS_20_STBC);
  25931. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25932. &pwr_offsets2[2], tmp_max_pwr,
  25933. TXP_FIRST_MCS_20_SDM,
  25934. TXP_LAST_MCS_20_SDM);
  25935. if (NPHY_IS_SROM_REINTERPRET) {
  25936. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25937. &pwr_offsets2[4],
  25938. tmp_max_pwr,
  25939. TXP_FIRST_MCS_40_SISO,
  25940. TXP_LAST_MCS_40_SISO);
  25941. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25942. TXP_FIRST_OFDM_40_SISO,
  25943. TXP_LAST_OFDM_40_SISO,
  25944. TXP_FIRST_MCS_40_SISO);
  25945. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25946. &pwr_offsets2[4],
  25947. tmp_max_pwr,
  25948. TXP_FIRST_MCS_40_CDD,
  25949. TXP_LAST_MCS_40_CDD);
  25950. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  25951. TXP_FIRST_MCS_40_CDD,
  25952. TXP_LAST_MCS_40_CDD);
  25953. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25954. TXP_FIRST_OFDM_40_CDD,
  25955. TXP_LAST_OFDM_40_CDD,
  25956. TXP_FIRST_MCS_40_CDD);
  25957. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25958. &pwr_offsets2[4],
  25959. tmp_max_pwr,
  25960. TXP_FIRST_MCS_40_STBC,
  25961. TXP_LAST_MCS_40_STBC);
  25962. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25963. tmp_stbcpo,
  25964. TXP_FIRST_MCS_40_STBC,
  25965. TXP_LAST_MCS_40_STBC);
  25966. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25967. &pwr_offsets2[6],
  25968. tmp_max_pwr,
  25969. TXP_FIRST_MCS_40_SDM,
  25970. TXP_LAST_MCS_40_SDM);
  25971. } else {
  25972. for (rate1 = TXP_FIRST_OFDM_40_SISO, rate2 =
  25973. TXP_FIRST_OFDM;
  25974. rate1 <= TXP_LAST_MCS_40_SDM;
  25975. rate1++, rate2++)
  25976. tx_srom_max_rate[rate1] =
  25977. tx_srom_max_rate[rate2];
  25978. }
  25979. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25980. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25981. tmp_bw40po,
  25982. TXP_FIRST_OFDM_40_SISO,
  25983. TXP_LAST_MCS_40_SDM);
  25984. tx_srom_max_rate[TXP_MCS_32] =
  25985. tx_srom_max_rate[TXP_FIRST_MCS_40_CDD];
  25986. }
  25987. return;
  25988. }
  25989. void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi)
  25990. {
  25991. u8 tx_pwr_ctrl_state;
  25992. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  25993. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  25994. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  25995. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  25996. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  25997. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  25998. udelay(1);
  25999. }
  26000. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26001. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  26002. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  26003. }
  26004. static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi)
  26005. {
  26006. return read_phy_reg((pi), 0x1e7) & ((0x1 << 15) |
  26007. (0x1 << 14) | (0x1 << 13));
  26008. }
  26009. u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi)
  26010. {
  26011. u16 tmp;
  26012. u16 pwr_idx[2];
  26013. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26014. pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0);
  26015. pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1);
  26016. tmp = (pwr_idx[0] << 8) | pwr_idx[1];
  26017. } else {
  26018. tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff)
  26019. << 8) |
  26020. (pi->nphy_txpwrindex[PHY_CORE_1].index_internal & 0xff);
  26021. }
  26022. return tmp;
  26023. }
  26024. void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi)
  26025. {
  26026. if (PHY_IPA(pi)
  26027. && (pi->nphy_force_papd_cal
  26028. || (wlc_phy_txpwr_ison_nphy(pi)
  26029. &&
  26030. (((u32)
  26031. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) -
  26032. pi->nphy_papd_tx_gain_at_last_cal[0]) >= 4)
  26033. || ((u32)
  26034. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) -
  26035. pi->nphy_papd_tx_gain_at_last_cal[1]) >= 4)))))
  26036. wlc_phy_a4(pi, true);
  26037. }
  26038. void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type)
  26039. {
  26040. u16 mask = 0, val = 0, ishw = 0;
  26041. u8 ctr;
  26042. uint core;
  26043. u32 tbl_offset;
  26044. u32 tbl_len;
  26045. u16 regval[84];
  26046. if (pi->phyhang_avoid)
  26047. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26048. switch (ctrl_type) {
  26049. case PHY_TPC_HW_OFF:
  26050. case PHY_TPC_HW_ON:
  26051. pi->nphy_txpwrctrl = ctrl_type;
  26052. break;
  26053. default:
  26054. break;
  26055. }
  26056. if (ctrl_type == PHY_TPC_HW_OFF) {
  26057. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26058. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26059. for (core = 0; core < pi->pubpi.phy_corenum;
  26060. core++)
  26061. pi->nphy_txpwr_idx[core] =
  26062. wlc_phy_txpwr_idx_cur_get_nphy(
  26063. pi,
  26064. (u8) core);
  26065. }
  26066. }
  26067. tbl_len = 84;
  26068. tbl_offset = 64;
  26069. for (ctr = 0; ctr < tbl_len; ctr++)
  26070. regval[ctr] = 0;
  26071. wlc_phy_table_write_nphy(pi, 26, tbl_len, tbl_offset, 16,
  26072. regval);
  26073. wlc_phy_table_write_nphy(pi, 27, tbl_len, tbl_offset, 16,
  26074. regval);
  26075. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26076. and_phy_reg(pi, 0x1e7,
  26077. (u16) (~((0x1 << 15) |
  26078. (0x1 << 14) | (0x1 << 13))));
  26079. else
  26080. and_phy_reg(pi, 0x1e7,
  26081. (u16) (~((0x1 << 14) | (0x1 << 13))));
  26082. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26083. or_phy_reg(pi, 0x8f, (0x1 << 8));
  26084. or_phy_reg(pi, 0xa5, (0x1 << 8));
  26085. } else {
  26086. or_phy_reg(pi, 0xa5, (0x1 << 14));
  26087. }
  26088. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26089. mod_phy_reg(pi, 0xdc, 0x00ff, 0x53);
  26090. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26091. mod_phy_reg(pi, 0xdc, 0x00ff, 0x5a);
  26092. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26093. pi->bw == WL_CHANSPEC_BW_40)
  26094. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26095. MHF1_IQSWAP_WAR, BRCM_BAND_ALL);
  26096. } else {
  26097. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64,
  26098. 8, pi->adj_pwr_tbl_nphy);
  26099. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64,
  26100. 8, pi->adj_pwr_tbl_nphy);
  26101. ishw = (ctrl_type == PHY_TPC_HW_ON) ? 0x1 : 0x0;
  26102. mask = (0x1 << 14) | (0x1 << 13);
  26103. val = (ishw << 14) | (ishw << 13);
  26104. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26105. mask |= (0x1 << 15);
  26106. val |= (ishw << 15);
  26107. }
  26108. mod_phy_reg(pi, 0x1e7, mask, val);
  26109. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  26110. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  26111. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x32);
  26112. mod_phy_reg(pi, 0x222, (0xff << 0), 0x32);
  26113. } else {
  26114. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x64);
  26115. if (NREV_GT(pi->pubpi.phy_rev, 1))
  26116. mod_phy_reg(pi, 0x222,
  26117. (0xff << 0), 0x64);
  26118. }
  26119. }
  26120. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26121. if ((pi->nphy_txpwr_idx[0] != 128)
  26122. && (pi->nphy_txpwr_idx[1] != 128))
  26123. wlc_phy_txpwr_idx_cur_set_nphy(pi,
  26124. pi->
  26125. nphy_txpwr_idx
  26126. [0],
  26127. pi->
  26128. nphy_txpwr_idx
  26129. [1]);
  26130. }
  26131. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26132. and_phy_reg(pi, 0x8f, ~(0x1 << 8));
  26133. and_phy_reg(pi, 0xa5, ~(0x1 << 8));
  26134. } else {
  26135. and_phy_reg(pi, 0xa5, ~(0x1 << 14));
  26136. }
  26137. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26138. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  26139. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26140. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  26141. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26142. pi->bw == WL_CHANSPEC_BW_40)
  26143. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26144. 0x0, BRCM_BAND_ALL);
  26145. if (PHY_IPA(pi)) {
  26146. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  26147. 0x29b, (0x1 << 2), (0) << 2);
  26148. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  26149. 0x29b, (0x1 << 2), (0) << 2);
  26150. }
  26151. }
  26152. if (pi->phyhang_avoid)
  26153. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26154. }
  26155. void
  26156. wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex,
  26157. bool restore_cals)
  26158. {
  26159. u8 core, txpwrctl_tbl;
  26160. u16 tx_ind0, iq_ind0, lo_ind0;
  26161. u16 m1m2;
  26162. u32 txgain;
  26163. u16 rad_gain, dac_gain;
  26164. u8 bbmult;
  26165. u32 iqcomp;
  26166. u16 iqcomp_a, iqcomp_b;
  26167. u32 locomp;
  26168. u16 tmpval;
  26169. u8 tx_pwr_ctrl_state;
  26170. s32 rfpwr_offset;
  26171. u16 regval[2];
  26172. if (pi->phyhang_avoid)
  26173. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26174. tx_ind0 = 192;
  26175. iq_ind0 = 320;
  26176. lo_ind0 = 448;
  26177. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  26178. if ((core_mask & (1 << core)) == 0)
  26179. continue;
  26180. txpwrctl_tbl = (core == PHY_CORE_0) ? 26 : 27;
  26181. if (txpwrindex < 0) {
  26182. if (pi->nphy_txpwrindex[core].index < 0)
  26183. continue;
  26184. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26185. mod_phy_reg(pi, 0x8f,
  26186. (0x1 << 8),
  26187. pi->nphy_txpwrindex[core].
  26188. AfectrlOverride);
  26189. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26190. pi->nphy_txpwrindex[core].
  26191. AfectrlOverride);
  26192. } else {
  26193. mod_phy_reg(pi, 0xa5,
  26194. (0x1 << 14),
  26195. pi->nphy_txpwrindex[core].
  26196. AfectrlOverride);
  26197. }
  26198. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26199. 0xaa : 0xab,
  26200. pi->nphy_txpwrindex[core].AfeCtrlDacGain);
  26201. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26202. &pi->nphy_txpwrindex[core].
  26203. rad_gain);
  26204. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26205. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26206. m1m2 |= ((core == PHY_CORE_0) ?
  26207. (pi->nphy_txpwrindex[core].bbmult << 8) :
  26208. (pi->nphy_txpwrindex[core].bbmult << 0));
  26209. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26210. if (restore_cals) {
  26211. wlc_phy_table_write_nphy(
  26212. pi, 15, 2, (80 + 2 * core), 16,
  26213. &pi->nphy_txpwrindex[core].iqcomp_a);
  26214. wlc_phy_table_write_nphy(
  26215. pi, 15, 1, (85 + core), 16,
  26216. &pi->nphy_txpwrindex[core].locomp);
  26217. wlc_phy_table_write_nphy(
  26218. pi, 15, 1, (93 + core), 16,
  26219. &pi->nphy_txpwrindex[core].locomp);
  26220. }
  26221. wlc_phy_txpwrctrl_enable_nphy(pi, pi->nphy_txpwrctrl);
  26222. pi->nphy_txpwrindex[core].index_internal =
  26223. pi->nphy_txpwrindex[core].index_internal_save;
  26224. } else {
  26225. if (pi->nphy_txpwrindex[core].index < 0) {
  26226. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26227. mod_phy_reg(pi, 0x8f,
  26228. (0x1 << 8),
  26229. pi->nphy_txpwrindex[core].
  26230. AfectrlOverride);
  26231. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26232. pi->nphy_txpwrindex[core].
  26233. AfectrlOverride);
  26234. } else {
  26235. pi->nphy_txpwrindex[core].
  26236. AfectrlOverride =
  26237. read_phy_reg(pi, 0xa5);
  26238. }
  26239. pi->nphy_txpwrindex[core].AfeCtrlDacGain =
  26240. read_phy_reg(pi, (core == PHY_CORE_0) ?
  26241. 0xaa : 0xab);
  26242. wlc_phy_table_read_nphy(pi, 7, 1,
  26243. (0x110 + core), 16,
  26244. &pi->
  26245. nphy_txpwrindex[core].
  26246. rad_gain);
  26247. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  26248. &tmpval);
  26249. tmpval >>= ((core == PHY_CORE_0) ? 8 : 0);
  26250. tmpval &= 0xff;
  26251. pi->nphy_txpwrindex[core].bbmult = (u8) tmpval;
  26252. wlc_phy_table_read_nphy(pi, 15, 2,
  26253. (80 + 2 * core), 16,
  26254. &pi->
  26255. nphy_txpwrindex[core].
  26256. iqcomp_a);
  26257. wlc_phy_table_read_nphy(pi, 15, 1, (85 + core),
  26258. 16,
  26259. &pi->
  26260. nphy_txpwrindex[core].
  26261. locomp);
  26262. pi->nphy_txpwrindex[core].index_internal_save =
  26263. pi->nphy_txpwrindex[core].
  26264. index_internal;
  26265. }
  26266. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26267. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  26268. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26269. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  26270. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26271. (tx_ind0 + txpwrindex), 32,
  26272. &txgain);
  26273. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26274. rad_gain = (txgain >> 16) &
  26275. ((1 << (32 - 16 + 1)) - 1);
  26276. else
  26277. rad_gain = (txgain >> 16) &
  26278. ((1 << (28 - 16 + 1)) - 1);
  26279. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  26280. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  26281. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26282. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  26283. 0xa5), (0x1 << 8), (0x1 << 8));
  26284. else
  26285. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  26286. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26287. 0xaa : 0xab, dac_gain);
  26288. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26289. &rad_gain);
  26290. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26291. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26292. m1m2 |= ((core == PHY_CORE_0) ?
  26293. (bbmult << 8) : (bbmult << 0));
  26294. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26295. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26296. (iq_ind0 + txpwrindex), 32,
  26297. &iqcomp);
  26298. iqcomp_a = (iqcomp >> 10) & ((1 << (19 - 10 + 1)) - 1);
  26299. iqcomp_b = (iqcomp >> 0) & ((1 << (9 - 0 + 1)) - 1);
  26300. if (restore_cals) {
  26301. regval[0] = (u16) iqcomp_a;
  26302. regval[1] = (u16) iqcomp_b;
  26303. wlc_phy_table_write_nphy(pi, 15, 2,
  26304. (80 + 2 * core), 16,
  26305. regval);
  26306. }
  26307. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26308. (lo_ind0 + txpwrindex), 32,
  26309. &locomp);
  26310. if (restore_cals)
  26311. wlc_phy_table_write_nphy(pi, 15, 1, (85 + core),
  26312. 16, &locomp);
  26313. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26314. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  26315. if (PHY_IPA(pi)) {
  26316. wlc_phy_table_read_nphy(pi,
  26317. (core == PHY_CORE_0 ?
  26318. NPHY_TBL_ID_CORE1TXPWRCTL :
  26319. NPHY_TBL_ID_CORE2TXPWRCTL),
  26320. 1, 576 + txpwrindex, 32,
  26321. &rfpwr_offset);
  26322. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26323. 0x29b, (0x1ff << 4),
  26324. ((s16) rfpwr_offset) << 4);
  26325. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26326. 0x29b, (0x1 << 2), (1) << 2);
  26327. }
  26328. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26329. }
  26330. pi->nphy_txpwrindex[core].index = txpwrindex;
  26331. }
  26332. if (pi->phyhang_avoid)
  26333. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26334. }
  26335. void
  26336. wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr,
  26337. u8 txp_rate_idx)
  26338. {
  26339. u8 chan_freq_range;
  26340. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, chan);
  26341. switch (chan_freq_range) {
  26342. case WL_CHAN_FREQ_RANGE_2G:
  26343. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26344. break;
  26345. case WL_CHAN_FREQ_RANGE_5GM:
  26346. *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
  26347. break;
  26348. case WL_CHAN_FREQ_RANGE_5GL:
  26349. *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
  26350. break;
  26351. case WL_CHAN_FREQ_RANGE_5GH:
  26352. *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
  26353. break;
  26354. default:
  26355. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26356. break;
  26357. }
  26358. return;
  26359. }
  26360. void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable)
  26361. {
  26362. u16 clip_off[] = { 0xffff, 0xffff };
  26363. if (enable) {
  26364. if (pi->nphy_deaf_count == 0) {
  26365. pi->classifier_state =
  26366. wlc_phy_classifier_nphy(pi, 0, 0);
  26367. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  26368. wlc_phy_clip_det_nphy(pi, 0, pi->clip_state);
  26369. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  26370. }
  26371. pi->nphy_deaf_count++;
  26372. wlc_phy_resetcca_nphy(pi);
  26373. } else {
  26374. pi->nphy_deaf_count--;
  26375. if (pi->nphy_deaf_count == 0) {
  26376. wlc_phy_classifier_nphy(pi, (0x7 << 0),
  26377. pi->classifier_state);
  26378. wlc_phy_clip_det_nphy(pi, 1, pi->clip_state);
  26379. }
  26380. }
  26381. }
  26382. void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode)
  26383. {
  26384. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  26385. if (mode) {
  26386. if (pi->nphy_deaf_count == 0)
  26387. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26388. } else if (pi->nphy_deaf_count > 0) {
  26389. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26390. }
  26391. wlapi_enable_mac(pi->sh->physhim);
  26392. }