phy_n.c 919 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876
  1. /*
  2. * Copyright (c) 2010 Broadcom Corporation
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  11. * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  13. * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  14. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #include <linux/kernel.h>
  17. #include <linux/delay.h>
  18. #include <linux/cordic.h>
  19. #include <brcm_hw_ids.h>
  20. #include <aiutils.h>
  21. #include <chipcommon.h>
  22. #include <pmu.h>
  23. #include <d11.h>
  24. #include <phy_shim.h>
  25. #include "phy_int.h"
  26. #include "phy_hal.h"
  27. #include "phy_radio.h"
  28. #include "phyreg_n.h"
  29. #include "phytbl_n.h"
  30. #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \
  31. read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  32. ((core == PHY_CORE_0) ? \
  33. radio_type##_##jspace##0 : \
  34. radio_type##_##jspace##1))
  35. #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \
  36. write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  37. ((core == PHY_CORE_0) ? \
  38. radio_type##_##jspace##0 : \
  39. radio_type##_##jspace##1), value)
  40. #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \
  41. write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
  42. #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \
  43. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  44. radio_type##_##jspace##0##_##reg_name : \
  45. radio_type##_##jspace##1##_##reg_name))
  46. #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \
  47. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  48. radio_type##_##jspace##0##_##reg_name : \
  49. radio_type##_##jspace##1##_##reg_name), \
  50. value)
  51. #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \
  52. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  53. radio_type##_##reg_name##_##jspace##0 : \
  54. radio_type##_##reg_name##_##jspace##1))
  55. #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \
  56. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  57. radio_type##_##reg_name##_##jspace##0 : \
  58. radio_type##_##reg_name##_##jspace##1), \
  59. value)
  60. #define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ 40
  61. #define NPHY_ACI_CHANNEL_DELTA 5
  62. #define NPHY_ACI_CHANNEL_SKIP 4
  63. #define NPHY_ACI_40MHZ_CHANNEL_DELTA 6
  64. #define NPHY_ACI_40MHZ_CHANNEL_SKIP 5
  65. #define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3 6
  66. #define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3 5
  67. #define NPHY_ACI_CHANNEL_DELTA_GE_REV3 4
  68. #define NPHY_ACI_CHANNEL_SKIP_GE_REV3 3
  69. #define NPHY_NOISE_NOASSOC_GLITCH_TH_UP 2
  70. #define NPHY_NOISE_NOASSOC_GLITCH_TH_DN 8
  71. #define NPHY_NOISE_ASSOC_GLITCH_TH_UP 2
  72. #define NPHY_NOISE_ASSOC_GLITCH_TH_DN 8
  73. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP 2
  74. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN 8
  75. #define NPHY_NOISE_NOASSOC_ENTER_TH 400
  76. #define NPHY_NOISE_ASSOC_ENTER_TH 400
  77. #define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH 400
  78. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX 44
  79. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7 56
  80. #define NPHY_NOISE_NOASSOC_CRSIDX_INCR 16
  81. #define NPHY_NOISE_ASSOC_CRSIDX_INCR 8
  82. #define NPHY_IS_SROM_REINTERPRET NREV_GE(pi->pubpi.phy_rev, 5)
  83. #define NPHY_RSSICAL_MAXREAD 31
  84. #define NPHY_RSSICAL_NPOLL 8
  85. #define NPHY_RSSICAL_MAXD (1<<20)
  86. #define NPHY_MIN_RXIQ_PWR 2
  87. #define NPHY_RSSICAL_W1_TARGET 25
  88. #define NPHY_RSSICAL_W2_TARGET NPHY_RSSICAL_W1_TARGET
  89. #define NPHY_RSSICAL_NB_TARGET 0
  90. #define NPHY_RSSICAL_W1_TARGET_REV3 29
  91. #define NPHY_RSSICAL_W2_TARGET_REV3 NPHY_RSSICAL_W1_TARGET_REV3
  92. #define NPHY_CALSANITY_RSSI_NB_MAX_POS 9
  93. #define NPHY_CALSANITY_RSSI_NB_MAX_NEG -9
  94. #define NPHY_CALSANITY_RSSI_W1_MAX_POS 12
  95. #define NPHY_CALSANITY_RSSI_W1_MAX_NEG (NPHY_RSSICAL_W1_TARGET - \
  96. NPHY_RSSICAL_MAXREAD)
  97. #define NPHY_CALSANITY_RSSI_W2_MAX_POS NPHY_CALSANITY_RSSI_W1_MAX_POS
  98. #define NPHY_CALSANITY_RSSI_W2_MAX_NEG (NPHY_RSSICAL_W2_TARGET - \
  99. NPHY_RSSICAL_MAXREAD)
  100. #define NPHY_RSSI_SXT(x) ((s8) (-((x) & 0x20) + ((x) & 0x1f)))
  101. #define NPHY_RSSI_NB_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_NB_MAX_POS) || \
  102. ((x) < NPHY_CALSANITY_RSSI_NB_MAX_NEG))
  103. #define NPHY_RSSI_W1_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W1_MAX_POS) || \
  104. ((x) < NPHY_CALSANITY_RSSI_W1_MAX_NEG))
  105. #define NPHY_RSSI_W2_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W2_MAX_POS) || \
  106. ((x) < NPHY_CALSANITY_RSSI_W2_MAX_NEG))
  107. #define NPHY_IQCAL_NUMGAINS 9
  108. #define NPHY_N_GCTL 0x66
  109. #define NPHY_PAPD_EPS_TBL_SIZE 64
  110. #define NPHY_PAPD_SCL_TBL_SIZE 64
  111. #define NPHY_NUM_DIG_FILT_COEFFS 15
  112. #define NPHY_PAPD_COMP_OFF 0
  113. #define NPHY_PAPD_COMP_ON 1
  114. #define NPHY_SROM_TEMPSHIFT 32
  115. #define NPHY_SROM_MAXTEMPOFFSET 16
  116. #define NPHY_SROM_MINTEMPOFFSET -16
  117. #define NPHY_CAL_MAXTEMPDELTA 64
  118. #define NPHY_NOISEVAR_TBLLEN40 256
  119. #define NPHY_NOISEVAR_TBLLEN20 128
  120. #define NPHY_ANARXLPFBW_REDUCTIONFACT 7
  121. #define NPHY_ADJUSTED_MINCRSPOWER 0x1e
  122. /* 5357 Chip specific ChipControl register bits */
  123. #define CCTRL5357_EXTPA (1<<14) /* extPA in ChipControl 1, bit 14 */
  124. #define CCTRL5357_ANT_MUX_2o3 (1<<15) /* 2o3 in ChipControl 1, bit 15 */
  125. #define NPHY_CAL_TSSISAMPS 64
  126. #define NPHY_TEST_TONE_FREQ_40MHz 4000
  127. #define NPHY_TEST_TONE_FREQ_20MHz 2500
  128. #define MAX_205x_RCAL_WAITLOOPS 10000
  129. #define NPHY_RXCAL_TONEAMP 181
  130. #define NPHY_RXCAL_TONEFREQ_40MHz 4000
  131. #define NPHY_RXCAL_TONEFREQ_20MHz 2000
  132. #define TXFILT_SHAPING_OFDM20 0
  133. #define TXFILT_SHAPING_OFDM40 1
  134. #define TXFILT_SHAPING_CCK 2
  135. #define TXFILT_DEFAULT_OFDM20 3
  136. #define TXFILT_DEFAULT_OFDM40 4
  137. struct nphy_iqcal_params {
  138. u16 txlpf;
  139. u16 txgm;
  140. u16 pga;
  141. u16 pad;
  142. u16 ipa;
  143. u16 cal_gain;
  144. u16 ncorr[5];
  145. };
  146. struct nphy_txiqcal_ladder {
  147. u8 percent;
  148. u8 g_env;
  149. };
  150. struct nphy_ipa_txcalgains {
  151. struct nphy_txgains gains;
  152. bool useindex;
  153. u8 index;
  154. };
  155. struct nphy_papd_restore_state {
  156. u16 fbmix[2];
  157. u16 vga_master[2];
  158. u16 intpa_master[2];
  159. u16 afectrl[2];
  160. u16 afeoverride[2];
  161. u16 pwrup[2];
  162. u16 atten[2];
  163. u16 mm;
  164. };
  165. struct nphy_ipa_txrxgain {
  166. u16 hpvga;
  167. u16 lpf_biq1;
  168. u16 lpf_biq0;
  169. u16 lna2;
  170. u16 lna1;
  171. s8 txpwrindex;
  172. };
  173. #define NPHY_IPA_RXCAL_MAXGAININDEX (6 - 1)
  174. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz[] = {
  175. {0, 0, 0, 0, 0, 100},
  176. {0, 0, 0, 0, 0, 50},
  177. {0, 0, 0, 0, 0, -1},
  178. {0, 0, 0, 3, 0, -1},
  179. {0, 0, 3, 3, 0, -1},
  180. {0, 2, 3, 3, 0, -1}
  181. };
  182. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz[] = {
  183. {0, 0, 0, 0, 0, 128},
  184. {0, 0, 0, 0, 0, 70},
  185. {0, 0, 0, 0, 0, 20},
  186. {0, 0, 0, 3, 0, 20},
  187. {0, 0, 3, 3, 0, 20},
  188. {0, 2, 3, 3, 0, 20}
  189. };
  190. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz_rev7[] = {
  191. {0, 0, 0, 0, 0, 100},
  192. {0, 0, 0, 0, 0, 50},
  193. {0, 0, 0, 0, 0, -1},
  194. {0, 0, 0, 3, 0, -1},
  195. {0, 0, 3, 3, 0, -1},
  196. {0, 0, 5, 3, 0, -1}
  197. };
  198. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz_rev7[] = {
  199. {0, 0, 0, 0, 0, 10},
  200. {0, 0, 0, 1, 0, 10},
  201. {0, 0, 1, 2, 0, 10},
  202. {0, 0, 1, 3, 0, 10},
  203. {0, 0, 4, 3, 0, 10},
  204. {0, 0, 6, 3, 0, 10}
  205. };
  206. enum {
  207. NPHY_RXCAL_GAIN_INIT = 0,
  208. NPHY_RXCAL_GAIN_UP,
  209. NPHY_RXCAL_GAIN_DOWN
  210. };
  211. #define wlc_phy_get_papd_nphy(pi) \
  212. (read_phy_reg((pi), 0x1e7) & \
  213. ((0x1 << 15) | \
  214. (0x1 << 14) | \
  215. (0x1 << 13)))
  216. static const u16 NPHY_IPA_REV4_txdigi_filtcoeffs[][NPHY_NUM_DIG_FILT_COEFFS] = {
  217. {-377, 137, -407, 208, -1527, 956, 93, 186, 93,
  218. 230, -44, 230, 201, -191, 201},
  219. {-77, 20, -98, 49, -93, 60, 56, 111, 56, 26, -5,
  220. 26, 34, -32, 34},
  221. {-360, 164, -376, 164, -1533, 576, 308, -314, 308,
  222. 121, -73, 121, 91, 124, 91},
  223. {-295, 200, -363, 142, -1391, 826, 151, 301, 151,
  224. 151, 301, 151, 602, -752, 602},
  225. {-92, 58, -96, 49, -104, 44, 17, 35, 17,
  226. 12, 25, 12, 13, 27, 13},
  227. {-375, 136, -399, 209, -1479, 949, 130, 260, 130,
  228. 230, -44, 230, 201, -191, 201},
  229. {0xed9, 0xc8, 0xe95, 0x8e, 0xa91, 0x33a, 0x97, 0x12d, 0x97,
  230. 0x97, 0x12d, 0x97, 0x25a, 0xd10, 0x25a}
  231. };
  232. struct chan_info_nphy_2055 {
  233. u16 chan;
  234. u16 freq;
  235. uint unknown;
  236. u8 RF_pll_ref;
  237. u8 RF_rf_pll_mod1;
  238. u8 RF_rf_pll_mod0;
  239. u8 RF_vco_cap_tail;
  240. u8 RF_vco_cal1;
  241. u8 RF_vco_cal2;
  242. u8 RF_pll_lf_c1;
  243. u8 RF_pll_lf_r1;
  244. u8 RF_pll_lf_c2;
  245. u8 RF_lgbuf_cen_buf;
  246. u8 RF_lgen_tune1;
  247. u8 RF_lgen_tune2;
  248. u8 RF_core1_lgbuf_a_tune;
  249. u8 RF_core1_lgbuf_g_tune;
  250. u8 RF_core1_rxrf_reg1;
  251. u8 RF_core1_tx_pga_pad_tn;
  252. u8 RF_core1_tx_mx_bgtrim;
  253. u8 RF_core2_lgbuf_a_tune;
  254. u8 RF_core2_lgbuf_g_tune;
  255. u8 RF_core2_rxrf_reg1;
  256. u8 RF_core2_tx_pga_pad_tn;
  257. u8 RF_core2_tx_mx_bgtrim;
  258. u16 PHY_BW1a;
  259. u16 PHY_BW2;
  260. u16 PHY_BW3;
  261. u16 PHY_BW4;
  262. u16 PHY_BW5;
  263. u16 PHY_BW6;
  264. };
  265. struct chan_info_nphy_radio205x {
  266. u16 chan;
  267. u16 freq;
  268. u8 RF_SYN_pll_vcocal1;
  269. u8 RF_SYN_pll_vcocal2;
  270. u8 RF_SYN_pll_refdiv;
  271. u8 RF_SYN_pll_mmd2;
  272. u8 RF_SYN_pll_mmd1;
  273. u8 RF_SYN_pll_loopfilter1;
  274. u8 RF_SYN_pll_loopfilter2;
  275. u8 RF_SYN_pll_loopfilter3;
  276. u8 RF_SYN_pll_loopfilter4;
  277. u8 RF_SYN_pll_loopfilter5;
  278. u8 RF_SYN_reserved_addr27;
  279. u8 RF_SYN_reserved_addr28;
  280. u8 RF_SYN_reserved_addr29;
  281. u8 RF_SYN_logen_VCOBUF1;
  282. u8 RF_SYN_logen_MIXER2;
  283. u8 RF_SYN_logen_BUF3;
  284. u8 RF_SYN_logen_BUF4;
  285. u8 RF_RX0_lnaa_tune;
  286. u8 RF_RX0_lnag_tune;
  287. u8 RF_TX0_intpaa_boost_tune;
  288. u8 RF_TX0_intpag_boost_tune;
  289. u8 RF_TX0_pada_boost_tune;
  290. u8 RF_TX0_padg_boost_tune;
  291. u8 RF_TX0_pgaa_boost_tune;
  292. u8 RF_TX0_pgag_boost_tune;
  293. u8 RF_TX0_mixa_boost_tune;
  294. u8 RF_TX0_mixg_boost_tune;
  295. u8 RF_RX1_lnaa_tune;
  296. u8 RF_RX1_lnag_tune;
  297. u8 RF_TX1_intpaa_boost_tune;
  298. u8 RF_TX1_intpag_boost_tune;
  299. u8 RF_TX1_pada_boost_tune;
  300. u8 RF_TX1_padg_boost_tune;
  301. u8 RF_TX1_pgaa_boost_tune;
  302. u8 RF_TX1_pgag_boost_tune;
  303. u8 RF_TX1_mixa_boost_tune;
  304. u8 RF_TX1_mixg_boost_tune;
  305. u16 PHY_BW1a;
  306. u16 PHY_BW2;
  307. u16 PHY_BW3;
  308. u16 PHY_BW4;
  309. u16 PHY_BW5;
  310. u16 PHY_BW6;
  311. };
  312. struct chan_info_nphy_radio2057 {
  313. u16 chan;
  314. u16 freq;
  315. u8 RF_vcocal_countval0;
  316. u8 RF_vcocal_countval1;
  317. u8 RF_rfpll_refmaster_sparextalsize;
  318. u8 RF_rfpll_loopfilter_r1;
  319. u8 RF_rfpll_loopfilter_c2;
  320. u8 RF_rfpll_loopfilter_c1;
  321. u8 RF_cp_kpd_idac;
  322. u8 RF_rfpll_mmd0;
  323. u8 RF_rfpll_mmd1;
  324. u8 RF_vcobuf_tune;
  325. u8 RF_logen_mx2g_tune;
  326. u8 RF_logen_mx5g_tune;
  327. u8 RF_logen_indbuf2g_tune;
  328. u8 RF_logen_indbuf5g_tune;
  329. u8 RF_txmix2g_tune_boost_pu_core0;
  330. u8 RF_pad2g_tune_pus_core0;
  331. u8 RF_pga_boost_tune_core0;
  332. u8 RF_txmix5g_boost_tune_core0;
  333. u8 RF_pad5g_tune_misc_pus_core0;
  334. u8 RF_lna2g_tune_core0;
  335. u8 RF_lna5g_tune_core0;
  336. u8 RF_txmix2g_tune_boost_pu_core1;
  337. u8 RF_pad2g_tune_pus_core1;
  338. u8 RF_pga_boost_tune_core1;
  339. u8 RF_txmix5g_boost_tune_core1;
  340. u8 RF_pad5g_tune_misc_pus_core1;
  341. u8 RF_lna2g_tune_core1;
  342. u8 RF_lna5g_tune_core1;
  343. u16 PHY_BW1a;
  344. u16 PHY_BW2;
  345. u16 PHY_BW3;
  346. u16 PHY_BW4;
  347. u16 PHY_BW5;
  348. u16 PHY_BW6;
  349. };
  350. struct chan_info_nphy_radio2057_rev5 {
  351. u16 chan;
  352. u16 freq;
  353. u8 RF_vcocal_countval0;
  354. u8 RF_vcocal_countval1;
  355. u8 RF_rfpll_refmaster_sparextalsize;
  356. u8 RF_rfpll_loopfilter_r1;
  357. u8 RF_rfpll_loopfilter_c2;
  358. u8 RF_rfpll_loopfilter_c1;
  359. u8 RF_cp_kpd_idac;
  360. u8 RF_rfpll_mmd0;
  361. u8 RF_rfpll_mmd1;
  362. u8 RF_vcobuf_tune;
  363. u8 RF_logen_mx2g_tune;
  364. u8 RF_logen_indbuf2g_tune;
  365. u8 RF_txmix2g_tune_boost_pu_core0;
  366. u8 RF_pad2g_tune_pus_core0;
  367. u8 RF_lna2g_tune_core0;
  368. u8 RF_txmix2g_tune_boost_pu_core1;
  369. u8 RF_pad2g_tune_pus_core1;
  370. u8 RF_lna2g_tune_core1;
  371. u16 PHY_BW1a;
  372. u16 PHY_BW2;
  373. u16 PHY_BW3;
  374. u16 PHY_BW4;
  375. u16 PHY_BW5;
  376. u16 PHY_BW6;
  377. };
  378. struct nphy_sfo_cfg {
  379. u16 PHY_BW1a;
  380. u16 PHY_BW2;
  381. u16 PHY_BW3;
  382. u16 PHY_BW4;
  383. u16 PHY_BW5;
  384. u16 PHY_BW6;
  385. };
  386. static const struct chan_info_nphy_2055 chan_info_nphy_2055[] = {
  387. {
  388. 184, 4920, 3280, 0x71, 0x01, 0xEC, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  389. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  390. 0x0F, 0x8F, 0x7B4, 0x7B0, 0x7AC, 0x214, 0x215, 0x216},
  391. {
  392. 186, 4930, 3287, 0x71, 0x01, 0xED, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  393. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  394. 0x0F, 0x8F, 0x7B8, 0x7B4, 0x7B0, 0x213, 0x214, 0x215},
  395. {
  396. 188, 4940, 3293, 0x71, 0x01, 0xEE, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  397. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  398. 0x0F, 0x8F, 0x7BC, 0x7B8, 0x7B4, 0x212, 0x213, 0x214},
  399. {
  400. 190, 4950, 3300, 0x71, 0x01, 0xEF, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  401. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  402. 0x0F, 0x8F, 0x7C0, 0x7BC, 0x7B8, 0x211, 0x212, 0x213},
  403. {
  404. 192, 4960, 3307, 0x71, 0x01, 0xF0, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  405. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  406. 0x0F, 0x8F, 0x7C4, 0x7C0, 0x7BC, 0x20F, 0x211, 0x212},
  407. {
  408. 194, 4970, 3313, 0x71, 0x01, 0xF1, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  409. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  410. 0x0F, 0x8F, 0x7C8, 0x7C4, 0x7C0, 0x20E, 0x20F, 0x211},
  411. {
  412. 196, 4980, 3320, 0x71, 0x01, 0xF2, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  413. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  414. 0x0F, 0x8F, 0x7CC, 0x7C8, 0x7C4, 0x20D, 0x20E, 0x20F},
  415. {
  416. 198, 4990, 3327, 0x71, 0x01, 0xF3, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  417. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  418. 0x0F, 0x8F, 0x7D0, 0x7CC, 0x7C8, 0x20C, 0x20D, 0x20E},
  419. {
  420. 200, 5000, 3333, 0x71, 0x01, 0xF4, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  421. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  422. 0x0F, 0x8F, 0x7D4, 0x7D0, 0x7CC, 0x20B, 0x20C, 0x20D},
  423. {
  424. 202, 5010, 3340, 0x71, 0x01, 0xF5, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  425. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  426. 0x0F, 0x8F, 0x7D8, 0x7D4, 0x7D0, 0x20A, 0x20B, 0x20C},
  427. {
  428. 204, 5020, 3347, 0x71, 0x01, 0xF6, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  429. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  430. 0x0F, 0x8F, 0x7DC, 0x7D8, 0x7D4, 0x209, 0x20A, 0x20B},
  431. {
  432. 206, 5030, 3353, 0x71, 0x01, 0xF7, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  433. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  434. 0x0F, 0x8F, 0x7E0, 0x7DC, 0x7D8, 0x208, 0x209, 0x20A},
  435. {
  436. 208, 5040, 3360, 0x71, 0x01, 0xF8, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  437. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  438. 0x0F, 0x8F, 0x7E4, 0x7E0, 0x7DC, 0x207, 0x208, 0x209},
  439. {
  440. 210, 5050, 3367, 0x71, 0x01, 0xF9, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  441. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  442. 0x0F, 0x8F, 0x7E8, 0x7E4, 0x7E0, 0x206, 0x207, 0x208},
  443. {
  444. 212, 5060, 3373, 0x71, 0x01, 0xFA, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  445. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  446. 0x0F, 0x8E, 0x7EC, 0x7E8, 0x7E4, 0x205, 0x206, 0x207},
  447. {
  448. 214, 5070, 3380, 0x71, 0x01, 0xFB, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  449. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  450. 0x0F, 0x8E, 0x7F0, 0x7EC, 0x7E8, 0x204, 0x205, 0x206},
  451. {
  452. 216, 5080, 3387, 0x71, 0x01, 0xFC, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  453. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  454. 0x0F, 0x8D, 0x7F4, 0x7F0, 0x7EC, 0x203, 0x204, 0x205},
  455. {
  456. 218, 5090, 3393, 0x71, 0x01, 0xFD, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  457. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  458. 0x0F, 0x8D, 0x7F8, 0x7F4, 0x7F0, 0x202, 0x203, 0x204},
  459. {
  460. 220, 5100, 3400, 0x71, 0x01, 0xFE, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  461. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  462. 0x0F, 0x8D, 0x7FC, 0x7F8, 0x7F4, 0x201, 0x202, 0x203},
  463. {
  464. 222, 5110, 3407, 0x71, 0x01, 0xFF, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  465. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  466. 0x0F, 0x8D, 0x800, 0x7FC, 0x7F8, 0x200, 0x201, 0x202},
  467. {
  468. 224, 5120, 3413, 0x71, 0x02, 0x00, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  469. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  470. 0x0F, 0x8C, 0x804, 0x800, 0x7FC, 0x1FF, 0x200, 0x201},
  471. {
  472. 226, 5130, 3420, 0x71, 0x02, 0x01, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  473. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  474. 0x0F, 0x8C, 0x808, 0x804, 0x800, 0x1FE, 0x1FF, 0x200},
  475. {
  476. 228, 5140, 3427, 0x71, 0x02, 0x02, 0x0C, 0xC6, 0x01, 0x04, 0x0A,
  477. 0x00, 0x8D, 0x99, 0x99, 0xDD, 0x00, 0x0C, 0x0E, 0x8B, 0xDD, 0x00, 0x0C,
  478. 0x0E, 0x8B, 0x80C, 0x808, 0x804, 0x1FD, 0x1FE, 0x1FF},
  479. {
  480. 32, 5160, 3440, 0x71, 0x02, 0x04, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  481. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  482. 0x0D, 0x8A, 0x814, 0x810, 0x80C, 0x1FB, 0x1FC, 0x1FD},
  483. {
  484. 34, 5170, 3447, 0x71, 0x02, 0x05, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  485. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  486. 0x0D, 0x8A, 0x818, 0x814, 0x810, 0x1FA, 0x1FB, 0x1FC},
  487. {
  488. 36, 5180, 3453, 0x71, 0x02, 0x06, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  489. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  490. 0x0C, 0x89, 0x81C, 0x818, 0x814, 0x1F9, 0x1FA, 0x1FB},
  491. {
  492. 38, 5190, 3460, 0x71, 0x02, 0x07, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  493. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  494. 0x0C, 0x89, 0x820, 0x81C, 0x818, 0x1F8, 0x1F9, 0x1FA},
  495. {
  496. 40, 5200, 3467, 0x71, 0x02, 0x08, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  497. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  498. 0x0B, 0x89, 0x824, 0x820, 0x81C, 0x1F7, 0x1F8, 0x1F9},
  499. {
  500. 42, 5210, 3473, 0x71, 0x02, 0x09, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  501. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  502. 0x0B, 0x89, 0x828, 0x824, 0x820, 0x1F6, 0x1F7, 0x1F8},
  503. {
  504. 44, 5220, 3480, 0x71, 0x02, 0x0A, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  505. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  506. 0x0A, 0x88, 0x82C, 0x828, 0x824, 0x1F5, 0x1F6, 0x1F7},
  507. {
  508. 46, 5230, 3487, 0x71, 0x02, 0x0B, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  509. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  510. 0x0A, 0x88, 0x830, 0x82C, 0x828, 0x1F4, 0x1F5, 0x1F6},
  511. {
  512. 48, 5240, 3493, 0x71, 0x02, 0x0C, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  513. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  514. 0x0A, 0x87, 0x834, 0x830, 0x82C, 0x1F3, 0x1F4, 0x1F5},
  515. {
  516. 50, 5250, 3500, 0x71, 0x02, 0x0D, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  517. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  518. 0x0A, 0x87, 0x838, 0x834, 0x830, 0x1F2, 0x1F3, 0x1F4},
  519. {
  520. 52, 5260, 3507, 0x71, 0x02, 0x0E, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  521. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  522. 0x09, 0x87, 0x83C, 0x838, 0x834, 0x1F1, 0x1F2, 0x1F3},
  523. {
  524. 54, 5270, 3513, 0x71, 0x02, 0x0F, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  525. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  526. 0x09, 0x87, 0x840, 0x83C, 0x838, 0x1F0, 0x1F1, 0x1F2},
  527. {
  528. 56, 5280, 3520, 0x71, 0x02, 0x10, 0x09, 0x91, 0x01, 0x04, 0x0A,
  529. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  530. 0x08, 0x86, 0x844, 0x840, 0x83C, 0x1F0, 0x1F0, 0x1F1},
  531. {
  532. 58, 5290, 3527, 0x71, 0x02, 0x11, 0x09, 0x91, 0x01, 0x04, 0x0A,
  533. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  534. 0x08, 0x86, 0x848, 0x844, 0x840, 0x1EF, 0x1F0, 0x1F0},
  535. {
  536. 60, 5300, 3533, 0x71, 0x02, 0x12, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  537. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  538. 0x07, 0x85, 0x84C, 0x848, 0x844, 0x1EE, 0x1EF, 0x1F0},
  539. {
  540. 62, 5310, 3540, 0x71, 0x02, 0x13, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  541. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  542. 0x07, 0x85, 0x850, 0x84C, 0x848, 0x1ED, 0x1EE, 0x1EF},
  543. {
  544. 64, 5320, 3547, 0x71, 0x02, 0x14, 0x09, 0x83, 0x01, 0x04, 0x0A,
  545. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  546. 0x07, 0x84, 0x854, 0x850, 0x84C, 0x1EC, 0x1ED, 0x1EE},
  547. {
  548. 66, 5330, 3553, 0x71, 0x02, 0x15, 0x09, 0x83, 0x01, 0x04, 0x0A,
  549. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  550. 0x07, 0x84, 0x858, 0x854, 0x850, 0x1EB, 0x1EC, 0x1ED},
  551. {
  552. 68, 5340, 3560, 0x71, 0x02, 0x16, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  553. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  554. 0x06, 0x84, 0x85C, 0x858, 0x854, 0x1EA, 0x1EB, 0x1EC},
  555. {
  556. 70, 5350, 3567, 0x71, 0x02, 0x17, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  557. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  558. 0x06, 0x84, 0x860, 0x85C, 0x858, 0x1E9, 0x1EA, 0x1EB},
  559. {
  560. 72, 5360, 3573, 0x71, 0x02, 0x18, 0x08, 0x75, 0x01, 0x04, 0x0A,
  561. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  562. 0x05, 0x83, 0x864, 0x860, 0x85C, 0x1E8, 0x1E9, 0x1EA},
  563. {
  564. 74, 5370, 3580, 0x71, 0x02, 0x19, 0x08, 0x75, 0x01, 0x04, 0x0A,
  565. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  566. 0x05, 0x83, 0x868, 0x864, 0x860, 0x1E7, 0x1E8, 0x1E9},
  567. {
  568. 76, 5380, 3587, 0x71, 0x02, 0x1A, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  569. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  570. 0x04, 0x82, 0x86C, 0x868, 0x864, 0x1E6, 0x1E7, 0x1E8},
  571. {
  572. 78, 5390, 3593, 0x71, 0x02, 0x1B, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  573. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  574. 0x04, 0x82, 0x870, 0x86C, 0x868, 0x1E5, 0x1E6, 0x1E7},
  575. {
  576. 80, 5400, 3600, 0x71, 0x02, 0x1C, 0x07, 0x67, 0x01, 0x04, 0x0A,
  577. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  578. 0x04, 0x81, 0x874, 0x870, 0x86C, 0x1E5, 0x1E5, 0x1E6},
  579. {
  580. 82, 5410, 3607, 0x71, 0x02, 0x1D, 0x07, 0x67, 0x01, 0x04, 0x0A,
  581. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  582. 0x04, 0x81, 0x878, 0x874, 0x870, 0x1E4, 0x1E5, 0x1E5},
  583. {
  584. 84, 5420, 3613, 0x71, 0x02, 0x1E, 0x07, 0x61, 0x01, 0x04, 0x0A,
  585. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  586. 0x03, 0x80, 0x87C, 0x878, 0x874, 0x1E3, 0x1E4, 0x1E5},
  587. {
  588. 86, 5430, 3620, 0x71, 0x02, 0x1F, 0x07, 0x61, 0x01, 0x04, 0x0A,
  589. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  590. 0x03, 0x80, 0x880, 0x87C, 0x878, 0x1E2, 0x1E3, 0x1E4},
  591. {
  592. 88, 5440, 3627, 0x71, 0x02, 0x20, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  593. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  594. 0x02, 0x80, 0x884, 0x880, 0x87C, 0x1E1, 0x1E2, 0x1E3},
  595. {
  596. 90, 5450, 3633, 0x71, 0x02, 0x21, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  597. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  598. 0x02, 0x80, 0x888, 0x884, 0x880, 0x1E0, 0x1E1, 0x1E2},
  599. {
  600. 92, 5460, 3640, 0x71, 0x02, 0x22, 0x06, 0x53, 0x01, 0x04, 0x0A,
  601. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  602. 0x01, 0x80, 0x88C, 0x888, 0x884, 0x1DF, 0x1E0, 0x1E1},
  603. {
  604. 94, 5470, 3647, 0x71, 0x02, 0x23, 0x06, 0x53, 0x01, 0x04, 0x0A,
  605. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  606. 0x01, 0x80, 0x890, 0x88C, 0x888, 0x1DE, 0x1DF, 0x1E0},
  607. {
  608. 96, 5480, 3653, 0x71, 0x02, 0x24, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  609. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  610. 0x00, 0x80, 0x894, 0x890, 0x88C, 0x1DD, 0x1DE, 0x1DF},
  611. {
  612. 98, 5490, 3660, 0x71, 0x02, 0x25, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  613. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  614. 0x00, 0x80, 0x898, 0x894, 0x890, 0x1DD, 0x1DD, 0x1DE},
  615. {
  616. 100, 5500, 3667, 0x71, 0x02, 0x26, 0x06, 0x47, 0x01, 0x04, 0x0A,
  617. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  618. 0x00, 0x80, 0x89C, 0x898, 0x894, 0x1DC, 0x1DD, 0x1DD},
  619. {
  620. 102, 5510, 3673, 0x71, 0x02, 0x27, 0x06, 0x47, 0x01, 0x04, 0x0A,
  621. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  622. 0x00, 0x80, 0x8A0, 0x89C, 0x898, 0x1DB, 0x1DC, 0x1DD},
  623. {
  624. 104, 5520, 3680, 0x71, 0x02, 0x28, 0x05, 0x40, 0x01, 0x04, 0x0A,
  625. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  626. 0x00, 0x80, 0x8A4, 0x8A0, 0x89C, 0x1DA, 0x1DB, 0x1DC},
  627. {
  628. 106, 5530, 3687, 0x71, 0x02, 0x29, 0x05, 0x40, 0x01, 0x04, 0x0A,
  629. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  630. 0x00, 0x80, 0x8A8, 0x8A4, 0x8A0, 0x1D9, 0x1DA, 0x1DB},
  631. {
  632. 108, 5540, 3693, 0x71, 0x02, 0x2A, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  633. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  634. 0x00, 0x80, 0x8AC, 0x8A8, 0x8A4, 0x1D8, 0x1D9, 0x1DA},
  635. {
  636. 110, 5550, 3700, 0x71, 0x02, 0x2B, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  637. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  638. 0x00, 0x80, 0x8B0, 0x8AC, 0x8A8, 0x1D7, 0x1D8, 0x1D9},
  639. {
  640. 112, 5560, 3707, 0x71, 0x02, 0x2C, 0x05, 0x34, 0x01, 0x04, 0x0A,
  641. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  642. 0x00, 0x80, 0x8B4, 0x8B0, 0x8AC, 0x1D7, 0x1D7, 0x1D8},
  643. {
  644. 114, 5570, 3713, 0x71, 0x02, 0x2D, 0x05, 0x34, 0x01, 0x04, 0x0A,
  645. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  646. 0x00, 0x80, 0x8B8, 0x8B4, 0x8B0, 0x1D6, 0x1D7, 0x1D7},
  647. {
  648. 116, 5580, 3720, 0x71, 0x02, 0x2E, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  649. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  650. 0x00, 0x80, 0x8BC, 0x8B8, 0x8B4, 0x1D5, 0x1D6, 0x1D7},
  651. {
  652. 118, 5590, 3727, 0x71, 0x02, 0x2F, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  653. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  654. 0x00, 0x80, 0x8C0, 0x8BC, 0x8B8, 0x1D4, 0x1D5, 0x1D6},
  655. {
  656. 120, 5600, 3733, 0x71, 0x02, 0x30, 0x04, 0x28, 0x01, 0x04, 0x0A,
  657. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  658. 0x00, 0x80, 0x8C4, 0x8C0, 0x8BC, 0x1D3, 0x1D4, 0x1D5},
  659. {
  660. 122, 5610, 3740, 0x71, 0x02, 0x31, 0x04, 0x28, 0x01, 0x04, 0x0A,
  661. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  662. 0x00, 0x80, 0x8C8, 0x8C4, 0x8C0, 0x1D2, 0x1D3, 0x1D4},
  663. {
  664. 124, 5620, 3747, 0x71, 0x02, 0x32, 0x04, 0x21, 0x01, 0x04, 0x0A,
  665. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  666. 0x00, 0x80, 0x8CC, 0x8C8, 0x8C4, 0x1D2, 0x1D2, 0x1D3},
  667. {
  668. 126, 5630, 3753, 0x71, 0x02, 0x33, 0x04, 0x21, 0x01, 0x04, 0x0A,
  669. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  670. 0x00, 0x80, 0x8D0, 0x8CC, 0x8C8, 0x1D1, 0x1D2, 0x1D2},
  671. {
  672. 128, 5640, 3760, 0x71, 0x02, 0x34, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  673. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  674. 0x00, 0x80, 0x8D4, 0x8D0, 0x8CC, 0x1D0, 0x1D1, 0x1D2},
  675. {
  676. 130, 5650, 3767, 0x71, 0x02, 0x35, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  677. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  678. 0x00, 0x80, 0x8D8, 0x8D4, 0x8D0, 0x1CF, 0x1D0, 0x1D1},
  679. {
  680. 132, 5660, 3773, 0x71, 0x02, 0x36, 0x03, 0x16, 0x01, 0x04, 0x0A,
  681. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  682. 0x00, 0x80, 0x8DC, 0x8D8, 0x8D4, 0x1CE, 0x1CF, 0x1D0},
  683. {
  684. 134, 5670, 3780, 0x71, 0x02, 0x37, 0x03, 0x16, 0x01, 0x04, 0x0A,
  685. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  686. 0x00, 0x80, 0x8E0, 0x8DC, 0x8D8, 0x1CE, 0x1CE, 0x1CF},
  687. {
  688. 136, 5680, 3787, 0x71, 0x02, 0x38, 0x03, 0x10, 0x01, 0x04, 0x0A,
  689. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  690. 0x00, 0x80, 0x8E4, 0x8E0, 0x8DC, 0x1CD, 0x1CE, 0x1CE},
  691. {
  692. 138, 5690, 3793, 0x71, 0x02, 0x39, 0x03, 0x10, 0x01, 0x04, 0x0A,
  693. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  694. 0x00, 0x80, 0x8E8, 0x8E4, 0x8E0, 0x1CC, 0x1CD, 0x1CE},
  695. {
  696. 140, 5700, 3800, 0x71, 0x02, 0x3A, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  697. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  698. 0x00, 0x80, 0x8EC, 0x8E8, 0x8E4, 0x1CB, 0x1CC, 0x1CD},
  699. {
  700. 142, 5710, 3807, 0x71, 0x02, 0x3B, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  701. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  702. 0x00, 0x80, 0x8F0, 0x8EC, 0x8E8, 0x1CA, 0x1CB, 0x1CC},
  703. {
  704. 144, 5720, 3813, 0x71, 0x02, 0x3C, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  705. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  706. 0x00, 0x80, 0x8F4, 0x8F0, 0x8EC, 0x1C9, 0x1CA, 0x1CB},
  707. {
  708. 145, 5725, 3817, 0x72, 0x04, 0x79, 0x02, 0x03, 0x01, 0x03, 0x14,
  709. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  710. 0x00, 0x80, 0x8F6, 0x8F2, 0x8EE, 0x1C9, 0x1CA, 0x1CB},
  711. {
  712. 146, 5730, 3820, 0x71, 0x02, 0x3D, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  713. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  714. 0x00, 0x80, 0x8F8, 0x8F4, 0x8F0, 0x1C9, 0x1C9, 0x1CA},
  715. {
  716. 147, 5735, 3823, 0x72, 0x04, 0x7B, 0x02, 0x03, 0x01, 0x03, 0x14,
  717. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  718. 0x00, 0x80, 0x8FA, 0x8F6, 0x8F2, 0x1C8, 0x1C9, 0x1CA},
  719. {
  720. 148, 5740, 3827, 0x71, 0x02, 0x3E, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  721. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  722. 0x00, 0x80, 0x8FC, 0x8F8, 0x8F4, 0x1C8, 0x1C9, 0x1C9},
  723. {
  724. 149, 5745, 3830, 0x72, 0x04, 0x7D, 0x02, 0xFE, 0x00, 0x03, 0x14,
  725. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  726. 0x00, 0x80, 0x8FE, 0x8FA, 0x8F6, 0x1C8, 0x1C8, 0x1C9},
  727. {
  728. 150, 5750, 3833, 0x71, 0x02, 0x3F, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  729. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  730. 0x00, 0x80, 0x900, 0x8FC, 0x8F8, 0x1C7, 0x1C8, 0x1C9},
  731. {
  732. 151, 5755, 3837, 0x72, 0x04, 0x7F, 0x02, 0xFE, 0x00, 0x03, 0x14,
  733. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  734. 0x00, 0x80, 0x902, 0x8FE, 0x8FA, 0x1C7, 0x1C8, 0x1C8},
  735. {
  736. 152, 5760, 3840, 0x71, 0x02, 0x40, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  737. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  738. 0x00, 0x80, 0x904, 0x900, 0x8FC, 0x1C6, 0x1C7, 0x1C8},
  739. {
  740. 153, 5765, 3843, 0x72, 0x04, 0x81, 0x02, 0xF8, 0x00, 0x03, 0x14,
  741. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  742. 0x00, 0x80, 0x906, 0x902, 0x8FE, 0x1C6, 0x1C7, 0x1C8},
  743. {
  744. 154, 5770, 3847, 0x71, 0x02, 0x41, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  745. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  746. 0x00, 0x80, 0x908, 0x904, 0x900, 0x1C6, 0x1C6, 0x1C7},
  747. {
  748. 155, 5775, 3850, 0x72, 0x04, 0x83, 0x02, 0xF8, 0x00, 0x03, 0x14,
  749. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  750. 0x00, 0x80, 0x90A, 0x906, 0x902, 0x1C5, 0x1C6, 0x1C7},
  751. {
  752. 156, 5780, 3853, 0x71, 0x02, 0x42, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  753. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  754. 0x00, 0x80, 0x90C, 0x908, 0x904, 0x1C5, 0x1C6, 0x1C6},
  755. {
  756. 157, 5785, 3857, 0x72, 0x04, 0x85, 0x02, 0xF2, 0x00, 0x03, 0x14,
  757. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  758. 0x00, 0x80, 0x90E, 0x90A, 0x906, 0x1C4, 0x1C5, 0x1C6},
  759. {
  760. 158, 5790, 3860, 0x71, 0x02, 0x43, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  761. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  762. 0x00, 0x80, 0x910, 0x90C, 0x908, 0x1C4, 0x1C5, 0x1C6},
  763. {
  764. 159, 5795, 3863, 0x72, 0x04, 0x87, 0x02, 0xF2, 0x00, 0x03, 0x14,
  765. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  766. 0x00, 0x80, 0x912, 0x90E, 0x90A, 0x1C4, 0x1C4, 0x1C5},
  767. {
  768. 160, 5800, 3867, 0x71, 0x02, 0x44, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  769. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  770. 0x00, 0x80, 0x914, 0x910, 0x90C, 0x1C3, 0x1C4, 0x1C5},
  771. {
  772. 161, 5805, 3870, 0x72, 0x04, 0x89, 0x01, 0xED, 0x00, 0x03, 0x14,
  773. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  774. 0x00, 0x80, 0x916, 0x912, 0x90E, 0x1C3, 0x1C4, 0x1C4},
  775. {
  776. 162, 5810, 3873, 0x71, 0x02, 0x45, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  777. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  778. 0x00, 0x80, 0x918, 0x914, 0x910, 0x1C2, 0x1C3, 0x1C4},
  779. {
  780. 163, 5815, 3877, 0x72, 0x04, 0x8B, 0x01, 0xED, 0x00, 0x03, 0x14,
  781. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  782. 0x00, 0x80, 0x91A, 0x916, 0x912, 0x1C2, 0x1C3, 0x1C4},
  783. {
  784. 164, 5820, 3880, 0x71, 0x02, 0x46, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  785. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  786. 0x00, 0x80, 0x91C, 0x918, 0x914, 0x1C2, 0x1C2, 0x1C3},
  787. {
  788. 165, 5825, 3883, 0x72, 0x04, 0x8D, 0x01, 0xED, 0x00, 0x03, 0x14,
  789. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  790. 0x00, 0x80, 0x91E, 0x91A, 0x916, 0x1C1, 0x1C2, 0x1C3},
  791. {
  792. 166, 5830, 3887, 0x71, 0x02, 0x47, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  793. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  794. 0x00, 0x80, 0x920, 0x91C, 0x918, 0x1C1, 0x1C2, 0x1C2},
  795. {
  796. 168, 5840, 3893, 0x71, 0x02, 0x48, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  797. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  798. 0x00, 0x80, 0x924, 0x920, 0x91C, 0x1C0, 0x1C1, 0x1C2},
  799. {
  800. 170, 5850, 3900, 0x71, 0x02, 0x49, 0x01, 0xE0, 0x00, 0x04, 0x0A,
  801. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  802. 0x00, 0x80, 0x928, 0x924, 0x920, 0x1BF, 0x1C0, 0x1C1},
  803. {
  804. 172, 5860, 3907, 0x71, 0x02, 0x4A, 0x01, 0xDE, 0x00, 0x04, 0x0A,
  805. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  806. 0x00, 0x80, 0x92C, 0x928, 0x924, 0x1BF, 0x1BF, 0x1C0},
  807. {
  808. 174, 5870, 3913, 0x71, 0x02, 0x4B, 0x00, 0xDB, 0x00, 0x04, 0x0A,
  809. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  810. 0x00, 0x80, 0x930, 0x92C, 0x928, 0x1BE, 0x1BF, 0x1BF},
  811. {
  812. 176, 5880, 3920, 0x71, 0x02, 0x4C, 0x00, 0xD8, 0x00, 0x04, 0x0A,
  813. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  814. 0x00, 0x80, 0x934, 0x930, 0x92C, 0x1BD, 0x1BE, 0x1BF},
  815. {
  816. 178, 5890, 3927, 0x71, 0x02, 0x4D, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  817. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  818. 0x00, 0x80, 0x938, 0x934, 0x930, 0x1BC, 0x1BD, 0x1BE},
  819. {
  820. 180, 5900, 3933, 0x71, 0x02, 0x4E, 0x00, 0xD3, 0x00, 0x04, 0x0A,
  821. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  822. 0x00, 0x80, 0x93C, 0x938, 0x934, 0x1BC, 0x1BC, 0x1BD},
  823. {
  824. 182, 5910, 3940, 0x71, 0x02, 0x4F, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  825. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  826. 0x00, 0x80, 0x940, 0x93C, 0x938, 0x1BB, 0x1BC, 0x1BC},
  827. {
  828. 1, 2412, 3216, 0x73, 0x09, 0x6C, 0x0F, 0x00, 0x01, 0x07, 0x15,
  829. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0D, 0x0C, 0x80, 0xFF, 0x88, 0x0D,
  830. 0x0C, 0x80, 0x3C9, 0x3C5, 0x3C1, 0x43A, 0x43F, 0x443},
  831. {
  832. 2, 2417, 3223, 0x73, 0x09, 0x71, 0x0F, 0x00, 0x01, 0x07, 0x15,
  833. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0B, 0x80, 0xFF, 0x88, 0x0C,
  834. 0x0B, 0x80, 0x3CB, 0x3C7, 0x3C3, 0x438, 0x43D, 0x441},
  835. {
  836. 3, 2422, 3229, 0x73, 0x09, 0x76, 0x0F, 0x00, 0x01, 0x07, 0x15,
  837. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  838. 0x0A, 0x80, 0x3CD, 0x3C9, 0x3C5, 0x436, 0x43A, 0x43F},
  839. {
  840. 4, 2427, 3236, 0x73, 0x09, 0x7B, 0x0F, 0x00, 0x01, 0x07, 0x15,
  841. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  842. 0x0A, 0x80, 0x3CF, 0x3CB, 0x3C7, 0x434, 0x438, 0x43D},
  843. {
  844. 5, 2432, 3243, 0x73, 0x09, 0x80, 0x0F, 0x00, 0x01, 0x07, 0x15,
  845. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x09, 0x80, 0xFF, 0x88, 0x0C,
  846. 0x09, 0x80, 0x3D1, 0x3CD, 0x3C9, 0x431, 0x436, 0x43A},
  847. {
  848. 6, 2437, 3249, 0x73, 0x09, 0x85, 0x0F, 0x00, 0x01, 0x07, 0x15,
  849. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0B, 0x08, 0x80, 0xFF, 0x88, 0x0B,
  850. 0x08, 0x80, 0x3D3, 0x3CF, 0x3CB, 0x42F, 0x434, 0x438},
  851. {
  852. 7, 2442, 3256, 0x73, 0x09, 0x8A, 0x0F, 0x00, 0x01, 0x07, 0x15,
  853. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x07, 0x80, 0xFF, 0x88, 0x0A,
  854. 0x07, 0x80, 0x3D5, 0x3D1, 0x3CD, 0x42D, 0x431, 0x436},
  855. {
  856. 8, 2447, 3263, 0x73, 0x09, 0x8F, 0x0F, 0x00, 0x01, 0x07, 0x15,
  857. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x06, 0x80, 0xFF, 0x88, 0x0A,
  858. 0x06, 0x80, 0x3D7, 0x3D3, 0x3CF, 0x42B, 0x42F, 0x434},
  859. {
  860. 9, 2452, 3269, 0x73, 0x09, 0x94, 0x0F, 0x00, 0x01, 0x07, 0x15,
  861. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x09, 0x06, 0x80, 0xFF, 0x88, 0x09,
  862. 0x06, 0x80, 0x3D9, 0x3D5, 0x3D1, 0x429, 0x42D, 0x431},
  863. {
  864. 10, 2457, 3276, 0x73, 0x09, 0x99, 0x0F, 0x00, 0x01, 0x07, 0x15,
  865. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x05, 0x80, 0xFF, 0x88, 0x08,
  866. 0x05, 0x80, 0x3DB, 0x3D7, 0x3D3, 0x427, 0x42B, 0x42F},
  867. {
  868. 11, 2462, 3283, 0x73, 0x09, 0x9E, 0x0F, 0x00, 0x01, 0x07, 0x15,
  869. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x04, 0x80, 0xFF, 0x88, 0x08,
  870. 0x04, 0x80, 0x3DD, 0x3D9, 0x3D5, 0x424, 0x429, 0x42D},
  871. {
  872. 12, 2467, 3289, 0x73, 0x09, 0xA3, 0x0F, 0x00, 0x01, 0x07, 0x15,
  873. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x03, 0x80, 0xFF, 0x88, 0x08,
  874. 0x03, 0x80, 0x3DF, 0x3DB, 0x3D7, 0x422, 0x427, 0x42B},
  875. {
  876. 13, 2472, 3296, 0x73, 0x09, 0xA8, 0x0F, 0x00, 0x01, 0x07, 0x15,
  877. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x03, 0x80, 0xFF, 0x88, 0x07,
  878. 0x03, 0x80, 0x3E1, 0x3DD, 0x3D9, 0x420, 0x424, 0x429},
  879. {
  880. 14, 2484, 3312, 0x73, 0x09, 0xB4, 0x0F, 0xFF, 0x01, 0x07, 0x15,
  881. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x01, 0x80, 0xFF, 0x88, 0x07,
  882. 0x01, 0x80, 0x3E6, 0x3E2, 0x3DE, 0x41B, 0x41F, 0x424}
  883. };
  884. static const struct chan_info_nphy_radio205x chan_info_nphyrev3_2056[] = {
  885. {
  886. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  887. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  888. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  889. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  890. {
  891. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  892. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  893. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  894. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  895. {
  896. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  897. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  898. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  899. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  900. {
  901. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  902. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  903. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  904. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  905. {
  906. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  907. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  908. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  909. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  910. {
  911. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  912. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  913. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  914. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  915. {
  916. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  917. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  918. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  919. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  920. {
  921. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  922. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  923. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  924. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  925. {
  926. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  927. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  928. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  929. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  930. {
  931. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  932. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  933. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  934. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  935. {
  936. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  937. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  938. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  939. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  940. {
  941. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  942. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  943. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  944. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  945. {
  946. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  947. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  948. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  949. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  950. {
  951. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  952. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  953. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  954. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  955. {
  956. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  957. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  958. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  959. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  960. {
  961. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  962. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  963. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  964. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  965. {
  966. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  967. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  968. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  969. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  970. {
  971. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  972. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  973. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  974. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  975. {
  976. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  977. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  978. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  979. 0x00, 0xff, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  980. {
  981. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  982. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  983. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  984. 0x00, 0xfc, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  985. {
  986. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  987. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  988. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  989. 0x00, 0xfc, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  990. {
  991. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  992. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  993. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  994. 0x00, 0xfc, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  995. {
  996. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  997. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  998. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  999. 0x00, 0xfc, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1000. {
  1001. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1002. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1003. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1004. 0x00, 0xfc, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1005. {
  1006. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1007. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1008. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1009. 0x00, 0xfc, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1010. {
  1011. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1012. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1013. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1014. 0x00, 0xfc, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1015. {
  1016. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1017. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1018. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1019. 0x00, 0xfc, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1020. {
  1021. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1022. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x06, 0x00, 0x7f,
  1023. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1024. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1025. {
  1026. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1027. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1028. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1029. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1030. {
  1031. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1032. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1033. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1034. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1035. {
  1036. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1037. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1038. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1039. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1040. {
  1041. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1042. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1043. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1044. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1045. {
  1046. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1047. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1048. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1049. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1050. {
  1051. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1052. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1053. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1054. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1055. {
  1056. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1057. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1058. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1059. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1060. {
  1061. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1062. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1063. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1064. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1065. {
  1066. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1067. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1068. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1069. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1070. {
  1071. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1072. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1073. 0x00, 0x09, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1074. 0x00, 0xfc, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1075. {
  1076. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1077. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1078. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1079. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1080. {
  1081. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1082. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1083. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1084. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1085. {
  1086. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1087. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1088. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1089. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1090. {
  1091. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1092. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1093. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1094. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1095. {
  1096. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1097. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1098. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1099. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1100. {
  1101. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1102. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1103. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1104. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1105. {
  1106. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1107. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1108. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1109. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1110. {
  1111. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1112. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1113. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1114. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1115. {
  1116. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1117. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x05, 0x00, 0x7f,
  1118. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1119. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1120. {
  1121. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1122. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1123. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1124. 0x00, 0xfa, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1125. {
  1126. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1127. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1128. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1129. 0x00, 0xfa, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1130. {
  1131. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1132. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1133. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1134. 0x00, 0xfa, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1135. {
  1136. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1137. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1138. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1139. 0x00, 0xfa, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1140. {
  1141. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1142. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x04, 0x00, 0x7f,
  1143. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1144. 0x00, 0xfa, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1145. {
  1146. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1147. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x04, 0x00, 0x7f,
  1148. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1149. 0x00, 0xfa, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1150. {
  1151. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1152. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1153. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1154. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1155. {
  1156. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1157. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1158. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1159. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1160. {
  1161. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1162. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x04, 0x00, 0x7f,
  1163. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1164. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1165. {
  1166. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1167. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x04, 0x00, 0x7f,
  1168. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1169. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1170. {
  1171. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1172. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x03, 0x00, 0x7f,
  1173. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1174. 0x00, 0xf8, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1175. {
  1176. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1177. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1178. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1179. 0x00, 0xf8, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1180. {
  1181. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1182. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1183. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1184. 0x00, 0xf8, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1185. {
  1186. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1187. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1188. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1189. 0x00, 0xf8, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1190. {
  1191. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1192. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1193. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1194. 0x00, 0xf8, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1195. {
  1196. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1197. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1198. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1199. 0x00, 0xf8, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1200. {
  1201. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1202. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x03, 0x00, 0x7f,
  1203. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1204. 0x00, 0xf8, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1205. {
  1206. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1207. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x03, 0x00, 0x7f,
  1208. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1209. 0x00, 0xf8, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1210. {
  1211. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1212. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1213. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1214. 0x00, 0xf8, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1215. {
  1216. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1217. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1218. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1219. 0x00, 0xf8, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1220. {
  1221. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1222. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1223. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1224. 0x00, 0xf8, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1225. {
  1226. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1227. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1228. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1229. 0x00, 0xf8, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1230. {
  1231. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1232. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1233. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1234. 0x00, 0xf8, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1235. {
  1236. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1237. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1238. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1239. 0x00, 0xf8, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1240. {
  1241. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1242. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1243. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1244. 0x00, 0xf8, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1245. {
  1246. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1247. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1248. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1249. 0x00, 0xf8, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1250. {
  1251. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1252. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1253. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1254. 0x00, 0xf6, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1255. {
  1256. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1257. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1258. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1259. 0x00, 0xf6, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1260. {
  1261. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1262. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1263. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1264. 0x00, 0xf6, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1265. {
  1266. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1267. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1268. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1269. 0x00, 0xf6, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1270. {
  1271. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1272. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1273. 0x00, 0x06, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1274. 0x00, 0xf6, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1275. {
  1276. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1277. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1278. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1279. 0x00, 0xf4, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1280. {
  1281. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1282. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1283. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1284. 0x00, 0xf4, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1285. {
  1286. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1287. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1288. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1289. 0x00, 0xf4, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1290. {
  1291. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1292. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1293. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1294. 0x00, 0xf4, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1295. {
  1296. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1297. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1298. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1299. 0x00, 0xf4, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1300. {
  1301. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1302. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1303. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1304. 0x00, 0xf4, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1305. {
  1306. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1307. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1308. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1309. 0x00, 0xf4, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1310. {
  1311. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1312. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1313. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1314. 0x00, 0xf4, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1315. {
  1316. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1317. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1318. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1319. 0x00, 0xf4, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1320. {
  1321. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1322. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1323. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1324. 0x00, 0xf4, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1325. {
  1326. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1327. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1328. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1329. 0x00, 0xf4, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1330. {
  1331. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1332. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1333. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1334. 0x00, 0xf4, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1335. {
  1336. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1337. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1338. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1339. 0x00, 0xf4, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1340. {
  1341. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1342. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1343. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1344. 0x00, 0xf4, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1345. {
  1346. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1347. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1348. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1349. 0x00, 0xf4, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1350. {
  1351. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1352. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1353. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1354. 0x00, 0xf4, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1355. {
  1356. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1357. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1358. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1359. 0x00, 0xf4, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1360. {
  1361. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1362. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1363. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1364. 0x00, 0xf4, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1365. {
  1366. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1367. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1368. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1369. 0x00, 0xf4, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1370. {
  1371. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1372. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1373. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1374. 0x00, 0xf4, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1375. {
  1376. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1377. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1378. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1379. 0x00, 0xf4, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  1380. {
  1381. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1382. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1383. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1384. 0x00, 0xf4, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  1385. {
  1386. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1387. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1388. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1389. 0x00, 0xf4, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  1390. {
  1391. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1392. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1393. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1394. 0x00, 0xf4, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  1395. {
  1396. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1397. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1398. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1399. 0x00, 0xf4, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  1400. {
  1401. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1402. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1403. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1404. 0x00, 0xf4, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  1405. {
  1406. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1407. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1408. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1409. 0x00, 0xf2, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  1410. {
  1411. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1412. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1413. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1414. 0x00, 0xf2, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  1415. {
  1416. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1417. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1418. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1419. 0x00, 0xf2, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  1420. {
  1421. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1422. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1423. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1424. 0x00, 0xf2, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  1425. {
  1426. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1427. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1428. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1429. 0x00, 0xf2, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  1430. {
  1431. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1432. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  1433. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1434. 0x00, 0xf2, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  1435. {
  1436. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  1437. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1438. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1439. 0x0f, 0x00, 0x0f, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  1440. {
  1441. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  1442. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1443. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1444. 0x0f, 0x00, 0x0f, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  1445. {
  1446. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  1447. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1448. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1449. 0x0f, 0x00, 0x0f, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  1450. {
  1451. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  1452. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x05, 0x00,
  1453. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfd, 0x00, 0x05, 0x00, 0x70, 0x00,
  1454. 0x0f, 0x00, 0x0f, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  1455. {
  1456. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  1457. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x05, 0x00,
  1458. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfb, 0x00, 0x05, 0x00, 0x70, 0x00,
  1459. 0x0f, 0x00, 0x0f, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  1460. {
  1461. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  1462. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x05, 0x00,
  1463. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x05, 0x00, 0x70, 0x00,
  1464. 0x0f, 0x00, 0x0f, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  1465. {
  1466. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  1467. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x05, 0x00,
  1468. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x05, 0x00, 0x70, 0x00,
  1469. 0x0f, 0x00, 0x0f, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  1470. {
  1471. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  1472. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x05, 0x00,
  1473. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf7, 0x00, 0x05, 0x00, 0x70, 0x00,
  1474. 0x0f, 0x00, 0x0f, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  1475. {
  1476. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  1477. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x05, 0x00,
  1478. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf6, 0x00, 0x05, 0x00, 0x70, 0x00,
  1479. 0x0f, 0x00, 0x0f, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  1480. {
  1481. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  1482. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x05, 0x00,
  1483. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf5, 0x00, 0x05, 0x00, 0x70, 0x00,
  1484. 0x0f, 0x00, 0x0d, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  1485. {
  1486. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  1487. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x05, 0x00,
  1488. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x70, 0x00,
  1489. 0x0f, 0x00, 0x0d, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  1490. {
  1491. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  1492. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x05, 0x00,
  1493. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf3, 0x00, 0x05, 0x00, 0x70, 0x00,
  1494. 0x0f, 0x00, 0x0d, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  1495. {
  1496. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  1497. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x05, 0x00,
  1498. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x70, 0x00,
  1499. 0x0f, 0x00, 0x0d, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  1500. {
  1501. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  1502. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x05, 0x00,
  1503. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf0, 0x00, 0x05, 0x00, 0x70, 0x00,
  1504. 0x0f, 0x00, 0x0d, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  1505. };
  1506. static const struct chan_info_nphy_radio205x chan_info_nphyrev4_2056_A1[] = {
  1507. {
  1508. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1509. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1510. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1511. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  1512. {
  1513. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1514. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1515. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1516. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  1517. {
  1518. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1519. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1520. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1521. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  1522. {
  1523. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1524. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1525. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1526. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  1527. {
  1528. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1529. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1530. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1531. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  1532. {
  1533. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1534. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1535. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1536. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  1537. {
  1538. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1539. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1540. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1541. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  1542. {
  1543. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1544. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1545. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1546. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  1547. {
  1548. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1549. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1550. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1551. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  1552. {
  1553. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1554. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1555. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1556. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  1557. {
  1558. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1559. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1560. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1561. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  1562. {
  1563. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1564. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1565. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1566. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  1567. {
  1568. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1569. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1570. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1571. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  1572. {
  1573. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1574. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1575. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1576. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  1577. {
  1578. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1579. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1580. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1581. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  1582. {
  1583. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1584. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1585. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1586. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  1587. {
  1588. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1589. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1590. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1591. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  1592. {
  1593. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1594. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1595. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1596. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  1597. {
  1598. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1599. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1600. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1601. 0x00, 0xfe, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  1602. {
  1603. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1604. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1605. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1606. 0x00, 0xfe, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  1607. {
  1608. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1609. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1610. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1611. 0x00, 0xfe, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  1612. {
  1613. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1614. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1615. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1616. 0x00, 0xfe, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  1617. {
  1618. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1619. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1620. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1621. 0x00, 0xfe, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1622. {
  1623. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1624. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1625. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1626. 0x00, 0xfe, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1627. {
  1628. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1629. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1630. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1631. 0x00, 0xfe, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1632. {
  1633. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1634. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1635. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1636. 0x00, 0xfe, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1637. {
  1638. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1639. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1640. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1641. 0x00, 0xfe, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1642. {
  1643. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1644. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0a, 0x00, 0x7f,
  1645. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1646. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1647. {
  1648. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1649. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1650. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1651. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1652. {
  1653. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1654. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1655. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1656. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1657. {
  1658. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1659. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1660. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1661. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1662. {
  1663. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1664. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1665. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1666. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1667. {
  1668. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1669. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1670. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1671. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1672. {
  1673. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1674. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1675. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1676. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1677. {
  1678. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1679. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1680. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1681. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1682. {
  1683. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1684. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1685. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1686. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1687. {
  1688. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1689. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1690. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1691. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1692. {
  1693. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1694. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1695. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1696. 0x00, 0xfa, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1697. {
  1698. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1699. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1700. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1701. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1702. {
  1703. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1704. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1705. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1706. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1707. {
  1708. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1709. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1710. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1711. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1712. {
  1713. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1714. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1715. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1716. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1717. {
  1718. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1719. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1720. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1721. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1722. {
  1723. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1724. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1725. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1726. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1727. {
  1728. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1729. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1730. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1731. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1732. {
  1733. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1734. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1735. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1736. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1737. {
  1738. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1739. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x08, 0x00, 0x7f,
  1740. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1741. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1742. {
  1743. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1744. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1745. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1746. 0x00, 0xf8, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1747. {
  1748. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1749. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1750. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1751. 0x00, 0xf8, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1752. {
  1753. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1754. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1755. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1756. 0x00, 0xf8, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1757. {
  1758. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1759. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1760. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1761. 0x00, 0xf8, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1762. {
  1763. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1764. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x07, 0x00, 0x7f,
  1765. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1766. 0x00, 0xf8, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1767. {
  1768. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1769. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x07, 0x00, 0x7f,
  1770. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1771. 0x00, 0xf8, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1772. {
  1773. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1774. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1775. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1776. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1777. {
  1778. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1779. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1780. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1781. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1782. {
  1783. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1784. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x07, 0x00, 0x7f,
  1785. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1786. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1787. {
  1788. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1789. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x07, 0x00, 0x7f,
  1790. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1791. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1792. {
  1793. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1794. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x06, 0x00, 0x7f,
  1795. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x5c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1796. 0x00, 0xf6, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1797. {
  1798. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1799. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1800. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1801. 0x00, 0xf6, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1802. {
  1803. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1804. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1805. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1806. 0x00, 0xf6, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1807. {
  1808. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1809. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1810. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1811. 0x00, 0xf6, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1812. {
  1813. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1814. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1815. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1816. 0x00, 0xf6, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1817. {
  1818. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1819. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1820. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1821. 0x00, 0xf6, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1822. {
  1823. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1824. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x06, 0x00, 0x7f,
  1825. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1826. 0x00, 0xf6, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1827. {
  1828. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1829. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x06, 0x00, 0x7f,
  1830. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1831. 0x00, 0xf6, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1832. {
  1833. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1834. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1835. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1836. 0x00, 0xf6, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1837. {
  1838. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1839. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1840. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1841. 0x00, 0xf6, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1842. {
  1843. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1844. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x04, 0x00, 0x7f,
  1845. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x1a, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1846. 0x00, 0xf4, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1847. {
  1848. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1849. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1850. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1851. 0x00, 0xf4, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1852. {
  1853. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1854. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1855. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1856. 0x00, 0xf4, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1857. {
  1858. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1859. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1860. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1861. 0x00, 0xf4, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1862. {
  1863. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1864. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1865. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1866. 0x00, 0xf4, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1867. {
  1868. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1869. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1870. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1871. 0x00, 0xf4, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1872. {
  1873. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1874. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1875. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1876. 0x00, 0xf4, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1877. {
  1878. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1879. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1880. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1881. 0x00, 0xf4, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1882. {
  1883. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1884. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1885. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1886. 0x00, 0xf4, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1887. {
  1888. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1889. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x04, 0x00, 0x7f,
  1890. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1891. 0x00, 0xf4, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1892. {
  1893. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1894. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1895. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1896. 0x00, 0xf2, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1897. {
  1898. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1899. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1900. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1901. 0x00, 0xf2, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1902. {
  1903. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1904. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1905. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1906. 0x00, 0xf2, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1907. {
  1908. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1909. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1910. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1911. 0x00, 0xf2, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1912. {
  1913. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1914. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1915. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1916. 0x00, 0xf2, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1917. {
  1918. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1919. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1920. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1921. 0x00, 0xf2, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1922. {
  1923. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1924. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1925. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1926. 0x00, 0xf2, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1927. {
  1928. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1929. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1930. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1931. 0x00, 0xf2, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1932. {
  1933. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1934. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1935. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1936. 0x00, 0xf2, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1937. {
  1938. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1939. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1940. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1941. 0x00, 0xf2, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1942. {
  1943. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1944. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1945. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1946. 0x00, 0xf2, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1947. {
  1948. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1949. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1950. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1951. 0x00, 0xf2, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1952. {
  1953. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1954. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1955. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1956. 0x00, 0xf2, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1957. {
  1958. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1959. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1960. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1961. 0x00, 0xf2, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1962. {
  1963. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1964. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1965. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1966. 0x00, 0xf2, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1967. {
  1968. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1969. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1970. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1971. 0x00, 0xf2, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1972. {
  1973. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1974. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1975. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1976. 0x00, 0xf2, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1977. {
  1978. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1979. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1980. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1981. 0x00, 0xf2, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1982. {
  1983. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1984. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1985. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1986. 0x00, 0xf0, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1987. {
  1988. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1989. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1990. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1991. 0x00, 0xf0, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1992. {
  1993. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1994. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1995. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1996. 0x00, 0xf0, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1997. {
  1998. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1999. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  2000. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2001. 0x00, 0xf0, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2002. {
  2003. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2004. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2005. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2006. 0x00, 0xf0, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2007. {
  2008. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2009. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2010. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2011. 0x00, 0xf0, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2012. {
  2013. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2014. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2015. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2016. 0x00, 0xf0, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2017. {
  2018. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2019. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2020. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2021. 0x00, 0xf0, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2022. {
  2023. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2024. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2025. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2026. 0x00, 0xf0, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2027. {
  2028. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2029. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2030. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2031. 0x00, 0xf0, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2032. {
  2033. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2034. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2035. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2036. 0x00, 0xf0, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2037. {
  2038. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2039. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2040. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2041. 0x00, 0xf0, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2042. {
  2043. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2044. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2045. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2046. 0x00, 0xf0, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2047. {
  2048. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2049. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  2050. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2051. 0x00, 0xf0, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2052. {
  2053. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2054. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  2055. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2056. 0x00, 0xf0, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2057. {
  2058. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2059. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2060. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2061. 0x0f, 0x00, 0x0e, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2062. {
  2063. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2064. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2065. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2066. 0x0f, 0x00, 0x0e, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2067. {
  2068. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2069. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2070. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2071. 0x0f, 0x00, 0x0e, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2072. {
  2073. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2074. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x04, 0x00,
  2075. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfd, 0x00, 0x04, 0x00, 0x70, 0x00,
  2076. 0x0f, 0x00, 0x0e, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2077. {
  2078. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2079. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x04, 0x00,
  2080. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfb, 0x00, 0x04, 0x00, 0x70, 0x00,
  2081. 0x0f, 0x00, 0x0e, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2082. {
  2083. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2084. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x04, 0x00,
  2085. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfa, 0x00, 0x04, 0x00, 0x70, 0x00,
  2086. 0x0f, 0x00, 0x0e, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2087. {
  2088. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2089. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x04, 0x00,
  2090. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf8, 0x00, 0x04, 0x00, 0x70, 0x00,
  2091. 0x0f, 0x00, 0x0e, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2092. {
  2093. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2094. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x04, 0x00,
  2095. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf7, 0x00, 0x04, 0x00, 0x70, 0x00,
  2096. 0x0f, 0x00, 0x0e, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2097. {
  2098. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2099. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x04, 0x00,
  2100. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf6, 0x00, 0x04, 0x00, 0x70, 0x00,
  2101. 0x0f, 0x00, 0x0e, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2102. {
  2103. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2104. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x04, 0x00,
  2105. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf5, 0x00, 0x04, 0x00, 0x70, 0x00,
  2106. 0x0f, 0x00, 0x0e, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2107. {
  2108. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2109. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x04, 0x00,
  2110. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x70, 0x00,
  2111. 0x0f, 0x00, 0x0e, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2112. {
  2113. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2114. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x04, 0x00,
  2115. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf3, 0x00, 0x04, 0x00, 0x70, 0x00,
  2116. 0x0f, 0x00, 0x0e, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2117. {
  2118. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2119. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x04, 0x00,
  2120. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x70, 0x00,
  2121. 0x0f, 0x00, 0x0e, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2122. {
  2123. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2124. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x04, 0x00,
  2125. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x70, 0x00,
  2126. 0x0f, 0x00, 0x0e, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2127. };
  2128. static const struct chan_info_nphy_radio205x chan_info_nphyrev5_2056v5[] = {
  2129. {
  2130. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2131. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2132. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  2133. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2134. {
  2135. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2136. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2137. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2138. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2139. {
  2140. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2141. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2142. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2143. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2144. {
  2145. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2146. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2147. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2148. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2149. {
  2150. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2151. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2152. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  2153. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2154. {
  2155. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2156. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2157. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2158. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2159. {
  2160. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2161. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2162. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2163. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2164. {
  2165. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2166. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2167. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2168. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2169. {
  2170. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2171. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2172. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2173. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2174. {
  2175. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2176. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2177. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2178. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2179. {
  2180. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2181. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2182. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  2183. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2184. {
  2185. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2186. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2187. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2188. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2189. {
  2190. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2191. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2192. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2193. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2194. {
  2195. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2196. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2197. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2198. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2199. {
  2200. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2201. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  2202. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2203. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2204. {
  2205. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2206. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  2207. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2208. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2209. {
  2210. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2211. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2212. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2213. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2214. {
  2215. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2216. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2217. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2218. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2219. {
  2220. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2221. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2222. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2223. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2224. {
  2225. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2226. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2227. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2228. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2229. {
  2230. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2231. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2232. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2233. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2234. {
  2235. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2236. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  2237. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  2238. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2239. {
  2240. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2241. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2242. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  2243. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2244. {
  2245. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2246. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2247. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  2248. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2249. {
  2250. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2251. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  2252. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2253. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2254. {
  2255. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2256. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2257. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2258. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2259. {
  2260. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2261. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2262. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2263. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2264. {
  2265. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2266. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2267. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2268. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2269. {
  2270. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2271. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2272. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2273. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2274. {
  2275. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2276. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2277. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2278. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2279. {
  2280. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2281. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xea, 0x00, 0x06, 0x00, 0x70,
  2282. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  2283. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2284. {
  2285. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2286. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2287. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2288. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2289. {
  2290. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2291. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2292. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2293. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2294. {
  2295. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2296. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xd9, 0x00, 0x05, 0x00, 0x70,
  2297. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2298. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2299. {
  2300. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2301. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xd8, 0x00, 0x04, 0x00, 0x70,
  2302. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2303. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2304. {
  2305. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2306. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2307. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2308. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2309. {
  2310. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2311. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2312. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2313. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2314. {
  2315. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2316. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2317. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2318. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2319. {
  2320. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2321. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2322. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2323. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2324. {
  2325. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2326. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb8, 0x00, 0x04, 0x00, 0x70,
  2327. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2328. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2329. {
  2330. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2331. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x04, 0x00, 0x70,
  2332. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2333. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2334. {
  2335. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2336. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x03, 0x00, 0x70,
  2337. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  2338. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2339. {
  2340. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2341. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa7, 0x00, 0x03, 0x00, 0x70,
  2342. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2343. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2344. {
  2345. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2346. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2347. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2348. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2349. {
  2350. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2351. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2352. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2353. 0x00, 0x5b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2354. {
  2355. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2356. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x96, 0x00, 0x03, 0x00, 0x70,
  2357. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2358. 0x00, 0x5a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2359. {
  2360. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2361. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x95, 0x00, 0x03, 0x00, 0x70,
  2362. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2363. 0x00, 0x5a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2364. {
  2365. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2366. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2367. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2368. 0x00, 0x5a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2369. {
  2370. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2371. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2372. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2373. 0x00, 0x5a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2374. {
  2375. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2376. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2377. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2378. 0x00, 0x5a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  2379. {
  2380. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2381. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x85, 0x00, 0x02, 0x00, 0x70,
  2382. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2383. 0x00, 0x59, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  2384. {
  2385. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2386. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2387. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2388. 0x00, 0x59, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  2389. {
  2390. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2391. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2392. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2393. 0x00, 0x59, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  2394. {
  2395. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2396. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2397. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  2398. 0x00, 0x69, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  2399. {
  2400. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2401. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x74, 0x00, 0x01, 0x00, 0x70,
  2402. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2403. 0x00, 0x69, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  2404. {
  2405. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2406. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2407. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2408. 0x00, 0x68, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  2409. {
  2410. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2411. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2412. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2413. 0x00, 0x68, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  2414. {
  2415. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2416. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2417. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2418. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  2419. {
  2420. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2421. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2422. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2423. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  2424. {
  2425. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2426. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2427. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2428. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  2429. {
  2430. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2431. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x63, 0x00, 0x01, 0x00, 0x70,
  2432. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  2433. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  2434. {
  2435. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2436. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2437. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2438. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  2439. {
  2440. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2441. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2442. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2443. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  2444. {
  2445. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2446. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2447. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2448. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  2449. {
  2450. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2451. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2452. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2453. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  2454. {
  2455. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2456. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2457. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2458. 0x00, 0x76, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  2459. {
  2460. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2461. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x51, 0x00, 0x00, 0x00, 0x70,
  2462. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2463. 0x00, 0x76, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  2464. {
  2465. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2466. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2467. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2468. 0x00, 0x76, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  2469. {
  2470. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2471. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2472. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2473. 0x00, 0x76, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  2474. {
  2475. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2476. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2477. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2478. 0x00, 0x76, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  2479. {
  2480. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2481. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2482. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2483. 0x00, 0x76, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  2484. {
  2485. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2486. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2487. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2488. 0x00, 0x75, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  2489. {
  2490. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2491. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2492. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2493. 0x00, 0x75, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  2494. {
  2495. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2496. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2497. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2498. 0x00, 0x75, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  2499. {
  2500. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2501. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2502. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2503. 0x00, 0x74, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  2504. {
  2505. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2506. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2507. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2508. 0x00, 0x74, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  2509. {
  2510. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2511. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2512. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2513. 0x00, 0x74, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  2514. {
  2515. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2516. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2517. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2518. 0x00, 0x74, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  2519. {
  2520. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2521. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2522. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2523. 0x00, 0x74, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  2524. {
  2525. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2526. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2527. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2528. 0x00, 0x74, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  2529. {
  2530. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  2531. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2532. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2533. 0x00, 0x74, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  2534. {
  2535. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2536. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2537. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2538. 0x00, 0x84, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  2539. {
  2540. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2541. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2542. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2543. 0x00, 0x83, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  2544. {
  2545. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2546. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2547. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2548. 0x00, 0x83, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  2549. {
  2550. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2551. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2552. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2553. 0x00, 0x83, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  2554. {
  2555. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2556. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2557. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2558. 0x00, 0x83, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  2559. {
  2560. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  2561. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2562. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2563. 0x00, 0x83, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  2564. {
  2565. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2566. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2567. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2568. 0x00, 0x83, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  2569. {
  2570. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  2571. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2572. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2573. 0x00, 0x82, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  2574. {
  2575. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2576. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2577. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2578. 0x00, 0x82, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  2579. {
  2580. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  2581. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2582. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2583. 0x00, 0x82, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  2584. {
  2585. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2586. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2587. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2588. 0x00, 0x82, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  2589. {
  2590. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  2591. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2592. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2593. 0x00, 0x82, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  2594. {
  2595. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2596. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2597. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2598. 0x00, 0x82, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  2599. {
  2600. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  2601. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2602. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2603. 0x00, 0x82, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  2604. {
  2605. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2606. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2607. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2608. 0x00, 0x82, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  2609. {
  2610. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  2611. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2612. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2613. 0x00, 0x82, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  2614. {
  2615. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2616. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2617. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2618. 0x00, 0x82, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  2619. {
  2620. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2621. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2622. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2623. 0x00, 0x82, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2624. {
  2625. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2626. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2627. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2628. 0x00, 0x82, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2629. {
  2630. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2631. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2632. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2633. 0x00, 0x82, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2634. {
  2635. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2636. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2637. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2638. 0x00, 0x72, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2639. {
  2640. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2641. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2642. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2643. 0x00, 0x72, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2644. {
  2645. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2646. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2647. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2648. 0x00, 0x72, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2649. {
  2650. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2651. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2652. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2653. 0x00, 0x72, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2654. {
  2655. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2656. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2657. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2658. 0x00, 0x71, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2659. {
  2660. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2661. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2662. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2663. 0x00, 0x71, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2664. {
  2665. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2666. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2667. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2668. 0x00, 0x71, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2669. {
  2670. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2671. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2672. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2673. 0x00, 0x71, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2674. {
  2675. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2676. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2677. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2678. 0x00, 0x71, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2679. {
  2680. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2681. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2682. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2683. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2684. {
  2685. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2686. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2687. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2688. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2689. {
  2690. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2691. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x03, 0x00,
  2692. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0x03, 0x00, 0x70, 0x00,
  2693. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2694. {
  2695. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2696. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x03, 0x00,
  2697. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0d, 0x00, 0x03, 0x00, 0x70, 0x00,
  2698. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2699. {
  2700. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2701. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00,
  2702. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x70, 0x00,
  2703. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2704. {
  2705. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2706. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x03, 0x00,
  2707. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x03, 0x00, 0x70, 0x00,
  2708. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2709. {
  2710. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2711. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00,
  2712. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x03, 0x00, 0x70, 0x00,
  2713. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2714. {
  2715. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2716. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00,
  2717. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x08, 0x00, 0x02, 0x00, 0x70, 0x00,
  2718. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2719. {
  2720. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2721. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x07, 0x00, 0x02, 0x00,
  2722. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x07, 0x00, 0x02, 0x00, 0x70, 0x00,
  2723. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2724. {
  2725. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2726. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x06, 0x00, 0x02, 0x00,
  2727. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x06, 0x00, 0x02, 0x00, 0x70, 0x00,
  2728. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2729. {
  2730. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2731. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00,
  2732. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x05, 0x00, 0x02, 0x00, 0x70, 0x00,
  2733. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2734. {
  2735. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2736. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00,
  2737. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x70, 0x00,
  2738. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2739. {
  2740. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2741. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
  2742. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x03, 0x00, 0x02, 0x00, 0x70, 0x00,
  2743. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2744. {
  2745. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2746. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  2747. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  2748. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2749. };
  2750. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v6[] = {
  2751. {
  2752. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2753. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2754. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2755. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2756. {
  2757. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2758. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2759. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2760. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2761. {
  2762. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2763. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2764. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2765. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2766. {
  2767. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2768. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2769. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2770. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2771. {
  2772. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2773. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2774. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2775. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2776. {
  2777. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2778. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2779. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2780. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2781. {
  2782. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2783. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2784. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2785. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2786. {
  2787. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2788. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2789. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2790. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2791. {
  2792. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2793. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2794. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2795. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2796. {
  2797. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2798. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2799. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2800. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2801. {
  2802. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2803. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2804. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2805. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2806. {
  2807. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2808. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2809. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2810. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2811. {
  2812. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2813. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2814. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2815. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2816. {
  2817. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2818. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2819. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2820. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2821. {
  2822. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2823. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2824. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2825. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2826. {
  2827. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2828. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2829. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2830. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2831. {
  2832. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2833. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2834. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2835. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2836. {
  2837. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2838. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2839. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2840. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2841. {
  2842. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2843. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  2844. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2845. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2846. {
  2847. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2848. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2849. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2850. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2851. {
  2852. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2853. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2854. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2855. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2856. {
  2857. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2858. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2859. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2860. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2861. {
  2862. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2863. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  2864. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2865. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2866. {
  2867. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2868. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2869. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2870. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2871. {
  2872. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2873. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2874. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2875. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2876. {
  2877. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2878. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2879. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  2880. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2881. {
  2882. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2883. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2884. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  2885. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2886. {
  2887. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2888. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2889. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2890. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2891. {
  2892. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2893. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2894. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2895. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2896. {
  2897. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2898. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2899. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2900. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2901. {
  2902. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2903. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2904. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2905. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2906. {
  2907. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2908. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  2909. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2910. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2911. {
  2912. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2913. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  2914. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2915. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2916. {
  2917. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2918. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2919. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  2920. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2921. {
  2922. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2923. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2924. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  2925. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2926. {
  2927. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2928. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2929. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2930. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2931. {
  2932. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2933. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2934. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2935. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2936. {
  2937. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2938. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2939. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2940. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2941. {
  2942. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2943. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2944. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2945. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2946. {
  2947. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2948. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2949. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2950. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2951. {
  2952. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2953. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2954. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2955. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2956. {
  2957. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2958. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2959. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2960. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2961. {
  2962. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2963. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2964. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2965. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2966. {
  2967. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2968. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2969. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2970. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2971. {
  2972. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2973. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2974. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2975. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2976. {
  2977. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2978. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  2979. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2980. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2981. {
  2982. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2983. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2984. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2985. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2986. {
  2987. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2988. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2989. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2990. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2991. {
  2992. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2993. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  2994. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  2995. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2996. {
  2997. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2998. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  2999. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3000. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3001. {
  3002. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3003. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3004. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3005. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3006. {
  3007. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3008. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3009. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  3010. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3011. {
  3012. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3013. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3014. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3015. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3016. {
  3017. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3018. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3019. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3020. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3021. {
  3022. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3023. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  3024. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3025. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3026. {
  3027. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3028. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  3029. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3030. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3031. {
  3032. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3033. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  3034. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3035. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3036. {
  3037. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3038. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3039. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3040. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3041. {
  3042. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3043. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3044. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3045. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3046. {
  3047. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3048. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3049. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3050. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3051. {
  3052. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3053. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3054. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3055. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3056. {
  3057. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3058. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  3059. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3060. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3061. {
  3062. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3063. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3064. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3065. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3066. {
  3067. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3068. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3069. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3070. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3071. {
  3072. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3073. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  3074. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3075. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3076. {
  3077. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3078. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  3079. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3080. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3081. {
  3082. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3083. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  3084. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3085. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3086. {
  3087. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3088. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3089. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3090. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3091. {
  3092. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3093. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3094. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3095. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3096. {
  3097. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3098. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3099. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3100. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3101. {
  3102. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3103. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3104. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3105. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3106. {
  3107. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3108. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  3109. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3110. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3111. {
  3112. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3113. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3114. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3115. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3116. {
  3117. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3118. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3119. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3120. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3121. {
  3122. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3123. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  3124. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3125. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3126. {
  3127. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3128. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3129. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3130. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3131. {
  3132. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3133. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3134. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3135. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3136. {
  3137. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3138. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3139. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3140. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3141. {
  3142. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3143. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3144. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3145. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3146. {
  3147. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3148. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3149. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3150. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3151. {
  3152. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3153. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3154. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3155. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3156. {
  3157. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3158. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3159. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3160. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3161. {
  3162. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3163. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3164. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3165. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3166. {
  3167. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3168. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3169. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3170. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3171. {
  3172. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3173. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3174. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3175. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3176. {
  3177. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3178. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  3179. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3180. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3181. {
  3182. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3183. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3184. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3185. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3186. {
  3187. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3188. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3189. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3190. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3191. {
  3192. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3193. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3194. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3195. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3196. {
  3197. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3198. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3199. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3200. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3201. {
  3202. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3203. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3204. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3205. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3206. {
  3207. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3208. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3209. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3210. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3211. {
  3212. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3213. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3214. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3215. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3216. {
  3217. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3218. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3219. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3220. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3221. {
  3222. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3223. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3224. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3225. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3226. {
  3227. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3228. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3229. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3230. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3231. {
  3232. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3233. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3234. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3235. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3236. {
  3237. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3238. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3239. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3240. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3241. {
  3242. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3243. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3244. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3245. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3246. {
  3247. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3248. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3249. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3250. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3251. {
  3252. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3253. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3254. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3255. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3256. {
  3257. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3258. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3259. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3260. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3261. {
  3262. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3263. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3264. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3265. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3266. {
  3267. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3268. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3269. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3270. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3271. {
  3272. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3273. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3274. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3275. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3276. {
  3277. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3278. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3279. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3280. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3281. {
  3282. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3283. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3284. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3285. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3286. {
  3287. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3288. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3289. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3290. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3291. {
  3292. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3293. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3294. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3295. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3296. {
  3297. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3298. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3299. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3300. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3301. {
  3302. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3303. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3304. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3305. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3306. {
  3307. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3308. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3309. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3310. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3311. {
  3312. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3313. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  3314. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x67, 0x00, 0x03, 0x00, 0x70, 0x00,
  3315. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3316. {
  3317. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3318. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  3319. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x57, 0x00, 0x03, 0x00, 0x70, 0x00,
  3320. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3321. {
  3322. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3323. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  3324. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x56, 0x00, 0x03, 0x00, 0x70, 0x00,
  3325. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3326. {
  3327. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3328. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  3329. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x46, 0x00, 0x03, 0x00, 0x70, 0x00,
  3330. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3331. {
  3332. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3333. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3334. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3335. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3336. {
  3337. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3338. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3339. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3340. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3341. {
  3342. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3343. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  3344. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x23, 0x00, 0x02, 0x00, 0x70, 0x00,
  3345. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3346. {
  3347. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3348. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  3349. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x12, 0x00, 0x02, 0x00, 0x70, 0x00,
  3350. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3351. {
  3352. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3353. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  3354. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x70, 0x00,
  3355. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3356. {
  3357. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3358. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3359. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3360. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3361. {
  3362. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3363. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3364. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3365. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3366. {
  3367. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3368. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3369. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3370. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3371. };
  3372. static const struct chan_info_nphy_radio205x chan_info_nphyrev5n6_2056v7[] = {
  3373. {
  3374. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3375. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3376. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  3377. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  3378. {
  3379. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3380. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3381. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3382. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  3383. {
  3384. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3385. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3386. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3387. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  3388. {
  3389. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3390. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3391. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3392. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  3393. {
  3394. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3395. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3396. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  3397. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  3398. {
  3399. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3400. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3401. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3402. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  3403. {
  3404. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3405. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3406. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3407. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  3408. {
  3409. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3410. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3411. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3412. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  3413. {
  3414. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3415. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3416. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3417. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  3418. {
  3419. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3420. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3421. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3422. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  3423. {
  3424. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3425. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3426. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  3427. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  3428. {
  3429. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3430. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3431. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3432. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  3433. {
  3434. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3435. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3436. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3437. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  3438. {
  3439. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3440. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3441. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3442. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  3443. {
  3444. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3445. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  3446. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3447. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  3448. {
  3449. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3450. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  3451. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3452. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  3453. {
  3454. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3455. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3456. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3457. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  3458. {
  3459. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3460. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3461. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3462. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  3463. {
  3464. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3465. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3466. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3467. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  3468. {
  3469. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3470. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3471. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3472. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  3473. {
  3474. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3475. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3476. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3477. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  3478. {
  3479. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3480. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  3481. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  3482. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  3483. {
  3484. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3485. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3486. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  3487. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  3488. {
  3489. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3490. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3491. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  3492. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  3493. {
  3494. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3495. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  3496. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3497. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  3498. {
  3499. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3500. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3501. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3502. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  3503. {
  3504. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3505. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3506. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3507. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  3508. {
  3509. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3510. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3511. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3512. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  3513. {
  3514. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3515. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3516. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3517. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  3518. {
  3519. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3520. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3521. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3522. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  3523. {
  3524. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3525. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xea, 0x00, 0x06, 0x00, 0x70,
  3526. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  3527. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  3528. {
  3529. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3530. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3531. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3532. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  3533. {
  3534. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3535. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3536. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3537. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  3538. {
  3539. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3540. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xd9, 0x00, 0x05, 0x00, 0x70,
  3541. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3542. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  3543. {
  3544. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3545. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xd8, 0x00, 0x04, 0x00, 0x70,
  3546. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3547. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  3548. {
  3549. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3550. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3551. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3552. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  3553. {
  3554. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3555. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3556. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3557. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  3558. {
  3559. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3560. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3561. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3562. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  3563. {
  3564. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3565. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3566. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3567. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  3568. {
  3569. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3570. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb8, 0x00, 0x04, 0x00, 0x70,
  3571. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3572. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  3573. {
  3574. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3575. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xb7, 0x00, 0x04, 0x00, 0x70,
  3576. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3577. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  3578. {
  3579. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3580. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xb7, 0x00, 0x03, 0x00, 0x70,
  3581. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  3582. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  3583. {
  3584. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3585. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa7, 0x00, 0x03, 0x00, 0x70,
  3586. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3587. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  3588. {
  3589. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3590. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3591. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3592. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  3593. {
  3594. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3595. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3596. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3597. 0x00, 0x7b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  3598. {
  3599. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3600. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x96, 0x00, 0x03, 0x00, 0x70,
  3601. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3602. 0x00, 0x7a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  3603. {
  3604. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3605. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3606. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3607. 0x00, 0x7a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  3608. {
  3609. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3610. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3611. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3612. 0x00, 0x7a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  3613. {
  3614. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3615. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3616. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3617. 0x00, 0x7a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  3618. {
  3619. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3620. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3621. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3622. 0x00, 0x7a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3623. {
  3624. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3625. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x85, 0x00, 0x02, 0x00, 0x70,
  3626. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3627. 0x00, 0x79, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3628. {
  3629. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3630. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x70,
  3631. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3632. 0x00, 0x79, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3633. {
  3634. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3635. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3636. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3637. 0x00, 0x79, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3638. {
  3639. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3640. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3641. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  3642. 0x00, 0x79, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3643. {
  3644. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3645. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x74, 0x00, 0x01, 0x00, 0x70,
  3646. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3647. 0x00, 0x79, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3648. {
  3649. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3650. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  3651. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3652. 0x00, 0x78, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3653. {
  3654. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3655. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x01, 0x00, 0x70,
  3656. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3657. 0x00, 0x78, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3658. {
  3659. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3660. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3661. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3662. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3663. {
  3664. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3665. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3666. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3667. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3668. {
  3669. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3670. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x01, 0x00, 0x70,
  3671. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3672. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3673. {
  3674. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3675. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x63, 0x00, 0x01, 0x00, 0x70,
  3676. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  3677. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3678. {
  3679. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3680. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x62, 0x00, 0x00, 0x00, 0x70,
  3681. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3682. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3683. {
  3684. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3685. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3686. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3687. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3688. {
  3689. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3690. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3691. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3692. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3693. {
  3694. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3695. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x52, 0x00, 0x00, 0x00, 0x70,
  3696. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3697. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3698. {
  3699. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3700. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x52, 0x00, 0x00, 0x00, 0x70,
  3701. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3702. 0x00, 0x86, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3703. {
  3704. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3705. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3706. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3707. 0x00, 0x86, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3708. {
  3709. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3710. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3711. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3712. 0x00, 0x86, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3713. {
  3714. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3715. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3716. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3717. 0x00, 0x86, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3718. {
  3719. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3720. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3721. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3722. 0x00, 0x86, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3723. {
  3724. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3725. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3726. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3727. 0x00, 0x86, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3728. {
  3729. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3730. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x51, 0x00, 0x00, 0x00, 0x70,
  3731. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3732. 0x00, 0x85, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3733. {
  3734. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3735. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3736. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3737. 0x00, 0x85, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3738. {
  3739. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3740. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3741. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3742. 0x00, 0x85, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3743. {
  3744. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3745. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  3746. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3747. 0x00, 0x84, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3748. {
  3749. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3750. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3751. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3752. 0x00, 0x84, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3753. {
  3754. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3755. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3756. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3757. 0x00, 0x94, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3758. {
  3759. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3760. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3761. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3762. 0x00, 0x94, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3763. {
  3764. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3765. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3766. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3767. 0x00, 0x94, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3768. {
  3769. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3770. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3771. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3772. 0x00, 0x94, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3773. {
  3774. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3775. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3776. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3777. 0x00, 0x94, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3778. {
  3779. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3780. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3781. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3782. 0x00, 0x94, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3783. {
  3784. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3785. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3786. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3787. 0x00, 0x93, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3788. {
  3789. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3790. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3791. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3792. 0x00, 0x93, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3793. {
  3794. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3795. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3796. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3797. 0x00, 0x93, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3798. {
  3799. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3800. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3801. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3802. 0x00, 0x93, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3803. {
  3804. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3805. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x30, 0x00, 0x00, 0x00, 0x70,
  3806. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3807. 0x00, 0x93, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3808. {
  3809. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3810. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3811. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3812. 0x00, 0x93, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3813. {
  3814. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3815. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3816. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3817. 0x00, 0x92, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3818. {
  3819. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3820. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3821. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3822. 0x00, 0x92, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3823. {
  3824. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3825. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3826. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3827. 0x00, 0x92, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3828. {
  3829. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3830. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x70,
  3831. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3832. 0x00, 0x92, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3833. {
  3834. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3835. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3836. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3837. 0x00, 0x92, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3838. {
  3839. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3840. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3841. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3842. 0x00, 0x92, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3843. {
  3844. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3845. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3846. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3847. 0x00, 0x92, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3848. {
  3849. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3850. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3851. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3852. 0x00, 0x92, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3853. {
  3854. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3855. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3856. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3857. 0x00, 0x92, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3858. {
  3859. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3860. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3861. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3862. 0x00, 0x92, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3863. {
  3864. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3865. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3866. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3867. 0x00, 0x92, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3868. {
  3869. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3870. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3871. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3872. 0x00, 0x92, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3873. {
  3874. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3875. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3876. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3877. 0x00, 0x92, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3878. {
  3879. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3880. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3881. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3882. 0x00, 0x92, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3883. {
  3884. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3885. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3886. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3887. 0x00, 0x92, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3888. {
  3889. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3890. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3891. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3892. 0x00, 0x92, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3893. {
  3894. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3895. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3896. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3897. 0x00, 0x92, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3898. {
  3899. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3900. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3901. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3902. 0x00, 0x91, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3903. {
  3904. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3905. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3906. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3907. 0x00, 0x91, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3908. {
  3909. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3910. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3911. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3912. 0x00, 0x91, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3913. {
  3914. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3915. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3916. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3917. 0x00, 0x91, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3918. {
  3919. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3920. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3921. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3922. 0x00, 0x91, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3923. {
  3924. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3925. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3926. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3927. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3928. {
  3929. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3930. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3931. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3932. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3933. {
  3934. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3935. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3936. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3937. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3938. {
  3939. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3940. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3941. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3942. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3943. {
  3944. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3945. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x03, 0x00,
  3946. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  3947. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3948. {
  3949. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3950. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x76, 0x00, 0x03, 0x00,
  3951. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  3952. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3953. {
  3954. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3955. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x66, 0x00, 0x03, 0x00,
  3956. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x03, 0x00, 0x70, 0x00,
  3957. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3958. {
  3959. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3960. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x55, 0x00, 0x02, 0x00,
  3961. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  3962. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3963. {
  3964. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3965. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3966. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3967. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3968. {
  3969. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3970. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3971. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3972. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3973. {
  3974. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3975. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00,
  3976. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  3977. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3978. {
  3979. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3980. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00,
  3981. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  3982. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3983. {
  3984. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3985. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
  3986. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  3987. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3988. {
  3989. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3990. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3991. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3992. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3993. };
  3994. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v8[] = {
  3995. {
  3996. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3997. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  3998. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  3999. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4000. {
  4001. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4002. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4003. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4004. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4005. {
  4006. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4007. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4008. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4009. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4010. {
  4011. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4012. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4013. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4014. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4015. {
  4016. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4017. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4018. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4019. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4020. {
  4021. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4022. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4023. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4024. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4025. {
  4026. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4027. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4028. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4029. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4030. {
  4031. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4032. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4033. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4034. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4035. {
  4036. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4037. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4038. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4039. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4040. {
  4041. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4042. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4043. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4044. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4045. {
  4046. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4047. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4048. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4049. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4050. {
  4051. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4052. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4053. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4054. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4055. {
  4056. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4057. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4058. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4059. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4060. {
  4061. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4062. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4063. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4064. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4065. {
  4066. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4067. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4068. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4069. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4070. {
  4071. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4072. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4073. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4074. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4075. {
  4076. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4077. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4078. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4079. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4080. {
  4081. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4082. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4083. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4084. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4085. {
  4086. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4087. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4088. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4089. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4090. {
  4091. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4092. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4093. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4094. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4095. {
  4096. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4097. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4098. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4099. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4100. {
  4101. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4102. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4103. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4104. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4105. {
  4106. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4107. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4108. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4109. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4110. {
  4111. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4112. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4113. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4114. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4115. {
  4116. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4117. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4118. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4119. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4120. {
  4121. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4122. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4123. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4124. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4125. {
  4126. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4127. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4128. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4129. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4130. {
  4131. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4132. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4133. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4134. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4135. {
  4136. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4137. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4138. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4139. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4140. {
  4141. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4142. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4143. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4144. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4145. {
  4146. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4147. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4148. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4149. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4150. {
  4151. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4152. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4153. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4154. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4155. {
  4156. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4157. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4158. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4159. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4160. {
  4161. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4162. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4163. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4164. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4165. {
  4166. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4167. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4168. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4169. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4170. {
  4171. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4172. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4173. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4174. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4175. {
  4176. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4177. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4178. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4179. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4180. {
  4181. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4182. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4183. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4184. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4185. {
  4186. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4187. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4188. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4189. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4190. {
  4191. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4192. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4193. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4194. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4195. {
  4196. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4197. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4198. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4199. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4200. {
  4201. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4202. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4203. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4204. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4205. {
  4206. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4207. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4208. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4209. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4210. {
  4211. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4212. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4213. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4214. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4215. {
  4216. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4217. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4218. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4219. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4220. {
  4221. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4222. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4223. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4224. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4225. {
  4226. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4227. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4228. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4229. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4230. {
  4231. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4232. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4233. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4234. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4235. {
  4236. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4237. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4238. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4239. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4240. {
  4241. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4242. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4243. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4244. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4245. {
  4246. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4247. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4248. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4249. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4250. {
  4251. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4252. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4253. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4254. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4255. {
  4256. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4257. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4258. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4259. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4260. {
  4261. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4262. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4263. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4264. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4265. {
  4266. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4267. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4268. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4269. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4270. {
  4271. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4272. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4273. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4274. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4275. {
  4276. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4277. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4278. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4279. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4280. {
  4281. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4282. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4283. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4284. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4285. {
  4286. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4287. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4288. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4289. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4290. {
  4291. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4292. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4293. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4294. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4295. {
  4296. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4297. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4298. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4299. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4300. {
  4301. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4302. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4303. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4304. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4305. {
  4306. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4307. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4308. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4309. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4310. {
  4311. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4312. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4313. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4314. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4315. {
  4316. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4317. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4318. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4319. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4320. {
  4321. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4322. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4323. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4324. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4325. {
  4326. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4327. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4328. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4329. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4330. {
  4331. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4332. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4333. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4334. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4335. {
  4336. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4337. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4338. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4339. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4340. {
  4341. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4342. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4343. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4344. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4345. {
  4346. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4347. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4348. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4349. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4350. {
  4351. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4352. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4353. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4354. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4355. {
  4356. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4357. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4358. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4359. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4360. {
  4361. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4362. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4363. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4364. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4365. {
  4366. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4367. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4368. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4369. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4370. {
  4371. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4372. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4373. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4374. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4375. {
  4376. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4377. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4378. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4379. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  4380. {
  4381. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4382. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4383. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4384. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  4385. {
  4386. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4387. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4388. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4389. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  4390. {
  4391. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4392. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4393. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4394. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  4395. {
  4396. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  4397. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4398. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4399. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  4400. {
  4401. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4402. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4403. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4404. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  4405. {
  4406. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4407. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4408. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4409. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  4410. {
  4411. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4412. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4413. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4414. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  4415. {
  4416. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4417. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4418. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4419. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  4420. {
  4421. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4422. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  4423. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4424. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  4425. {
  4426. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  4427. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4428. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4429. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  4430. {
  4431. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4432. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4433. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4434. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  4435. {
  4436. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  4437. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4438. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4439. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  4440. {
  4441. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4442. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4443. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4444. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  4445. {
  4446. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  4447. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4448. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4449. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  4450. {
  4451. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4452. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4453. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4454. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  4455. {
  4456. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  4457. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4458. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4459. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  4460. {
  4461. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4462. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4463. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4464. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  4465. {
  4466. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  4467. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4468. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4469. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  4470. {
  4471. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4472. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4473. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4474. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  4475. {
  4476. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  4477. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4478. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4479. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  4480. {
  4481. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4482. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4483. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4484. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  4485. {
  4486. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4487. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4488. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4489. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  4490. {
  4491. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4492. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4493. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4494. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  4495. {
  4496. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4497. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4498. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4499. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  4500. {
  4501. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4502. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4503. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4504. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  4505. {
  4506. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4507. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4508. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4509. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  4510. {
  4511. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4512. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4513. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4514. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  4515. {
  4516. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4517. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4518. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4519. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  4520. {
  4521. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4522. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4523. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4524. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  4525. {
  4526. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4527. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4528. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4529. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  4530. {
  4531. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4532. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4533. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4534. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  4535. {
  4536. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4537. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4538. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4539. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  4540. {
  4541. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4542. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4543. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4544. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  4545. {
  4546. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  4547. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4548. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4549. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  4550. {
  4551. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  4552. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4553. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4554. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  4555. {
  4556. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  4557. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  4558. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4559. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  4560. {
  4561. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  4562. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  4563. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  4564. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  4565. {
  4566. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  4567. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  4568. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  4569. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  4570. {
  4571. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  4572. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  4573. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  4574. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  4575. {
  4576. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  4577. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  4578. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  4579. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  4580. {
  4581. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  4582. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  4583. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  4584. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  4585. {
  4586. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  4587. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  4588. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  4589. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  4590. {
  4591. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  4592. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  4593. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  4594. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  4595. {
  4596. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  4597. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  4598. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  4599. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  4600. {
  4601. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  4602. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4603. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  4604. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  4605. {
  4606. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  4607. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4608. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  4609. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  4610. {
  4611. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  4612. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  4613. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  4614. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  4615. };
  4616. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v11[] = {
  4617. {
  4618. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4619. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4620. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4621. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4622. {
  4623. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4624. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4625. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4626. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4627. {
  4628. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4629. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4630. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4631. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4632. {
  4633. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4634. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4635. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4636. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4637. {
  4638. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4639. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4640. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4641. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4642. {
  4643. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4644. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4645. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4646. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4647. {
  4648. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4649. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4650. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4651. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4652. {
  4653. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4654. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4655. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4656. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4657. {
  4658. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4659. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4660. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4661. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4662. {
  4663. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4664. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4665. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4666. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4667. {
  4668. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4669. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4670. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4671. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4672. {
  4673. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4674. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4675. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4676. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4677. {
  4678. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4679. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4680. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4681. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4682. {
  4683. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4684. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4685. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4686. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4687. {
  4688. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4689. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4690. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4691. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4692. {
  4693. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4694. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4695. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4696. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4697. {
  4698. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4699. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4700. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4701. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4702. {
  4703. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4704. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4705. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4706. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4707. {
  4708. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4709. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4710. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4711. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4712. {
  4713. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4714. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4715. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4716. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4717. {
  4718. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4719. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4720. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4721. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4722. {
  4723. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4724. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4725. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4726. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4727. {
  4728. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4729. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4730. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4731. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4732. {
  4733. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4734. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4735. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4736. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4737. {
  4738. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4739. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4740. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4741. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4742. {
  4743. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4744. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4745. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4746. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4747. {
  4748. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4749. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4750. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4751. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4752. {
  4753. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4754. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4755. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4756. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4757. {
  4758. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4759. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4760. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4761. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4762. {
  4763. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4764. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4765. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4766. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4767. {
  4768. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4769. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4770. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4771. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4772. {
  4773. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4774. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4775. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4776. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4777. {
  4778. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4779. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4780. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4781. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4782. {
  4783. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4784. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4785. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4786. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4787. {
  4788. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4789. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4790. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4791. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4792. {
  4793. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4794. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4795. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4796. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4797. {
  4798. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4799. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4800. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4801. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4802. {
  4803. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4804. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4805. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4806. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4807. {
  4808. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4809. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4810. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4811. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4812. {
  4813. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4814. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4815. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4816. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4817. {
  4818. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4819. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4820. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4821. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4822. {
  4823. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4824. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4825. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4826. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4827. {
  4828. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4829. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4830. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4831. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4832. {
  4833. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4834. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4835. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4836. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4837. {
  4838. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4839. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4840. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4841. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4842. {
  4843. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4844. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4845. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4846. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4847. {
  4848. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4849. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4850. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4851. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4852. {
  4853. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4854. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4855. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4856. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4857. {
  4858. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4859. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4860. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4861. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4862. {
  4863. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4864. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4865. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4866. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4867. {
  4868. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4869. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4870. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4871. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4872. {
  4873. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4874. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4875. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4876. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4877. {
  4878. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4879. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4880. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4881. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4882. {
  4883. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4884. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4885. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4886. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4887. {
  4888. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4889. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4890. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4891. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4892. {
  4893. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4894. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4895. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4896. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4897. {
  4898. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4899. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4900. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4901. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4902. {
  4903. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4904. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4905. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4906. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4907. {
  4908. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4909. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4910. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4911. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4912. {
  4913. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4914. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4915. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4916. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4917. {
  4918. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4919. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4920. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4921. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4922. {
  4923. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4924. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4925. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4926. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4927. {
  4928. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4929. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4930. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4931. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4932. {
  4933. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4934. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4935. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4936. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4937. {
  4938. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4939. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4940. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4941. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4942. {
  4943. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4944. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4945. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4946. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4947. {
  4948. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4949. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4950. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4951. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4952. {
  4953. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4954. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4955. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4956. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4957. {
  4958. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4959. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4960. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4961. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4962. {
  4963. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4964. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4965. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4966. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4967. {
  4968. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4969. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4970. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4971. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4972. {
  4973. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4974. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4975. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4976. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4977. {
  4978. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4979. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4980. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4981. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4982. {
  4983. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4984. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4985. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4986. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4987. {
  4988. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4989. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4990. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4991. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4992. {
  4993. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4994. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4995. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4996. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4997. {
  4998. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4999. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5000. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5001. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  5002. {
  5003. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5004. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5005. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5006. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  5007. {
  5008. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5009. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5010. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5011. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  5012. {
  5013. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5014. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5015. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5016. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  5017. {
  5018. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x05, 0x05, 0x02, 0x15, 0x01,
  5019. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5020. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5021. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  5022. {
  5023. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5024. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5025. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5026. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  5027. {
  5028. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5029. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5030. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5031. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  5032. {
  5033. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5034. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5035. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5036. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  5037. {
  5038. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5039. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5040. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5041. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  5042. {
  5043. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5044. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  5045. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5046. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  5047. {
  5048. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x05, 0x05, 0x02, 0x15, 0x01,
  5049. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5050. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5051. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  5052. {
  5053. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5054. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5055. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5056. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  5057. {
  5058. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x05, 0x05, 0x02, 0x15, 0x01,
  5059. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5060. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5061. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  5062. {
  5063. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5064. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5065. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5066. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  5067. {
  5068. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x05, 0x05, 0x02, 0x15, 0x01,
  5069. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5070. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5071. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  5072. {
  5073. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5074. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5075. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5076. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  5077. {
  5078. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x05, 0x05, 0x02, 0x15, 0x01,
  5079. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5080. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5081. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  5082. {
  5083. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5084. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5085. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5086. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  5087. {
  5088. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x05, 0x05, 0x02, 0x15, 0x01,
  5089. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5090. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5091. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  5092. {
  5093. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5094. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5095. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5096. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  5097. {
  5098. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x05, 0x05, 0x02, 0x15, 0x01,
  5099. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5100. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5101. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  5102. {
  5103. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5104. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5105. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5106. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  5107. {
  5108. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5109. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5110. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5111. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  5112. {
  5113. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5114. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5115. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5116. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  5117. {
  5118. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5119. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5120. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5121. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  5122. {
  5123. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5124. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5125. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5126. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  5127. {
  5128. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5129. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5130. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5131. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  5132. {
  5133. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5134. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5135. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5136. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  5137. {
  5138. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5139. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5140. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5141. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  5142. {
  5143. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5144. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5145. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5146. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  5147. {
  5148. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5149. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5150. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5151. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  5152. {
  5153. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5154. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5155. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5156. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  5157. {
  5158. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5159. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5160. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5161. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  5162. {
  5163. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5164. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5165. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5166. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  5167. {
  5168. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5169. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5170. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5171. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  5172. {
  5173. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5174. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5175. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5176. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  5177. {
  5178. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5179. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  5180. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5181. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  5182. {
  5183. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5184. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  5185. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  5186. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  5187. {
  5188. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5189. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  5190. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  5191. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  5192. {
  5193. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5194. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  5195. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  5196. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  5197. {
  5198. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5199. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  5200. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  5201. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  5202. {
  5203. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5204. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  5205. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  5206. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  5207. {
  5208. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5209. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  5210. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  5211. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  5212. {
  5213. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5214. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  5215. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  5216. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  5217. {
  5218. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5219. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  5220. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  5221. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  5222. {
  5223. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5224. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5225. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  5226. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  5227. {
  5228. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5229. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5230. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  5231. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  5232. {
  5233. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5234. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  5235. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  5236. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  5237. };
  5238. static const struct chan_info_nphy_radio2057 chan_info_nphyrev7_2057_rev4[] = {
  5239. {
  5240. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  5241. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5242. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  5243. 0x0215,
  5244. 0x0216,
  5245. },
  5246. {
  5247. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  5248. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5249. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  5250. 0x0214,
  5251. 0x0215,
  5252. },
  5253. {
  5254. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  5255. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5256. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  5257. 0x0213,
  5258. 0x0214,
  5259. },
  5260. {
  5261. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  5262. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5263. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  5264. 0x0212,
  5265. 0x0213,
  5266. },
  5267. {
  5268. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  5269. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5270. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  5271. 0x0211,
  5272. 0x0212,
  5273. },
  5274. {
  5275. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  5276. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5277. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  5278. 0x020f,
  5279. 0x0211,
  5280. },
  5281. {
  5282. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  5283. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5284. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  5285. 0x020e,
  5286. 0x020f,
  5287. },
  5288. {
  5289. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  5290. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5291. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  5292. 0x020d,
  5293. 0x020e,
  5294. },
  5295. {
  5296. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  5297. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5298. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  5299. 0x020c,
  5300. 0x020d,
  5301. },
  5302. {
  5303. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  5304. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5305. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  5306. 0x020b,
  5307. 0x020c,
  5308. },
  5309. {
  5310. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  5311. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5312. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  5313. 0x020a,
  5314. 0x020b,
  5315. },
  5316. {
  5317. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  5318. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5319. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  5320. 0x0209,
  5321. 0x020a,
  5322. },
  5323. {
  5324. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  5325. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5326. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  5327. 0x0208,
  5328. 0x0209,
  5329. },
  5330. {
  5331. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  5332. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5333. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  5334. 0x0207,
  5335. 0x0208,
  5336. },
  5337. {
  5338. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  5339. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5340. 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  5341. 0x0206,
  5342. 0x0207,
  5343. },
  5344. {
  5345. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  5346. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5347. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  5348. 0x0205,
  5349. 0x0206,
  5350. },
  5351. {
  5352. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  5353. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5354. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  5355. 0x0204,
  5356. 0x0205,
  5357. },
  5358. {
  5359. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  5360. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5361. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  5362. 0x0203,
  5363. 0x0204,
  5364. },
  5365. {
  5366. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  5367. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5368. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  5369. 0x0202,
  5370. 0x0203,
  5371. },
  5372. {
  5373. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  5374. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5375. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0800, 0x07fc, 0x07f8, 0x0200,
  5376. 0x0201,
  5377. 0x0202,
  5378. },
  5379. {
  5380. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  5381. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5382. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0804, 0x0800, 0x07fc, 0x01ff,
  5383. 0x0200,
  5384. 0x0201,
  5385. },
  5386. {
  5387. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  5388. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5389. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0808, 0x0804, 0x0800, 0x01fe,
  5390. 0x01ff,
  5391. 0x0200,
  5392. },
  5393. {
  5394. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  5395. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5396. 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x080c, 0x0808, 0x0804, 0x01fd,
  5397. 0x01fe,
  5398. 0x01ff,
  5399. },
  5400. {
  5401. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  5402. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5403. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0814, 0x0810, 0x080c, 0x01fb,
  5404. 0x01fc,
  5405. 0x01fd,
  5406. },
  5407. {
  5408. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  5409. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5410. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0818, 0x0814, 0x0810, 0x01fa,
  5411. 0x01fb,
  5412. 0x01fc,
  5413. },
  5414. {
  5415. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  5416. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5417. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x081c, 0x0818, 0x0814, 0x01f9,
  5418. 0x01fa,
  5419. 0x01fb,
  5420. },
  5421. {
  5422. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  5423. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5424. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0820, 0x081c, 0x0818, 0x01f8,
  5425. 0x01f9,
  5426. 0x01fa,
  5427. },
  5428. {
  5429. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  5430. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5431. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0824, 0x0820, 0x081c, 0x01f7,
  5432. 0x01f8,
  5433. 0x01f9,
  5434. },
  5435. {
  5436. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  5437. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5438. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0828, 0x0824, 0x0820, 0x01f6,
  5439. 0x01f7,
  5440. 0x01f8,
  5441. },
  5442. {
  5443. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  5444. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5445. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x082c, 0x0828, 0x0824, 0x01f5,
  5446. 0x01f6,
  5447. 0x01f7,
  5448. },
  5449. {
  5450. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  5451. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5452. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0830, 0x082c, 0x0828, 0x01f4,
  5453. 0x01f5,
  5454. 0x01f6,
  5455. },
  5456. {
  5457. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  5458. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5459. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0834, 0x0830, 0x082c, 0x01f3,
  5460. 0x01f4,
  5461. 0x01f5,
  5462. },
  5463. {
  5464. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  5465. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5466. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0838, 0x0834, 0x0830, 0x01f2,
  5467. 0x01f3,
  5468. 0x01f4,
  5469. },
  5470. {
  5471. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  5472. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5473. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x083c, 0x0838, 0x0834, 0x01f1,
  5474. 0x01f2,
  5475. 0x01f3,
  5476. },
  5477. {
  5478. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  5479. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5480. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x0840, 0x083c, 0x0838, 0x01f0,
  5481. 0x01f1,
  5482. 0x01f2,
  5483. },
  5484. {
  5485. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  5486. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5487. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0844, 0x0840, 0x083c, 0x01f0,
  5488. 0x01f0,
  5489. 0x01f1,
  5490. },
  5491. {
  5492. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  5493. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5494. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0848, 0x0844, 0x0840, 0x01ef,
  5495. 0x01f0,
  5496. 0x01f0,
  5497. },
  5498. {
  5499. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  5500. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5501. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x084c, 0x0848, 0x0844, 0x01ee,
  5502. 0x01ef,
  5503. 0x01f0,
  5504. },
  5505. {
  5506. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  5507. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5508. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0850, 0x084c, 0x0848, 0x01ed,
  5509. 0x01ee,
  5510. 0x01ef,
  5511. },
  5512. {
  5513. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  5514. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5515. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0854, 0x0850, 0x084c, 0x01ec,
  5516. 0x01ed,
  5517. 0x01ee,
  5518. },
  5519. {
  5520. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  5521. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5522. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0858, 0x0854, 0x0850, 0x01eb,
  5523. 0x01ec,
  5524. 0x01ed,
  5525. },
  5526. {
  5527. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  5528. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x00,
  5529. 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x085c, 0x0858, 0x0854, 0x01ea,
  5530. 0x01eb,
  5531. 0x01ec,
  5532. },
  5533. {
  5534. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  5535. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5536. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0860, 0x085c, 0x0858, 0x01e9,
  5537. 0x01ea,
  5538. 0x01eb,
  5539. },
  5540. {
  5541. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  5542. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5543. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0864, 0x0860, 0x085c, 0x01e8,
  5544. 0x01e9,
  5545. 0x01ea,
  5546. },
  5547. {
  5548. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  5549. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5550. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0868, 0x0864, 0x0860, 0x01e7,
  5551. 0x01e8,
  5552. 0x01e9,
  5553. },
  5554. {
  5555. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  5556. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5557. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x086c, 0x0868, 0x0864, 0x01e6,
  5558. 0x01e7,
  5559. 0x01e8,
  5560. },
  5561. {
  5562. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  5563. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x00,
  5564. 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x0870, 0x086c, 0x0868, 0x01e5,
  5565. 0x01e6,
  5566. 0x01e7,
  5567. },
  5568. {
  5569. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  5570. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5571. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0874, 0x0870, 0x086c, 0x01e5,
  5572. 0x01e5,
  5573. 0x01e6,
  5574. },
  5575. {
  5576. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  5577. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5578. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0878, 0x0874, 0x0870, 0x01e4,
  5579. 0x01e5,
  5580. 0x01e5,
  5581. },
  5582. {
  5583. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  5584. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x00,
  5585. 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x087c, 0x0878, 0x0874, 0x01e3,
  5586. 0x01e4,
  5587. 0x01e5,
  5588. },
  5589. {
  5590. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  5591. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5592. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0880, 0x087c, 0x0878, 0x01e2,
  5593. 0x01e3,
  5594. 0x01e4,
  5595. },
  5596. {
  5597. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  5598. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5599. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0884, 0x0880, 0x087c, 0x01e1,
  5600. 0x01e2,
  5601. 0x01e3,
  5602. },
  5603. {
  5604. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  5605. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5606. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0888, 0x0884, 0x0880, 0x01e0,
  5607. 0x01e1,
  5608. 0x01e2,
  5609. },
  5610. {
  5611. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  5612. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x00,
  5613. 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x088c, 0x0888, 0x0884, 0x01df,
  5614. 0x01e0,
  5615. 0x01e1,
  5616. },
  5617. {
  5618. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  5619. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x00,
  5620. 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x0890, 0x088c, 0x0888, 0x01de,
  5621. 0x01df,
  5622. 0x01e0,
  5623. },
  5624. {
  5625. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  5626. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5627. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0894, 0x0890, 0x088c, 0x01dd,
  5628. 0x01de,
  5629. 0x01df,
  5630. },
  5631. {
  5632. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  5633. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5634. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0898, 0x0894, 0x0890, 0x01dd,
  5635. 0x01dd,
  5636. 0x01de,
  5637. },
  5638. {
  5639. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  5640. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5641. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x089c, 0x0898, 0x0894, 0x01dc,
  5642. 0x01dd,
  5643. 0x01dd,
  5644. },
  5645. {
  5646. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  5647. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5648. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x08a0, 0x089c, 0x0898, 0x01db,
  5649. 0x01dc,
  5650. 0x01dd,
  5651. },
  5652. {
  5653. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  5654. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5655. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a4, 0x08a0, 0x089c, 0x01da,
  5656. 0x01db,
  5657. 0x01dc,
  5658. },
  5659. {
  5660. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  5661. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5662. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  5663. 0x01da,
  5664. 0x01db,
  5665. },
  5666. {
  5667. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  5668. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5669. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  5670. 0x01d9,
  5671. 0x01da,
  5672. },
  5673. {
  5674. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  5675. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5676. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  5677. 0x01d8,
  5678. 0x01d9,
  5679. },
  5680. {
  5681. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  5682. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5683. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  5684. 0x01d7,
  5685. 0x01d8,
  5686. },
  5687. {
  5688. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  5689. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5690. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  5691. 0x01d7,
  5692. 0x01d7,
  5693. },
  5694. {
  5695. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  5696. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x00,
  5697. 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  5698. 0x01d6,
  5699. 0x01d7,
  5700. },
  5701. {
  5702. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  5703. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x00,
  5704. 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  5705. 0x01d5,
  5706. 0x01d6,
  5707. },
  5708. {
  5709. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  5710. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x00,
  5711. 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  5712. 0x01d4,
  5713. 0x01d5,
  5714. },
  5715. {
  5716. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  5717. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5718. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  5719. 0x01d3,
  5720. 0x01d4,
  5721. },
  5722. {
  5723. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  5724. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5725. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  5726. 0x01d2,
  5727. 0x01d3,
  5728. },
  5729. {
  5730. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  5731. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5732. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  5733. 0x01d2,
  5734. 0x01d2,
  5735. },
  5736. {
  5737. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  5738. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5739. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  5740. 0x01d1,
  5741. 0x01d2,
  5742. },
  5743. {
  5744. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  5745. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5746. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  5747. 0x01d0,
  5748. 0x01d1,
  5749. },
  5750. {
  5751. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  5752. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5753. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  5754. 0x01cf,
  5755. 0x01d0,
  5756. },
  5757. {
  5758. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  5759. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x00,
  5760. 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  5761. 0x01ce,
  5762. 0x01cf,
  5763. },
  5764. {
  5765. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  5766. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5767. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  5768. 0x01ce,
  5769. 0x01ce,
  5770. },
  5771. {
  5772. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  5773. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5774. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  5775. 0x01cd,
  5776. 0x01ce,
  5777. },
  5778. {
  5779. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  5780. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5781. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  5782. 0x01cc,
  5783. 0x01cd,
  5784. },
  5785. {
  5786. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  5787. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5788. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  5789. 0x01cb,
  5790. 0x01cc,
  5791. },
  5792. {
  5793. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  5794. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5795. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  5796. 0x01ca,
  5797. 0x01cb,
  5798. },
  5799. {
  5800. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  5801. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x00,
  5802. 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  5803. 0x01ca,
  5804. 0x01cb,
  5805. },
  5806. {
  5807. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  5808. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5809. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  5810. 0x01c9,
  5811. 0x01ca,
  5812. },
  5813. {
  5814. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  5815. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5816. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  5817. 0x01c9,
  5818. 0x01ca,
  5819. },
  5820. {
  5821. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  5822. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5823. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  5824. 0x01c9,
  5825. 0x01c9,
  5826. },
  5827. {
  5828. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  5829. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5830. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  5831. 0x01c8,
  5832. 0x01c9,
  5833. },
  5834. {
  5835. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  5836. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5837. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  5838. 0x01c8,
  5839. 0x01c9,
  5840. },
  5841. {
  5842. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  5843. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5844. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  5845. 0x01c8,
  5846. 0x01c8,
  5847. },
  5848. {
  5849. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  5850. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5851. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  5852. 0x01c7,
  5853. 0x01c8,
  5854. },
  5855. {
  5856. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  5857. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5858. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  5859. 0x01c7,
  5860. 0x01c8,
  5861. },
  5862. {
  5863. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  5864. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5865. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  5866. 0x01c6,
  5867. 0x01c7,
  5868. },
  5869. {
  5870. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  5871. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5872. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  5873. 0x01c6,
  5874. 0x01c7,
  5875. },
  5876. {
  5877. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  5878. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x00,
  5879. 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  5880. 0x01c6,
  5881. 0x01c6,
  5882. },
  5883. {
  5884. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  5885. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5886. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  5887. 0x01c5,
  5888. 0x01c6,
  5889. },
  5890. {
  5891. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  5892. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5893. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  5894. 0x01c5,
  5895. 0x01c6,
  5896. },
  5897. {
  5898. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  5899. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5900. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  5901. 0x01c4,
  5902. 0x01c5,
  5903. },
  5904. {
  5905. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  5906. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5907. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  5908. 0x01c4,
  5909. 0x01c5,
  5910. },
  5911. {
  5912. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  5913. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5914. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  5915. 0x01c4,
  5916. 0x01c4,
  5917. },
  5918. {
  5919. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  5920. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5921. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  5922. 0x01c3,
  5923. 0x01c4,
  5924. },
  5925. {
  5926. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  5927. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5928. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  5929. 0x01c3,
  5930. 0x01c4,
  5931. },
  5932. {
  5933. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  5934. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5935. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  5936. 0x01c2,
  5937. 0x01c3,
  5938. },
  5939. {
  5940. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  5941. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5942. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  5943. 0x01c2,
  5944. 0x01c3,
  5945. },
  5946. {
  5947. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  5948. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5949. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  5950. 0x01c2,
  5951. 0x01c2,
  5952. },
  5953. {
  5954. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  5955. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5956. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  5957. 0x01c1,
  5958. 0x01c2,
  5959. },
  5960. {
  5961. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  5962. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5963. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  5964. 0x01c0,
  5965. 0x01c1,
  5966. },
  5967. {
  5968. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  5969. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5970. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  5971. 0x01bf,
  5972. 0x01c0,
  5973. },
  5974. {
  5975. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  5976. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5977. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  5978. 0x01bf,
  5979. 0x01bf,
  5980. },
  5981. {
  5982. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  5983. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5984. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  5985. 0x01be,
  5986. 0x01bf,
  5987. },
  5988. {
  5989. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  5990. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5991. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  5992. 0x01bd,
  5993. 0x01be,
  5994. },
  5995. {
  5996. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  5997. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5998. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  5999. 0x01bc,
  6000. 0x01bd,
  6001. },
  6002. {
  6003. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6004. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6005. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6006. 0x043f,
  6007. 0x0443,
  6008. },
  6009. {
  6010. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6011. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6012. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6013. 0x043d,
  6014. 0x0441,
  6015. },
  6016. {
  6017. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6018. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6019. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6020. 0x043a,
  6021. 0x043f,
  6022. },
  6023. {
  6024. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6025. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6026. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6027. 0x0438,
  6028. 0x043d,
  6029. },
  6030. {
  6031. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6032. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6033. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6034. 0x0436,
  6035. 0x043a,
  6036. },
  6037. {
  6038. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6039. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6040. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6041. 0x0434,
  6042. 0x0438,
  6043. },
  6044. {
  6045. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6046. 0x07, 0x00, 0x07, 0x00, 0x51, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6047. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6048. 0x0431,
  6049. 0x0436,
  6050. },
  6051. {
  6052. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6053. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6054. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6055. 0x042f,
  6056. 0x0434,
  6057. },
  6058. {
  6059. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6060. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6061. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6062. 0x042d,
  6063. 0x0431,
  6064. },
  6065. {
  6066. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6067. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6068. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6069. 0x042b,
  6070. 0x042f,
  6071. },
  6072. {
  6073. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6074. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6075. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6076. 0x0429,
  6077. 0x042d,
  6078. },
  6079. {
  6080. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6081. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6082. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6083. 0x0427,
  6084. 0x042b,
  6085. },
  6086. {
  6087. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6088. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6089. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6090. 0x0424,
  6091. 0x0429,
  6092. },
  6093. {
  6094. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6095. 0x04, 0x00, 0x04, 0x00, 0x11, 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x11,
  6096. 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6097. 0x041f,
  6098. 0x0424}
  6099. };
  6100. static const struct chan_info_nphy_radio2057_rev5
  6101. chan_info_nphyrev8_2057_rev5[] = {
  6102. {
  6103. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6104. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6105. 0x043a, 0x043f, 0x0443},
  6106. {
  6107. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6108. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6109. 0x0438, 0x043d, 0x0441},
  6110. {
  6111. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6112. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6113. 0x0436, 0x043a, 0x043f},
  6114. {
  6115. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6116. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6117. 0x0434, 0x0438, 0x043d},
  6118. {
  6119. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6120. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6121. 0x0431, 0x0436, 0x043a},
  6122. {
  6123. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6124. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6125. 0x042f, 0x0434, 0x0438},
  6126. {
  6127. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6128. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6129. 0x042d, 0x0431, 0x0436},
  6130. {
  6131. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6132. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6133. 0x042b, 0x042f, 0x0434},
  6134. {
  6135. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6136. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6137. 0x0429, 0x042d, 0x0431},
  6138. {
  6139. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6140. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6141. 0x0427, 0x042b, 0x042f},
  6142. {
  6143. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6144. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6145. 0x0424, 0x0429, 0x042d},
  6146. {
  6147. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6148. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6149. 0x0422, 0x0427, 0x042b},
  6150. {
  6151. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6152. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6153. 0x0420, 0x0424, 0x0429},
  6154. {
  6155. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6156. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6157. 0x041b, 0x041f, 0x0424}
  6158. };
  6159. static const struct chan_info_nphy_radio2057_rev5
  6160. chan_info_nphyrev9_2057_rev5v1[] = {
  6161. {
  6162. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6163. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6164. 0x043a, 0x043f, 0x0443},
  6165. {
  6166. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6167. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6168. 0x0438, 0x043d, 0x0441},
  6169. {
  6170. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6171. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6172. 0x0436, 0x043a, 0x043f},
  6173. {
  6174. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6175. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6176. 0x0434, 0x0438, 0x043d},
  6177. {
  6178. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6179. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6180. 0x0431, 0x0436, 0x043a},
  6181. {
  6182. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6183. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6184. 0x042f, 0x0434, 0x0438},
  6185. {
  6186. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6187. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6188. 0x042d, 0x0431, 0x0436},
  6189. {
  6190. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6191. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6192. 0x042b, 0x042f, 0x0434},
  6193. {
  6194. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6195. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6196. 0x0429, 0x042d, 0x0431},
  6197. {
  6198. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6199. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6200. 0x0427, 0x042b, 0x042f},
  6201. {
  6202. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6203. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6204. 0x0424, 0x0429, 0x042d},
  6205. {
  6206. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6207. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6208. 0x0422, 0x0427, 0x042b},
  6209. {
  6210. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6211. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6212. 0x0420, 0x0424, 0x0429},
  6213. {
  6214. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6215. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6216. 0x041b, 0x041f, 0x0424}
  6217. };
  6218. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev7[] = {
  6219. {
  6220. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  6221. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6222. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  6223. 0x0215,
  6224. 0x0216},
  6225. {
  6226. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6227. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6228. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6229. 0x0214,
  6230. 0x0215},
  6231. {
  6232. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6233. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6234. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6235. 0x0213,
  6236. 0x0214},
  6237. {
  6238. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6239. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6240. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6241. 0x0212,
  6242. 0x0213},
  6243. {
  6244. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6245. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6246. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6247. 0x0211,
  6248. 0x0212},
  6249. {
  6250. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6251. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6252. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6253. 0x020f,
  6254. 0x0211},
  6255. {
  6256. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6257. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6258. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6259. 0x020e,
  6260. 0x020f},
  6261. {
  6262. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6263. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6264. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  6265. 0x020d,
  6266. 0x020e},
  6267. {
  6268. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  6269. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6270. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  6271. 0x020c,
  6272. 0x020d},
  6273. {
  6274. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  6275. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6276. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  6277. 0x020b,
  6278. 0x020c},
  6279. {
  6280. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  6281. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6282. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  6283. 0x020a,
  6284. 0x020b},
  6285. {
  6286. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  6287. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6288. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  6289. 0x0209,
  6290. 0x020a},
  6291. {
  6292. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  6293. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6294. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  6295. 0x0208,
  6296. 0x0209},
  6297. {
  6298. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  6299. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6300. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  6301. 0x0207,
  6302. 0x0208},
  6303. {
  6304. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  6305. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6306. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  6307. 0x0206,
  6308. 0x0207},
  6309. {
  6310. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  6311. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6312. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  6313. 0x0205,
  6314. 0x0206},
  6315. {
  6316. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  6317. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6318. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  6319. 0x0204,
  6320. 0x0205},
  6321. {
  6322. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  6323. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6324. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  6325. 0x0203,
  6326. 0x0204},
  6327. {
  6328. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  6329. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6330. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  6331. 0x0202,
  6332. 0x0203},
  6333. {
  6334. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  6335. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6336. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  6337. 0x0201,
  6338. 0x0202},
  6339. {
  6340. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  6341. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6342. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  6343. 0x0200,
  6344. 0x0201},
  6345. {
  6346. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  6347. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6348. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  6349. 0x01ff,
  6350. 0x0200},
  6351. {
  6352. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  6353. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6354. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  6355. 0x01fe,
  6356. 0x01ff},
  6357. {
  6358. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  6359. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6360. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  6361. 0x01fc,
  6362. 0x01fd},
  6363. {
  6364. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  6365. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6366. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  6367. 0x01fb,
  6368. 0x01fc},
  6369. {
  6370. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  6371. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6372. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  6373. 0x01fa,
  6374. 0x01fb},
  6375. {
  6376. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  6377. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6378. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  6379. 0x01f9,
  6380. 0x01fa},
  6381. {
  6382. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  6383. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6384. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  6385. 0x01f8,
  6386. 0x01f9},
  6387. {
  6388. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  6389. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6390. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  6391. 0x01f7,
  6392. 0x01f8},
  6393. {
  6394. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  6395. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6396. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  6397. 0x01f6,
  6398. 0x01f7},
  6399. {
  6400. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  6401. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6402. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  6403. 0x01f5,
  6404. 0x01f6},
  6405. {
  6406. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  6407. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6408. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  6409. 0x01f4,
  6410. 0x01f5},
  6411. {
  6412. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  6413. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6414. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  6415. 0x01f3,
  6416. 0x01f4},
  6417. {
  6418. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  6419. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6420. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  6421. 0x01f2,
  6422. 0x01f3},
  6423. {
  6424. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  6425. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6426. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  6427. 0x01f1,
  6428. 0x01f2},
  6429. {
  6430. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  6431. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6432. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  6433. 0x01f0,
  6434. 0x01f1},
  6435. {
  6436. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  6437. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6438. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  6439. 0x01f0,
  6440. 0x01f0},
  6441. {
  6442. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  6443. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6444. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  6445. 0x01ef,
  6446. 0x01f0},
  6447. {
  6448. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  6449. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6450. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  6451. 0x01ee,
  6452. 0x01ef},
  6453. {
  6454. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  6455. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6456. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  6457. 0x01ed,
  6458. 0x01ee},
  6459. {
  6460. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  6461. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6462. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  6463. 0x01ec,
  6464. 0x01ed},
  6465. {
  6466. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  6467. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6468. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  6469. 0x01eb,
  6470. 0x01ec},
  6471. {
  6472. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  6473. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6474. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  6475. 0x01ea,
  6476. 0x01eb},
  6477. {
  6478. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  6479. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6480. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  6481. 0x01e9,
  6482. 0x01ea},
  6483. {
  6484. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  6485. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6486. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  6487. 0x01e8,
  6488. 0x01e9},
  6489. {
  6490. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  6491. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6492. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  6493. 0x01e7,
  6494. 0x01e8},
  6495. {
  6496. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  6497. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6498. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  6499. 0x01e6,
  6500. 0x01e7},
  6501. {
  6502. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  6503. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6504. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  6505. 0x01e5,
  6506. 0x01e6},
  6507. {
  6508. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  6509. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6510. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  6511. 0x01e5,
  6512. 0x01e5},
  6513. {
  6514. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  6515. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6516. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  6517. 0x01e4,
  6518. 0x01e5},
  6519. {
  6520. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  6521. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6522. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  6523. 0x01e3,
  6524. 0x01e4},
  6525. {
  6526. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  6527. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6528. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  6529. 0x01e2,
  6530. 0x01e3},
  6531. {
  6532. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  6533. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6534. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  6535. 0x01e1,
  6536. 0x01e2},
  6537. {
  6538. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  6539. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6540. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  6541. 0x01e0,
  6542. 0x01e1},
  6543. {
  6544. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  6545. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6546. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  6547. 0x01df,
  6548. 0x01e0},
  6549. {
  6550. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  6551. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6552. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  6553. 0x01de,
  6554. 0x01df},
  6555. {
  6556. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  6557. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6558. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  6559. 0x01dd,
  6560. 0x01de},
  6561. {
  6562. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  6563. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6564. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  6565. 0x01dd,
  6566. 0x01dd},
  6567. {
  6568. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  6569. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6570. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  6571. 0x01dc,
  6572. 0x01dd},
  6573. {
  6574. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  6575. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6576. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  6577. 0x01db,
  6578. 0x01dc},
  6579. {
  6580. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  6581. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6582. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  6583. 0x01da,
  6584. 0x01db},
  6585. {
  6586. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  6587. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6588. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  6589. 0x01d9,
  6590. 0x01da},
  6591. {
  6592. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  6593. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6594. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  6595. 0x01d8,
  6596. 0x01d9},
  6597. {
  6598. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  6599. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6600. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  6601. 0x01d7,
  6602. 0x01d8},
  6603. {
  6604. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  6605. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6606. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  6607. 0x01d7,
  6608. 0x01d7},
  6609. {
  6610. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  6611. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6612. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  6613. 0x01d6,
  6614. 0x01d7},
  6615. {
  6616. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  6617. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6618. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  6619. 0x01d5,
  6620. 0x01d6},
  6621. {
  6622. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  6623. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6624. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  6625. 0x01d4,
  6626. 0x01d5},
  6627. {
  6628. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  6629. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6630. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  6631. 0x01d3,
  6632. 0x01d4},
  6633. {
  6634. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  6635. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6636. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  6637. 0x01d2,
  6638. 0x01d3},
  6639. {
  6640. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  6641. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6642. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  6643. 0x01d2,
  6644. 0x01d2},
  6645. {
  6646. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  6647. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6648. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  6649. 0x01d1,
  6650. 0x01d2},
  6651. {
  6652. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  6653. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6654. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  6655. 0x01d0,
  6656. 0x01d1},
  6657. {
  6658. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  6659. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6660. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  6661. 0x01cf,
  6662. 0x01d0},
  6663. {
  6664. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  6665. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6666. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  6667. 0x01ce,
  6668. 0x01cf},
  6669. {
  6670. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  6671. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6672. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  6673. 0x01ce,
  6674. 0x01ce},
  6675. {
  6676. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  6677. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6678. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  6679. 0x01cd,
  6680. 0x01ce},
  6681. {
  6682. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  6683. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6684. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  6685. 0x01cc,
  6686. 0x01cd},
  6687. {
  6688. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  6689. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6690. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  6691. 0x01cb,
  6692. 0x01cc},
  6693. {
  6694. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  6695. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6696. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  6697. 0x01ca,
  6698. 0x01cb},
  6699. {
  6700. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  6701. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6702. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  6703. 0x01ca,
  6704. 0x01cb},
  6705. {
  6706. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  6707. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6708. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  6709. 0x01c9,
  6710. 0x01ca},
  6711. {
  6712. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  6713. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6714. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  6715. 0x01c9,
  6716. 0x01ca},
  6717. {
  6718. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  6719. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6720. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  6721. 0x01c9,
  6722. 0x01c9},
  6723. {
  6724. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  6725. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6726. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  6727. 0x01c8,
  6728. 0x01c9},
  6729. {
  6730. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  6731. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6732. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  6733. 0x01c8,
  6734. 0x01c9},
  6735. {
  6736. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  6737. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6738. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  6739. 0x01c8,
  6740. 0x01c8},
  6741. {
  6742. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  6743. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6744. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  6745. 0x01c7,
  6746. 0x01c8},
  6747. {
  6748. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  6749. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6750. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  6751. 0x01c7,
  6752. 0x01c8},
  6753. {
  6754. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  6755. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6756. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  6757. 0x01c6,
  6758. 0x01c7},
  6759. {
  6760. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  6761. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6762. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  6763. 0x01c6,
  6764. 0x01c7},
  6765. {
  6766. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  6767. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6768. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  6769. 0x01c6,
  6770. 0x01c6},
  6771. {
  6772. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  6773. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6774. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  6775. 0x01c5,
  6776. 0x01c6},
  6777. {
  6778. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  6779. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6780. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  6781. 0x01c5,
  6782. 0x01c6},
  6783. {
  6784. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  6785. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6786. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  6787. 0x01c4,
  6788. 0x01c5},
  6789. {
  6790. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  6791. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  6792. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  6793. 0x01c4,
  6794. 0x01c5},
  6795. {
  6796. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  6797. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6798. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  6799. 0x01c4,
  6800. 0x01c4},
  6801. {
  6802. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  6803. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6804. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  6805. 0x01c3,
  6806. 0x01c4},
  6807. {
  6808. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  6809. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6810. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  6811. 0x01c3,
  6812. 0x01c4},
  6813. {
  6814. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  6815. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6816. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  6817. 0x01c2,
  6818. 0x01c3},
  6819. {
  6820. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  6821. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6822. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  6823. 0x01c2,
  6824. 0x01c3},
  6825. {
  6826. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  6827. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6828. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  6829. 0x01c2,
  6830. 0x01c2},
  6831. {
  6832. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  6833. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6834. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  6835. 0x01c1,
  6836. 0x01c2},
  6837. {
  6838. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  6839. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6840. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  6841. 0x01c0,
  6842. 0x01c1},
  6843. {
  6844. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  6845. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6846. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  6847. 0x01bf,
  6848. 0x01c0},
  6849. {
  6850. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  6851. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6852. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  6853. 0x01bf,
  6854. 0x01bf},
  6855. {
  6856. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  6857. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6858. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  6859. 0x01be,
  6860. 0x01bf},
  6861. {
  6862. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  6863. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6864. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  6865. 0x01bd,
  6866. 0x01be},
  6867. {
  6868. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  6869. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6870. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6871. 0x01bc,
  6872. 0x01bd},
  6873. {
  6874. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6875. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6876. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6877. 0x043f,
  6878. 0x0443},
  6879. {
  6880. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6881. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6882. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6883. 0x043d,
  6884. 0x0441},
  6885. {
  6886. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6887. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6888. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6889. 0x043a,
  6890. 0x043f},
  6891. {
  6892. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6893. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6894. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6895. 0x0438,
  6896. 0x043d},
  6897. {
  6898. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6899. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6900. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6901. 0x0436,
  6902. 0x043a},
  6903. {
  6904. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6905. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6906. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6907. 0x0434,
  6908. 0x0438},
  6909. {
  6910. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6911. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6912. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6913. 0x0431,
  6914. 0x0436},
  6915. {
  6916. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6917. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6918. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6919. 0x042f,
  6920. 0x0434},
  6921. {
  6922. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6923. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6924. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6925. 0x042d,
  6926. 0x0431},
  6927. {
  6928. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6929. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6930. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6931. 0x042b,
  6932. 0x042f},
  6933. {
  6934. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6935. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6936. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6937. 0x0429,
  6938. 0x042d},
  6939. {
  6940. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6941. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6942. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6943. 0x0427,
  6944. 0x042b},
  6945. {
  6946. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6947. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6948. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6949. 0x0424,
  6950. 0x0429},
  6951. {
  6952. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6953. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  6954. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6955. 0x041f,
  6956. 0x0424}
  6957. };
  6958. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev8[] = {
  6959. {
  6960. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6961. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6962. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6963. 0x0214,
  6964. 0x0215},
  6965. {
  6966. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6967. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6968. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6969. 0x0213,
  6970. 0x0214},
  6971. {
  6972. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6973. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6974. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6975. 0x0212,
  6976. 0x0213},
  6977. {
  6978. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6979. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6980. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6981. 0x0211,
  6982. 0x0212},
  6983. {
  6984. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6985. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6986. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6987. 0x020f,
  6988. 0x0211},
  6989. {
  6990. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6991. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6992. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6993. 0x020e,
  6994. 0x020f},
  6995. {
  6996. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6997. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6998. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  6999. 0x020d,
  7000. 0x020e},
  7001. {
  7002. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  7003. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7004. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  7005. 0x020c,
  7006. 0x020d},
  7007. {
  7008. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  7009. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7010. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  7011. 0x020b,
  7012. 0x020c},
  7013. {
  7014. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  7015. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7016. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  7017. 0x020a,
  7018. 0x020b},
  7019. {
  7020. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  7021. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7022. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  7023. 0x0209,
  7024. 0x020a},
  7025. {
  7026. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  7027. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7028. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  7029. 0x0208,
  7030. 0x0209},
  7031. {
  7032. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  7033. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7034. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  7035. 0x0207,
  7036. 0x0208},
  7037. {
  7038. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  7039. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7040. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  7041. 0x0206,
  7042. 0x0207},
  7043. {
  7044. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  7045. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7046. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  7047. 0x0205,
  7048. 0x0206},
  7049. {
  7050. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  7051. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7052. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  7053. 0x0204,
  7054. 0x0205},
  7055. {
  7056. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  7057. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7058. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  7059. 0x0203,
  7060. 0x0204},
  7061. {
  7062. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  7063. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7064. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  7065. 0x0202,
  7066. 0x0203},
  7067. {
  7068. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  7069. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7070. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  7071. 0x0201,
  7072. 0x0202},
  7073. {
  7074. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  7075. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7076. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  7077. 0x0200,
  7078. 0x0201},
  7079. {
  7080. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  7081. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7082. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  7083. 0x01ff,
  7084. 0x0200},
  7085. {
  7086. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  7087. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7088. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  7089. 0x01fe,
  7090. 0x01ff},
  7091. {
  7092. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  7093. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7094. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  7095. 0x01fc,
  7096. 0x01fd},
  7097. {
  7098. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  7099. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7100. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  7101. 0x01fb,
  7102. 0x01fc},
  7103. {
  7104. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  7105. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7106. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  7107. 0x01fa,
  7108. 0x01fb},
  7109. {
  7110. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  7111. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7112. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  7113. 0x01f9,
  7114. 0x01fa},
  7115. {
  7116. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  7117. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7118. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  7119. 0x01f8,
  7120. 0x01f9},
  7121. {
  7122. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  7123. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7124. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  7125. 0x01f7,
  7126. 0x01f8},
  7127. {
  7128. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  7129. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7130. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  7131. 0x01f6,
  7132. 0x01f7},
  7133. {
  7134. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  7135. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7136. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  7137. 0x01f5,
  7138. 0x01f6},
  7139. {
  7140. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  7141. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7142. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  7143. 0x01f4,
  7144. 0x01f5},
  7145. {
  7146. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  7147. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7148. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  7149. 0x01f3,
  7150. 0x01f4},
  7151. {
  7152. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  7153. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7154. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  7155. 0x01f2,
  7156. 0x01f3},
  7157. {
  7158. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  7159. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7160. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  7161. 0x01f1,
  7162. 0x01f2},
  7163. {
  7164. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  7165. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7166. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  7167. 0x01f0,
  7168. 0x01f1},
  7169. {
  7170. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  7171. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7172. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  7173. 0x01f0,
  7174. 0x01f0},
  7175. {
  7176. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  7177. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7178. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  7179. 0x01ef,
  7180. 0x01f0},
  7181. {
  7182. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  7183. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7184. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  7185. 0x01ee,
  7186. 0x01ef},
  7187. {
  7188. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  7189. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7190. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  7191. 0x01ed,
  7192. 0x01ee},
  7193. {
  7194. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  7195. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7196. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  7197. 0x01ec,
  7198. 0x01ed},
  7199. {
  7200. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  7201. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7202. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  7203. 0x01eb,
  7204. 0x01ec},
  7205. {
  7206. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  7207. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7208. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  7209. 0x01ea,
  7210. 0x01eb},
  7211. {
  7212. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  7213. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7214. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  7215. 0x01e9,
  7216. 0x01ea},
  7217. {
  7218. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  7219. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7220. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  7221. 0x01e8,
  7222. 0x01e9},
  7223. {
  7224. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  7225. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7226. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  7227. 0x01e7,
  7228. 0x01e8},
  7229. {
  7230. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  7231. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7232. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  7233. 0x01e6,
  7234. 0x01e7},
  7235. {
  7236. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  7237. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7238. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  7239. 0x01e5,
  7240. 0x01e6},
  7241. {
  7242. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  7243. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7244. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  7245. 0x01e5,
  7246. 0x01e5},
  7247. {
  7248. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  7249. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7250. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  7251. 0x01e4,
  7252. 0x01e5},
  7253. {
  7254. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  7255. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7256. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  7257. 0x01e3,
  7258. 0x01e4},
  7259. {
  7260. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  7261. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7262. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  7263. 0x01e2,
  7264. 0x01e3},
  7265. {
  7266. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  7267. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7268. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  7269. 0x01e1,
  7270. 0x01e2},
  7271. {
  7272. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  7273. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7274. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  7275. 0x01e0,
  7276. 0x01e1},
  7277. {
  7278. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  7279. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7280. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  7281. 0x01df,
  7282. 0x01e0},
  7283. {
  7284. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  7285. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7286. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  7287. 0x01de,
  7288. 0x01df},
  7289. {
  7290. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  7291. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7292. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  7293. 0x01dd,
  7294. 0x01de},
  7295. {
  7296. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  7297. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7298. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  7299. 0x01dd,
  7300. 0x01dd},
  7301. {
  7302. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  7303. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7304. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  7305. 0x01dc,
  7306. 0x01dd},
  7307. {
  7308. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  7309. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7310. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  7311. 0x01db,
  7312. 0x01dc},
  7313. {
  7314. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  7315. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7316. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  7317. 0x01da,
  7318. 0x01db},
  7319. {
  7320. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  7321. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7322. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  7323. 0x01d9,
  7324. 0x01da},
  7325. {
  7326. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  7327. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7328. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  7329. 0x01d8,
  7330. 0x01d9},
  7331. {
  7332. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  7333. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7334. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  7335. 0x01d7,
  7336. 0x01d8},
  7337. {
  7338. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  7339. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7340. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  7341. 0x01d7,
  7342. 0x01d7},
  7343. {
  7344. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  7345. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7346. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  7347. 0x01d6,
  7348. 0x01d7},
  7349. {
  7350. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  7351. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7352. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  7353. 0x01d5,
  7354. 0x01d6},
  7355. {
  7356. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  7357. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7358. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  7359. 0x01d4,
  7360. 0x01d5},
  7361. {
  7362. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  7363. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7364. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  7365. 0x01d3,
  7366. 0x01d4},
  7367. {
  7368. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  7369. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7370. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  7371. 0x01d2,
  7372. 0x01d3},
  7373. {
  7374. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  7375. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7376. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  7377. 0x01d2,
  7378. 0x01d2},
  7379. {
  7380. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  7381. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7382. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  7383. 0x01d1,
  7384. 0x01d2},
  7385. {
  7386. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  7387. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7388. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  7389. 0x01d0,
  7390. 0x01d1},
  7391. {
  7392. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  7393. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7394. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  7395. 0x01cf,
  7396. 0x01d0},
  7397. {
  7398. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  7399. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7400. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  7401. 0x01ce,
  7402. 0x01cf},
  7403. {
  7404. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  7405. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7406. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  7407. 0x01ce,
  7408. 0x01ce},
  7409. {
  7410. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  7411. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7412. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  7413. 0x01cd,
  7414. 0x01ce},
  7415. {
  7416. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  7417. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7418. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  7419. 0x01cc,
  7420. 0x01cd},
  7421. {
  7422. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  7423. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7424. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  7425. 0x01cb,
  7426. 0x01cc},
  7427. {
  7428. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  7429. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7430. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  7431. 0x01ca,
  7432. 0x01cb},
  7433. {
  7434. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  7435. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7436. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  7437. 0x01ca,
  7438. 0x01cb},
  7439. {
  7440. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  7441. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7442. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  7443. 0x01c9,
  7444. 0x01ca},
  7445. {
  7446. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  7447. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7448. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  7449. 0x01c9,
  7450. 0x01ca},
  7451. {
  7452. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  7453. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7454. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  7455. 0x01c9,
  7456. 0x01c9},
  7457. {
  7458. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  7459. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7460. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  7461. 0x01c8,
  7462. 0x01c9},
  7463. {
  7464. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  7465. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7466. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  7467. 0x01c8,
  7468. 0x01c9},
  7469. {
  7470. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  7471. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7472. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  7473. 0x01c8,
  7474. 0x01c8},
  7475. {
  7476. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  7477. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7478. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  7479. 0x01c7,
  7480. 0x01c8},
  7481. {
  7482. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  7483. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7484. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  7485. 0x01c7,
  7486. 0x01c8},
  7487. {
  7488. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  7489. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7490. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  7491. 0x01c6,
  7492. 0x01c7},
  7493. {
  7494. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  7495. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7496. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  7497. 0x01c6,
  7498. 0x01c7},
  7499. {
  7500. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  7501. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7502. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  7503. 0x01c6,
  7504. 0x01c6},
  7505. {
  7506. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  7507. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7508. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  7509. 0x01c5,
  7510. 0x01c6},
  7511. {
  7512. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  7513. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7514. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  7515. 0x01c5,
  7516. 0x01c6},
  7517. {
  7518. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  7519. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7520. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  7521. 0x01c4,
  7522. 0x01c5},
  7523. {
  7524. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  7525. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  7526. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  7527. 0x01c4,
  7528. 0x01c5},
  7529. {
  7530. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  7531. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7532. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  7533. 0x01c4,
  7534. 0x01c4},
  7535. {
  7536. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  7537. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7538. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  7539. 0x01c3,
  7540. 0x01c4},
  7541. {
  7542. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  7543. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7544. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  7545. 0x01c3,
  7546. 0x01c4},
  7547. {
  7548. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  7549. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7550. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  7551. 0x01c2,
  7552. 0x01c3},
  7553. {
  7554. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  7555. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7556. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  7557. 0x01c2,
  7558. 0x01c3},
  7559. {
  7560. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  7561. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7562. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  7563. 0x01c2,
  7564. 0x01c2},
  7565. {
  7566. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  7567. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7568. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  7569. 0x01c1,
  7570. 0x01c2},
  7571. {
  7572. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  7573. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7574. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  7575. 0x01c0,
  7576. 0x01c1},
  7577. {
  7578. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  7579. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7580. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  7581. 0x01bf,
  7582. 0x01c0},
  7583. {
  7584. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  7585. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7586. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  7587. 0x01bf,
  7588. 0x01bf},
  7589. {
  7590. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  7591. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7592. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  7593. 0x01be,
  7594. 0x01bf},
  7595. {
  7596. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  7597. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7598. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  7599. 0x01bd,
  7600. 0x01be},
  7601. {
  7602. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  7603. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7604. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  7605. 0x01bc,
  7606. 0x01bd},
  7607. {
  7608. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  7609. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7610. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  7611. 0x043f,
  7612. 0x0443},
  7613. {
  7614. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  7615. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7616. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  7617. 0x043d,
  7618. 0x0441},
  7619. {
  7620. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  7621. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7622. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  7623. 0x043a,
  7624. 0x043f},
  7625. {
  7626. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  7627. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7628. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  7629. 0x0438,
  7630. 0x043d},
  7631. {
  7632. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  7633. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7634. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  7635. 0x0436,
  7636. 0x043a},
  7637. {
  7638. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  7639. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7640. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  7641. 0x0434,
  7642. 0x0438},
  7643. {
  7644. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  7645. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7646. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  7647. 0x0431,
  7648. 0x0436},
  7649. {
  7650. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  7651. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7652. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  7653. 0x042f,
  7654. 0x0434},
  7655. {
  7656. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  7657. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7658. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  7659. 0x042d,
  7660. 0x0431},
  7661. {
  7662. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  7663. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7664. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  7665. 0x042b,
  7666. 0x042f},
  7667. {
  7668. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  7669. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7670. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  7671. 0x0429,
  7672. 0x042d},
  7673. {
  7674. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  7675. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7676. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  7677. 0x0427,
  7678. 0x042b},
  7679. {
  7680. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  7681. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7682. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  7683. 0x0424,
  7684. 0x0429},
  7685. {
  7686. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  7687. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  7688. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  7689. 0x041f,
  7690. 0x0424}
  7691. };
  7692. static struct radio_regs regs_2055[] = {
  7693. {0x02, 0x80, 0x80, 0, 0},
  7694. {0x03, 0, 0, 0, 0},
  7695. {0x04, 0x27, 0x27, 0, 0},
  7696. {0x05, 0, 0, 0, 0},
  7697. {0x06, 0x27, 0x27, 0, 0},
  7698. {0x07, 0x7f, 0x7f, 1, 1},
  7699. {0x08, 0x7, 0x7, 1, 1},
  7700. {0x09, 0x7f, 0x7f, 1, 1},
  7701. {0x0A, 0x7, 0x7, 1, 1},
  7702. {0x0B, 0x15, 0x15, 0, 0},
  7703. {0x0C, 0x15, 0x15, 0, 0},
  7704. {0x0D, 0x4f, 0x4f, 1, 1},
  7705. {0x0E, 0x5, 0x5, 1, 1},
  7706. {0x0F, 0x4f, 0x4f, 1, 1},
  7707. {0x10, 0x5, 0x5, 1, 1},
  7708. {0x11, 0xd0, 0xd0, 0, 0},
  7709. {0x12, 0x2, 0x2, 0, 0},
  7710. {0x13, 0, 0, 0, 0},
  7711. {0x14, 0x40, 0x40, 0, 0},
  7712. {0x15, 0, 0, 0, 0},
  7713. {0x16, 0, 0, 0, 0},
  7714. {0x17, 0, 0, 0, 0},
  7715. {0x18, 0, 0, 0, 0},
  7716. {0x19, 0, 0, 0, 0},
  7717. {0x1A, 0, 0, 0, 0},
  7718. {0x1B, 0, 0, 0, 0},
  7719. {0x1C, 0, 0, 0, 0},
  7720. {0x1D, 0xc0, 0xc0, 0, 0},
  7721. {0x1E, 0xff, 0xff, 0, 0},
  7722. {0x1F, 0xc0, 0xc0, 0, 0},
  7723. {0x20, 0xff, 0xff, 0, 0},
  7724. {0x21, 0xc0, 0xc0, 0, 0},
  7725. {0x22, 0, 0, 0, 0},
  7726. {0x23, 0x2c, 0x2c, 0, 0},
  7727. {0x24, 0, 0, 0, 0},
  7728. {0x25, 0, 0, 0, 0},
  7729. {0x26, 0, 0, 0, 0},
  7730. {0x27, 0, 0, 0, 0},
  7731. {0x28, 0, 0, 0, 0},
  7732. {0x29, 0, 0, 0, 0},
  7733. {0x2A, 0, 0, 0, 0},
  7734. {0x2B, 0, 0, 0, 0},
  7735. {0x2C, 0, 0, 0, 0},
  7736. {0x2D, 0xa4, 0xa4, 0, 0},
  7737. {0x2E, 0x38, 0x38, 0, 0},
  7738. {0x2F, 0, 0, 0, 0},
  7739. {0x30, 0x4, 0x4, 1, 1},
  7740. {0x31, 0, 0, 0, 0},
  7741. {0x32, 0xa, 0xa, 0, 0},
  7742. {0x33, 0x87, 0x87, 0, 0},
  7743. {0x34, 0x9, 0x9, 0, 0},
  7744. {0x35, 0x70, 0x70, 0, 0},
  7745. {0x36, 0x11, 0x11, 0, 0},
  7746. {0x37, 0x18, 0x18, 1, 1},
  7747. {0x38, 0x6, 0x6, 0, 0},
  7748. {0x39, 0x4, 0x4, 1, 1},
  7749. {0x3A, 0x6, 0x6, 0, 0},
  7750. {0x3B, 0x9e, 0x9e, 0, 0},
  7751. {0x3C, 0x9, 0x9, 0, 0},
  7752. {0x3D, 0xc8, 0xc8, 1, 1},
  7753. {0x3E, 0x88, 0x88, 0, 0},
  7754. {0x3F, 0, 0, 0, 0},
  7755. {0x40, 0, 0, 0, 0},
  7756. {0x41, 0, 0, 0, 0},
  7757. {0x42, 0x1, 0x1, 0, 0},
  7758. {0x43, 0x2, 0x2, 0, 0},
  7759. {0x44, 0x96, 0x96, 0, 0},
  7760. {0x45, 0x3e, 0x3e, 0, 0},
  7761. {0x46, 0x3e, 0x3e, 0, 0},
  7762. {0x47, 0x13, 0x13, 0, 0},
  7763. {0x48, 0x2, 0x2, 0, 0},
  7764. {0x49, 0x15, 0x15, 0, 0},
  7765. {0x4A, 0x7, 0x7, 0, 0},
  7766. {0x4B, 0, 0, 0, 0},
  7767. {0x4C, 0, 0, 0, 0},
  7768. {0x4D, 0, 0, 0, 0},
  7769. {0x4E, 0, 0, 0, 0},
  7770. {0x4F, 0, 0, 0, 0},
  7771. {0x50, 0x8, 0x8, 0, 0},
  7772. {0x51, 0x8, 0x8, 0, 0},
  7773. {0x52, 0x6, 0x6, 0, 0},
  7774. {0x53, 0x84, 0x84, 1, 1},
  7775. {0x54, 0xc3, 0xc3, 0, 0},
  7776. {0x55, 0x8f, 0x8f, 0, 0},
  7777. {0x56, 0xff, 0xff, 0, 0},
  7778. {0x57, 0xff, 0xff, 0, 0},
  7779. {0x58, 0x88, 0x88, 0, 0},
  7780. {0x59, 0x88, 0x88, 0, 0},
  7781. {0x5A, 0, 0, 0, 0},
  7782. {0x5B, 0xcc, 0xcc, 0, 0},
  7783. {0x5C, 0x6, 0x6, 0, 0},
  7784. {0x5D, 0x80, 0x80, 0, 0},
  7785. {0x5E, 0x80, 0x80, 0, 0},
  7786. {0x5F, 0xf8, 0xf8, 0, 0},
  7787. {0x60, 0x88, 0x88, 0, 0},
  7788. {0x61, 0x88, 0x88, 0, 0},
  7789. {0x62, 0x88, 0x8, 1, 1},
  7790. {0x63, 0x88, 0x88, 0, 0},
  7791. {0x64, 0, 0, 0, 0},
  7792. {0x65, 0x1, 0x1, 1, 1},
  7793. {0x66, 0x8a, 0x8a, 0, 0},
  7794. {0x67, 0x8, 0x8, 0, 0},
  7795. {0x68, 0x83, 0x83, 0, 0},
  7796. {0x69, 0x6, 0x6, 0, 0},
  7797. {0x6A, 0xa0, 0xa0, 0, 0},
  7798. {0x6B, 0xa, 0xa, 0, 0},
  7799. {0x6C, 0x87, 0x87, 1, 1},
  7800. {0x6D, 0x2a, 0x2a, 0, 0},
  7801. {0x6E, 0x2a, 0x2a, 0, 0},
  7802. {0x6F, 0x2a, 0x2a, 0, 0},
  7803. {0x70, 0x2a, 0x2a, 0, 0},
  7804. {0x71, 0x18, 0x18, 0, 0},
  7805. {0x72, 0x6a, 0x6a, 1, 1},
  7806. {0x73, 0xab, 0xab, 1, 1},
  7807. {0x74, 0x13, 0x13, 1, 1},
  7808. {0x75, 0xc1, 0xc1, 1, 1},
  7809. {0x76, 0xaa, 0xaa, 1, 1},
  7810. {0x77, 0x87, 0x87, 1, 1},
  7811. {0x78, 0, 0, 0, 0},
  7812. {0x79, 0x6, 0x6, 0, 0},
  7813. {0x7A, 0x7, 0x7, 0, 0},
  7814. {0x7B, 0x7, 0x7, 0, 0},
  7815. {0x7C, 0x15, 0x15, 0, 0},
  7816. {0x7D, 0x55, 0x55, 0, 0},
  7817. {0x7E, 0x97, 0x97, 1, 1},
  7818. {0x7F, 0x8, 0x8, 0, 0},
  7819. {0x80, 0x14, 0x14, 1, 1},
  7820. {0x81, 0x33, 0x33, 0, 0},
  7821. {0x82, 0x88, 0x88, 0, 0},
  7822. {0x83, 0x6, 0x6, 0, 0},
  7823. {0x84, 0x3, 0x3, 1, 1},
  7824. {0x85, 0xa, 0xa, 0, 0},
  7825. {0x86, 0x3, 0x3, 1, 1},
  7826. {0x87, 0x2a, 0x2a, 0, 0},
  7827. {0x88, 0xa4, 0xa4, 0, 0},
  7828. {0x89, 0x18, 0x18, 0, 0},
  7829. {0x8A, 0x28, 0x28, 0, 0},
  7830. {0x8B, 0, 0, 0, 0},
  7831. {0x8C, 0x4a, 0x4a, 0, 0},
  7832. {0x8D, 0, 0, 0, 0},
  7833. {0x8E, 0xf8, 0xf8, 0, 0},
  7834. {0x8F, 0x88, 0x88, 0, 0},
  7835. {0x90, 0x88, 0x88, 0, 0},
  7836. {0x91, 0x88, 0x8, 1, 1},
  7837. {0x92, 0x88, 0x88, 0, 0},
  7838. {0x93, 0, 0, 0, 0},
  7839. {0x94, 0x1, 0x1, 1, 1},
  7840. {0x95, 0x8a, 0x8a, 0, 0},
  7841. {0x96, 0x8, 0x8, 0, 0},
  7842. {0x97, 0x83, 0x83, 0, 0},
  7843. {0x98, 0x6, 0x6, 0, 0},
  7844. {0x99, 0xa0, 0xa0, 0, 0},
  7845. {0x9A, 0xa, 0xa, 0, 0},
  7846. {0x9B, 0x87, 0x87, 1, 1},
  7847. {0x9C, 0x2a, 0x2a, 0, 0},
  7848. {0x9D, 0x2a, 0x2a, 0, 0},
  7849. {0x9E, 0x2a, 0x2a, 0, 0},
  7850. {0x9F, 0x2a, 0x2a, 0, 0},
  7851. {0xA0, 0x18, 0x18, 0, 0},
  7852. {0xA1, 0x6a, 0x6a, 1, 1},
  7853. {0xA2, 0xab, 0xab, 1, 1},
  7854. {0xA3, 0x13, 0x13, 1, 1},
  7855. {0xA4, 0xc1, 0xc1, 1, 1},
  7856. {0xA5, 0xaa, 0xaa, 1, 1},
  7857. {0xA6, 0x87, 0x87, 1, 1},
  7858. {0xA7, 0, 0, 0, 0},
  7859. {0xA8, 0x6, 0x6, 0, 0},
  7860. {0xA9, 0x7, 0x7, 0, 0},
  7861. {0xAA, 0x7, 0x7, 0, 0},
  7862. {0xAB, 0x15, 0x15, 0, 0},
  7863. {0xAC, 0x55, 0x55, 0, 0},
  7864. {0xAD, 0x97, 0x97, 1, 1},
  7865. {0xAE, 0x8, 0x8, 0, 0},
  7866. {0xAF, 0x14, 0x14, 1, 1},
  7867. {0xB0, 0x33, 0x33, 0, 0},
  7868. {0xB1, 0x88, 0x88, 0, 0},
  7869. {0xB2, 0x6, 0x6, 0, 0},
  7870. {0xB3, 0x3, 0x3, 1, 1},
  7871. {0xB4, 0xa, 0xa, 0, 0},
  7872. {0xB5, 0x3, 0x3, 1, 1},
  7873. {0xB6, 0x2a, 0x2a, 0, 0},
  7874. {0xB7, 0xa4, 0xa4, 0, 0},
  7875. {0xB8, 0x18, 0x18, 0, 0},
  7876. {0xB9, 0x28, 0x28, 0, 0},
  7877. {0xBA, 0, 0, 0, 0},
  7878. {0xBB, 0x4a, 0x4a, 0, 0},
  7879. {0xBC, 0, 0, 0, 0},
  7880. {0xBD, 0x71, 0x71, 0, 0},
  7881. {0xBE, 0x72, 0x72, 0, 0},
  7882. {0xBF, 0x73, 0x73, 0, 0},
  7883. {0xC0, 0x74, 0x74, 0, 0},
  7884. {0xC1, 0x75, 0x75, 0, 0},
  7885. {0xC2, 0x76, 0x76, 0, 0},
  7886. {0xC3, 0x77, 0x77, 0, 0},
  7887. {0xC4, 0x78, 0x78, 0, 0},
  7888. {0xC5, 0x79, 0x79, 0, 0},
  7889. {0xC6, 0x7a, 0x7a, 0, 0},
  7890. {0xC7, 0, 0, 0, 0},
  7891. {0xC8, 0, 0, 0, 0},
  7892. {0xC9, 0, 0, 0, 0},
  7893. {0xCA, 0, 0, 0, 0},
  7894. {0xCB, 0, 0, 0, 0},
  7895. {0xCC, 0, 0, 0, 0},
  7896. {0xCD, 0, 0, 0, 0},
  7897. {0xCE, 0x6, 0x6, 0, 0},
  7898. {0xCF, 0, 0, 0, 0},
  7899. {0xD0, 0, 0, 0, 0},
  7900. {0xD1, 0x18, 0x18, 0, 0},
  7901. {0xD2, 0x88, 0x88, 0, 0},
  7902. {0xD3, 0, 0, 0, 0},
  7903. {0xD4, 0, 0, 0, 0},
  7904. {0xD5, 0, 0, 0, 0},
  7905. {0xD6, 0, 0, 0, 0},
  7906. {0xD7, 0, 0, 0, 0},
  7907. {0xD8, 0, 0, 0, 0},
  7908. {0xD9, 0, 0, 0, 0},
  7909. {0xDA, 0x6, 0x6, 0, 0},
  7910. {0xDB, 0, 0, 0, 0},
  7911. {0xDC, 0, 0, 0, 0},
  7912. {0xDD, 0x18, 0x18, 0, 0},
  7913. {0xDE, 0x88, 0x88, 0, 0},
  7914. {0xDF, 0, 0, 0, 0},
  7915. {0xE0, 0, 0, 0, 0},
  7916. {0xE1, 0, 0, 0, 0},
  7917. {0xE2, 0, 0, 0, 0},
  7918. {0xFFFF, 0, 0, 0, 0},
  7919. };
  7920. static struct radio_regs regs_SYN_2056[] = {
  7921. {0x02, 0, 0, 0, 0},
  7922. {0x03, 0, 0, 0, 0},
  7923. {0x04, 0, 0, 0, 0},
  7924. {0x05, 0, 0, 0, 0},
  7925. {0x06, 0, 0, 0, 0},
  7926. {0x07, 0, 0, 0, 0},
  7927. {0x08, 0, 0, 0, 0},
  7928. {0x09, 0x1, 0x1, 0, 0},
  7929. {0x0A, 0, 0, 0, 0},
  7930. {0x0B, 0, 0, 0, 0},
  7931. {0x0C, 0, 0, 0, 0},
  7932. {0x0D, 0, 0, 0, 0},
  7933. {0x0E, 0, 0, 0, 0},
  7934. {0x0F, 0, 0, 0, 0},
  7935. {0x10, 0, 0, 0, 0},
  7936. {0x11, 0, 0, 0, 0},
  7937. {0x12, 0, 0, 0, 0},
  7938. {0x13, 0, 0, 0, 0},
  7939. {0x14, 0, 0, 0, 0},
  7940. {0x15, 0, 0, 0, 0},
  7941. {0x16, 0, 0, 0, 0},
  7942. {0x17, 0, 0, 0, 0},
  7943. {0x18, 0, 0, 0, 0},
  7944. {0x19, 0, 0, 0, 0},
  7945. {0x1A, 0, 0, 0, 0},
  7946. {0x1B, 0, 0, 0, 0},
  7947. {0x1C, 0, 0, 0, 0},
  7948. {0x1D, 0, 0, 0, 0},
  7949. {0x1E, 0, 0, 0, 0},
  7950. {0x1F, 0, 0, 0, 0},
  7951. {0x20, 0, 0, 0, 0},
  7952. {0x21, 0, 0, 0, 0},
  7953. {0x22, 0x60, 0x60, 0, 0},
  7954. {0x23, 0x6, 0x6, 0, 0},
  7955. {0x24, 0xc, 0xc, 0, 0},
  7956. {0x25, 0, 0, 0, 0},
  7957. {0x26, 0, 0, 0, 0},
  7958. {0x27, 0, 0, 0, 0},
  7959. {0x28, 0x1, 0x1, 0, 0},
  7960. {0x29, 0, 0, 0, 0},
  7961. {0x2A, 0, 0, 0, 0},
  7962. {0x2B, 0, 0, 0, 0},
  7963. {0x2C, 0, 0, 0, 0},
  7964. {0x2D, 0, 0, 0, 0},
  7965. {0x2E, 0xd, 0xd, 0, 0},
  7966. {0x2F, 0x1f, 0x1f, 0, 0},
  7967. {0x30, 0x15, 0x15, 0, 0},
  7968. {0x31, 0xf, 0xf, 0, 0},
  7969. {0x32, 0, 0, 0, 0},
  7970. {0x33, 0, 0, 0, 0},
  7971. {0x34, 0, 0, 0, 0},
  7972. {0x35, 0, 0, 0, 0},
  7973. {0x36, 0, 0, 0, 0},
  7974. {0x37, 0, 0, 0, 0},
  7975. {0x38, 0, 0, 0, 0},
  7976. {0x39, 0, 0, 0, 0},
  7977. {0x3A, 0, 0, 0, 0},
  7978. {0x3B, 0, 0, 0, 0},
  7979. {0x3C, 0x13, 0x13, 0, 0},
  7980. {0x3D, 0xf, 0xf, 0, 0},
  7981. {0x3E, 0x18, 0x18, 0, 0},
  7982. {0x3F, 0, 0, 0, 0},
  7983. {0x40, 0, 0, 0, 0},
  7984. {0x41, 0x20, 0x20, 0, 0},
  7985. {0x42, 0x20, 0x20, 0, 0},
  7986. {0x43, 0, 0, 0, 0},
  7987. {0x44, 0x77, 0x77, 0, 0},
  7988. {0x45, 0x7, 0x7, 0, 0},
  7989. {0x46, 0x1, 0x1, 0, 0},
  7990. {0x47, 0x4, 0x4, 0, 0},
  7991. {0x48, 0xf, 0xf, 0, 0},
  7992. {0x49, 0x30, 0x30, 0, 0},
  7993. {0x4A, 0x32, 0x32, 0, 0},
  7994. {0x4B, 0xd, 0xd, 0, 0},
  7995. {0x4C, 0xd, 0xd, 0, 0},
  7996. {0x4D, 0x4, 0x4, 0, 0},
  7997. {0x4E, 0x6, 0x6, 0, 0},
  7998. {0x4F, 0x1, 0x1, 0, 0},
  7999. {0x50, 0x1c, 0x1c, 0, 0},
  8000. {0x51, 0x2, 0x2, 0, 0},
  8001. {0x52, 0x2, 0x2, 0, 0},
  8002. {0x53, 0xf7, 0xf7, 1, 1},
  8003. {0x54, 0xb4, 0xb4, 0, 0},
  8004. {0x55, 0xd2, 0xd2, 0, 0},
  8005. {0x56, 0, 0, 0, 0},
  8006. {0x57, 0, 0, 0, 0},
  8007. {0x58, 0x4, 0x4, 0, 0},
  8008. {0x59, 0x96, 0x96, 0, 0},
  8009. {0x5A, 0x3e, 0x3e, 0, 0},
  8010. {0x5B, 0x3e, 0x3e, 0, 0},
  8011. {0x5C, 0x13, 0x13, 0, 0},
  8012. {0x5D, 0x2, 0x2, 0, 0},
  8013. {0x5E, 0, 0, 0, 0},
  8014. {0x5F, 0x7, 0x7, 0, 0},
  8015. {0x60, 0x7, 0x7, 1, 1},
  8016. {0x61, 0x8, 0x8, 0, 0},
  8017. {0x62, 0x3, 0x3, 0, 0},
  8018. {0x63, 0, 0, 0, 0},
  8019. {0x64, 0, 0, 0, 0},
  8020. {0x65, 0, 0, 0, 0},
  8021. {0x66, 0, 0, 0, 0},
  8022. {0x67, 0, 0, 0, 0},
  8023. {0x68, 0x40, 0x40, 0, 0},
  8024. {0x69, 0, 0, 0, 0},
  8025. {0x6A, 0, 0, 0, 0},
  8026. {0x6B, 0, 0, 0, 0},
  8027. {0x6C, 0, 0, 0, 0},
  8028. {0x6D, 0x1, 0x1, 0, 0},
  8029. {0x6E, 0, 0, 0, 0},
  8030. {0x6F, 0, 0, 0, 0},
  8031. {0x70, 0x60, 0x60, 0, 0},
  8032. {0x71, 0x66, 0x66, 0, 0},
  8033. {0x72, 0xc, 0xc, 0, 0},
  8034. {0x73, 0x66, 0x66, 0, 0},
  8035. {0x74, 0x8f, 0x8f, 1, 1},
  8036. {0x75, 0, 0, 0, 0},
  8037. {0x76, 0xcc, 0xcc, 0, 0},
  8038. {0x77, 0x1, 0x1, 0, 0},
  8039. {0x78, 0x66, 0x66, 0, 0},
  8040. {0x79, 0x66, 0x66, 0, 0},
  8041. {0x7A, 0, 0, 0, 0},
  8042. {0x7B, 0, 0, 0, 0},
  8043. {0x7C, 0, 0, 0, 0},
  8044. {0x7D, 0, 0, 0, 0},
  8045. {0x7E, 0, 0, 0, 0},
  8046. {0x7F, 0, 0, 0, 0},
  8047. {0x80, 0, 0, 0, 0},
  8048. {0x81, 0, 0, 0, 0},
  8049. {0x82, 0, 0, 0, 0},
  8050. {0x83, 0, 0, 0, 0},
  8051. {0x84, 0, 0, 0, 0},
  8052. {0x85, 0xff, 0xff, 0, 0},
  8053. {0x86, 0, 0, 0, 0},
  8054. {0x87, 0, 0, 0, 0},
  8055. {0x88, 0, 0, 0, 0},
  8056. {0x89, 0, 0, 0, 0},
  8057. {0x8A, 0, 0, 0, 0},
  8058. {0x8B, 0, 0, 0, 0},
  8059. {0x8C, 0, 0, 0, 0},
  8060. {0x8D, 0, 0, 0, 0},
  8061. {0x8E, 0, 0, 0, 0},
  8062. {0x8F, 0, 0, 0, 0},
  8063. {0x90, 0, 0, 0, 0},
  8064. {0x91, 0, 0, 0, 0},
  8065. {0x92, 0, 0, 0, 0},
  8066. {0x93, 0, 0, 0, 0},
  8067. {0x94, 0, 0, 0, 0},
  8068. {0x95, 0, 0, 0, 0},
  8069. {0x96, 0, 0, 0, 0},
  8070. {0x97, 0, 0, 0, 0},
  8071. {0x98, 0, 0, 0, 0},
  8072. {0x99, 0, 0, 0, 0},
  8073. {0x9A, 0, 0, 0, 0},
  8074. {0x9B, 0, 0, 0, 0},
  8075. {0x9C, 0, 0, 0, 0},
  8076. {0x9D, 0, 0, 0, 0},
  8077. {0x9E, 0, 0, 0, 0},
  8078. {0x9F, 0x6, 0x6, 0, 0},
  8079. {0xA0, 0x66, 0x66, 0, 0},
  8080. {0xA1, 0x66, 0x66, 0, 0},
  8081. {0xA2, 0x66, 0x66, 0, 0},
  8082. {0xA3, 0x66, 0x66, 0, 0},
  8083. {0xA4, 0x66, 0x66, 0, 0},
  8084. {0xA5, 0x66, 0x66, 0, 0},
  8085. {0xA6, 0x66, 0x66, 0, 0},
  8086. {0xA7, 0x66, 0x66, 0, 0},
  8087. {0xA8, 0x66, 0x66, 0, 0},
  8088. {0xA9, 0x66, 0x66, 0, 0},
  8089. {0xAA, 0x66, 0x66, 0, 0},
  8090. {0xAB, 0x66, 0x66, 0, 0},
  8091. {0xAC, 0x66, 0x66, 0, 0},
  8092. {0xAD, 0x66, 0x66, 0, 0},
  8093. {0xAE, 0x66, 0x66, 0, 0},
  8094. {0xAF, 0x66, 0x66, 0, 0},
  8095. {0xB0, 0x66, 0x66, 0, 0},
  8096. {0xB1, 0x66, 0x66, 0, 0},
  8097. {0xB2, 0x66, 0x66, 0, 0},
  8098. {0xB3, 0xa, 0xa, 0, 0},
  8099. {0xB4, 0, 0, 0, 0},
  8100. {0xB5, 0, 0, 0, 0},
  8101. {0xB6, 0, 0, 0, 0},
  8102. {0xFFFF, 0, 0, 0, 0}
  8103. };
  8104. static struct radio_regs regs_TX_2056[] = {
  8105. {0x02, 0, 0, 0, 0},
  8106. {0x03, 0, 0, 0, 0},
  8107. {0x04, 0, 0, 0, 0},
  8108. {0x05, 0, 0, 0, 0},
  8109. {0x06, 0, 0, 0, 0},
  8110. {0x07, 0, 0, 0, 0},
  8111. {0x08, 0, 0, 0, 0},
  8112. {0x09, 0, 0, 0, 0},
  8113. {0x0A, 0, 0, 0, 0},
  8114. {0x0B, 0, 0, 0, 0},
  8115. {0x0C, 0, 0, 0, 0},
  8116. {0x0D, 0, 0, 0, 0},
  8117. {0x0E, 0, 0, 0, 0},
  8118. {0x0F, 0, 0, 0, 0},
  8119. {0x10, 0, 0, 0, 0},
  8120. {0x11, 0, 0, 0, 0},
  8121. {0x12, 0, 0, 0, 0},
  8122. {0x13, 0, 0, 0, 0},
  8123. {0x14, 0, 0, 0, 0},
  8124. {0x15, 0, 0, 0, 0},
  8125. {0x16, 0, 0, 0, 0},
  8126. {0x17, 0, 0, 0, 0},
  8127. {0x18, 0, 0, 0, 0},
  8128. {0x19, 0, 0, 0, 0},
  8129. {0x1A, 0, 0, 0, 0},
  8130. {0x1B, 0, 0, 0, 0},
  8131. {0x1C, 0, 0, 0, 0},
  8132. {0x1D, 0, 0, 0, 0},
  8133. {0x1E, 0, 0, 0, 0},
  8134. {0x1F, 0, 0, 0, 0},
  8135. {0x20, 0, 0, 0, 0},
  8136. {0x21, 0x88, 0x88, 0, 0},
  8137. {0x22, 0x88, 0x88, 0, 0},
  8138. {0x23, 0x88, 0x88, 0, 0},
  8139. {0x24, 0x88, 0x88, 0, 0},
  8140. {0x25, 0xc, 0xc, 0, 0},
  8141. {0x26, 0, 0, 0, 0},
  8142. {0x27, 0x3, 0x3, 0, 0},
  8143. {0x28, 0, 0, 0, 0},
  8144. {0x29, 0x3, 0x3, 0, 0},
  8145. {0x2A, 0x37, 0x37, 0, 0},
  8146. {0x2B, 0x3, 0x3, 0, 0},
  8147. {0x2C, 0, 0, 0, 0},
  8148. {0x2D, 0, 0, 0, 0},
  8149. {0x2E, 0x1, 0x1, 0, 0},
  8150. {0x2F, 0x1, 0x1, 0, 0},
  8151. {0x30, 0, 0, 0, 0},
  8152. {0x31, 0, 0, 0, 0},
  8153. {0x32, 0, 0, 0, 0},
  8154. {0x33, 0x11, 0x11, 0, 0},
  8155. {0x34, 0x11, 0x11, 0, 0},
  8156. {0x35, 0, 0, 0, 0},
  8157. {0x36, 0, 0, 0, 0},
  8158. {0x37, 0x3, 0x3, 0, 0},
  8159. {0x38, 0xf, 0xf, 0, 0},
  8160. {0x39, 0, 0, 0, 0},
  8161. {0x3A, 0x2d, 0x2d, 0, 0},
  8162. {0x3B, 0, 0, 0, 0},
  8163. {0x3C, 0x6e, 0x6e, 0, 0},
  8164. {0x3D, 0xf0, 0xf0, 1, 1},
  8165. {0x3E, 0, 0, 0, 0},
  8166. {0x3F, 0, 0, 0, 0},
  8167. {0x40, 0, 0, 0, 0},
  8168. {0x41, 0x3, 0x3, 0, 0},
  8169. {0x42, 0x3, 0x3, 0, 0},
  8170. {0x43, 0, 0, 0, 0},
  8171. {0x44, 0x1e, 0x1e, 0, 0},
  8172. {0x45, 0, 0, 0, 0},
  8173. {0x46, 0x6e, 0x6e, 0, 0},
  8174. {0x47, 0xf0, 0xf0, 1, 1},
  8175. {0x48, 0, 0, 0, 0},
  8176. {0x49, 0x2, 0x2, 0, 0},
  8177. {0x4A, 0xff, 0xff, 1, 1},
  8178. {0x4B, 0xc, 0xc, 0, 0},
  8179. {0x4C, 0, 0, 0, 0},
  8180. {0x4D, 0x38, 0x38, 0, 0},
  8181. {0x4E, 0x70, 0x70, 1, 1},
  8182. {0x4F, 0x2, 0x2, 0, 0},
  8183. {0x50, 0x88, 0x88, 0, 0},
  8184. {0x51, 0xc, 0xc, 0, 0},
  8185. {0x52, 0, 0, 0, 0},
  8186. {0x53, 0x8, 0x8, 0, 0},
  8187. {0x54, 0x70, 0x70, 1, 1},
  8188. {0x55, 0x2, 0x2, 0, 0},
  8189. {0x56, 0xff, 0xff, 1, 1},
  8190. {0x57, 0, 0, 0, 0},
  8191. {0x58, 0x83, 0x83, 0, 0},
  8192. {0x59, 0x77, 0x77, 1, 1},
  8193. {0x5A, 0, 0, 0, 0},
  8194. {0x5B, 0x2, 0x2, 0, 0},
  8195. {0x5C, 0x88, 0x88, 0, 0},
  8196. {0x5D, 0, 0, 0, 0},
  8197. {0x5E, 0x8, 0x8, 0, 0},
  8198. {0x5F, 0x77, 0x77, 1, 1},
  8199. {0x60, 0x1, 0x1, 0, 0},
  8200. {0x61, 0, 0, 0, 0},
  8201. {0x62, 0x7, 0x7, 0, 0},
  8202. {0x63, 0, 0, 0, 0},
  8203. {0x64, 0x7, 0x7, 0, 0},
  8204. {0x65, 0, 0, 0, 0},
  8205. {0x66, 0, 0, 0, 0},
  8206. {0x67, 0x74, 0x74, 1, 1},
  8207. {0x68, 0, 0, 0, 0},
  8208. {0x69, 0xa, 0xa, 0, 0},
  8209. {0x6A, 0, 0, 0, 0},
  8210. {0x6B, 0, 0, 0, 0},
  8211. {0x6C, 0, 0, 0, 0},
  8212. {0x6D, 0, 0, 0, 0},
  8213. {0x6E, 0, 0, 0, 0},
  8214. {0x6F, 0, 0, 0, 0},
  8215. {0x70, 0, 0, 0, 0},
  8216. {0x71, 0x2, 0x2, 0, 0},
  8217. {0x72, 0, 0, 0, 0},
  8218. {0x73, 0, 0, 0, 0},
  8219. {0x74, 0xe, 0xe, 0, 0},
  8220. {0x75, 0xe, 0xe, 0, 0},
  8221. {0x76, 0xe, 0xe, 0, 0},
  8222. {0x77, 0x13, 0x13, 0, 0},
  8223. {0x78, 0x13, 0x13, 0, 0},
  8224. {0x79, 0x1b, 0x1b, 0, 0},
  8225. {0x7A, 0x1b, 0x1b, 0, 0},
  8226. {0x7B, 0x55, 0x55, 0, 0},
  8227. {0x7C, 0x5b, 0x5b, 0, 0},
  8228. {0x7D, 0, 0, 0, 0},
  8229. {0x7E, 0, 0, 0, 0},
  8230. {0x7F, 0, 0, 0, 0},
  8231. {0x80, 0, 0, 0, 0},
  8232. {0x81, 0, 0, 0, 0},
  8233. {0x82, 0, 0, 0, 0},
  8234. {0x83, 0, 0, 0, 0},
  8235. {0x84, 0, 0, 0, 0},
  8236. {0x85, 0, 0, 0, 0},
  8237. {0x86, 0, 0, 0, 0},
  8238. {0x87, 0, 0, 0, 0},
  8239. {0x88, 0, 0, 0, 0},
  8240. {0x89, 0, 0, 0, 0},
  8241. {0x8A, 0, 0, 0, 0},
  8242. {0x8B, 0, 0, 0, 0},
  8243. {0x8C, 0, 0, 0, 0},
  8244. {0x8D, 0, 0, 0, 0},
  8245. {0x8E, 0, 0, 0, 0},
  8246. {0x8F, 0, 0, 0, 0},
  8247. {0x90, 0, 0, 0, 0},
  8248. {0x91, 0, 0, 0, 0},
  8249. {0x92, 0, 0, 0, 0},
  8250. {0xFFFF, 0, 0, 0, 0}
  8251. };
  8252. static struct radio_regs regs_RX_2056[] = {
  8253. {0x02, 0, 0, 0, 0},
  8254. {0x03, 0, 0, 0, 0},
  8255. {0x04, 0, 0, 0, 0},
  8256. {0x05, 0, 0, 0, 0},
  8257. {0x06, 0, 0, 0, 0},
  8258. {0x07, 0, 0, 0, 0},
  8259. {0x08, 0, 0, 0, 0},
  8260. {0x09, 0, 0, 0, 0},
  8261. {0x0A, 0, 0, 0, 0},
  8262. {0x0B, 0, 0, 0, 0},
  8263. {0x0C, 0, 0, 0, 0},
  8264. {0x0D, 0, 0, 0, 0},
  8265. {0x0E, 0, 0, 0, 0},
  8266. {0x0F, 0, 0, 0, 0},
  8267. {0x10, 0, 0, 0, 0},
  8268. {0x11, 0, 0, 0, 0},
  8269. {0x12, 0, 0, 0, 0},
  8270. {0x13, 0, 0, 0, 0},
  8271. {0x14, 0, 0, 0, 0},
  8272. {0x15, 0, 0, 0, 0},
  8273. {0x16, 0, 0, 0, 0},
  8274. {0x17, 0, 0, 0, 0},
  8275. {0x18, 0, 0, 0, 0},
  8276. {0x19, 0, 0, 0, 0},
  8277. {0x1A, 0, 0, 0, 0},
  8278. {0x1B, 0, 0, 0, 0},
  8279. {0x1C, 0, 0, 0, 0},
  8280. {0x1D, 0, 0, 0, 0},
  8281. {0x1E, 0, 0, 0, 0},
  8282. {0x1F, 0, 0, 0, 0},
  8283. {0x20, 0x3, 0x3, 0, 0},
  8284. {0x21, 0, 0, 0, 0},
  8285. {0x22, 0, 0, 0, 0},
  8286. {0x23, 0x90, 0x90, 0, 0},
  8287. {0x24, 0x55, 0x55, 0, 0},
  8288. {0x25, 0x15, 0x15, 0, 0},
  8289. {0x26, 0x5, 0x5, 0, 0},
  8290. {0x27, 0x15, 0x15, 0, 0},
  8291. {0x28, 0x5, 0x5, 0, 0},
  8292. {0x29, 0x20, 0x20, 0, 0},
  8293. {0x2A, 0x11, 0x11, 0, 0},
  8294. {0x2B, 0x90, 0x90, 0, 0},
  8295. {0x2C, 0, 0, 0, 0},
  8296. {0x2D, 0x88, 0x88, 0, 0},
  8297. {0x2E, 0x32, 0x32, 0, 0},
  8298. {0x2F, 0x77, 0x77, 0, 0},
  8299. {0x30, 0x17, 0x17, 1, 1},
  8300. {0x31, 0xff, 0xff, 1, 1},
  8301. {0x32, 0x20, 0x20, 0, 0},
  8302. {0x33, 0, 0, 0, 0},
  8303. {0x34, 0x88, 0x88, 0, 0},
  8304. {0x35, 0x32, 0x32, 0, 0},
  8305. {0x36, 0x77, 0x77, 0, 0},
  8306. {0x37, 0x17, 0x17, 1, 1},
  8307. {0x38, 0xf0, 0xf0, 1, 1},
  8308. {0x39, 0x20, 0x20, 0, 0},
  8309. {0x3A, 0x8, 0x8, 0, 0},
  8310. {0x3B, 0x99, 0x99, 0, 0},
  8311. {0x3C, 0, 0, 0, 0},
  8312. {0x3D, 0x44, 0x44, 1, 1},
  8313. {0x3E, 0, 0, 0, 0},
  8314. {0x3F, 0x44, 0x44, 0, 0},
  8315. {0x40, 0xf, 0xf, 1, 1},
  8316. {0x41, 0x6, 0x6, 0, 0},
  8317. {0x42, 0x4, 0x4, 0, 0},
  8318. {0x43, 0x50, 0x50, 1, 1},
  8319. {0x44, 0x8, 0x8, 0, 0},
  8320. {0x45, 0x99, 0x99, 0, 0},
  8321. {0x46, 0, 0, 0, 0},
  8322. {0x47, 0x11, 0x11, 0, 0},
  8323. {0x48, 0, 0, 0, 0},
  8324. {0x49, 0x44, 0x44, 0, 0},
  8325. {0x4A, 0x7, 0x7, 0, 0},
  8326. {0x4B, 0x6, 0x6, 0, 0},
  8327. {0x4C, 0x4, 0x4, 0, 0},
  8328. {0x4D, 0, 0, 0, 0},
  8329. {0x4E, 0, 0, 0, 0},
  8330. {0x4F, 0x66, 0x66, 0, 0},
  8331. {0x50, 0x66, 0x66, 0, 0},
  8332. {0x51, 0x57, 0x57, 0, 0},
  8333. {0x52, 0x57, 0x57, 0, 0},
  8334. {0x53, 0x44, 0x44, 0, 0},
  8335. {0x54, 0, 0, 0, 0},
  8336. {0x55, 0, 0, 0, 0},
  8337. {0x56, 0x8, 0x8, 0, 0},
  8338. {0x57, 0x8, 0x8, 0, 0},
  8339. {0x58, 0x7, 0x7, 0, 0},
  8340. {0x59, 0x22, 0x22, 0, 0},
  8341. {0x5A, 0x22, 0x22, 0, 0},
  8342. {0x5B, 0x2, 0x2, 0, 0},
  8343. {0x5C, 0x23, 0x23, 0, 0},
  8344. {0x5D, 0x7, 0x7, 0, 0},
  8345. {0x5E, 0x55, 0x55, 0, 0},
  8346. {0x5F, 0x23, 0x23, 0, 0},
  8347. {0x60, 0x41, 0x41, 0, 0},
  8348. {0x61, 0x1, 0x1, 0, 0},
  8349. {0x62, 0xa, 0xa, 0, 0},
  8350. {0x63, 0, 0, 0, 0},
  8351. {0x64, 0, 0, 0, 0},
  8352. {0x65, 0, 0, 0, 0},
  8353. {0x66, 0, 0, 0, 0},
  8354. {0x67, 0, 0, 0, 0},
  8355. {0x68, 0, 0, 0, 0},
  8356. {0x69, 0, 0, 0, 0},
  8357. {0x6A, 0, 0, 0, 0},
  8358. {0x6B, 0xc, 0xc, 0, 0},
  8359. {0x6C, 0, 0, 0, 0},
  8360. {0x6D, 0, 0, 0, 0},
  8361. {0x6E, 0, 0, 0, 0},
  8362. {0x6F, 0, 0, 0, 0},
  8363. {0x70, 0, 0, 0, 0},
  8364. {0x71, 0, 0, 0, 0},
  8365. {0x72, 0x22, 0x22, 0, 0},
  8366. {0x73, 0x22, 0x22, 0, 0},
  8367. {0x74, 0x2, 0x2, 0, 0},
  8368. {0x75, 0xa, 0xa, 0, 0},
  8369. {0x76, 0x1, 0x1, 0, 0},
  8370. {0x77, 0x22, 0x22, 0, 0},
  8371. {0x78, 0x30, 0x30, 0, 0},
  8372. {0x79, 0, 0, 0, 0},
  8373. {0x7A, 0, 0, 0, 0},
  8374. {0x7B, 0, 0, 0, 0},
  8375. {0x7C, 0, 0, 0, 0},
  8376. {0x7D, 0, 0, 0, 0},
  8377. {0x7E, 0, 0, 0, 0},
  8378. {0x7F, 0, 0, 0, 0},
  8379. {0x80, 0, 0, 0, 0},
  8380. {0x81, 0, 0, 0, 0},
  8381. {0x82, 0, 0, 0, 0},
  8382. {0x83, 0, 0, 0, 0},
  8383. {0x84, 0, 0, 0, 0},
  8384. {0x85, 0, 0, 0, 0},
  8385. {0x86, 0, 0, 0, 0},
  8386. {0x87, 0, 0, 0, 0},
  8387. {0x88, 0, 0, 0, 0},
  8388. {0x89, 0, 0, 0, 0},
  8389. {0x8A, 0, 0, 0, 0},
  8390. {0x8B, 0, 0, 0, 0},
  8391. {0x8C, 0, 0, 0, 0},
  8392. {0x8D, 0, 0, 0, 0},
  8393. {0x8E, 0, 0, 0, 0},
  8394. {0x8F, 0, 0, 0, 0},
  8395. {0x90, 0, 0, 0, 0},
  8396. {0x91, 0, 0, 0, 0},
  8397. {0x92, 0, 0, 0, 0},
  8398. {0x93, 0, 0, 0, 0},
  8399. {0x94, 0, 0, 0, 0},
  8400. {0xFFFF, 0, 0, 0, 0}
  8401. };
  8402. static struct radio_regs regs_SYN_2056_A1[] = {
  8403. {0x02, 0, 0, 0, 0},
  8404. {0x03, 0, 0, 0, 0},
  8405. {0x04, 0, 0, 0, 0},
  8406. {0x05, 0, 0, 0, 0},
  8407. {0x06, 0, 0, 0, 0},
  8408. {0x07, 0, 0, 0, 0},
  8409. {0x08, 0, 0, 0, 0},
  8410. {0x09, 0x1, 0x1, 0, 0},
  8411. {0x0A, 0, 0, 0, 0},
  8412. {0x0B, 0, 0, 0, 0},
  8413. {0x0C, 0, 0, 0, 0},
  8414. {0x0D, 0, 0, 0, 0},
  8415. {0x0E, 0, 0, 0, 0},
  8416. {0x0F, 0, 0, 0, 0},
  8417. {0x10, 0, 0, 0, 0},
  8418. {0x11, 0, 0, 0, 0},
  8419. {0x12, 0, 0, 0, 0},
  8420. {0x13, 0, 0, 0, 0},
  8421. {0x14, 0, 0, 0, 0},
  8422. {0x15, 0, 0, 0, 0},
  8423. {0x16, 0, 0, 0, 0},
  8424. {0x17, 0, 0, 0, 0},
  8425. {0x18, 0, 0, 0, 0},
  8426. {0x19, 0, 0, 0, 0},
  8427. {0x1A, 0, 0, 0, 0},
  8428. {0x1B, 0, 0, 0, 0},
  8429. {0x1C, 0, 0, 0, 0},
  8430. {0x1D, 0, 0, 0, 0},
  8431. {0x1E, 0, 0, 0, 0},
  8432. {0x1F, 0, 0, 0, 0},
  8433. {0x20, 0, 0, 0, 0},
  8434. {0x21, 0, 0, 0, 0},
  8435. {0x22, 0x60, 0x60, 0, 0},
  8436. {0x23, 0x6, 0x6, 0, 0},
  8437. {0x24, 0xc, 0xc, 0, 0},
  8438. {0x25, 0, 0, 0, 0},
  8439. {0x26, 0, 0, 0, 0},
  8440. {0x27, 0, 0, 0, 0},
  8441. {0x28, 0x1, 0x1, 0, 0},
  8442. {0x29, 0, 0, 0, 0},
  8443. {0x2A, 0, 0, 0, 0},
  8444. {0x2B, 0, 0, 0, 0},
  8445. {0x2C, 0, 0, 0, 0},
  8446. {0x2D, 0, 0, 0, 0},
  8447. {0x2E, 0xd, 0xd, 0, 0},
  8448. {0x2F, 0x1f, 0x1f, 0, 0},
  8449. {0x30, 0x15, 0x15, 0, 0},
  8450. {0x31, 0xf, 0xf, 0, 0},
  8451. {0x32, 0, 0, 0, 0},
  8452. {0x33, 0, 0, 0, 0},
  8453. {0x34, 0, 0, 0, 0},
  8454. {0x35, 0, 0, 0, 0},
  8455. {0x36, 0, 0, 0, 0},
  8456. {0x37, 0, 0, 0, 0},
  8457. {0x38, 0, 0, 0, 0},
  8458. {0x39, 0, 0, 0, 0},
  8459. {0x3A, 0, 0, 0, 0},
  8460. {0x3B, 0, 0, 0, 0},
  8461. {0x3C, 0x13, 0x13, 0, 0},
  8462. {0x3D, 0xf, 0xf, 0, 0},
  8463. {0x3E, 0x18, 0x18, 0, 0},
  8464. {0x3F, 0, 0, 0, 0},
  8465. {0x40, 0, 0, 0, 0},
  8466. {0x41, 0x20, 0x20, 0, 0},
  8467. {0x42, 0x20, 0x20, 0, 0},
  8468. {0x43, 0, 0, 0, 0},
  8469. {0x44, 0x77, 0x77, 0, 0},
  8470. {0x45, 0x7, 0x7, 0, 0},
  8471. {0x46, 0x1, 0x1, 0, 0},
  8472. {0x47, 0x4, 0x4, 0, 0},
  8473. {0x48, 0xf, 0xf, 0, 0},
  8474. {0x49, 0x30, 0x30, 0, 0},
  8475. {0x4A, 0x32, 0x32, 0, 0},
  8476. {0x4B, 0xd, 0xd, 0, 0},
  8477. {0x4C, 0xd, 0xd, 0, 0},
  8478. {0x4D, 0x4, 0x4, 0, 0},
  8479. {0x4E, 0x6, 0x6, 0, 0},
  8480. {0x4F, 0x1, 0x1, 0, 0},
  8481. {0x50, 0x1c, 0x1c, 0, 0},
  8482. {0x51, 0x2, 0x2, 0, 0},
  8483. {0x52, 0x2, 0x2, 0, 0},
  8484. {0x53, 0xf7, 0xf7, 1, 1},
  8485. {0x54, 0xb4, 0xb4, 0, 0},
  8486. {0x55, 0xd2, 0xd2, 0, 0},
  8487. {0x56, 0, 0, 0, 0},
  8488. {0x57, 0, 0, 0, 0},
  8489. {0x58, 0x4, 0x4, 0, 0},
  8490. {0x59, 0x96, 0x96, 0, 0},
  8491. {0x5A, 0x3e, 0x3e, 0, 0},
  8492. {0x5B, 0x3e, 0x3e, 0, 0},
  8493. {0x5C, 0x13, 0x13, 0, 0},
  8494. {0x5D, 0x2, 0x2, 0, 0},
  8495. {0x5E, 0, 0, 0, 0},
  8496. {0x5F, 0x7, 0x7, 0, 0},
  8497. {0x60, 0x7, 0x7, 1, 1},
  8498. {0x61, 0x8, 0x8, 0, 0},
  8499. {0x62, 0x3, 0x3, 0, 0},
  8500. {0x63, 0, 0, 0, 0},
  8501. {0x64, 0, 0, 0, 0},
  8502. {0x65, 0, 0, 0, 0},
  8503. {0x66, 0, 0, 0, 0},
  8504. {0x67, 0, 0, 0, 0},
  8505. {0x68, 0x40, 0x40, 0, 0},
  8506. {0x69, 0, 0, 0, 0},
  8507. {0x6A, 0, 0, 0, 0},
  8508. {0x6B, 0, 0, 0, 0},
  8509. {0x6C, 0, 0, 0, 0},
  8510. {0x6D, 0x1, 0x1, 0, 0},
  8511. {0x6E, 0, 0, 0, 0},
  8512. {0x6F, 0, 0, 0, 0},
  8513. {0x70, 0x60, 0x60, 0, 0},
  8514. {0x71, 0x66, 0x66, 0, 0},
  8515. {0x72, 0xc, 0xc, 0, 0},
  8516. {0x73, 0x66, 0x66, 0, 0},
  8517. {0x74, 0x8f, 0x8f, 1, 1},
  8518. {0x75, 0, 0, 0, 0},
  8519. {0x76, 0xcc, 0xcc, 0, 0},
  8520. {0x77, 0x1, 0x1, 0, 0},
  8521. {0x78, 0x66, 0x66, 0, 0},
  8522. {0x79, 0x66, 0x66, 0, 0},
  8523. {0x7A, 0, 0, 0, 0},
  8524. {0x7B, 0, 0, 0, 0},
  8525. {0x7C, 0, 0, 0, 0},
  8526. {0x7D, 0, 0, 0, 0},
  8527. {0x7E, 0, 0, 0, 0},
  8528. {0x7F, 0, 0, 0, 0},
  8529. {0x80, 0, 0, 0, 0},
  8530. {0x81, 0, 0, 0, 0},
  8531. {0x82, 0, 0, 0, 0},
  8532. {0x83, 0, 0, 0, 0},
  8533. {0x84, 0, 0, 0, 0},
  8534. {0x85, 0xff, 0xff, 0, 0},
  8535. {0x86, 0, 0, 0, 0},
  8536. {0x87, 0, 0, 0, 0},
  8537. {0x88, 0, 0, 0, 0},
  8538. {0x89, 0, 0, 0, 0},
  8539. {0x8A, 0, 0, 0, 0},
  8540. {0x8B, 0, 0, 0, 0},
  8541. {0x8C, 0, 0, 0, 0},
  8542. {0x8D, 0, 0, 0, 0},
  8543. {0x8E, 0, 0, 0, 0},
  8544. {0x8F, 0, 0, 0, 0},
  8545. {0x90, 0, 0, 0, 0},
  8546. {0x91, 0, 0, 0, 0},
  8547. {0x92, 0, 0, 0, 0},
  8548. {0x93, 0, 0, 0, 0},
  8549. {0x94, 0, 0, 0, 0},
  8550. {0x95, 0, 0, 0, 0},
  8551. {0x96, 0, 0, 0, 0},
  8552. {0x97, 0, 0, 0, 0},
  8553. {0x98, 0, 0, 0, 0},
  8554. {0x99, 0, 0, 0, 0},
  8555. {0x9A, 0, 0, 0, 0},
  8556. {0x9B, 0, 0, 0, 0},
  8557. {0x9C, 0, 0, 0, 0},
  8558. {0x9D, 0, 0, 0, 0},
  8559. {0x9E, 0, 0, 0, 0},
  8560. {0x9F, 0x6, 0x6, 0, 0},
  8561. {0xA0, 0x66, 0x66, 0, 0},
  8562. {0xA1, 0x66, 0x66, 0, 0},
  8563. {0xA2, 0x66, 0x66, 0, 0},
  8564. {0xA3, 0x66, 0x66, 0, 0},
  8565. {0xA4, 0x66, 0x66, 0, 0},
  8566. {0xA5, 0x66, 0x66, 0, 0},
  8567. {0xA6, 0x66, 0x66, 0, 0},
  8568. {0xA7, 0x66, 0x66, 0, 0},
  8569. {0xA8, 0x66, 0x66, 0, 0},
  8570. {0xA9, 0x66, 0x66, 0, 0},
  8571. {0xAA, 0x66, 0x66, 0, 0},
  8572. {0xAB, 0x66, 0x66, 0, 0},
  8573. {0xAC, 0x66, 0x66, 0, 0},
  8574. {0xAD, 0x66, 0x66, 0, 0},
  8575. {0xAE, 0x66, 0x66, 0, 0},
  8576. {0xAF, 0x66, 0x66, 0, 0},
  8577. {0xB0, 0x66, 0x66, 0, 0},
  8578. {0xB1, 0x66, 0x66, 0, 0},
  8579. {0xB2, 0x66, 0x66, 0, 0},
  8580. {0xB3, 0xa, 0xa, 0, 0},
  8581. {0xB4, 0, 0, 0, 0},
  8582. {0xB5, 0, 0, 0, 0},
  8583. {0xB6, 0, 0, 0, 0},
  8584. {0xFFFF, 0, 0, 0, 0}
  8585. };
  8586. static struct radio_regs regs_TX_2056_A1[] = {
  8587. {0x02, 0, 0, 0, 0},
  8588. {0x03, 0, 0, 0, 0},
  8589. {0x04, 0, 0, 0, 0},
  8590. {0x05, 0, 0, 0, 0},
  8591. {0x06, 0, 0, 0, 0},
  8592. {0x07, 0, 0, 0, 0},
  8593. {0x08, 0, 0, 0, 0},
  8594. {0x09, 0, 0, 0, 0},
  8595. {0x0A, 0, 0, 0, 0},
  8596. {0x0B, 0, 0, 0, 0},
  8597. {0x0C, 0, 0, 0, 0},
  8598. {0x0D, 0, 0, 0, 0},
  8599. {0x0E, 0, 0, 0, 0},
  8600. {0x0F, 0, 0, 0, 0},
  8601. {0x10, 0, 0, 0, 0},
  8602. {0x11, 0, 0, 0, 0},
  8603. {0x12, 0, 0, 0, 0},
  8604. {0x13, 0, 0, 0, 0},
  8605. {0x14, 0, 0, 0, 0},
  8606. {0x15, 0, 0, 0, 0},
  8607. {0x16, 0, 0, 0, 0},
  8608. {0x17, 0, 0, 0, 0},
  8609. {0x18, 0, 0, 0, 0},
  8610. {0x19, 0, 0, 0, 0},
  8611. {0x1A, 0, 0, 0, 0},
  8612. {0x1B, 0, 0, 0, 0},
  8613. {0x1C, 0, 0, 0, 0},
  8614. {0x1D, 0, 0, 0, 0},
  8615. {0x1E, 0, 0, 0, 0},
  8616. {0x1F, 0, 0, 0, 0},
  8617. {0x20, 0, 0, 0, 0},
  8618. {0x21, 0x88, 0x88, 0, 0},
  8619. {0x22, 0x88, 0x88, 0, 0},
  8620. {0x23, 0x88, 0x88, 0, 0},
  8621. {0x24, 0x88, 0x88, 0, 0},
  8622. {0x25, 0xc, 0xc, 0, 0},
  8623. {0x26, 0, 0, 0, 0},
  8624. {0x27, 0x3, 0x3, 0, 0},
  8625. {0x28, 0, 0, 0, 0},
  8626. {0x29, 0x3, 0x3, 0, 0},
  8627. {0x2A, 0x37, 0x37, 0, 0},
  8628. {0x2B, 0x3, 0x3, 0, 0},
  8629. {0x2C, 0, 0, 0, 0},
  8630. {0x2D, 0, 0, 0, 0},
  8631. {0x2E, 0x1, 0x1, 0, 0},
  8632. {0x2F, 0x1, 0x1, 0, 0},
  8633. {0x30, 0, 0, 0, 0},
  8634. {0x31, 0, 0, 0, 0},
  8635. {0x32, 0, 0, 0, 0},
  8636. {0x33, 0x11, 0x11, 0, 0},
  8637. {0x34, 0x11, 0x11, 0, 0},
  8638. {0x35, 0, 0, 0, 0},
  8639. {0x36, 0, 0, 0, 0},
  8640. {0x37, 0x3, 0x3, 0, 0},
  8641. {0x38, 0xf, 0xf, 0, 0},
  8642. {0x39, 0, 0, 0, 0},
  8643. {0x3A, 0x2d, 0x2d, 0, 0},
  8644. {0x3B, 0, 0, 0, 0},
  8645. {0x3C, 0x6e, 0x6e, 0, 0},
  8646. {0x3D, 0xf0, 0xf0, 1, 1},
  8647. {0x3E, 0, 0, 0, 0},
  8648. {0x3F, 0, 0, 0, 0},
  8649. {0x40, 0, 0, 0, 0},
  8650. {0x41, 0x3, 0x3, 0, 0},
  8651. {0x42, 0x3, 0x3, 0, 0},
  8652. {0x43, 0, 0, 0, 0},
  8653. {0x44, 0x1e, 0x1e, 0, 0},
  8654. {0x45, 0, 0, 0, 0},
  8655. {0x46, 0x6e, 0x6e, 0, 0},
  8656. {0x47, 0xf0, 0xf0, 1, 1},
  8657. {0x48, 0, 0, 0, 0},
  8658. {0x49, 0x2, 0x2, 0, 0},
  8659. {0x4A, 0xff, 0xff, 1, 1},
  8660. {0x4B, 0xc, 0xc, 0, 0},
  8661. {0x4C, 0, 0, 0, 0},
  8662. {0x4D, 0x38, 0x38, 0, 0},
  8663. {0x4E, 0x70, 0x70, 1, 1},
  8664. {0x4F, 0x2, 0x2, 0, 0},
  8665. {0x50, 0x88, 0x88, 0, 0},
  8666. {0x51, 0xc, 0xc, 0, 0},
  8667. {0x52, 0, 0, 0, 0},
  8668. {0x53, 0x8, 0x8, 0, 0},
  8669. {0x54, 0x70, 0x70, 1, 1},
  8670. {0x55, 0x2, 0x2, 0, 0},
  8671. {0x56, 0xff, 0xff, 1, 1},
  8672. {0x57, 0, 0, 0, 0},
  8673. {0x58, 0x83, 0x83, 0, 0},
  8674. {0x59, 0x77, 0x77, 1, 1},
  8675. {0x5A, 0, 0, 0, 0},
  8676. {0x5B, 0x2, 0x2, 0, 0},
  8677. {0x5C, 0x88, 0x88, 0, 0},
  8678. {0x5D, 0, 0, 0, 0},
  8679. {0x5E, 0x8, 0x8, 0, 0},
  8680. {0x5F, 0x77, 0x77, 1, 1},
  8681. {0x60, 0x1, 0x1, 0, 0},
  8682. {0x61, 0, 0, 0, 0},
  8683. {0x62, 0x7, 0x7, 0, 0},
  8684. {0x63, 0, 0, 0, 0},
  8685. {0x64, 0x7, 0x7, 0, 0},
  8686. {0x65, 0, 0, 0, 0},
  8687. {0x66, 0, 0, 0, 0},
  8688. {0x67, 0x72, 0x72, 1, 1},
  8689. {0x68, 0, 0, 0, 0},
  8690. {0x69, 0xa, 0xa, 0, 0},
  8691. {0x6A, 0, 0, 0, 0},
  8692. {0x6B, 0, 0, 0, 0},
  8693. {0x6C, 0, 0, 0, 0},
  8694. {0x6D, 0, 0, 0, 0},
  8695. {0x6E, 0, 0, 0, 0},
  8696. {0x6F, 0, 0, 0, 0},
  8697. {0x70, 0, 0, 0, 0},
  8698. {0x71, 0x2, 0x2, 0, 0},
  8699. {0x72, 0, 0, 0, 0},
  8700. {0x73, 0, 0, 0, 0},
  8701. {0x74, 0xe, 0xe, 0, 0},
  8702. {0x75, 0xe, 0xe, 0, 0},
  8703. {0x76, 0xe, 0xe, 0, 0},
  8704. {0x77, 0x13, 0x13, 0, 0},
  8705. {0x78, 0x13, 0x13, 0, 0},
  8706. {0x79, 0x1b, 0x1b, 0, 0},
  8707. {0x7A, 0x1b, 0x1b, 0, 0},
  8708. {0x7B, 0x55, 0x55, 0, 0},
  8709. {0x7C, 0x5b, 0x5b, 0, 0},
  8710. {0x7D, 0, 0, 0, 0},
  8711. {0x7E, 0, 0, 0, 0},
  8712. {0x7F, 0, 0, 0, 0},
  8713. {0x80, 0, 0, 0, 0},
  8714. {0x81, 0, 0, 0, 0},
  8715. {0x82, 0, 0, 0, 0},
  8716. {0x83, 0, 0, 0, 0},
  8717. {0x84, 0, 0, 0, 0},
  8718. {0x85, 0, 0, 0, 0},
  8719. {0x86, 0, 0, 0, 0},
  8720. {0x87, 0, 0, 0, 0},
  8721. {0x88, 0, 0, 0, 0},
  8722. {0x89, 0, 0, 0, 0},
  8723. {0x8A, 0, 0, 0, 0},
  8724. {0x8B, 0, 0, 0, 0},
  8725. {0x8C, 0, 0, 0, 0},
  8726. {0x8D, 0, 0, 0, 0},
  8727. {0x8E, 0, 0, 0, 0},
  8728. {0x8F, 0, 0, 0, 0},
  8729. {0x90, 0, 0, 0, 0},
  8730. {0x91, 0, 0, 0, 0},
  8731. {0x92, 0, 0, 0, 0},
  8732. {0xFFFF, 0, 0, 0, 0}
  8733. };
  8734. static struct radio_regs regs_RX_2056_A1[] = {
  8735. {0x02, 0, 0, 0, 0},
  8736. {0x03, 0, 0, 0, 0},
  8737. {0x04, 0, 0, 0, 0},
  8738. {0x05, 0, 0, 0, 0},
  8739. {0x06, 0, 0, 0, 0},
  8740. {0x07, 0, 0, 0, 0},
  8741. {0x08, 0, 0, 0, 0},
  8742. {0x09, 0, 0, 0, 0},
  8743. {0x0A, 0, 0, 0, 0},
  8744. {0x0B, 0, 0, 0, 0},
  8745. {0x0C, 0, 0, 0, 0},
  8746. {0x0D, 0, 0, 0, 0},
  8747. {0x0E, 0, 0, 0, 0},
  8748. {0x0F, 0, 0, 0, 0},
  8749. {0x10, 0, 0, 0, 0},
  8750. {0x11, 0, 0, 0, 0},
  8751. {0x12, 0, 0, 0, 0},
  8752. {0x13, 0, 0, 0, 0},
  8753. {0x14, 0, 0, 0, 0},
  8754. {0x15, 0, 0, 0, 0},
  8755. {0x16, 0, 0, 0, 0},
  8756. {0x17, 0, 0, 0, 0},
  8757. {0x18, 0, 0, 0, 0},
  8758. {0x19, 0, 0, 0, 0},
  8759. {0x1A, 0, 0, 0, 0},
  8760. {0x1B, 0, 0, 0, 0},
  8761. {0x1C, 0, 0, 0, 0},
  8762. {0x1D, 0, 0, 0, 0},
  8763. {0x1E, 0, 0, 0, 0},
  8764. {0x1F, 0, 0, 0, 0},
  8765. {0x20, 0x3, 0x3, 0, 0},
  8766. {0x21, 0, 0, 0, 0},
  8767. {0x22, 0, 0, 0, 0},
  8768. {0x23, 0x90, 0x90, 0, 0},
  8769. {0x24, 0x55, 0x55, 0, 0},
  8770. {0x25, 0x15, 0x15, 0, 0},
  8771. {0x26, 0x5, 0x5, 0, 0},
  8772. {0x27, 0x15, 0x15, 0, 0},
  8773. {0x28, 0x5, 0x5, 0, 0},
  8774. {0x29, 0x20, 0x20, 0, 0},
  8775. {0x2A, 0x11, 0x11, 0, 0},
  8776. {0x2B, 0x90, 0x90, 0, 0},
  8777. {0x2C, 0, 0, 0, 0},
  8778. {0x2D, 0x88, 0x88, 0, 0},
  8779. {0x2E, 0x32, 0x32, 0, 0},
  8780. {0x2F, 0x77, 0x77, 0, 0},
  8781. {0x30, 0x17, 0x17, 1, 1},
  8782. {0x31, 0xff, 0xff, 1, 1},
  8783. {0x32, 0x20, 0x20, 0, 0},
  8784. {0x33, 0, 0, 0, 0},
  8785. {0x34, 0x88, 0x88, 0, 0},
  8786. {0x35, 0x32, 0x32, 0, 0},
  8787. {0x36, 0x77, 0x77, 0, 0},
  8788. {0x37, 0x17, 0x17, 1, 1},
  8789. {0x38, 0xf0, 0xf0, 1, 1},
  8790. {0x39, 0x20, 0x20, 0, 0},
  8791. {0x3A, 0x8, 0x8, 0, 0},
  8792. {0x3B, 0x55, 0x55, 1, 1},
  8793. {0x3C, 0, 0, 0, 0},
  8794. {0x3D, 0x44, 0x44, 1, 1},
  8795. {0x3E, 0, 0, 0, 0},
  8796. {0x3F, 0x44, 0x44, 0, 0},
  8797. {0x40, 0xf, 0xf, 1, 1},
  8798. {0x41, 0x6, 0x6, 0, 0},
  8799. {0x42, 0x4, 0x4, 0, 0},
  8800. {0x43, 0x50, 0x50, 1, 1},
  8801. {0x44, 0x8, 0x8, 0, 0},
  8802. {0x45, 0x55, 0x55, 1, 1},
  8803. {0x46, 0, 0, 0, 0},
  8804. {0x47, 0x11, 0x11, 0, 0},
  8805. {0x48, 0, 0, 0, 0},
  8806. {0x49, 0x44, 0x44, 0, 0},
  8807. {0x4A, 0x7, 0x7, 0, 0},
  8808. {0x4B, 0x6, 0x6, 0, 0},
  8809. {0x4C, 0x4, 0x4, 0, 0},
  8810. {0x4D, 0, 0, 0, 0},
  8811. {0x4E, 0, 0, 0, 0},
  8812. {0x4F, 0x26, 0x26, 1, 1},
  8813. {0x50, 0x26, 0x26, 1, 1},
  8814. {0x51, 0xf, 0xf, 1, 1},
  8815. {0x52, 0xf, 0xf, 1, 1},
  8816. {0x53, 0x44, 0x44, 0, 0},
  8817. {0x54, 0, 0, 0, 0},
  8818. {0x55, 0, 0, 0, 0},
  8819. {0x56, 0x8, 0x8, 0, 0},
  8820. {0x57, 0x8, 0x8, 0, 0},
  8821. {0x58, 0x7, 0x7, 0, 0},
  8822. {0x59, 0x22, 0x22, 0, 0},
  8823. {0x5A, 0x22, 0x22, 0, 0},
  8824. {0x5B, 0x2, 0x2, 0, 0},
  8825. {0x5C, 0x2f, 0x2f, 1, 1},
  8826. {0x5D, 0x7, 0x7, 0, 0},
  8827. {0x5E, 0x55, 0x55, 0, 0},
  8828. {0x5F, 0x23, 0x23, 0, 0},
  8829. {0x60, 0x41, 0x41, 0, 0},
  8830. {0x61, 0x1, 0x1, 0, 0},
  8831. {0x62, 0xa, 0xa, 0, 0},
  8832. {0x63, 0, 0, 0, 0},
  8833. {0x64, 0, 0, 0, 0},
  8834. {0x65, 0, 0, 0, 0},
  8835. {0x66, 0, 0, 0, 0},
  8836. {0x67, 0, 0, 0, 0},
  8837. {0x68, 0, 0, 0, 0},
  8838. {0x69, 0, 0, 0, 0},
  8839. {0x6A, 0, 0, 0, 0},
  8840. {0x6B, 0xc, 0xc, 0, 0},
  8841. {0x6C, 0, 0, 0, 0},
  8842. {0x6D, 0, 0, 0, 0},
  8843. {0x6E, 0, 0, 0, 0},
  8844. {0x6F, 0, 0, 0, 0},
  8845. {0x70, 0, 0, 0, 0},
  8846. {0x71, 0, 0, 0, 0},
  8847. {0x72, 0x22, 0x22, 0, 0},
  8848. {0x73, 0x22, 0x22, 0, 0},
  8849. {0x74, 0, 0, 1, 1},
  8850. {0x75, 0xa, 0xa, 0, 0},
  8851. {0x76, 0x1, 0x1, 0, 0},
  8852. {0x77, 0x22, 0x22, 0, 0},
  8853. {0x78, 0x30, 0x30, 0, 0},
  8854. {0x79, 0, 0, 0, 0},
  8855. {0x7A, 0, 0, 0, 0},
  8856. {0x7B, 0, 0, 0, 0},
  8857. {0x7C, 0, 0, 0, 0},
  8858. {0x7D, 0, 0, 0, 0},
  8859. {0x7E, 0, 0, 0, 0},
  8860. {0x7F, 0, 0, 0, 0},
  8861. {0x80, 0, 0, 0, 0},
  8862. {0x81, 0, 0, 0, 0},
  8863. {0x82, 0, 0, 0, 0},
  8864. {0x83, 0, 0, 0, 0},
  8865. {0x84, 0, 0, 0, 0},
  8866. {0x85, 0, 0, 0, 0},
  8867. {0x86, 0, 0, 0, 0},
  8868. {0x87, 0, 0, 0, 0},
  8869. {0x88, 0, 0, 0, 0},
  8870. {0x89, 0, 0, 0, 0},
  8871. {0x8A, 0, 0, 0, 0},
  8872. {0x8B, 0, 0, 0, 0},
  8873. {0x8C, 0, 0, 0, 0},
  8874. {0x8D, 0, 0, 0, 0},
  8875. {0x8E, 0, 0, 0, 0},
  8876. {0x8F, 0, 0, 0, 0},
  8877. {0x90, 0, 0, 0, 0},
  8878. {0x91, 0, 0, 0, 0},
  8879. {0x92, 0, 0, 0, 0},
  8880. {0x93, 0, 0, 0, 0},
  8881. {0x94, 0, 0, 0, 0},
  8882. {0xFFFF, 0, 0, 0, 0}
  8883. };
  8884. static struct radio_regs regs_SYN_2056_rev5[] = {
  8885. {0x02, 0, 0, 0, 0},
  8886. {0x03, 0, 0, 0, 0},
  8887. {0x04, 0, 0, 0, 0},
  8888. {0x05, 0, 0, 0, 0},
  8889. {0x06, 0, 0, 0, 0},
  8890. {0x07, 0, 0, 0, 0},
  8891. {0x08, 0, 0, 0, 0},
  8892. {0x09, 0x1, 0x1, 0, 0},
  8893. {0x0A, 0, 0, 0, 0},
  8894. {0x0B, 0, 0, 0, 0},
  8895. {0x0C, 0, 0, 0, 0},
  8896. {0x0D, 0, 0, 0, 0},
  8897. {0x0E, 0, 0, 0, 0},
  8898. {0x0F, 0, 0, 0, 0},
  8899. {0x10, 0, 0, 0, 0},
  8900. {0x11, 0, 0, 0, 0},
  8901. {0x12, 0, 0, 0, 0},
  8902. {0x13, 0, 0, 0, 0},
  8903. {0x14, 0, 0, 0, 0},
  8904. {0x15, 0, 0, 0, 0},
  8905. {0x16, 0, 0, 0, 0},
  8906. {0x17, 0, 0, 0, 0},
  8907. {0x18, 0, 0, 0, 0},
  8908. {0x19, 0, 0, 0, 0},
  8909. {0x1A, 0, 0, 0, 0},
  8910. {0x1B, 0, 0, 0, 0},
  8911. {0x1C, 0, 0, 0, 0},
  8912. {0x1D, 0, 0, 0, 0},
  8913. {0x1E, 0, 0, 0, 0},
  8914. {0x1F, 0, 0, 0, 0},
  8915. {0x20, 0, 0, 0, 0},
  8916. {0x21, 0, 0, 0, 0},
  8917. {0x22, 0x60, 0x60, 0, 0},
  8918. {0x23, 0x6, 0x6, 0, 0},
  8919. {0x24, 0xc, 0xc, 0, 0},
  8920. {0x25, 0, 0, 0, 0},
  8921. {0x26, 0, 0, 0, 0},
  8922. {0x27, 0, 0, 0, 0},
  8923. {0x28, 0x1, 0x1, 0, 0},
  8924. {0x29, 0, 0, 0, 0},
  8925. {0x2A, 0, 0, 0, 0},
  8926. {0x2B, 0, 0, 0, 0},
  8927. {0x2C, 0, 0, 0, 0},
  8928. {0x2D, 0, 0, 0, 0},
  8929. {0x2E, 0, 0, 0, 0},
  8930. {0x2F, 0x1f, 0x1f, 0, 0},
  8931. {0x30, 0x15, 0x15, 0, 0},
  8932. {0x31, 0xf, 0xf, 0, 0},
  8933. {0x32, 0, 0, 0, 0},
  8934. {0x33, 0, 0, 0, 0},
  8935. {0x34, 0, 0, 0, 0},
  8936. {0x35, 0, 0, 0, 0},
  8937. {0x36, 0, 0, 0, 0},
  8938. {0x37, 0, 0, 0, 0},
  8939. {0x38, 0, 0, 0, 0},
  8940. {0x39, 0, 0, 0, 0},
  8941. {0x3A, 0, 0, 0, 0},
  8942. {0x3B, 0, 0, 0, 0},
  8943. {0x3C, 0x13, 0x13, 0, 0},
  8944. {0x3D, 0xf, 0xf, 0, 0},
  8945. {0x3E, 0x18, 0x18, 0, 0},
  8946. {0x3F, 0, 0, 0, 0},
  8947. {0x40, 0, 0, 0, 0},
  8948. {0x41, 0x20, 0x20, 0, 0},
  8949. {0x42, 0x20, 0x20, 0, 0},
  8950. {0x43, 0, 0, 0, 0},
  8951. {0x44, 0x77, 0x77, 0, 0},
  8952. {0x45, 0x7, 0x7, 0, 0},
  8953. {0x46, 0x1, 0x1, 0, 0},
  8954. {0x47, 0x4, 0x4, 0, 0},
  8955. {0x48, 0xf, 0xf, 0, 0},
  8956. {0x49, 0x30, 0x30, 0, 0},
  8957. {0x4A, 0x32, 0x32, 0, 0},
  8958. {0x4B, 0xd, 0xd, 0, 0},
  8959. {0x4C, 0xd, 0xd, 0, 0},
  8960. {0x4D, 0x4, 0x4, 0, 0},
  8961. {0x4E, 0x6, 0x6, 0, 0},
  8962. {0x4F, 0x1, 0x1, 0, 0},
  8963. {0x50, 0x1c, 0x1c, 0, 0},
  8964. {0x51, 0x2, 0x2, 0, 0},
  8965. {0x52, 0x2, 0x2, 0, 0},
  8966. {0x53, 0xf7, 0xf7, 1, 1},
  8967. {0x54, 0xb4, 0xb4, 0, 0},
  8968. {0x55, 0xd2, 0xd2, 0, 0},
  8969. {0x56, 0, 0, 0, 0},
  8970. {0x57, 0, 0, 0, 0},
  8971. {0x58, 0x4, 0x4, 0, 0},
  8972. {0x59, 0x96, 0x96, 0, 0},
  8973. {0x5A, 0x3e, 0x3e, 0, 0},
  8974. {0x5B, 0x3e, 0x3e, 0, 0},
  8975. {0x5C, 0x13, 0x13, 0, 0},
  8976. {0x5D, 0x2, 0x2, 0, 0},
  8977. {0x5E, 0, 0, 0, 0},
  8978. {0x5F, 0x7, 0x7, 0, 0},
  8979. {0x60, 0x7, 0x7, 1, 1},
  8980. {0x61, 0x8, 0x8, 0, 0},
  8981. {0x62, 0x3, 0x3, 0, 0},
  8982. {0x63, 0, 0, 0, 0},
  8983. {0x64, 0, 0, 0, 0},
  8984. {0x65, 0, 0, 0, 0},
  8985. {0x66, 0, 0, 0, 0},
  8986. {0x67, 0, 0, 0, 0},
  8987. {0x68, 0x40, 0x40, 0, 0},
  8988. {0x69, 0, 0, 0, 0},
  8989. {0x6A, 0, 0, 0, 0},
  8990. {0x6B, 0, 0, 0, 0},
  8991. {0x6C, 0, 0, 0, 0},
  8992. {0x6D, 0x1, 0x1, 0, 0},
  8993. {0x6E, 0, 0, 0, 0},
  8994. {0x6F, 0, 0, 0, 0},
  8995. {0x70, 0x60, 0x60, 0, 0},
  8996. {0x71, 0x66, 0x66, 0, 0},
  8997. {0x72, 0xc, 0xc, 0, 0},
  8998. {0x73, 0x66, 0x66, 0, 0},
  8999. {0x74, 0x8f, 0x8f, 1, 1},
  9000. {0x75, 0, 0, 0, 0},
  9001. {0x76, 0xcc, 0xcc, 0, 0},
  9002. {0x77, 0x1, 0x1, 0, 0},
  9003. {0x78, 0x66, 0x66, 0, 0},
  9004. {0x79, 0x66, 0x66, 0, 0},
  9005. {0x7A, 0, 0, 0, 0},
  9006. {0x7B, 0, 0, 0, 0},
  9007. {0x7C, 0, 0, 0, 0},
  9008. {0x7D, 0, 0, 0, 0},
  9009. {0x7E, 0, 0, 0, 0},
  9010. {0x7F, 0, 0, 0, 0},
  9011. {0x80, 0, 0, 0, 0},
  9012. {0x81, 0, 0, 0, 0},
  9013. {0x82, 0, 0, 0, 0},
  9014. {0x83, 0, 0, 0, 0},
  9015. {0x84, 0, 0, 0, 0},
  9016. {0x85, 0xff, 0xff, 0, 0},
  9017. {0x86, 0, 0, 0, 0},
  9018. {0x87, 0, 0, 0, 0},
  9019. {0x88, 0, 0, 0, 0},
  9020. {0x89, 0, 0, 0, 0},
  9021. {0x8A, 0, 0, 0, 0},
  9022. {0x8B, 0, 0, 0, 0},
  9023. {0x8C, 0, 0, 0, 0},
  9024. {0x8D, 0, 0, 0, 0},
  9025. {0x8E, 0, 0, 0, 0},
  9026. {0x8F, 0, 0, 0, 0},
  9027. {0x90, 0, 0, 0, 0},
  9028. {0x91, 0, 0, 0, 0},
  9029. {0x92, 0, 0, 0, 0},
  9030. {0x93, 0, 0, 0, 0},
  9031. {0x94, 0, 0, 0, 0},
  9032. {0x95, 0, 0, 0, 0},
  9033. {0x96, 0, 0, 0, 0},
  9034. {0x97, 0, 0, 0, 0},
  9035. {0x98, 0, 0, 0, 0},
  9036. {0x99, 0, 0, 0, 0},
  9037. {0x9A, 0, 0, 0, 0},
  9038. {0x9B, 0, 0, 0, 0},
  9039. {0x9C, 0, 0, 0, 0},
  9040. {0x9D, 0, 0, 0, 0},
  9041. {0x9E, 0, 0, 0, 0},
  9042. {0x9F, 0x6, 0x6, 0, 0},
  9043. {0xA0, 0x66, 0x66, 0, 0},
  9044. {0xA1, 0x66, 0x66, 0, 0},
  9045. {0xA2, 0x66, 0x66, 0, 0},
  9046. {0xA3, 0x66, 0x66, 0, 0},
  9047. {0xA4, 0x66, 0x66, 0, 0},
  9048. {0xA5, 0x66, 0x66, 0, 0},
  9049. {0xA6, 0x66, 0x66, 0, 0},
  9050. {0xA7, 0x66, 0x66, 0, 0},
  9051. {0xA8, 0x66, 0x66, 0, 0},
  9052. {0xA9, 0x66, 0x66, 0, 0},
  9053. {0xAA, 0x66, 0x66, 0, 0},
  9054. {0xAB, 0x66, 0x66, 0, 0},
  9055. {0xAC, 0x66, 0x66, 0, 0},
  9056. {0xAD, 0x66, 0x66, 0, 0},
  9057. {0xAE, 0x66, 0x66, 0, 0},
  9058. {0xAF, 0x66, 0x66, 0, 0},
  9059. {0xB0, 0x66, 0x66, 0, 0},
  9060. {0xB1, 0x66, 0x66, 0, 0},
  9061. {0xB2, 0x66, 0x66, 0, 0},
  9062. {0xB3, 0xa, 0xa, 0, 0},
  9063. {0xB4, 0, 0, 0, 0},
  9064. {0xB5, 0, 0, 0, 0},
  9065. {0xB6, 0, 0, 0, 0},
  9066. {0xFFFF, 0, 0, 0, 0}
  9067. };
  9068. static struct radio_regs regs_TX_2056_rev5[] = {
  9069. {0x02, 0, 0, 0, 0},
  9070. {0x03, 0, 0, 0, 0},
  9071. {0x04, 0, 0, 0, 0},
  9072. {0x05, 0, 0, 0, 0},
  9073. {0x06, 0, 0, 0, 0},
  9074. {0x07, 0, 0, 0, 0},
  9075. {0x08, 0, 0, 0, 0},
  9076. {0x09, 0, 0, 0, 0},
  9077. {0x0A, 0, 0, 0, 0},
  9078. {0x0B, 0, 0, 0, 0},
  9079. {0x0C, 0, 0, 0, 0},
  9080. {0x0D, 0, 0, 0, 0},
  9081. {0x0E, 0, 0, 0, 0},
  9082. {0x0F, 0, 0, 0, 0},
  9083. {0x10, 0, 0, 0, 0},
  9084. {0x11, 0, 0, 0, 0},
  9085. {0x12, 0, 0, 0, 0},
  9086. {0x13, 0, 0, 0, 0},
  9087. {0x14, 0, 0, 0, 0},
  9088. {0x15, 0, 0, 0, 0},
  9089. {0x16, 0, 0, 0, 0},
  9090. {0x17, 0, 0, 0, 0},
  9091. {0x18, 0, 0, 0, 0},
  9092. {0x19, 0, 0, 0, 0},
  9093. {0x1A, 0, 0, 0, 0},
  9094. {0x1B, 0, 0, 0, 0},
  9095. {0x1C, 0, 0, 0, 0},
  9096. {0x1D, 0, 0, 0, 0},
  9097. {0x1E, 0, 0, 0, 0},
  9098. {0x1F, 0, 0, 0, 0},
  9099. {0x20, 0, 0, 0, 0},
  9100. {0x21, 0x88, 0x88, 0, 0},
  9101. {0x22, 0x88, 0x88, 0, 0},
  9102. {0x23, 0x88, 0x88, 0, 0},
  9103. {0x24, 0x88, 0x88, 0, 0},
  9104. {0x25, 0xc, 0xc, 0, 0},
  9105. {0x26, 0, 0, 0, 0},
  9106. {0x27, 0x3, 0x3, 0, 0},
  9107. {0x28, 0, 0, 0, 0},
  9108. {0x29, 0x3, 0x3, 0, 0},
  9109. {0x2A, 0x37, 0x37, 0, 0},
  9110. {0x2B, 0x3, 0x3, 0, 0},
  9111. {0x2C, 0, 0, 0, 0},
  9112. {0x2D, 0, 0, 0, 0},
  9113. {0x2E, 0x1, 0x1, 0, 0},
  9114. {0x2F, 0x1, 0x1, 0, 0},
  9115. {0x30, 0, 0, 0, 0},
  9116. {0x31, 0, 0, 0, 0},
  9117. {0x32, 0, 0, 0, 0},
  9118. {0x33, 0x11, 0x11, 0, 0},
  9119. {0x34, 0x11, 0x11, 0, 0},
  9120. {0x35, 0, 0, 0, 0},
  9121. {0x36, 0, 0, 0, 0},
  9122. {0x37, 0x3, 0x3, 0, 0},
  9123. {0x38, 0xf, 0xf, 0, 0},
  9124. {0x39, 0, 0, 0, 0},
  9125. {0x3A, 0x2d, 0x2d, 0, 0},
  9126. {0x3B, 0, 0, 0, 0},
  9127. {0x3C, 0x6e, 0x6e, 0, 0},
  9128. {0x3D, 0xf0, 0xf0, 1, 1},
  9129. {0x3E, 0, 0, 0, 0},
  9130. {0x3F, 0, 0, 0, 0},
  9131. {0x40, 0, 0, 0, 0},
  9132. {0x41, 0x3, 0x3, 0, 0},
  9133. {0x42, 0x3, 0x3, 0, 0},
  9134. {0x43, 0, 0, 0, 0},
  9135. {0x44, 0x1e, 0x1e, 0, 0},
  9136. {0x45, 0, 0, 0, 0},
  9137. {0x46, 0x6e, 0x6e, 0, 0},
  9138. {0x47, 0xf0, 0xf0, 1, 1},
  9139. {0x48, 0, 0, 0, 0},
  9140. {0x49, 0x2, 0x2, 0, 0},
  9141. {0x4A, 0xff, 0xff, 1, 1},
  9142. {0x4B, 0xc, 0xc, 0, 0},
  9143. {0x4C, 0, 0, 0, 0},
  9144. {0x4D, 0x38, 0x38, 0, 0},
  9145. {0x4E, 0x70, 0x70, 1, 1},
  9146. {0x4F, 0x2, 0x2, 0, 0},
  9147. {0x50, 0x88, 0x88, 0, 0},
  9148. {0x51, 0xc, 0xc, 0, 0},
  9149. {0x52, 0, 0, 0, 0},
  9150. {0x53, 0x8, 0x8, 0, 0},
  9151. {0x54, 0x70, 0x70, 1, 1},
  9152. {0x55, 0x2, 0x2, 0, 0},
  9153. {0x56, 0xff, 0xff, 1, 1},
  9154. {0x57, 0, 0, 0, 0},
  9155. {0x58, 0x83, 0x83, 0, 0},
  9156. {0x59, 0x77, 0x77, 1, 1},
  9157. {0x5A, 0, 0, 0, 0},
  9158. {0x5B, 0x2, 0x2, 0, 0},
  9159. {0x5C, 0x88, 0x88, 0, 0},
  9160. {0x5D, 0, 0, 0, 0},
  9161. {0x5E, 0x8, 0x8, 0, 0},
  9162. {0x5F, 0x77, 0x77, 1, 1},
  9163. {0x60, 0x1, 0x1, 0, 0},
  9164. {0x61, 0, 0, 0, 0},
  9165. {0x62, 0x7, 0x7, 0, 0},
  9166. {0x63, 0, 0, 0, 0},
  9167. {0x64, 0x7, 0x7, 0, 0},
  9168. {0x65, 0, 0, 0, 0},
  9169. {0x66, 0, 0, 0, 0},
  9170. {0x67, 0, 0, 1, 1},
  9171. {0x68, 0, 0, 0, 0},
  9172. {0x69, 0xa, 0xa, 0, 0},
  9173. {0x6A, 0, 0, 0, 0},
  9174. {0x6B, 0, 0, 0, 0},
  9175. {0x6C, 0, 0, 0, 0},
  9176. {0x6D, 0, 0, 0, 0},
  9177. {0x6E, 0, 0, 0, 0},
  9178. {0x6F, 0, 0, 0, 0},
  9179. {0x70, 0, 0, 0, 0},
  9180. {0x71, 0x2, 0x2, 0, 0},
  9181. {0x72, 0, 0, 0, 0},
  9182. {0x73, 0, 0, 0, 0},
  9183. {0x74, 0xe, 0xe, 0, 0},
  9184. {0x75, 0xe, 0xe, 0, 0},
  9185. {0x76, 0xe, 0xe, 0, 0},
  9186. {0x77, 0x13, 0x13, 0, 0},
  9187. {0x78, 0x13, 0x13, 0, 0},
  9188. {0x79, 0x1b, 0x1b, 0, 0},
  9189. {0x7A, 0x1b, 0x1b, 0, 0},
  9190. {0x7B, 0x55, 0x55, 0, 0},
  9191. {0x7C, 0x5b, 0x5b, 0, 0},
  9192. {0x7D, 0, 0, 0, 0},
  9193. {0x7E, 0, 0, 0, 0},
  9194. {0x7F, 0, 0, 0, 0},
  9195. {0x80, 0, 0, 0, 0},
  9196. {0x81, 0, 0, 0, 0},
  9197. {0x82, 0, 0, 0, 0},
  9198. {0x83, 0, 0, 0, 0},
  9199. {0x84, 0, 0, 0, 0},
  9200. {0x85, 0, 0, 0, 0},
  9201. {0x86, 0, 0, 0, 0},
  9202. {0x87, 0, 0, 0, 0},
  9203. {0x88, 0, 0, 0, 0},
  9204. {0x89, 0, 0, 0, 0},
  9205. {0x8A, 0, 0, 0, 0},
  9206. {0x8B, 0, 0, 0, 0},
  9207. {0x8C, 0, 0, 0, 0},
  9208. {0x8D, 0, 0, 0, 0},
  9209. {0x8E, 0, 0, 0, 0},
  9210. {0x8F, 0, 0, 0, 0},
  9211. {0x90, 0, 0, 0, 0},
  9212. {0x91, 0, 0, 0, 0},
  9213. {0x92, 0, 0, 0, 0},
  9214. {0x93, 0x70, 0x70, 0, 0},
  9215. {0x94, 0x70, 0x70, 0, 0},
  9216. {0x95, 0x71, 0x71, 1, 1},
  9217. {0x96, 0x71, 0x71, 1, 1},
  9218. {0x97, 0x72, 0x72, 1, 1},
  9219. {0x98, 0x73, 0x73, 1, 1},
  9220. {0x99, 0x74, 0x74, 1, 1},
  9221. {0x9A, 0x75, 0x75, 1, 1},
  9222. {0xFFFF, 0, 0, 0, 0}
  9223. };
  9224. static struct radio_regs regs_RX_2056_rev5[] = {
  9225. {0x02, 0, 0, 0, 0},
  9226. {0x03, 0, 0, 0, 0},
  9227. {0x04, 0, 0, 0, 0},
  9228. {0x05, 0, 0, 0, 0},
  9229. {0x06, 0, 0, 0, 0},
  9230. {0x07, 0, 0, 0, 0},
  9231. {0x08, 0, 0, 0, 0},
  9232. {0x09, 0, 0, 0, 0},
  9233. {0x0A, 0, 0, 0, 0},
  9234. {0x0B, 0, 0, 0, 0},
  9235. {0x0C, 0, 0, 0, 0},
  9236. {0x0D, 0, 0, 0, 0},
  9237. {0x0E, 0, 0, 0, 0},
  9238. {0x0F, 0, 0, 0, 0},
  9239. {0x10, 0, 0, 0, 0},
  9240. {0x11, 0, 0, 0, 0},
  9241. {0x12, 0, 0, 0, 0},
  9242. {0x13, 0, 0, 0, 0},
  9243. {0x14, 0, 0, 0, 0},
  9244. {0x15, 0, 0, 0, 0},
  9245. {0x16, 0, 0, 0, 0},
  9246. {0x17, 0, 0, 0, 0},
  9247. {0x18, 0, 0, 0, 0},
  9248. {0x19, 0, 0, 0, 0},
  9249. {0x1A, 0, 0, 0, 0},
  9250. {0x1B, 0, 0, 0, 0},
  9251. {0x1C, 0, 0, 0, 0},
  9252. {0x1D, 0, 0, 0, 0},
  9253. {0x1E, 0, 0, 0, 0},
  9254. {0x1F, 0, 0, 0, 0},
  9255. {0x20, 0x3, 0x3, 0, 0},
  9256. {0x21, 0, 0, 0, 0},
  9257. {0x22, 0, 0, 0, 0},
  9258. {0x23, 0x90, 0x90, 0, 0},
  9259. {0x24, 0x55, 0x55, 0, 0},
  9260. {0x25, 0x15, 0x15, 0, 0},
  9261. {0x26, 0x5, 0x5, 0, 0},
  9262. {0x27, 0x15, 0x15, 0, 0},
  9263. {0x28, 0x5, 0x5, 0, 0},
  9264. {0x29, 0x20, 0x20, 0, 0},
  9265. {0x2A, 0x11, 0x11, 0, 0},
  9266. {0x2B, 0x90, 0x90, 0, 0},
  9267. {0x2C, 0, 0, 0, 0},
  9268. {0x2D, 0x88, 0x88, 0, 0},
  9269. {0x2E, 0x32, 0x32, 0, 0},
  9270. {0x2F, 0x77, 0x77, 0, 0},
  9271. {0x30, 0x17, 0x17, 1, 1},
  9272. {0x31, 0xff, 0xff, 1, 1},
  9273. {0x32, 0x20, 0x20, 0, 0},
  9274. {0x33, 0, 0, 0, 0},
  9275. {0x34, 0x88, 0x88, 0, 0},
  9276. {0x35, 0x32, 0x32, 0, 0},
  9277. {0x36, 0x77, 0x77, 0, 0},
  9278. {0x37, 0x17, 0x17, 1, 1},
  9279. {0x38, 0xf0, 0xf0, 1, 1},
  9280. {0x39, 0x20, 0x20, 0, 0},
  9281. {0x3A, 0x8, 0x8, 0, 0},
  9282. {0x3B, 0x55, 0x55, 1, 1},
  9283. {0x3C, 0, 0, 0, 0},
  9284. {0x3D, 0x88, 0x88, 1, 1},
  9285. {0x3E, 0, 0, 0, 0},
  9286. {0x3F, 0, 0, 1, 1},
  9287. {0x40, 0x7, 0x7, 1, 1},
  9288. {0x41, 0x6, 0x6, 0, 0},
  9289. {0x42, 0x4, 0x4, 0, 0},
  9290. {0x43, 0, 0, 0, 0},
  9291. {0x44, 0x8, 0x8, 0, 0},
  9292. {0x45, 0x55, 0x55, 1, 1},
  9293. {0x46, 0, 0, 0, 0},
  9294. {0x47, 0x11, 0x11, 0, 0},
  9295. {0x48, 0, 0, 0, 0},
  9296. {0x49, 0, 0, 1, 1},
  9297. {0x4A, 0x7, 0x7, 0, 0},
  9298. {0x4B, 0x6, 0x6, 0, 0},
  9299. {0x4C, 0x4, 0x4, 0, 0},
  9300. {0x4D, 0, 0, 0, 0},
  9301. {0x4E, 0, 0, 0, 0},
  9302. {0x4F, 0x26, 0x26, 1, 1},
  9303. {0x50, 0x26, 0x26, 1, 1},
  9304. {0x51, 0xf, 0xf, 1, 1},
  9305. {0x52, 0xf, 0xf, 1, 1},
  9306. {0x53, 0x44, 0x44, 0, 0},
  9307. {0x54, 0, 0, 0, 0},
  9308. {0x55, 0, 0, 0, 0},
  9309. {0x56, 0x8, 0x8, 0, 0},
  9310. {0x57, 0x8, 0x8, 0, 0},
  9311. {0x58, 0x7, 0x7, 0, 0},
  9312. {0x59, 0x22, 0x22, 0, 0},
  9313. {0x5A, 0x22, 0x22, 0, 0},
  9314. {0x5B, 0x2, 0x2, 0, 0},
  9315. {0x5C, 0x4, 0x4, 1, 1},
  9316. {0x5D, 0x7, 0x7, 0, 0},
  9317. {0x5E, 0x55, 0x55, 0, 0},
  9318. {0x5F, 0x23, 0x23, 0, 0},
  9319. {0x60, 0x41, 0x41, 0, 0},
  9320. {0x61, 0x1, 0x1, 0, 0},
  9321. {0x62, 0xa, 0xa, 0, 0},
  9322. {0x63, 0, 0, 0, 0},
  9323. {0x64, 0, 0, 0, 0},
  9324. {0x65, 0, 0, 0, 0},
  9325. {0x66, 0, 0, 0, 0},
  9326. {0x67, 0, 0, 0, 0},
  9327. {0x68, 0, 0, 0, 0},
  9328. {0x69, 0, 0, 0, 0},
  9329. {0x6A, 0, 0, 0, 0},
  9330. {0x6B, 0xc, 0xc, 0, 0},
  9331. {0x6C, 0, 0, 0, 0},
  9332. {0x6D, 0, 0, 0, 0},
  9333. {0x6E, 0, 0, 0, 0},
  9334. {0x6F, 0, 0, 0, 0},
  9335. {0x70, 0, 0, 0, 0},
  9336. {0x71, 0, 0, 0, 0},
  9337. {0x72, 0x22, 0x22, 0, 0},
  9338. {0x73, 0x22, 0x22, 0, 0},
  9339. {0x74, 0, 0, 1, 1},
  9340. {0x75, 0xa, 0xa, 0, 0},
  9341. {0x76, 0x1, 0x1, 0, 0},
  9342. {0x77, 0x22, 0x22, 0, 0},
  9343. {0x78, 0x30, 0x30, 0, 0},
  9344. {0x79, 0, 0, 0, 0},
  9345. {0x7A, 0, 0, 0, 0},
  9346. {0x7B, 0, 0, 0, 0},
  9347. {0x7C, 0, 0, 0, 0},
  9348. {0x7D, 0, 0, 0, 0},
  9349. {0x7E, 0, 0, 0, 0},
  9350. {0x7F, 0, 0, 0, 0},
  9351. {0x80, 0, 0, 0, 0},
  9352. {0x81, 0, 0, 0, 0},
  9353. {0x82, 0, 0, 0, 0},
  9354. {0x83, 0, 0, 0, 0},
  9355. {0x84, 0, 0, 0, 0},
  9356. {0x85, 0, 0, 0, 0},
  9357. {0x86, 0, 0, 0, 0},
  9358. {0x87, 0, 0, 0, 0},
  9359. {0x88, 0, 0, 0, 0},
  9360. {0x89, 0, 0, 0, 0},
  9361. {0x8A, 0, 0, 0, 0},
  9362. {0x8B, 0, 0, 0, 0},
  9363. {0x8C, 0, 0, 0, 0},
  9364. {0x8D, 0, 0, 0, 0},
  9365. {0x8E, 0, 0, 0, 0},
  9366. {0x8F, 0, 0, 0, 0},
  9367. {0x90, 0, 0, 0, 0},
  9368. {0x91, 0, 0, 0, 0},
  9369. {0x92, 0, 0, 0, 0},
  9370. {0x93, 0, 0, 0, 0},
  9371. {0x94, 0, 0, 0, 0},
  9372. {0xFFFF, 0, 0, 0, 0}
  9373. };
  9374. static struct radio_regs regs_SYN_2056_rev6[] = {
  9375. {0x02, 0, 0, 0, 0},
  9376. {0x03, 0, 0, 0, 0},
  9377. {0x04, 0, 0, 0, 0},
  9378. {0x05, 0, 0, 0, 0},
  9379. {0x06, 0, 0, 0, 0},
  9380. {0x07, 0, 0, 0, 0},
  9381. {0x08, 0, 0, 0, 0},
  9382. {0x09, 0x1, 0x1, 0, 0},
  9383. {0x0A, 0, 0, 0, 0},
  9384. {0x0B, 0, 0, 0, 0},
  9385. {0x0C, 0, 0, 0, 0},
  9386. {0x0D, 0, 0, 0, 0},
  9387. {0x0E, 0, 0, 0, 0},
  9388. {0x0F, 0, 0, 0, 0},
  9389. {0x10, 0, 0, 0, 0},
  9390. {0x11, 0, 0, 0, 0},
  9391. {0x12, 0, 0, 0, 0},
  9392. {0x13, 0, 0, 0, 0},
  9393. {0x14, 0, 0, 0, 0},
  9394. {0x15, 0, 0, 0, 0},
  9395. {0x16, 0, 0, 0, 0},
  9396. {0x17, 0, 0, 0, 0},
  9397. {0x18, 0, 0, 0, 0},
  9398. {0x19, 0, 0, 0, 0},
  9399. {0x1A, 0, 0, 0, 0},
  9400. {0x1B, 0, 0, 0, 0},
  9401. {0x1C, 0, 0, 0, 0},
  9402. {0x1D, 0, 0, 0, 0},
  9403. {0x1E, 0, 0, 0, 0},
  9404. {0x1F, 0, 0, 0, 0},
  9405. {0x20, 0, 0, 0, 0},
  9406. {0x21, 0, 0, 0, 0},
  9407. {0x22, 0x60, 0x60, 0, 0},
  9408. {0x23, 0x6, 0x6, 0, 0},
  9409. {0x24, 0xc, 0xc, 0, 0},
  9410. {0x25, 0, 0, 0, 0},
  9411. {0x26, 0, 0, 0, 0},
  9412. {0x27, 0, 0, 0, 0},
  9413. {0x28, 0x1, 0x1, 0, 0},
  9414. {0x29, 0, 0, 0, 0},
  9415. {0x2A, 0, 0, 0, 0},
  9416. {0x2B, 0, 0, 0, 0},
  9417. {0x2C, 0, 0, 0, 0},
  9418. {0x2D, 0, 0, 0, 0},
  9419. {0x2E, 0, 0, 0, 0},
  9420. {0x2F, 0x1f, 0x1f, 0, 0},
  9421. {0x30, 0x15, 0x15, 0, 0},
  9422. {0x31, 0xf, 0xf, 0, 0},
  9423. {0x32, 0, 0, 0, 0},
  9424. {0x33, 0, 0, 0, 0},
  9425. {0x34, 0, 0, 0, 0},
  9426. {0x35, 0, 0, 0, 0},
  9427. {0x36, 0, 0, 0, 0},
  9428. {0x37, 0, 0, 0, 0},
  9429. {0x38, 0, 0, 0, 0},
  9430. {0x39, 0, 0, 0, 0},
  9431. {0x3A, 0, 0, 0, 0},
  9432. {0x3B, 0, 0, 0, 0},
  9433. {0x3C, 0x13, 0x13, 0, 0},
  9434. {0x3D, 0xf, 0xf, 0, 0},
  9435. {0x3E, 0x18, 0x18, 0, 0},
  9436. {0x3F, 0, 0, 0, 0},
  9437. {0x40, 0, 0, 0, 0},
  9438. {0x41, 0x20, 0x20, 0, 0},
  9439. {0x42, 0x20, 0x20, 0, 0},
  9440. {0x43, 0, 0, 0, 0},
  9441. {0x44, 0x77, 0x77, 0, 0},
  9442. {0x45, 0x7, 0x7, 0, 0},
  9443. {0x46, 0x1, 0x1, 0, 0},
  9444. {0x47, 0x4, 0x4, 0, 0},
  9445. {0x48, 0xf, 0xf, 0, 0},
  9446. {0x49, 0x30, 0x30, 0, 0},
  9447. {0x4A, 0x32, 0x32, 0, 0},
  9448. {0x4B, 0xd, 0xd, 0, 0},
  9449. {0x4C, 0xd, 0xd, 0, 0},
  9450. {0x4D, 0x4, 0x4, 0, 0},
  9451. {0x4E, 0x6, 0x6, 0, 0},
  9452. {0x4F, 0x1, 0x1, 0, 0},
  9453. {0x50, 0x1c, 0x1c, 0, 0},
  9454. {0x51, 0x2, 0x2, 0, 0},
  9455. {0x52, 0x2, 0x2, 0, 0},
  9456. {0x53, 0xf7, 0xf7, 1, 1},
  9457. {0x54, 0xb4, 0xb4, 0, 0},
  9458. {0x55, 0xd2, 0xd2, 0, 0},
  9459. {0x56, 0, 0, 0, 0},
  9460. {0x57, 0, 0, 0, 0},
  9461. {0x58, 0x4, 0x4, 0, 0},
  9462. {0x59, 0x96, 0x96, 0, 0},
  9463. {0x5A, 0x3e, 0x3e, 0, 0},
  9464. {0x5B, 0x3e, 0x3e, 0, 0},
  9465. {0x5C, 0x13, 0x13, 0, 0},
  9466. {0x5D, 0x2, 0x2, 0, 0},
  9467. {0x5E, 0, 0, 0, 0},
  9468. {0x5F, 0x7, 0x7, 0, 0},
  9469. {0x60, 0x7, 0x7, 1, 1},
  9470. {0x61, 0x8, 0x8, 0, 0},
  9471. {0x62, 0x3, 0x3, 0, 0},
  9472. {0x63, 0, 0, 0, 0},
  9473. {0x64, 0, 0, 0, 0},
  9474. {0x65, 0, 0, 0, 0},
  9475. {0x66, 0, 0, 0, 0},
  9476. {0x67, 0, 0, 0, 0},
  9477. {0x68, 0x40, 0x40, 0, 0},
  9478. {0x69, 0, 0, 0, 0},
  9479. {0x6A, 0, 0, 0, 0},
  9480. {0x6B, 0, 0, 0, 0},
  9481. {0x6C, 0, 0, 0, 0},
  9482. {0x6D, 0x1, 0x1, 0, 0},
  9483. {0x6E, 0, 0, 0, 0},
  9484. {0x6F, 0, 0, 0, 0},
  9485. {0x70, 0x60, 0x60, 0, 0},
  9486. {0x71, 0x66, 0x66, 0, 0},
  9487. {0x72, 0xc, 0xc, 0, 0},
  9488. {0x73, 0x66, 0x66, 0, 0},
  9489. {0x74, 0x8f, 0x8f, 1, 1},
  9490. {0x75, 0, 0, 0, 0},
  9491. {0x76, 0xcc, 0xcc, 0, 0},
  9492. {0x77, 0x1, 0x1, 0, 0},
  9493. {0x78, 0x66, 0x66, 0, 0},
  9494. {0x79, 0x66, 0x66, 0, 0},
  9495. {0x7A, 0, 0, 0, 0},
  9496. {0x7B, 0, 0, 0, 0},
  9497. {0x7C, 0, 0, 0, 0},
  9498. {0x7D, 0, 0, 0, 0},
  9499. {0x7E, 0, 0, 0, 0},
  9500. {0x7F, 0, 0, 0, 0},
  9501. {0x80, 0, 0, 0, 0},
  9502. {0x81, 0, 0, 0, 0},
  9503. {0x82, 0, 0, 0, 0},
  9504. {0x83, 0, 0, 0, 0},
  9505. {0x84, 0, 0, 0, 0},
  9506. {0x85, 0xff, 0xff, 0, 0},
  9507. {0x86, 0, 0, 0, 0},
  9508. {0x87, 0, 0, 0, 0},
  9509. {0x88, 0, 0, 0, 0},
  9510. {0x89, 0, 0, 0, 0},
  9511. {0x8A, 0, 0, 0, 0},
  9512. {0x8B, 0, 0, 0, 0},
  9513. {0x8C, 0, 0, 0, 0},
  9514. {0x8D, 0, 0, 0, 0},
  9515. {0x8E, 0, 0, 0, 0},
  9516. {0x8F, 0, 0, 0, 0},
  9517. {0x90, 0, 0, 0, 0},
  9518. {0x91, 0, 0, 0, 0},
  9519. {0x92, 0, 0, 0, 0},
  9520. {0x93, 0, 0, 0, 0},
  9521. {0x94, 0, 0, 0, 0},
  9522. {0x95, 0, 0, 0, 0},
  9523. {0x96, 0, 0, 0, 0},
  9524. {0x97, 0, 0, 0, 0},
  9525. {0x98, 0, 0, 0, 0},
  9526. {0x99, 0, 0, 0, 0},
  9527. {0x9A, 0, 0, 0, 0},
  9528. {0x9B, 0, 0, 0, 0},
  9529. {0x9C, 0, 0, 0, 0},
  9530. {0x9D, 0, 0, 0, 0},
  9531. {0x9E, 0, 0, 0, 0},
  9532. {0x9F, 0x6, 0x6, 0, 0},
  9533. {0xA0, 0x66, 0x66, 0, 0},
  9534. {0xA1, 0x66, 0x66, 0, 0},
  9535. {0xA2, 0x66, 0x66, 0, 0},
  9536. {0xA3, 0x66, 0x66, 0, 0},
  9537. {0xA4, 0x66, 0x66, 0, 0},
  9538. {0xA5, 0x66, 0x66, 0, 0},
  9539. {0xA6, 0x66, 0x66, 0, 0},
  9540. {0xA7, 0x66, 0x66, 0, 0},
  9541. {0xA8, 0x66, 0x66, 0, 0},
  9542. {0xA9, 0x66, 0x66, 0, 0},
  9543. {0xAA, 0x66, 0x66, 0, 0},
  9544. {0xAB, 0x66, 0x66, 0, 0},
  9545. {0xAC, 0x66, 0x66, 0, 0},
  9546. {0xAD, 0x66, 0x66, 0, 0},
  9547. {0xAE, 0x66, 0x66, 0, 0},
  9548. {0xAF, 0x66, 0x66, 0, 0},
  9549. {0xB0, 0x66, 0x66, 0, 0},
  9550. {0xB1, 0x66, 0x66, 0, 0},
  9551. {0xB2, 0x66, 0x66, 0, 0},
  9552. {0xB3, 0xa, 0xa, 0, 0},
  9553. {0xB4, 0, 0, 0, 0},
  9554. {0xB5, 0, 0, 0, 0},
  9555. {0xB6, 0, 0, 0, 0},
  9556. {0xFFFF, 0, 0, 0, 0}
  9557. };
  9558. static struct radio_regs regs_TX_2056_rev6[] = {
  9559. {0x02, 0, 0, 0, 0},
  9560. {0x03, 0, 0, 0, 0},
  9561. {0x04, 0, 0, 0, 0},
  9562. {0x05, 0, 0, 0, 0},
  9563. {0x06, 0, 0, 0, 0},
  9564. {0x07, 0, 0, 0, 0},
  9565. {0x08, 0, 0, 0, 0},
  9566. {0x09, 0, 0, 0, 0},
  9567. {0x0A, 0, 0, 0, 0},
  9568. {0x0B, 0, 0, 0, 0},
  9569. {0x0C, 0, 0, 0, 0},
  9570. {0x0D, 0, 0, 0, 0},
  9571. {0x0E, 0, 0, 0, 0},
  9572. {0x0F, 0, 0, 0, 0},
  9573. {0x10, 0, 0, 0, 0},
  9574. {0x11, 0, 0, 0, 0},
  9575. {0x12, 0, 0, 0, 0},
  9576. {0x13, 0, 0, 0, 0},
  9577. {0x14, 0, 0, 0, 0},
  9578. {0x15, 0, 0, 0, 0},
  9579. {0x16, 0, 0, 0, 0},
  9580. {0x17, 0, 0, 0, 0},
  9581. {0x18, 0, 0, 0, 0},
  9582. {0x19, 0, 0, 0, 0},
  9583. {0x1A, 0, 0, 0, 0},
  9584. {0x1B, 0, 0, 0, 0},
  9585. {0x1C, 0, 0, 0, 0},
  9586. {0x1D, 0, 0, 0, 0},
  9587. {0x1E, 0, 0, 0, 0},
  9588. {0x1F, 0, 0, 0, 0},
  9589. {0x20, 0, 0, 0, 0},
  9590. {0x21, 0x88, 0x88, 0, 0},
  9591. {0x22, 0x88, 0x88, 0, 0},
  9592. {0x23, 0x88, 0x88, 0, 0},
  9593. {0x24, 0x88, 0x88, 0, 0},
  9594. {0x25, 0xc, 0xc, 0, 0},
  9595. {0x26, 0, 0, 0, 0},
  9596. {0x27, 0x3, 0x3, 0, 0},
  9597. {0x28, 0, 0, 0, 0},
  9598. {0x29, 0x3, 0x3, 0, 0},
  9599. {0x2A, 0x37, 0x37, 0, 0},
  9600. {0x2B, 0x3, 0x3, 0, 0},
  9601. {0x2C, 0, 0, 0, 0},
  9602. {0x2D, 0, 0, 0, 0},
  9603. {0x2E, 0x1, 0x1, 0, 0},
  9604. {0x2F, 0x1, 0x1, 0, 0},
  9605. {0x30, 0, 0, 0, 0},
  9606. {0x31, 0, 0, 0, 0},
  9607. {0x32, 0, 0, 0, 0},
  9608. {0x33, 0x11, 0x11, 0, 0},
  9609. {0x34, 0xee, 0xee, 1, 1},
  9610. {0x35, 0, 0, 0, 0},
  9611. {0x36, 0, 0, 0, 0},
  9612. {0x37, 0x3, 0x3, 0, 0},
  9613. {0x38, 0x50, 0x50, 1, 1},
  9614. {0x39, 0, 0, 0, 0},
  9615. {0x3A, 0x50, 0x50, 1, 1},
  9616. {0x3B, 0, 0, 0, 0},
  9617. {0x3C, 0x6e, 0x6e, 0, 0},
  9618. {0x3D, 0xf0, 0xf0, 1, 1},
  9619. {0x3E, 0, 0, 0, 0},
  9620. {0x3F, 0, 0, 0, 0},
  9621. {0x40, 0, 0, 0, 0},
  9622. {0x41, 0x3, 0x3, 0, 0},
  9623. {0x42, 0x3, 0x3, 0, 0},
  9624. {0x43, 0, 0, 0, 0},
  9625. {0x44, 0x1e, 0x1e, 0, 0},
  9626. {0x45, 0, 0, 0, 0},
  9627. {0x46, 0x6e, 0x6e, 0, 0},
  9628. {0x47, 0xf0, 0xf0, 1, 1},
  9629. {0x48, 0, 0, 0, 0},
  9630. {0x49, 0x2, 0x2, 0, 0},
  9631. {0x4A, 0xff, 0xff, 1, 1},
  9632. {0x4B, 0xc, 0xc, 0, 0},
  9633. {0x4C, 0, 0, 0, 0},
  9634. {0x4D, 0x38, 0x38, 0, 0},
  9635. {0x4E, 0x70, 0x70, 1, 1},
  9636. {0x4F, 0x2, 0x2, 0, 0},
  9637. {0x50, 0x88, 0x88, 0, 0},
  9638. {0x51, 0xc, 0xc, 0, 0},
  9639. {0x52, 0, 0, 0, 0},
  9640. {0x53, 0x8, 0x8, 0, 0},
  9641. {0x54, 0x70, 0x70, 1, 1},
  9642. {0x55, 0x2, 0x2, 0, 0},
  9643. {0x56, 0xff, 0xff, 1, 1},
  9644. {0x57, 0, 0, 0, 0},
  9645. {0x58, 0x83, 0x83, 0, 0},
  9646. {0x59, 0x77, 0x77, 1, 1},
  9647. {0x5A, 0, 0, 0, 0},
  9648. {0x5B, 0x2, 0x2, 0, 0},
  9649. {0x5C, 0x88, 0x88, 0, 0},
  9650. {0x5D, 0, 0, 0, 0},
  9651. {0x5E, 0x8, 0x8, 0, 0},
  9652. {0x5F, 0x77, 0x77, 1, 1},
  9653. {0x60, 0x1, 0x1, 0, 0},
  9654. {0x61, 0, 0, 0, 0},
  9655. {0x62, 0x7, 0x7, 0, 0},
  9656. {0x63, 0, 0, 0, 0},
  9657. {0x64, 0x7, 0x7, 0, 0},
  9658. {0x65, 0, 0, 0, 0},
  9659. {0x66, 0, 0, 0, 0},
  9660. {0x67, 0, 0, 1, 1},
  9661. {0x68, 0, 0, 0, 0},
  9662. {0x69, 0xa, 0xa, 0, 0},
  9663. {0x6A, 0, 0, 0, 0},
  9664. {0x6B, 0, 0, 0, 0},
  9665. {0x6C, 0, 0, 0, 0},
  9666. {0x6D, 0, 0, 0, 0},
  9667. {0x6E, 0, 0, 0, 0},
  9668. {0x6F, 0, 0, 0, 0},
  9669. {0x70, 0, 0, 0, 0},
  9670. {0x71, 0x2, 0x2, 0, 0},
  9671. {0x72, 0, 0, 0, 0},
  9672. {0x73, 0, 0, 0, 0},
  9673. {0x74, 0xe, 0xe, 0, 0},
  9674. {0x75, 0xe, 0xe, 0, 0},
  9675. {0x76, 0xe, 0xe, 0, 0},
  9676. {0x77, 0x13, 0x13, 0, 0},
  9677. {0x78, 0x13, 0x13, 0, 0},
  9678. {0x79, 0x1b, 0x1b, 0, 0},
  9679. {0x7A, 0x1b, 0x1b, 0, 0},
  9680. {0x7B, 0x55, 0x55, 0, 0},
  9681. {0x7C, 0x5b, 0x5b, 0, 0},
  9682. {0x7D, 0x30, 0x30, 1, 1},
  9683. {0x7E, 0, 0, 0, 0},
  9684. {0x7F, 0, 0, 0, 0},
  9685. {0x80, 0, 0, 0, 0},
  9686. {0x81, 0, 0, 0, 0},
  9687. {0x82, 0, 0, 0, 0},
  9688. {0x83, 0, 0, 0, 0},
  9689. {0x84, 0, 0, 0, 0},
  9690. {0x85, 0, 0, 0, 0},
  9691. {0x86, 0, 0, 0, 0},
  9692. {0x87, 0, 0, 0, 0},
  9693. {0x88, 0, 0, 0, 0},
  9694. {0x89, 0, 0, 0, 0},
  9695. {0x8A, 0, 0, 0, 0},
  9696. {0x8B, 0, 0, 0, 0},
  9697. {0x8C, 0, 0, 0, 0},
  9698. {0x8D, 0, 0, 0, 0},
  9699. {0x8E, 0, 0, 0, 0},
  9700. {0x8F, 0, 0, 0, 0},
  9701. {0x90, 0, 0, 0, 0},
  9702. {0x91, 0, 0, 0, 0},
  9703. {0x92, 0, 0, 0, 0},
  9704. {0x93, 0x70, 0x70, 0, 0},
  9705. {0x94, 0x70, 0x70, 0, 0},
  9706. {0x95, 0x70, 0x70, 0, 0},
  9707. {0x96, 0x70, 0x70, 0, 0},
  9708. {0x97, 0x70, 0x70, 0, 0},
  9709. {0x98, 0x70, 0x70, 0, 0},
  9710. {0x99, 0x70, 0x70, 0, 0},
  9711. {0x9A, 0x70, 0x70, 0, 0},
  9712. {0xFFFF, 0, 0, 0, 0}
  9713. };
  9714. static struct radio_regs regs_RX_2056_rev6[] = {
  9715. {0x02, 0, 0, 0, 0},
  9716. {0x03, 0, 0, 0, 0},
  9717. {0x04, 0, 0, 0, 0},
  9718. {0x05, 0, 0, 0, 0},
  9719. {0x06, 0, 0, 0, 0},
  9720. {0x07, 0, 0, 0, 0},
  9721. {0x08, 0, 0, 0, 0},
  9722. {0x09, 0, 0, 0, 0},
  9723. {0x0A, 0, 0, 0, 0},
  9724. {0x0B, 0, 0, 0, 0},
  9725. {0x0C, 0, 0, 0, 0},
  9726. {0x0D, 0, 0, 0, 0},
  9727. {0x0E, 0, 0, 0, 0},
  9728. {0x0F, 0, 0, 0, 0},
  9729. {0x10, 0, 0, 0, 0},
  9730. {0x11, 0, 0, 0, 0},
  9731. {0x12, 0, 0, 0, 0},
  9732. {0x13, 0, 0, 0, 0},
  9733. {0x14, 0, 0, 0, 0},
  9734. {0x15, 0, 0, 0, 0},
  9735. {0x16, 0, 0, 0, 0},
  9736. {0x17, 0, 0, 0, 0},
  9737. {0x18, 0, 0, 0, 0},
  9738. {0x19, 0, 0, 0, 0},
  9739. {0x1A, 0, 0, 0, 0},
  9740. {0x1B, 0, 0, 0, 0},
  9741. {0x1C, 0, 0, 0, 0},
  9742. {0x1D, 0, 0, 0, 0},
  9743. {0x1E, 0, 0, 0, 0},
  9744. {0x1F, 0, 0, 0, 0},
  9745. {0x20, 0x3, 0x3, 0, 0},
  9746. {0x21, 0, 0, 0, 0},
  9747. {0x22, 0, 0, 0, 0},
  9748. {0x23, 0x90, 0x90, 0, 0},
  9749. {0x24, 0x55, 0x55, 0, 0},
  9750. {0x25, 0x15, 0x15, 0, 0},
  9751. {0x26, 0x5, 0x5, 0, 0},
  9752. {0x27, 0x15, 0x15, 0, 0},
  9753. {0x28, 0x5, 0x5, 0, 0},
  9754. {0x29, 0x20, 0x20, 0, 0},
  9755. {0x2A, 0x11, 0x11, 0, 0},
  9756. {0x2B, 0x90, 0x90, 0, 0},
  9757. {0x2C, 0, 0, 0, 0},
  9758. {0x2D, 0x88, 0x88, 0, 0},
  9759. {0x2E, 0x32, 0x32, 0, 0},
  9760. {0x2F, 0x77, 0x77, 0, 0},
  9761. {0x30, 0x17, 0x17, 1, 1},
  9762. {0x31, 0xff, 0xff, 1, 1},
  9763. {0x32, 0x20, 0x20, 0, 0},
  9764. {0x33, 0, 0, 0, 0},
  9765. {0x34, 0x88, 0x88, 0, 0},
  9766. {0x35, 0x32, 0x32, 0, 0},
  9767. {0x36, 0x77, 0x77, 0, 0},
  9768. {0x37, 0x17, 0x17, 1, 1},
  9769. {0x38, 0xf0, 0xf0, 1, 1},
  9770. {0x39, 0x20, 0x20, 0, 0},
  9771. {0x3A, 0x8, 0x8, 0, 0},
  9772. {0x3B, 0x55, 0x55, 1, 1},
  9773. {0x3C, 0, 0, 0, 0},
  9774. {0x3D, 0x88, 0x88, 1, 1},
  9775. {0x3E, 0, 0, 0, 0},
  9776. {0x3F, 0x44, 0x44, 0, 0},
  9777. {0x40, 0x7, 0x7, 1, 1},
  9778. {0x41, 0x6, 0x6, 0, 0},
  9779. {0x42, 0x4, 0x4, 0, 0},
  9780. {0x43, 0, 0, 0, 0},
  9781. {0x44, 0x8, 0x8, 0, 0},
  9782. {0x45, 0x55, 0x55, 1, 1},
  9783. {0x46, 0, 0, 0, 0},
  9784. {0x47, 0x11, 0x11, 0, 0},
  9785. {0x48, 0, 0, 0, 0},
  9786. {0x49, 0x44, 0x44, 0, 0},
  9787. {0x4A, 0x7, 0x7, 0, 0},
  9788. {0x4B, 0x6, 0x6, 0, 0},
  9789. {0x4C, 0x4, 0x4, 0, 0},
  9790. {0x4D, 0, 0, 0, 0},
  9791. {0x4E, 0, 0, 0, 0},
  9792. {0x4F, 0x26, 0x26, 1, 1},
  9793. {0x50, 0x26, 0x26, 1, 1},
  9794. {0x51, 0xf, 0xf, 1, 1},
  9795. {0x52, 0xf, 0xf, 1, 1},
  9796. {0x53, 0x44, 0x44, 0, 0},
  9797. {0x54, 0, 0, 0, 0},
  9798. {0x55, 0, 0, 0, 0},
  9799. {0x56, 0x8, 0x8, 0, 0},
  9800. {0x57, 0x8, 0x8, 0, 0},
  9801. {0x58, 0x7, 0x7, 0, 0},
  9802. {0x59, 0x22, 0x22, 0, 0},
  9803. {0x5A, 0x22, 0x22, 0, 0},
  9804. {0x5B, 0x2, 0x2, 0, 0},
  9805. {0x5C, 0x4, 0x4, 1, 1},
  9806. {0x5D, 0x7, 0x7, 0, 0},
  9807. {0x5E, 0x55, 0x55, 0, 0},
  9808. {0x5F, 0x23, 0x23, 0, 0},
  9809. {0x60, 0x41, 0x41, 0, 0},
  9810. {0x61, 0x1, 0x1, 0, 0},
  9811. {0x62, 0xa, 0xa, 0, 0},
  9812. {0x63, 0, 0, 0, 0},
  9813. {0x64, 0, 0, 0, 0},
  9814. {0x65, 0, 0, 0, 0},
  9815. {0x66, 0, 0, 0, 0},
  9816. {0x67, 0, 0, 0, 0},
  9817. {0x68, 0, 0, 0, 0},
  9818. {0x69, 0, 0, 0, 0},
  9819. {0x6A, 0, 0, 0, 0},
  9820. {0x6B, 0xc, 0xc, 0, 0},
  9821. {0x6C, 0, 0, 0, 0},
  9822. {0x6D, 0, 0, 0, 0},
  9823. {0x6E, 0, 0, 0, 0},
  9824. {0x6F, 0, 0, 0, 0},
  9825. {0x70, 0, 0, 0, 0},
  9826. {0x71, 0, 0, 0, 0},
  9827. {0x72, 0x22, 0x22, 0, 0},
  9828. {0x73, 0x22, 0x22, 0, 0},
  9829. {0x74, 0, 0, 1, 1},
  9830. {0x75, 0xa, 0xa, 0, 0},
  9831. {0x76, 0x1, 0x1, 0, 0},
  9832. {0x77, 0x22, 0x22, 0, 0},
  9833. {0x78, 0x30, 0x30, 0, 0},
  9834. {0x79, 0, 0, 0, 0},
  9835. {0x7A, 0, 0, 0, 0},
  9836. {0x7B, 0, 0, 0, 0},
  9837. {0x7C, 0, 0, 0, 0},
  9838. {0x7D, 0x5, 0x5, 1, 1},
  9839. {0x7E, 0, 0, 0, 0},
  9840. {0x7F, 0, 0, 0, 0},
  9841. {0x80, 0, 0, 0, 0},
  9842. {0x81, 0, 0, 0, 0},
  9843. {0x82, 0, 0, 0, 0},
  9844. {0x83, 0, 0, 0, 0},
  9845. {0x84, 0, 0, 0, 0},
  9846. {0x85, 0, 0, 0, 0},
  9847. {0x86, 0, 0, 0, 0},
  9848. {0x87, 0, 0, 0, 0},
  9849. {0x88, 0, 0, 0, 0},
  9850. {0x89, 0, 0, 0, 0},
  9851. {0x8A, 0, 0, 0, 0},
  9852. {0x8B, 0, 0, 0, 0},
  9853. {0x8C, 0, 0, 0, 0},
  9854. {0x8D, 0, 0, 0, 0},
  9855. {0x8E, 0, 0, 0, 0},
  9856. {0x8F, 0, 0, 0, 0},
  9857. {0x90, 0, 0, 0, 0},
  9858. {0x91, 0, 0, 0, 0},
  9859. {0x92, 0, 0, 0, 0},
  9860. {0x93, 0, 0, 0, 0},
  9861. {0x94, 0, 0, 0, 0},
  9862. {0xFFFF, 0, 0, 0, 0}
  9863. };
  9864. static struct radio_regs regs_SYN_2056_rev7[] = {
  9865. {0x02, 0, 0, 0, 0},
  9866. {0x03, 0, 0, 0, 0},
  9867. {0x04, 0, 0, 0, 0},
  9868. {0x05, 0, 0, 0, 0},
  9869. {0x06, 0, 0, 0, 0},
  9870. {0x07, 0, 0, 0, 0},
  9871. {0x08, 0, 0, 0, 0},
  9872. {0x09, 0x1, 0x1, 0, 0},
  9873. {0x0A, 0, 0, 0, 0},
  9874. {0x0B, 0, 0, 0, 0},
  9875. {0x0C, 0, 0, 0, 0},
  9876. {0x0D, 0, 0, 0, 0},
  9877. {0x0E, 0, 0, 0, 0},
  9878. {0x0F, 0, 0, 0, 0},
  9879. {0x10, 0, 0, 0, 0},
  9880. {0x11, 0, 0, 0, 0},
  9881. {0x12, 0, 0, 0, 0},
  9882. {0x13, 0, 0, 0, 0},
  9883. {0x14, 0, 0, 0, 0},
  9884. {0x15, 0, 0, 0, 0},
  9885. {0x16, 0, 0, 0, 0},
  9886. {0x17, 0, 0, 0, 0},
  9887. {0x18, 0, 0, 0, 0},
  9888. {0x19, 0, 0, 0, 0},
  9889. {0x1A, 0, 0, 0, 0},
  9890. {0x1B, 0, 0, 0, 0},
  9891. {0x1C, 0, 0, 0, 0},
  9892. {0x1D, 0, 0, 0, 0},
  9893. {0x1E, 0, 0, 0, 0},
  9894. {0x1F, 0, 0, 0, 0},
  9895. {0x20, 0, 0, 0, 0},
  9896. {0x21, 0, 0, 0, 0},
  9897. {0x22, 0x60, 0x60, 0, 0},
  9898. {0x23, 0x6, 0x6, 0, 0},
  9899. {0x24, 0xc, 0xc, 0, 0},
  9900. {0x25, 0, 0, 0, 0},
  9901. {0x26, 0, 0, 0, 0},
  9902. {0x27, 0, 0, 0, 0},
  9903. {0x28, 0x1, 0x1, 0, 0},
  9904. {0x29, 0, 0, 0, 0},
  9905. {0x2A, 0, 0, 0, 0},
  9906. {0x2B, 0, 0, 0, 0},
  9907. {0x2C, 0, 0, 0, 0},
  9908. {0x2D, 0, 0, 0, 0},
  9909. {0x2E, 0, 0, 0, 0},
  9910. {0x2F, 0x1f, 0x1f, 0, 0},
  9911. {0x30, 0x15, 0x15, 0, 0},
  9912. {0x31, 0xf, 0xf, 0, 0},
  9913. {0x32, 0, 0, 0, 0},
  9914. {0x33, 0, 0, 0, 0},
  9915. {0x34, 0, 0, 0, 0},
  9916. {0x35, 0, 0, 0, 0},
  9917. {0x36, 0, 0, 0, 0},
  9918. {0x37, 0, 0, 0, 0},
  9919. {0x38, 0, 0, 0, 0},
  9920. {0x39, 0, 0, 0, 0},
  9921. {0x3A, 0, 0, 0, 0},
  9922. {0x3B, 0, 0, 0, 0},
  9923. {0x3C, 0x13, 0x13, 0, 0},
  9924. {0x3D, 0xf, 0xf, 0, 0},
  9925. {0x3E, 0x18, 0x18, 0, 0},
  9926. {0x3F, 0, 0, 0, 0},
  9927. {0x40, 0, 0, 0, 0},
  9928. {0x41, 0x20, 0x20, 0, 0},
  9929. {0x42, 0x20, 0x20, 0, 0},
  9930. {0x43, 0, 0, 0, 0},
  9931. {0x44, 0x77, 0x77, 0, 0},
  9932. {0x45, 0x7, 0x7, 0, 0},
  9933. {0x46, 0x1, 0x1, 0, 0},
  9934. {0x47, 0x4, 0x4, 0, 0},
  9935. {0x48, 0xf, 0xf, 0, 0},
  9936. {0x49, 0x30, 0x30, 0, 0},
  9937. {0x4A, 0x32, 0x32, 0, 0},
  9938. {0x4B, 0xd, 0xd, 0, 0},
  9939. {0x4C, 0xd, 0xd, 0, 0},
  9940. {0x4D, 0x4, 0x4, 0, 0},
  9941. {0x4E, 0x6, 0x6, 0, 0},
  9942. {0x4F, 0x1, 0x1, 0, 0},
  9943. {0x50, 0x1c, 0x1c, 0, 0},
  9944. {0x51, 0x2, 0x2, 0, 0},
  9945. {0x52, 0x2, 0x2, 0, 0},
  9946. {0x53, 0xf7, 0xf7, 1, 1},
  9947. {0x54, 0xb4, 0xb4, 0, 0},
  9948. {0x55, 0xd2, 0xd2, 0, 0},
  9949. {0x56, 0, 0, 0, 0},
  9950. {0x57, 0, 0, 0, 0},
  9951. {0x58, 0x4, 0x4, 0, 0},
  9952. {0x59, 0x96, 0x96, 0, 0},
  9953. {0x5A, 0x3e, 0x3e, 0, 0},
  9954. {0x5B, 0x3e, 0x3e, 0, 0},
  9955. {0x5C, 0x13, 0x13, 0, 0},
  9956. {0x5D, 0x2, 0x2, 0, 0},
  9957. {0x5E, 0, 0, 0, 0},
  9958. {0x5F, 0x7, 0x7, 0, 0},
  9959. {0x60, 0x7, 0x7, 1, 1},
  9960. {0x61, 0x8, 0x8, 0, 0},
  9961. {0x62, 0x3, 0x3, 0, 0},
  9962. {0x63, 0, 0, 0, 0},
  9963. {0x64, 0, 0, 0, 0},
  9964. {0x65, 0, 0, 0, 0},
  9965. {0x66, 0, 0, 0, 0},
  9966. {0x67, 0, 0, 0, 0},
  9967. {0x68, 0x40, 0x40, 0, 0},
  9968. {0x69, 0, 0, 0, 0},
  9969. {0x6A, 0, 0, 0, 0},
  9970. {0x6B, 0, 0, 0, 0},
  9971. {0x6C, 0, 0, 0, 0},
  9972. {0x6D, 0x1, 0x1, 0, 0},
  9973. {0x6E, 0, 0, 0, 0},
  9974. {0x6F, 0, 0, 0, 0},
  9975. {0x70, 0x60, 0x60, 0, 0},
  9976. {0x71, 0x66, 0x66, 0, 0},
  9977. {0x72, 0xc, 0xc, 0, 0},
  9978. {0x73, 0x66, 0x66, 0, 0},
  9979. {0x74, 0x8f, 0x8f, 1, 1},
  9980. {0x75, 0, 0, 0, 0},
  9981. {0x76, 0xcc, 0xcc, 0, 0},
  9982. {0x77, 0x1, 0x1, 0, 0},
  9983. {0x78, 0x66, 0x66, 0, 0},
  9984. {0x79, 0x66, 0x66, 0, 0},
  9985. {0x7A, 0, 0, 0, 0},
  9986. {0x7B, 0, 0, 0, 0},
  9987. {0x7C, 0, 0, 0, 0},
  9988. {0x7D, 0, 0, 0, 0},
  9989. {0x7E, 0, 0, 0, 0},
  9990. {0x7F, 0, 0, 0, 0},
  9991. {0x80, 0, 0, 0, 0},
  9992. {0x81, 0, 0, 0, 0},
  9993. {0x82, 0, 0, 0, 0},
  9994. {0x83, 0, 0, 0, 0},
  9995. {0x84, 0, 0, 0, 0},
  9996. {0x85, 0xff, 0xff, 0, 0},
  9997. {0x86, 0, 0, 0, 0},
  9998. {0x87, 0, 0, 0, 0},
  9999. {0x88, 0, 0, 0, 0},
  10000. {0x89, 0, 0, 0, 0},
  10001. {0x8A, 0, 0, 0, 0},
  10002. {0x8B, 0, 0, 0, 0},
  10003. {0x8C, 0, 0, 0, 0},
  10004. {0x8D, 0, 0, 0, 0},
  10005. {0x8E, 0, 0, 0, 0},
  10006. {0x8F, 0, 0, 0, 0},
  10007. {0x90, 0, 0, 0, 0},
  10008. {0x91, 0, 0, 0, 0},
  10009. {0x92, 0, 0, 0, 0},
  10010. {0x93, 0, 0, 0, 0},
  10011. {0x94, 0, 0, 0, 0},
  10012. {0x95, 0, 0, 0, 0},
  10013. {0x96, 0, 0, 0, 0},
  10014. {0x97, 0, 0, 0, 0},
  10015. {0x98, 0, 0, 0, 0},
  10016. {0x99, 0, 0, 0, 0},
  10017. {0x9A, 0, 0, 0, 0},
  10018. {0x9B, 0, 0, 0, 0},
  10019. {0x9C, 0, 0, 0, 0},
  10020. {0x9D, 0, 0, 0, 0},
  10021. {0x9E, 0, 0, 0, 0},
  10022. {0x9F, 0x6, 0x6, 0, 0},
  10023. {0xA0, 0x66, 0x66, 0, 0},
  10024. {0xA1, 0x66, 0x66, 0, 0},
  10025. {0xA2, 0x66, 0x66, 0, 0},
  10026. {0xA3, 0x66, 0x66, 0, 0},
  10027. {0xA4, 0x66, 0x66, 0, 0},
  10028. {0xA5, 0x66, 0x66, 0, 0},
  10029. {0xA6, 0x66, 0x66, 0, 0},
  10030. {0xA7, 0x66, 0x66, 0, 0},
  10031. {0xA8, 0x66, 0x66, 0, 0},
  10032. {0xA9, 0x66, 0x66, 0, 0},
  10033. {0xAA, 0x66, 0x66, 0, 0},
  10034. {0xAB, 0x66, 0x66, 0, 0},
  10035. {0xAC, 0x66, 0x66, 0, 0},
  10036. {0xAD, 0x66, 0x66, 0, 0},
  10037. {0xAE, 0x66, 0x66, 0, 0},
  10038. {0xAF, 0x66, 0x66, 0, 0},
  10039. {0xB0, 0x66, 0x66, 0, 0},
  10040. {0xB1, 0x66, 0x66, 0, 0},
  10041. {0xB2, 0x66, 0x66, 0, 0},
  10042. {0xB3, 0xa, 0xa, 0, 0},
  10043. {0xB4, 0, 0, 0, 0},
  10044. {0xB5, 0, 0, 0, 0},
  10045. {0xB6, 0, 0, 0, 0},
  10046. {0xFFFF, 0, 0, 0, 0},
  10047. };
  10048. static struct radio_regs regs_TX_2056_rev7[] = {
  10049. {0x02, 0, 0, 0, 0},
  10050. {0x03, 0, 0, 0, 0},
  10051. {0x04, 0, 0, 0, 0},
  10052. {0x05, 0, 0, 0, 0},
  10053. {0x06, 0, 0, 0, 0},
  10054. {0x07, 0, 0, 0, 0},
  10055. {0x08, 0, 0, 0, 0},
  10056. {0x09, 0, 0, 0, 0},
  10057. {0x0A, 0, 0, 0, 0},
  10058. {0x0B, 0, 0, 0, 0},
  10059. {0x0C, 0, 0, 0, 0},
  10060. {0x0D, 0, 0, 0, 0},
  10061. {0x0E, 0, 0, 0, 0},
  10062. {0x0F, 0, 0, 0, 0},
  10063. {0x10, 0, 0, 0, 0},
  10064. {0x11, 0, 0, 0, 0},
  10065. {0x12, 0, 0, 0, 0},
  10066. {0x13, 0, 0, 0, 0},
  10067. {0x14, 0, 0, 0, 0},
  10068. {0x15, 0, 0, 0, 0},
  10069. {0x16, 0, 0, 0, 0},
  10070. {0x17, 0, 0, 0, 0},
  10071. {0x18, 0, 0, 0, 0},
  10072. {0x19, 0, 0, 0, 0},
  10073. {0x1A, 0, 0, 0, 0},
  10074. {0x1B, 0, 0, 0, 0},
  10075. {0x1C, 0, 0, 0, 0},
  10076. {0x1D, 0, 0, 0, 0},
  10077. {0x1E, 0, 0, 0, 0},
  10078. {0x1F, 0, 0, 0, 0},
  10079. {0x20, 0, 0, 0, 0},
  10080. {0x21, 0x88, 0x88, 0, 0},
  10081. {0x22, 0x88, 0x88, 0, 0},
  10082. {0x23, 0x88, 0x88, 0, 0},
  10083. {0x24, 0x88, 0x88, 0, 0},
  10084. {0x25, 0xc, 0xc, 0, 0},
  10085. {0x26, 0, 0, 0, 0},
  10086. {0x27, 0x3, 0x3, 0, 0},
  10087. {0x28, 0, 0, 0, 0},
  10088. {0x29, 0x3, 0x3, 0, 0},
  10089. {0x2A, 0x37, 0x37, 0, 0},
  10090. {0x2B, 0x3, 0x3, 0, 0},
  10091. {0x2C, 0, 0, 0, 0},
  10092. {0x2D, 0, 0, 0, 0},
  10093. {0x2E, 0x1, 0x1, 0, 0},
  10094. {0x2F, 0x1, 0x1, 0, 0},
  10095. {0x30, 0, 0, 0, 0},
  10096. {0x31, 0, 0, 0, 0},
  10097. {0x32, 0, 0, 0, 0},
  10098. {0x33, 0x11, 0x11, 0, 0},
  10099. {0x34, 0xee, 0xee, 1, 1},
  10100. {0x35, 0, 0, 0, 0},
  10101. {0x36, 0, 0, 0, 0},
  10102. {0x37, 0x3, 0x3, 0, 0},
  10103. {0x38, 0x50, 0x50, 1, 1},
  10104. {0x39, 0, 0, 0, 0},
  10105. {0x3A, 0x50, 0x50, 1, 1},
  10106. {0x3B, 0, 0, 0, 0},
  10107. {0x3C, 0x6e, 0x6e, 0, 0},
  10108. {0x3D, 0xf0, 0xf0, 1, 1},
  10109. {0x3E, 0, 0, 0, 0},
  10110. {0x3F, 0, 0, 0, 0},
  10111. {0x40, 0, 0, 0, 0},
  10112. {0x41, 0x3, 0x3, 0, 0},
  10113. {0x42, 0x3, 0x3, 0, 0},
  10114. {0x43, 0, 0, 0, 0},
  10115. {0x44, 0x1e, 0x1e, 0, 0},
  10116. {0x45, 0, 0, 0, 0},
  10117. {0x46, 0x6e, 0x6e, 0, 0},
  10118. {0x47, 0xf0, 0xf0, 1, 1},
  10119. {0x48, 0, 0, 0, 0},
  10120. {0x49, 0x2, 0x2, 0, 0},
  10121. {0x4A, 0xff, 0xff, 1, 1},
  10122. {0x4B, 0xc, 0xc, 0, 0},
  10123. {0x4C, 0, 0, 0, 0},
  10124. {0x4D, 0x38, 0x38, 0, 0},
  10125. {0x4E, 0x70, 0x70, 1, 1},
  10126. {0x4F, 0x2, 0x2, 0, 0},
  10127. {0x50, 0x88, 0x88, 0, 0},
  10128. {0x51, 0xc, 0xc, 0, 0},
  10129. {0x52, 0, 0, 0, 0},
  10130. {0x53, 0x8, 0x8, 0, 0},
  10131. {0x54, 0x70, 0x70, 1, 1},
  10132. {0x55, 0x2, 0x2, 0, 0},
  10133. {0x56, 0xff, 0xff, 1, 1},
  10134. {0x57, 0, 0, 0, 0},
  10135. {0x58, 0x83, 0x83, 0, 0},
  10136. {0x59, 0x77, 0x77, 1, 1},
  10137. {0x5A, 0, 0, 0, 0},
  10138. {0x5B, 0x2, 0x2, 0, 0},
  10139. {0x5C, 0x88, 0x88, 0, 0},
  10140. {0x5D, 0, 0, 0, 0},
  10141. {0x5E, 0x8, 0x8, 0, 0},
  10142. {0x5F, 0x77, 0x77, 1, 1},
  10143. {0x60, 0x1, 0x1, 0, 0},
  10144. {0x61, 0, 0, 0, 0},
  10145. {0x62, 0x7, 0x7, 0, 0},
  10146. {0x63, 0, 0, 0, 0},
  10147. {0x64, 0x7, 0x7, 0, 0},
  10148. {0x65, 0, 0, 0, 0},
  10149. {0x66, 0, 0, 0, 0},
  10150. {0x67, 0, 0, 1, 1},
  10151. {0x68, 0, 0, 0, 0},
  10152. {0x69, 0xa, 0xa, 0, 0},
  10153. {0x6A, 0, 0, 0, 0},
  10154. {0x6B, 0, 0, 0, 0},
  10155. {0x6C, 0, 0, 0, 0},
  10156. {0x6D, 0, 0, 0, 0},
  10157. {0x6E, 0, 0, 0, 0},
  10158. {0x6F, 0, 0, 0, 0},
  10159. {0x70, 0, 0, 0, 0},
  10160. {0x71, 0x2, 0x2, 0, 0},
  10161. {0x72, 0, 0, 0, 0},
  10162. {0x73, 0, 0, 0, 0},
  10163. {0x74, 0xe, 0xe, 0, 0},
  10164. {0x75, 0xe, 0xe, 0, 0},
  10165. {0x76, 0xe, 0xe, 0, 0},
  10166. {0x77, 0x13, 0x13, 0, 0},
  10167. {0x78, 0x13, 0x13, 0, 0},
  10168. {0x79, 0x1b, 0x1b, 0, 0},
  10169. {0x7A, 0x1b, 0x1b, 0, 0},
  10170. {0x7B, 0x55, 0x55, 0, 0},
  10171. {0x7C, 0x5b, 0x5b, 0, 0},
  10172. {0x7D, 0x30, 0x30, 1, 1},
  10173. {0x7E, 0, 0, 0, 0},
  10174. {0x7F, 0, 0, 0, 0},
  10175. {0x80, 0, 0, 0, 0},
  10176. {0x81, 0, 0, 0, 0},
  10177. {0x82, 0, 0, 0, 0},
  10178. {0x83, 0, 0, 0, 0},
  10179. {0x84, 0, 0, 0, 0},
  10180. {0x85, 0, 0, 0, 0},
  10181. {0x86, 0, 0, 0, 0},
  10182. {0x87, 0, 0, 0, 0},
  10183. {0x88, 0, 0, 0, 0},
  10184. {0x89, 0, 0, 0, 0},
  10185. {0x8A, 0, 0, 0, 0},
  10186. {0x8B, 0, 0, 0, 0},
  10187. {0x8C, 0, 0, 0, 0},
  10188. {0x8D, 0, 0, 0, 0},
  10189. {0x8E, 0, 0, 0, 0},
  10190. {0x8F, 0, 0, 0, 0},
  10191. {0x90, 0, 0, 0, 0},
  10192. {0x91, 0, 0, 0, 0},
  10193. {0x92, 0, 0, 0, 0},
  10194. {0x93, 0x70, 0x70, 0, 0},
  10195. {0x94, 0x70, 0x70, 0, 0},
  10196. {0x95, 0x71, 0x71, 1, 1},
  10197. {0x96, 0x71, 0x71, 1, 1},
  10198. {0x97, 0x72, 0x72, 1, 1},
  10199. {0x98, 0x73, 0x73, 1, 1},
  10200. {0x99, 0x74, 0x74, 1, 1},
  10201. {0x9A, 0x75, 0x75, 1, 1},
  10202. {0xFFFF, 0, 0, 0, 0},
  10203. };
  10204. static struct radio_regs regs_RX_2056_rev7[] = {
  10205. {0x02, 0, 0, 0, 0},
  10206. {0x03, 0, 0, 0, 0},
  10207. {0x04, 0, 0, 0, 0},
  10208. {0x05, 0, 0, 0, 0},
  10209. {0x06, 0, 0, 0, 0},
  10210. {0x07, 0, 0, 0, 0},
  10211. {0x08, 0, 0, 0, 0},
  10212. {0x09, 0, 0, 0, 0},
  10213. {0x0A, 0, 0, 0, 0},
  10214. {0x0B, 0, 0, 0, 0},
  10215. {0x0C, 0, 0, 0, 0},
  10216. {0x0D, 0, 0, 0, 0},
  10217. {0x0E, 0, 0, 0, 0},
  10218. {0x0F, 0, 0, 0, 0},
  10219. {0x10, 0, 0, 0, 0},
  10220. {0x11, 0, 0, 0, 0},
  10221. {0x12, 0, 0, 0, 0},
  10222. {0x13, 0, 0, 0, 0},
  10223. {0x14, 0, 0, 0, 0},
  10224. {0x15, 0, 0, 0, 0},
  10225. {0x16, 0, 0, 0, 0},
  10226. {0x17, 0, 0, 0, 0},
  10227. {0x18, 0, 0, 0, 0},
  10228. {0x19, 0, 0, 0, 0},
  10229. {0x1A, 0, 0, 0, 0},
  10230. {0x1B, 0, 0, 0, 0},
  10231. {0x1C, 0, 0, 0, 0},
  10232. {0x1D, 0, 0, 0, 0},
  10233. {0x1E, 0, 0, 0, 0},
  10234. {0x1F, 0, 0, 0, 0},
  10235. {0x20, 0x3, 0x3, 0, 0},
  10236. {0x21, 0, 0, 0, 0},
  10237. {0x22, 0, 0, 0, 0},
  10238. {0x23, 0x90, 0x90, 0, 0},
  10239. {0x24, 0x55, 0x55, 0, 0},
  10240. {0x25, 0x15, 0x15, 0, 0},
  10241. {0x26, 0x5, 0x5, 0, 0},
  10242. {0x27, 0x15, 0x15, 0, 0},
  10243. {0x28, 0x5, 0x5, 0, 0},
  10244. {0x29, 0x20, 0x20, 0, 0},
  10245. {0x2A, 0x11, 0x11, 0, 0},
  10246. {0x2B, 0x90, 0x90, 0, 0},
  10247. {0x2C, 0, 0, 0, 0},
  10248. {0x2D, 0x88, 0x88, 0, 0},
  10249. {0x2E, 0x32, 0x32, 0, 0},
  10250. {0x2F, 0x77, 0x77, 0, 0},
  10251. {0x30, 0x17, 0x17, 1, 1},
  10252. {0x31, 0xff, 0xff, 1, 1},
  10253. {0x32, 0x20, 0x20, 0, 0},
  10254. {0x33, 0, 0, 0, 0},
  10255. {0x34, 0x88, 0x88, 0, 0},
  10256. {0x35, 0x32, 0x32, 0, 0},
  10257. {0x36, 0x77, 0x77, 0, 0},
  10258. {0x37, 0x17, 0x17, 1, 1},
  10259. {0x38, 0xf0, 0xf0, 1, 1},
  10260. {0x39, 0x20, 0x20, 0, 0},
  10261. {0x3A, 0x8, 0x8, 0, 0},
  10262. {0x3B, 0x55, 0x55, 1, 1},
  10263. {0x3C, 0, 0, 0, 0},
  10264. {0x3D, 0x88, 0x88, 1, 1},
  10265. {0x3E, 0, 0, 0, 0},
  10266. {0x3F, 0, 0, 1, 1},
  10267. {0x40, 0x7, 0x7, 1, 1},
  10268. {0x41, 0x6, 0x6, 0, 0},
  10269. {0x42, 0x4, 0x4, 0, 0},
  10270. {0x43, 0, 0, 0, 0},
  10271. {0x44, 0x8, 0x8, 0, 0},
  10272. {0x45, 0x55, 0x55, 1, 1},
  10273. {0x46, 0, 0, 0, 0},
  10274. {0x47, 0x11, 0x11, 0, 0},
  10275. {0x48, 0, 0, 0, 0},
  10276. {0x49, 0, 0, 1, 1},
  10277. {0x4A, 0x7, 0x7, 0, 0},
  10278. {0x4B, 0x6, 0x6, 0, 0},
  10279. {0x4C, 0x4, 0x4, 0, 0},
  10280. {0x4D, 0, 0, 0, 0},
  10281. {0x4E, 0, 0, 0, 0},
  10282. {0x4F, 0x26, 0x26, 1, 1},
  10283. {0x50, 0x26, 0x26, 1, 1},
  10284. {0x51, 0xf, 0xf, 1, 1},
  10285. {0x52, 0xf, 0xf, 1, 1},
  10286. {0x53, 0x44, 0x44, 0, 0},
  10287. {0x54, 0, 0, 0, 0},
  10288. {0x55, 0, 0, 0, 0},
  10289. {0x56, 0x8, 0x8, 0, 0},
  10290. {0x57, 0x8, 0x8, 0, 0},
  10291. {0x58, 0x7, 0x7, 0, 0},
  10292. {0x59, 0x22, 0x22, 0, 0},
  10293. {0x5A, 0x22, 0x22, 0, 0},
  10294. {0x5B, 0x2, 0x2, 0, 0},
  10295. {0x5C, 0x4, 0x4, 1, 1},
  10296. {0x5D, 0x7, 0x7, 0, 0},
  10297. {0x5E, 0x55, 0x55, 0, 0},
  10298. {0x5F, 0x23, 0x23, 0, 0},
  10299. {0x60, 0x41, 0x41, 0, 0},
  10300. {0x61, 0x1, 0x1, 0, 0},
  10301. {0x62, 0xa, 0xa, 0, 0},
  10302. {0x63, 0, 0, 0, 0},
  10303. {0x64, 0, 0, 0, 0},
  10304. {0x65, 0, 0, 0, 0},
  10305. {0x66, 0, 0, 0, 0},
  10306. {0x67, 0, 0, 0, 0},
  10307. {0x68, 0, 0, 0, 0},
  10308. {0x69, 0, 0, 0, 0},
  10309. {0x6A, 0, 0, 0, 0},
  10310. {0x6B, 0xc, 0xc, 0, 0},
  10311. {0x6C, 0, 0, 0, 0},
  10312. {0x6D, 0, 0, 0, 0},
  10313. {0x6E, 0, 0, 0, 0},
  10314. {0x6F, 0, 0, 0, 0},
  10315. {0x70, 0, 0, 0, 0},
  10316. {0x71, 0, 0, 0, 0},
  10317. {0x72, 0x22, 0x22, 0, 0},
  10318. {0x73, 0x22, 0x22, 0, 0},
  10319. {0x74, 0, 0, 1, 1},
  10320. {0x75, 0xa, 0xa, 0, 0},
  10321. {0x76, 0x1, 0x1, 0, 0},
  10322. {0x77, 0x22, 0x22, 0, 0},
  10323. {0x78, 0x30, 0x30, 0, 0},
  10324. {0x79, 0, 0, 0, 0},
  10325. {0x7A, 0, 0, 0, 0},
  10326. {0x7B, 0, 0, 0, 0},
  10327. {0x7C, 0, 0, 0, 0},
  10328. {0x7D, 0, 0, 0, 0},
  10329. {0x7E, 0, 0, 0, 0},
  10330. {0x7F, 0, 0, 0, 0},
  10331. {0x80, 0, 0, 0, 0},
  10332. {0x81, 0, 0, 0, 0},
  10333. {0x82, 0, 0, 0, 0},
  10334. {0x83, 0, 0, 0, 0},
  10335. {0x84, 0, 0, 0, 0},
  10336. {0x85, 0, 0, 0, 0},
  10337. {0x86, 0, 0, 0, 0},
  10338. {0x87, 0, 0, 0, 0},
  10339. {0x88, 0, 0, 0, 0},
  10340. {0x89, 0, 0, 0, 0},
  10341. {0x8A, 0, 0, 0, 0},
  10342. {0x8B, 0, 0, 0, 0},
  10343. {0x8C, 0, 0, 0, 0},
  10344. {0x8D, 0, 0, 0, 0},
  10345. {0x8E, 0, 0, 0, 0},
  10346. {0x8F, 0, 0, 0, 0},
  10347. {0x90, 0, 0, 0, 0},
  10348. {0x91, 0, 0, 0, 0},
  10349. {0x92, 0, 0, 0, 0},
  10350. {0x93, 0, 0, 0, 0},
  10351. {0x94, 0, 0, 0, 0},
  10352. {0xFFFF, 0, 0, 0, 0},
  10353. };
  10354. static struct radio_regs regs_SYN_2056_rev8[] = {
  10355. {0x02, 0, 0, 0, 0},
  10356. {0x03, 0, 0, 0, 0},
  10357. {0x04, 0, 0, 0, 0},
  10358. {0x05, 0, 0, 0, 0},
  10359. {0x06, 0, 0, 0, 0},
  10360. {0x07, 0, 0, 0, 0},
  10361. {0x08, 0, 0, 0, 0},
  10362. {0x09, 0x1, 0x1, 0, 0},
  10363. {0x0A, 0, 0, 0, 0},
  10364. {0x0B, 0, 0, 0, 0},
  10365. {0x0C, 0, 0, 0, 0},
  10366. {0x0D, 0, 0, 0, 0},
  10367. {0x0E, 0, 0, 0, 0},
  10368. {0x0F, 0, 0, 0, 0},
  10369. {0x10, 0, 0, 0, 0},
  10370. {0x11, 0, 0, 0, 0},
  10371. {0x12, 0, 0, 0, 0},
  10372. {0x13, 0, 0, 0, 0},
  10373. {0x14, 0, 0, 0, 0},
  10374. {0x15, 0, 0, 0, 0},
  10375. {0x16, 0, 0, 0, 0},
  10376. {0x17, 0, 0, 0, 0},
  10377. {0x18, 0, 0, 0, 0},
  10378. {0x19, 0, 0, 0, 0},
  10379. {0x1A, 0, 0, 0, 0},
  10380. {0x1B, 0, 0, 0, 0},
  10381. {0x1C, 0, 0, 0, 0},
  10382. {0x1D, 0, 0, 0, 0},
  10383. {0x1E, 0, 0, 0, 0},
  10384. {0x1F, 0, 0, 0, 0},
  10385. {0x20, 0, 0, 0, 0},
  10386. {0x21, 0, 0, 0, 0},
  10387. {0x22, 0x60, 0x60, 0, 0},
  10388. {0x23, 0x6, 0x6, 0, 0},
  10389. {0x24, 0xc, 0xc, 0, 0},
  10390. {0x25, 0, 0, 0, 0},
  10391. {0x26, 0, 0, 0, 0},
  10392. {0x27, 0, 0, 0, 0},
  10393. {0x28, 0x1, 0x1, 0, 0},
  10394. {0x29, 0, 0, 0, 0},
  10395. {0x2A, 0, 0, 0, 0},
  10396. {0x2B, 0, 0, 0, 0},
  10397. {0x2C, 0, 0, 0, 0},
  10398. {0x2D, 0, 0, 0, 0},
  10399. {0x2E, 0, 0, 0, 0},
  10400. {0x2F, 0x1f, 0x1f, 0, 0},
  10401. {0x30, 0x15, 0x15, 0, 0},
  10402. {0x31, 0xf, 0xf, 0, 0},
  10403. {0x32, 0, 0, 0, 0},
  10404. {0x33, 0, 0, 0, 0},
  10405. {0x34, 0, 0, 0, 0},
  10406. {0x35, 0, 0, 0, 0},
  10407. {0x36, 0, 0, 0, 0},
  10408. {0x37, 0, 0, 0, 0},
  10409. {0x38, 0, 0, 0, 0},
  10410. {0x39, 0, 0, 0, 0},
  10411. {0x3A, 0, 0, 0, 0},
  10412. {0x3B, 0, 0, 0, 0},
  10413. {0x3C, 0x13, 0x13, 0, 0},
  10414. {0x3D, 0xf, 0xf, 0, 0},
  10415. {0x3E, 0x18, 0x18, 0, 0},
  10416. {0x3F, 0, 0, 0, 0},
  10417. {0x40, 0, 0, 0, 0},
  10418. {0x41, 0x20, 0x20, 0, 0},
  10419. {0x42, 0x20, 0x20, 0, 0},
  10420. {0x43, 0, 0, 0, 0},
  10421. {0x44, 0x77, 0x77, 0, 0},
  10422. {0x45, 0x7, 0x7, 0, 0},
  10423. {0x46, 0x1, 0x1, 0, 0},
  10424. {0x47, 0x4, 0x4, 0, 0},
  10425. {0x48, 0xf, 0xf, 0, 0},
  10426. {0x49, 0x30, 0x30, 0, 0},
  10427. {0x4A, 0x32, 0x32, 0, 0},
  10428. {0x4B, 0xd, 0xd, 0, 0},
  10429. {0x4C, 0xd, 0xd, 0, 0},
  10430. {0x4D, 0x4, 0x4, 0, 0},
  10431. {0x4E, 0x6, 0x6, 0, 0},
  10432. {0x4F, 0x1, 0x1, 0, 0},
  10433. {0x50, 0x1c, 0x1c, 0, 0},
  10434. {0x51, 0x2, 0x2, 0, 0},
  10435. {0x52, 0x2, 0x2, 0, 0},
  10436. {0x53, 0xf7, 0xf7, 1, 1},
  10437. {0x54, 0xb4, 0xb4, 0, 0},
  10438. {0x55, 0xd2, 0xd2, 0, 0},
  10439. {0x56, 0, 0, 0, 0},
  10440. {0x57, 0, 0, 0, 0},
  10441. {0x58, 0x4, 0x4, 0, 0},
  10442. {0x59, 0x96, 0x96, 0, 0},
  10443. {0x5A, 0x3e, 0x3e, 0, 0},
  10444. {0x5B, 0x3e, 0x3e, 0, 0},
  10445. {0x5C, 0x13, 0x13, 0, 0},
  10446. {0x5D, 0x2, 0x2, 0, 0},
  10447. {0x5E, 0, 0, 0, 0},
  10448. {0x5F, 0x7, 0x7, 0, 0},
  10449. {0x60, 0x7, 0x7, 1, 1},
  10450. {0x61, 0x8, 0x8, 0, 0},
  10451. {0x62, 0x3, 0x3, 0, 0},
  10452. {0x63, 0, 0, 0, 0},
  10453. {0x64, 0, 0, 0, 0},
  10454. {0x65, 0, 0, 0, 0},
  10455. {0x66, 0, 0, 0, 0},
  10456. {0x67, 0, 0, 0, 0},
  10457. {0x68, 0x40, 0x40, 0, 0},
  10458. {0x69, 0, 0, 0, 0},
  10459. {0x6A, 0, 0, 0, 0},
  10460. {0x6B, 0, 0, 0, 0},
  10461. {0x6C, 0, 0, 0, 0},
  10462. {0x6D, 0x1, 0x1, 0, 0},
  10463. {0x6E, 0, 0, 0, 0},
  10464. {0x6F, 0, 0, 0, 0},
  10465. {0x70, 0x60, 0x60, 0, 0},
  10466. {0x71, 0x66, 0x66, 0, 0},
  10467. {0x72, 0xc, 0xc, 0, 0},
  10468. {0x73, 0x66, 0x66, 0, 0},
  10469. {0x74, 0x8f, 0x8f, 1, 1},
  10470. {0x75, 0, 0, 0, 0},
  10471. {0x76, 0xcc, 0xcc, 0, 0},
  10472. {0x77, 0x1, 0x1, 0, 0},
  10473. {0x78, 0x66, 0x66, 0, 0},
  10474. {0x79, 0x66, 0x66, 0, 0},
  10475. {0x7A, 0, 0, 0, 0},
  10476. {0x7B, 0, 0, 0, 0},
  10477. {0x7C, 0, 0, 0, 0},
  10478. {0x7D, 0, 0, 0, 0},
  10479. {0x7E, 0, 0, 0, 0},
  10480. {0x7F, 0, 0, 0, 0},
  10481. {0x80, 0, 0, 0, 0},
  10482. {0x81, 0, 0, 0, 0},
  10483. {0x82, 0, 0, 0, 0},
  10484. {0x83, 0, 0, 0, 0},
  10485. {0x84, 0, 0, 0, 0},
  10486. {0x85, 0xff, 0xff, 0, 0},
  10487. {0x86, 0, 0, 0, 0},
  10488. {0x87, 0, 0, 0, 0},
  10489. {0x88, 0, 0, 0, 0},
  10490. {0x89, 0, 0, 0, 0},
  10491. {0x8A, 0, 0, 0, 0},
  10492. {0x8B, 0, 0, 0, 0},
  10493. {0x8C, 0, 0, 0, 0},
  10494. {0x8D, 0, 0, 0, 0},
  10495. {0x8E, 0, 0, 0, 0},
  10496. {0x8F, 0, 0, 0, 0},
  10497. {0x90, 0, 0, 0, 0},
  10498. {0x91, 0, 0, 0, 0},
  10499. {0x92, 0, 0, 0, 0},
  10500. {0x93, 0, 0, 0, 0},
  10501. {0x94, 0, 0, 0, 0},
  10502. {0x95, 0, 0, 0, 0},
  10503. {0x96, 0, 0, 0, 0},
  10504. {0x97, 0, 0, 0, 0},
  10505. {0x98, 0, 0, 0, 0},
  10506. {0x99, 0, 0, 0, 0},
  10507. {0x9A, 0, 0, 0, 0},
  10508. {0x9B, 0, 0, 0, 0},
  10509. {0x9C, 0, 0, 0, 0},
  10510. {0x9D, 0, 0, 0, 0},
  10511. {0x9E, 0, 0, 0, 0},
  10512. {0x9F, 0x6, 0x6, 0, 0},
  10513. {0xA0, 0x66, 0x66, 0, 0},
  10514. {0xA1, 0x66, 0x66, 0, 0},
  10515. {0xA2, 0x66, 0x66, 0, 0},
  10516. {0xA3, 0x66, 0x66, 0, 0},
  10517. {0xA4, 0x66, 0x66, 0, 0},
  10518. {0xA5, 0x66, 0x66, 0, 0},
  10519. {0xA6, 0x66, 0x66, 0, 0},
  10520. {0xA7, 0x66, 0x66, 0, 0},
  10521. {0xA8, 0x66, 0x66, 0, 0},
  10522. {0xA9, 0x66, 0x66, 0, 0},
  10523. {0xAA, 0x66, 0x66, 0, 0},
  10524. {0xAB, 0x66, 0x66, 0, 0},
  10525. {0xAC, 0x66, 0x66, 0, 0},
  10526. {0xAD, 0x66, 0x66, 0, 0},
  10527. {0xAE, 0x66, 0x66, 0, 0},
  10528. {0xAF, 0x66, 0x66, 0, 0},
  10529. {0xB0, 0x66, 0x66, 0, 0},
  10530. {0xB1, 0x66, 0x66, 0, 0},
  10531. {0xB2, 0x66, 0x66, 0, 0},
  10532. {0xB3, 0xa, 0xa, 0, 0},
  10533. {0xB4, 0, 0, 0, 0},
  10534. {0xB5, 0, 0, 0, 0},
  10535. {0xB6, 0, 0, 0, 0},
  10536. {0xFFFF, 0, 0, 0, 0},
  10537. };
  10538. static struct radio_regs regs_TX_2056_rev8[] = {
  10539. {0x02, 0, 0, 0, 0},
  10540. {0x03, 0, 0, 0, 0},
  10541. {0x04, 0, 0, 0, 0},
  10542. {0x05, 0, 0, 0, 0},
  10543. {0x06, 0, 0, 0, 0},
  10544. {0x07, 0, 0, 0, 0},
  10545. {0x08, 0, 0, 0, 0},
  10546. {0x09, 0, 0, 0, 0},
  10547. {0x0A, 0, 0, 0, 0},
  10548. {0x0B, 0, 0, 0, 0},
  10549. {0x0C, 0, 0, 0, 0},
  10550. {0x0D, 0, 0, 0, 0},
  10551. {0x0E, 0, 0, 0, 0},
  10552. {0x0F, 0, 0, 0, 0},
  10553. {0x10, 0, 0, 0, 0},
  10554. {0x11, 0, 0, 0, 0},
  10555. {0x12, 0, 0, 0, 0},
  10556. {0x13, 0, 0, 0, 0},
  10557. {0x14, 0, 0, 0, 0},
  10558. {0x15, 0, 0, 0, 0},
  10559. {0x16, 0, 0, 0, 0},
  10560. {0x17, 0, 0, 0, 0},
  10561. {0x18, 0, 0, 0, 0},
  10562. {0x19, 0, 0, 0, 0},
  10563. {0x1A, 0, 0, 0, 0},
  10564. {0x1B, 0, 0, 0, 0},
  10565. {0x1C, 0, 0, 0, 0},
  10566. {0x1D, 0, 0, 0, 0},
  10567. {0x1E, 0, 0, 0, 0},
  10568. {0x1F, 0, 0, 0, 0},
  10569. {0x20, 0, 0, 0, 0},
  10570. {0x21, 0x88, 0x88, 0, 0},
  10571. {0x22, 0x88, 0x88, 0, 0},
  10572. {0x23, 0x88, 0x88, 0, 0},
  10573. {0x24, 0x88, 0x88, 0, 0},
  10574. {0x25, 0xc, 0xc, 0, 0},
  10575. {0x26, 0, 0, 0, 0},
  10576. {0x27, 0x3, 0x3, 0, 0},
  10577. {0x28, 0, 0, 0, 0},
  10578. {0x29, 0x3, 0x3, 0, 0},
  10579. {0x2A, 0x37, 0x37, 0, 0},
  10580. {0x2B, 0x3, 0x3, 0, 0},
  10581. {0x2C, 0, 0, 0, 0},
  10582. {0x2D, 0, 0, 0, 0},
  10583. {0x2E, 0x1, 0x1, 0, 0},
  10584. {0x2F, 0x1, 0x1, 0, 0},
  10585. {0x30, 0, 0, 0, 0},
  10586. {0x31, 0, 0, 0, 0},
  10587. {0x32, 0, 0, 0, 0},
  10588. {0x33, 0x11, 0x11, 0, 0},
  10589. {0x34, 0xee, 0xee, 1, 1},
  10590. {0x35, 0, 0, 0, 0},
  10591. {0x36, 0, 0, 0, 0},
  10592. {0x37, 0x3, 0x3, 0, 0},
  10593. {0x38, 0x50, 0x50, 1, 1},
  10594. {0x39, 0, 0, 0, 0},
  10595. {0x3A, 0x50, 0x50, 1, 1},
  10596. {0x3B, 0, 0, 0, 0},
  10597. {0x3C, 0x6e, 0x6e, 0, 0},
  10598. {0x3D, 0xf0, 0xf0, 1, 1},
  10599. {0x3E, 0, 0, 0, 0},
  10600. {0x3F, 0, 0, 0, 0},
  10601. {0x40, 0, 0, 0, 0},
  10602. {0x41, 0x3, 0x3, 0, 0},
  10603. {0x42, 0x3, 0x3, 0, 0},
  10604. {0x43, 0, 0, 0, 0},
  10605. {0x44, 0x1e, 0x1e, 0, 0},
  10606. {0x45, 0, 0, 0, 0},
  10607. {0x46, 0x6e, 0x6e, 0, 0},
  10608. {0x47, 0xf0, 0xf0, 1, 1},
  10609. {0x48, 0, 0, 0, 0},
  10610. {0x49, 0x2, 0x2, 0, 0},
  10611. {0x4A, 0xff, 0xff, 1, 1},
  10612. {0x4B, 0xc, 0xc, 0, 0},
  10613. {0x4C, 0, 0, 0, 0},
  10614. {0x4D, 0x38, 0x38, 0, 0},
  10615. {0x4E, 0x70, 0x70, 1, 1},
  10616. {0x4F, 0x2, 0x2, 0, 0},
  10617. {0x50, 0x88, 0x88, 0, 0},
  10618. {0x51, 0xc, 0xc, 0, 0},
  10619. {0x52, 0, 0, 0, 0},
  10620. {0x53, 0x8, 0x8, 0, 0},
  10621. {0x54, 0x70, 0x70, 1, 1},
  10622. {0x55, 0x2, 0x2, 0, 0},
  10623. {0x56, 0xff, 0xff, 1, 1},
  10624. {0x57, 0, 0, 0, 0},
  10625. {0x58, 0x83, 0x83, 0, 0},
  10626. {0x59, 0x77, 0x77, 1, 1},
  10627. {0x5A, 0, 0, 0, 0},
  10628. {0x5B, 0x2, 0x2, 0, 0},
  10629. {0x5C, 0x88, 0x88, 0, 0},
  10630. {0x5D, 0, 0, 0, 0},
  10631. {0x5E, 0x8, 0x8, 0, 0},
  10632. {0x5F, 0x77, 0x77, 1, 1},
  10633. {0x60, 0x1, 0x1, 0, 0},
  10634. {0x61, 0, 0, 0, 0},
  10635. {0x62, 0x7, 0x7, 0, 0},
  10636. {0x63, 0, 0, 0, 0},
  10637. {0x64, 0x7, 0x7, 0, 0},
  10638. {0x65, 0, 0, 0, 0},
  10639. {0x66, 0, 0, 0, 0},
  10640. {0x67, 0, 0, 1, 1},
  10641. {0x68, 0, 0, 0, 0},
  10642. {0x69, 0xa, 0xa, 0, 0},
  10643. {0x6A, 0, 0, 0, 0},
  10644. {0x6B, 0, 0, 0, 0},
  10645. {0x6C, 0, 0, 0, 0},
  10646. {0x6D, 0, 0, 0, 0},
  10647. {0x6E, 0, 0, 0, 0},
  10648. {0x6F, 0, 0, 0, 0},
  10649. {0x70, 0, 0, 0, 0},
  10650. {0x71, 0x2, 0x2, 0, 0},
  10651. {0x72, 0, 0, 0, 0},
  10652. {0x73, 0, 0, 0, 0},
  10653. {0x74, 0xe, 0xe, 0, 0},
  10654. {0x75, 0xe, 0xe, 0, 0},
  10655. {0x76, 0xe, 0xe, 0, 0},
  10656. {0x77, 0x13, 0x13, 0, 0},
  10657. {0x78, 0x13, 0x13, 0, 0},
  10658. {0x79, 0x1b, 0x1b, 0, 0},
  10659. {0x7A, 0x1b, 0x1b, 0, 0},
  10660. {0x7B, 0x55, 0x55, 0, 0},
  10661. {0x7C, 0x5b, 0x5b, 0, 0},
  10662. {0x7D, 0x30, 0x30, 1, 1},
  10663. {0x7E, 0, 0, 0, 0},
  10664. {0x7F, 0, 0, 0, 0},
  10665. {0x80, 0, 0, 0, 0},
  10666. {0x81, 0, 0, 0, 0},
  10667. {0x82, 0, 0, 0, 0},
  10668. {0x83, 0, 0, 0, 0},
  10669. {0x84, 0, 0, 0, 0},
  10670. {0x85, 0, 0, 0, 0},
  10671. {0x86, 0, 0, 0, 0},
  10672. {0x87, 0, 0, 0, 0},
  10673. {0x88, 0, 0, 0, 0},
  10674. {0x89, 0, 0, 0, 0},
  10675. {0x8A, 0, 0, 0, 0},
  10676. {0x8B, 0, 0, 0, 0},
  10677. {0x8C, 0, 0, 0, 0},
  10678. {0x8D, 0, 0, 0, 0},
  10679. {0x8E, 0, 0, 0, 0},
  10680. {0x8F, 0, 0, 0, 0},
  10681. {0x90, 0, 0, 0, 0},
  10682. {0x91, 0, 0, 0, 0},
  10683. {0x92, 0, 0, 0, 0},
  10684. {0x93, 0x70, 0x70, 0, 0},
  10685. {0x94, 0x70, 0x70, 0, 0},
  10686. {0x95, 0x70, 0x70, 0, 0},
  10687. {0x96, 0x70, 0x70, 0, 0},
  10688. {0x97, 0x70, 0x70, 0, 0},
  10689. {0x98, 0x70, 0x70, 0, 0},
  10690. {0x99, 0x70, 0x70, 0, 0},
  10691. {0x9A, 0x70, 0x70, 0, 0},
  10692. {0xFFFF, 0, 0, 0, 0},
  10693. };
  10694. static struct radio_regs regs_RX_2056_rev8[] = {
  10695. {0x02, 0, 0, 0, 0},
  10696. {0x03, 0, 0, 0, 0},
  10697. {0x04, 0, 0, 0, 0},
  10698. {0x05, 0, 0, 0, 0},
  10699. {0x06, 0, 0, 0, 0},
  10700. {0x07, 0, 0, 0, 0},
  10701. {0x08, 0, 0, 0, 0},
  10702. {0x09, 0, 0, 0, 0},
  10703. {0x0A, 0, 0, 0, 0},
  10704. {0x0B, 0, 0, 0, 0},
  10705. {0x0C, 0, 0, 0, 0},
  10706. {0x0D, 0, 0, 0, 0},
  10707. {0x0E, 0, 0, 0, 0},
  10708. {0x0F, 0, 0, 0, 0},
  10709. {0x10, 0, 0, 0, 0},
  10710. {0x11, 0, 0, 0, 0},
  10711. {0x12, 0, 0, 0, 0},
  10712. {0x13, 0, 0, 0, 0},
  10713. {0x14, 0, 0, 0, 0},
  10714. {0x15, 0, 0, 0, 0},
  10715. {0x16, 0, 0, 0, 0},
  10716. {0x17, 0, 0, 0, 0},
  10717. {0x18, 0, 0, 0, 0},
  10718. {0x19, 0, 0, 0, 0},
  10719. {0x1A, 0, 0, 0, 0},
  10720. {0x1B, 0, 0, 0, 0},
  10721. {0x1C, 0, 0, 0, 0},
  10722. {0x1D, 0, 0, 0, 0},
  10723. {0x1E, 0, 0, 0, 0},
  10724. {0x1F, 0, 0, 0, 0},
  10725. {0x20, 0x3, 0x3, 0, 0},
  10726. {0x21, 0, 0, 0, 0},
  10727. {0x22, 0, 0, 0, 0},
  10728. {0x23, 0x90, 0x90, 0, 0},
  10729. {0x24, 0x55, 0x55, 0, 0},
  10730. {0x25, 0x15, 0x15, 0, 0},
  10731. {0x26, 0x5, 0x5, 0, 0},
  10732. {0x27, 0x15, 0x15, 0, 0},
  10733. {0x28, 0x5, 0x5, 0, 0},
  10734. {0x29, 0x20, 0x20, 0, 0},
  10735. {0x2A, 0x11, 0x11, 0, 0},
  10736. {0x2B, 0x90, 0x90, 0, 0},
  10737. {0x2C, 0, 0, 0, 0},
  10738. {0x2D, 0x88, 0x88, 0, 0},
  10739. {0x2E, 0x32, 0x32, 0, 0},
  10740. {0x2F, 0x77, 0x77, 0, 0},
  10741. {0x30, 0x17, 0x17, 1, 1},
  10742. {0x31, 0xff, 0xff, 1, 1},
  10743. {0x32, 0x20, 0x20, 0, 0},
  10744. {0x33, 0, 0, 0, 0},
  10745. {0x34, 0x88, 0x88, 0, 0},
  10746. {0x35, 0x32, 0x32, 0, 0},
  10747. {0x36, 0x77, 0x77, 0, 0},
  10748. {0x37, 0x17, 0x17, 1, 1},
  10749. {0x38, 0xf0, 0xf0, 1, 1},
  10750. {0x39, 0x20, 0x20, 0, 0},
  10751. {0x3A, 0x8, 0x8, 0, 0},
  10752. {0x3B, 0x55, 0x55, 1, 1},
  10753. {0x3C, 0, 0, 0, 0},
  10754. {0x3D, 0x88, 0x88, 1, 1},
  10755. {0x3E, 0, 0, 0, 0},
  10756. {0x3F, 0x44, 0x44, 0, 0},
  10757. {0x40, 0x7, 0x7, 1, 1},
  10758. {0x41, 0x6, 0x6, 0, 0},
  10759. {0x42, 0x4, 0x4, 0, 0},
  10760. {0x43, 0, 0, 0, 0},
  10761. {0x44, 0x8, 0x8, 0, 0},
  10762. {0x45, 0x55, 0x55, 1, 1},
  10763. {0x46, 0, 0, 0, 0},
  10764. {0x47, 0x11, 0x11, 0, 0},
  10765. {0x48, 0, 0, 0, 0},
  10766. {0x49, 0x44, 0x44, 0, 0},
  10767. {0x4A, 0x7, 0x7, 0, 0},
  10768. {0x4B, 0x6, 0x6, 0, 0},
  10769. {0x4C, 0x4, 0x4, 0, 0},
  10770. {0x4D, 0, 0, 0, 0},
  10771. {0x4E, 0, 0, 0, 0},
  10772. {0x4F, 0x26, 0x26, 1, 1},
  10773. {0x50, 0x26, 0x26, 1, 1},
  10774. {0x51, 0xf, 0xf, 1, 1},
  10775. {0x52, 0xf, 0xf, 1, 1},
  10776. {0x53, 0x44, 0x44, 0, 0},
  10777. {0x54, 0, 0, 0, 0},
  10778. {0x55, 0, 0, 0, 0},
  10779. {0x56, 0x8, 0x8, 0, 0},
  10780. {0x57, 0x8, 0x8, 0, 0},
  10781. {0x58, 0x7, 0x7, 0, 0},
  10782. {0x59, 0x22, 0x22, 0, 0},
  10783. {0x5A, 0x22, 0x22, 0, 0},
  10784. {0x5B, 0x2, 0x2, 0, 0},
  10785. {0x5C, 0x4, 0x4, 1, 1},
  10786. {0x5D, 0x7, 0x7, 0, 0},
  10787. {0x5E, 0x55, 0x55, 0, 0},
  10788. {0x5F, 0x23, 0x23, 0, 0},
  10789. {0x60, 0x41, 0x41, 0, 0},
  10790. {0x61, 0x1, 0x1, 0, 0},
  10791. {0x62, 0xa, 0xa, 0, 0},
  10792. {0x63, 0, 0, 0, 0},
  10793. {0x64, 0, 0, 0, 0},
  10794. {0x65, 0, 0, 0, 0},
  10795. {0x66, 0, 0, 0, 0},
  10796. {0x67, 0, 0, 0, 0},
  10797. {0x68, 0, 0, 0, 0},
  10798. {0x69, 0, 0, 0, 0},
  10799. {0x6A, 0, 0, 0, 0},
  10800. {0x6B, 0xc, 0xc, 0, 0},
  10801. {0x6C, 0, 0, 0, 0},
  10802. {0x6D, 0, 0, 0, 0},
  10803. {0x6E, 0, 0, 0, 0},
  10804. {0x6F, 0, 0, 0, 0},
  10805. {0x70, 0, 0, 0, 0},
  10806. {0x71, 0, 0, 0, 0},
  10807. {0x72, 0x22, 0x22, 0, 0},
  10808. {0x73, 0x22, 0x22, 0, 0},
  10809. {0x74, 0, 0, 1, 1},
  10810. {0x75, 0xa, 0xa, 0, 0},
  10811. {0x76, 0x1, 0x1, 0, 0},
  10812. {0x77, 0x22, 0x22, 0, 0},
  10813. {0x78, 0x30, 0x30, 0, 0},
  10814. {0x79, 0, 0, 0, 0},
  10815. {0x7A, 0, 0, 0, 0},
  10816. {0x7B, 0, 0, 0, 0},
  10817. {0x7C, 0, 0, 0, 0},
  10818. {0x7D, 0x5, 0x5, 1, 1},
  10819. {0x7E, 0, 0, 0, 0},
  10820. {0x7F, 0, 0, 0, 0},
  10821. {0x80, 0, 0, 0, 0},
  10822. {0x81, 0, 0, 0, 0},
  10823. {0x82, 0, 0, 0, 0},
  10824. {0x83, 0, 0, 0, 0},
  10825. {0x84, 0, 0, 0, 0},
  10826. {0x85, 0, 0, 0, 0},
  10827. {0x86, 0, 0, 0, 0},
  10828. {0x87, 0, 0, 0, 0},
  10829. {0x88, 0, 0, 0, 0},
  10830. {0x89, 0, 0, 0, 0},
  10831. {0x8A, 0, 0, 0, 0},
  10832. {0x8B, 0, 0, 0, 0},
  10833. {0x8C, 0, 0, 0, 0},
  10834. {0x8D, 0, 0, 0, 0},
  10835. {0x8E, 0, 0, 0, 0},
  10836. {0x8F, 0, 0, 0, 0},
  10837. {0x90, 0, 0, 0, 0},
  10838. {0x91, 0, 0, 0, 0},
  10839. {0x92, 0, 0, 0, 0},
  10840. {0x93, 0, 0, 0, 0},
  10841. {0x94, 0, 0, 0, 0},
  10842. {0xFFFF, 0, 0, 0, 0},
  10843. };
  10844. static const struct radio_regs regs_SYN_2056_rev11[] = {
  10845. {0x02, 0, 0, 0, 0},
  10846. {0x03, 0, 0, 0, 0},
  10847. {0x04, 0, 0, 0, 0},
  10848. {0x05, 0, 0, 0, 0},
  10849. {0x06, 0, 0, 0, 0},
  10850. {0x07, 0, 0, 0, 0},
  10851. {0x08, 0, 0, 0, 0},
  10852. {0x09, 0x1, 0x1, 0, 0},
  10853. {0x0A, 0, 0, 0, 0},
  10854. {0x0B, 0, 0, 0, 0},
  10855. {0x0C, 0, 0, 0, 0},
  10856. {0x0D, 0, 0, 0, 0},
  10857. {0x0E, 0, 0, 0, 0},
  10858. {0x0F, 0, 0, 0, 0},
  10859. {0x10, 0, 0, 0, 0},
  10860. {0x11, 0, 0, 0, 0},
  10861. {0x12, 0, 0, 0, 0},
  10862. {0x13, 0, 0, 0, 0},
  10863. {0x14, 0, 0, 0, 0},
  10864. {0x15, 0, 0, 0, 0},
  10865. {0x16, 0, 0, 0, 0},
  10866. {0x17, 0, 0, 0, 0},
  10867. {0x18, 0, 0, 0, 0},
  10868. {0x19, 0, 0, 0, 0},
  10869. {0x1A, 0, 0, 0, 0},
  10870. {0x1B, 0, 0, 0, 0},
  10871. {0x1C, 0, 0, 0, 0},
  10872. {0x1D, 0, 0, 0, 0},
  10873. {0x1E, 0, 0, 0, 0},
  10874. {0x1F, 0, 0, 0, 0},
  10875. {0x20, 0, 0, 0, 0},
  10876. {0x21, 0, 0, 0, 0},
  10877. {0x22, 0x60, 0x60, 0, 0},
  10878. {0x23, 0x6, 0x6, 0, 0},
  10879. {0x24, 0xc, 0xc, 0, 0},
  10880. {0x25, 0, 0, 0, 0},
  10881. {0x26, 0, 0, 0, 0},
  10882. {0x27, 0, 0, 0, 0},
  10883. {0x28, 0x1, 0x1, 0, 0},
  10884. {0x29, 0, 0, 0, 0},
  10885. {0x2A, 0, 0, 0, 0},
  10886. {0x2B, 0, 0, 0, 0},
  10887. {0x2C, 0, 0, 0, 0},
  10888. {0x2D, 0, 0, 0, 0},
  10889. {0x2E, 0, 0, 0, 0},
  10890. {0x2F, 0x1f, 0x1f, 0, 0},
  10891. {0x30, 0x15, 0x15, 0, 0},
  10892. {0x31, 0xf, 0xf, 0, 0},
  10893. {0x32, 0, 0, 0, 0},
  10894. {0x33, 0, 0, 0, 0},
  10895. {0x34, 0, 0, 0, 0},
  10896. {0x35, 0, 0, 0, 0},
  10897. {0x36, 0, 0, 0, 0},
  10898. {0x37, 0, 0, 0, 0},
  10899. {0x38, 0, 0, 0, 0},
  10900. {0x39, 0, 0, 0, 0},
  10901. {0x3A, 0, 0, 0, 0},
  10902. {0x3B, 0, 0, 0, 0},
  10903. {0x3C, 0x13, 0x13, 0, 0},
  10904. {0x3D, 0xf, 0xf, 0, 0},
  10905. {0x3E, 0x18, 0x18, 0, 0},
  10906. {0x3F, 0, 0, 0, 0},
  10907. {0x40, 0, 0, 0, 0},
  10908. {0x41, 0x20, 0x20, 0, 0},
  10909. {0x42, 0x20, 0x20, 0, 0},
  10910. {0x43, 0, 0, 0, 0},
  10911. {0x44, 0x77, 0x77, 0, 0},
  10912. {0x45, 0x7, 0x7, 0, 0},
  10913. {0x46, 0x1, 0x1, 0, 0},
  10914. {0x47, 0x6, 0x6, 1, 1},
  10915. {0x48, 0xf, 0xf, 0, 0},
  10916. {0x49, 0x3f, 0x3f, 1, 1},
  10917. {0x4A, 0x32, 0x32, 0, 0},
  10918. {0x4B, 0x6, 0x6, 1, 1},
  10919. {0x4C, 0x6, 0x6, 1, 1},
  10920. {0x4D, 0x4, 0x4, 0, 0},
  10921. {0x4E, 0x2b, 0x2b, 1, 1},
  10922. {0x4F, 0x1, 0x1, 0, 0},
  10923. {0x50, 0x1c, 0x1c, 0, 0},
  10924. {0x51, 0x2, 0x2, 0, 0},
  10925. {0x52, 0x2, 0x2, 0, 0},
  10926. {0x53, 0xf7, 0xf7, 1, 1},
  10927. {0x54, 0xb4, 0xb4, 0, 0},
  10928. {0x55, 0xd2, 0xd2, 0, 0},
  10929. {0x56, 0, 0, 0, 0},
  10930. {0x57, 0, 0, 0, 0},
  10931. {0x58, 0x4, 0x4, 0, 0},
  10932. {0x59, 0x96, 0x96, 0, 0},
  10933. {0x5A, 0x3e, 0x3e, 0, 0},
  10934. {0x5B, 0x3e, 0x3e, 0, 0},
  10935. {0x5C, 0x13, 0x13, 0, 0},
  10936. {0x5D, 0x2, 0x2, 0, 0},
  10937. {0x5E, 0, 0, 0, 0},
  10938. {0x5F, 0x7, 0x7, 0, 0},
  10939. {0x60, 0x7, 0x7, 1, 1},
  10940. {0x61, 0x8, 0x8, 0, 0},
  10941. {0x62, 0x3, 0x3, 0, 0},
  10942. {0x63, 0, 0, 0, 0},
  10943. {0x64, 0, 0, 0, 0},
  10944. {0x65, 0, 0, 0, 0},
  10945. {0x66, 0, 0, 0, 0},
  10946. {0x67, 0, 0, 0, 0},
  10947. {0x68, 0x40, 0x40, 0, 0},
  10948. {0x69, 0, 0, 0, 0},
  10949. {0x6A, 0, 0, 0, 0},
  10950. {0x6B, 0, 0, 0, 0},
  10951. {0x6C, 0, 0, 0, 0},
  10952. {0x6D, 0x1, 0x1, 0, 0},
  10953. {0x6E, 0, 0, 0, 0},
  10954. {0x6F, 0, 0, 0, 0},
  10955. {0x70, 0x60, 0x60, 0, 0},
  10956. {0x71, 0x66, 0x66, 0, 0},
  10957. {0x72, 0xc, 0xc, 0, 0},
  10958. {0x73, 0x66, 0x66, 0, 0},
  10959. {0x74, 0x8f, 0x8f, 1, 1},
  10960. {0x75, 0, 0, 0, 0},
  10961. {0x76, 0xcc, 0xcc, 0, 0},
  10962. {0x77, 0x1, 0x1, 0, 0},
  10963. {0x78, 0x66, 0x66, 0, 0},
  10964. {0x79, 0x66, 0x66, 0, 0},
  10965. {0x7A, 0, 0, 0, 0},
  10966. {0x7B, 0, 0, 0, 0},
  10967. {0x7C, 0, 0, 0, 0},
  10968. {0x7D, 0, 0, 0, 0},
  10969. {0x7E, 0, 0, 0, 0},
  10970. {0x7F, 0, 0, 0, 0},
  10971. {0x80, 0, 0, 0, 0},
  10972. {0x81, 0, 0, 0, 0},
  10973. {0x82, 0, 0, 0, 0},
  10974. {0x83, 0, 0, 0, 0},
  10975. {0x84, 0, 0, 0, 0},
  10976. {0x85, 0xff, 0xff, 0, 0},
  10977. {0x86, 0, 0, 0, 0},
  10978. {0x87, 0, 0, 0, 0},
  10979. {0x88, 0, 0, 0, 0},
  10980. {0x89, 0, 0, 0, 0},
  10981. {0x8A, 0, 0, 0, 0},
  10982. {0x8B, 0, 0, 0, 0},
  10983. {0x8C, 0, 0, 0, 0},
  10984. {0x8D, 0, 0, 0, 0},
  10985. {0x8E, 0, 0, 0, 0},
  10986. {0x8F, 0, 0, 0, 0},
  10987. {0x90, 0, 0, 0, 0},
  10988. {0x91, 0, 0, 0, 0},
  10989. {0x92, 0, 0, 0, 0},
  10990. {0x93, 0, 0, 0, 0},
  10991. {0x94, 0, 0, 0, 0},
  10992. {0x95, 0, 0, 0, 0},
  10993. {0x96, 0, 0, 0, 0},
  10994. {0x97, 0, 0, 0, 0},
  10995. {0x98, 0, 0, 0, 0},
  10996. {0x99, 0, 0, 0, 0},
  10997. {0x9A, 0, 0, 0, 0},
  10998. {0x9B, 0, 0, 0, 0},
  10999. {0x9C, 0, 0, 0, 0},
  11000. {0x9D, 0, 0, 0, 0},
  11001. {0x9E, 0, 0, 0, 0},
  11002. {0x9F, 0x6, 0x6, 0, 0},
  11003. {0xA0, 0x66, 0x66, 0, 0},
  11004. {0xA1, 0x66, 0x66, 0, 0},
  11005. {0xA2, 0x66, 0x66, 0, 0},
  11006. {0xA3, 0x66, 0x66, 0, 0},
  11007. {0xA4, 0x66, 0x66, 0, 0},
  11008. {0xA5, 0x66, 0x66, 0, 0},
  11009. {0xA6, 0x66, 0x66, 0, 0},
  11010. {0xA7, 0x66, 0x66, 0, 0},
  11011. {0xA8, 0x66, 0x66, 0, 0},
  11012. {0xA9, 0x66, 0x66, 0, 0},
  11013. {0xAA, 0x66, 0x66, 0, 0},
  11014. {0xAB, 0x66, 0x66, 0, 0},
  11015. {0xAC, 0x66, 0x66, 0, 0},
  11016. {0xAD, 0x66, 0x66, 0, 0},
  11017. {0xAE, 0x66, 0x66, 0, 0},
  11018. {0xAF, 0x66, 0x66, 0, 0},
  11019. {0xB0, 0x66, 0x66, 0, 0},
  11020. {0xB1, 0x66, 0x66, 0, 0},
  11021. {0xB2, 0x66, 0x66, 0, 0},
  11022. {0xB3, 0xa, 0xa, 0, 0},
  11023. {0xB4, 0, 0, 0, 0},
  11024. {0xB5, 0, 0, 0, 0},
  11025. {0xB6, 0, 0, 0, 0},
  11026. {0xFFFF, 0, 0, 0, 0},
  11027. };
  11028. static const struct radio_regs regs_TX_2056_rev11[] = {
  11029. {0x02, 0, 0, 0, 0},
  11030. {0x03, 0, 0, 0, 0},
  11031. {0x04, 0, 0, 0, 0},
  11032. {0x05, 0, 0, 0, 0},
  11033. {0x06, 0, 0, 0, 0},
  11034. {0x07, 0, 0, 0, 0},
  11035. {0x08, 0, 0, 0, 0},
  11036. {0x09, 0, 0, 0, 0},
  11037. {0x0A, 0, 0, 0, 0},
  11038. {0x0B, 0, 0, 0, 0},
  11039. {0x0C, 0, 0, 0, 0},
  11040. {0x0D, 0, 0, 0, 0},
  11041. {0x0E, 0, 0, 0, 0},
  11042. {0x0F, 0, 0, 0, 0},
  11043. {0x10, 0, 0, 0, 0},
  11044. {0x11, 0, 0, 0, 0},
  11045. {0x12, 0, 0, 0, 0},
  11046. {0x13, 0, 0, 0, 0},
  11047. {0x14, 0, 0, 0, 0},
  11048. {0x15, 0, 0, 0, 0},
  11049. {0x16, 0, 0, 0, 0},
  11050. {0x17, 0, 0, 0, 0},
  11051. {0x18, 0, 0, 0, 0},
  11052. {0x19, 0, 0, 0, 0},
  11053. {0x1A, 0, 0, 0, 0},
  11054. {0x1B, 0, 0, 0, 0},
  11055. {0x1C, 0, 0, 0, 0},
  11056. {0x1D, 0, 0, 0, 0},
  11057. {0x1E, 0, 0, 0, 0},
  11058. {0x1F, 0, 0, 0, 0},
  11059. {0x20, 0, 0, 0, 0},
  11060. {0x21, 0x88, 0x88, 0, 0},
  11061. {0x22, 0x88, 0x88, 0, 0},
  11062. {0x23, 0x88, 0x88, 0, 0},
  11063. {0x24, 0x88, 0x88, 0, 0},
  11064. {0x25, 0xc, 0xc, 0, 0},
  11065. {0x26, 0, 0, 0, 0},
  11066. {0x27, 0x3, 0x3, 0, 0},
  11067. {0x28, 0, 0, 0, 0},
  11068. {0x29, 0x3, 0x3, 0, 0},
  11069. {0x2A, 0x37, 0x37, 0, 0},
  11070. {0x2B, 0x3, 0x3, 0, 0},
  11071. {0x2C, 0, 0, 0, 0},
  11072. {0x2D, 0, 0, 0, 0},
  11073. {0x2E, 0x1, 0x1, 0, 0},
  11074. {0x2F, 0x1, 0x1, 0, 0},
  11075. {0x30, 0, 0, 0, 0},
  11076. {0x31, 0, 0, 0, 0},
  11077. {0x32, 0, 0, 0, 0},
  11078. {0x33, 0x11, 0x11, 0, 0},
  11079. {0x34, 0xee, 0xee, 1, 1},
  11080. {0x35, 0, 0, 0, 0},
  11081. {0x36, 0, 0, 0, 0},
  11082. {0x37, 0x3, 0x3, 0, 0},
  11083. {0x38, 0x50, 0x50, 1, 1},
  11084. {0x39, 0, 0, 0, 0},
  11085. {0x3A, 0x50, 0x50, 1, 1},
  11086. {0x3B, 0, 0, 0, 0},
  11087. {0x3C, 0x6e, 0x6e, 0, 0},
  11088. {0x3D, 0xf0, 0xf0, 1, 1},
  11089. {0x3E, 0, 0, 0, 0},
  11090. {0x3F, 0, 0, 0, 0},
  11091. {0x40, 0, 0, 0, 0},
  11092. {0x41, 0x3, 0x3, 0, 0},
  11093. {0x42, 0x3, 0x3, 0, 0},
  11094. {0x43, 0, 0, 0, 0},
  11095. {0x44, 0x1e, 0x1e, 0, 0},
  11096. {0x45, 0, 0, 0, 0},
  11097. {0x46, 0x6e, 0x6e, 0, 0},
  11098. {0x47, 0xf0, 0xf0, 1, 1},
  11099. {0x48, 0, 0, 0, 0},
  11100. {0x49, 0x2, 0x2, 0, 0},
  11101. {0x4A, 0xff, 0xff, 1, 1},
  11102. {0x4B, 0xc, 0xc, 0, 0},
  11103. {0x4C, 0, 0, 0, 0},
  11104. {0x4D, 0x38, 0x38, 0, 0},
  11105. {0x4E, 0x70, 0x70, 1, 1},
  11106. {0x4F, 0x2, 0x2, 0, 0},
  11107. {0x50, 0x88, 0x88, 0, 0},
  11108. {0x51, 0xc, 0xc, 0, 0},
  11109. {0x52, 0, 0, 0, 0},
  11110. {0x53, 0x8, 0x8, 0, 0},
  11111. {0x54, 0x70, 0x70, 1, 1},
  11112. {0x55, 0x2, 0x2, 0, 0},
  11113. {0x56, 0xff, 0xff, 1, 1},
  11114. {0x57, 0, 0, 0, 0},
  11115. {0x58, 0x83, 0x83, 0, 0},
  11116. {0x59, 0x77, 0x77, 1, 1},
  11117. {0x5A, 0, 0, 0, 0},
  11118. {0x5B, 0x2, 0x2, 0, 0},
  11119. {0x5C, 0x88, 0x88, 0, 0},
  11120. {0x5D, 0, 0, 0, 0},
  11121. {0x5E, 0x8, 0x8, 0, 0},
  11122. {0x5F, 0x77, 0x77, 1, 1},
  11123. {0x60, 0x1, 0x1, 0, 0},
  11124. {0x61, 0, 0, 0, 0},
  11125. {0x62, 0x7, 0x7, 0, 0},
  11126. {0x63, 0, 0, 0, 0},
  11127. {0x64, 0x7, 0x7, 0, 0},
  11128. {0x65, 0, 0, 0, 0},
  11129. {0x66, 0, 0, 0, 0},
  11130. {0x67, 0, 0, 1, 1},
  11131. {0x68, 0, 0, 0, 0},
  11132. {0x69, 0xa, 0xa, 0, 0},
  11133. {0x6A, 0, 0, 0, 0},
  11134. {0x6B, 0, 0, 0, 0},
  11135. {0x6C, 0, 0, 0, 0},
  11136. {0x6D, 0, 0, 0, 0},
  11137. {0x6E, 0, 0, 0, 0},
  11138. {0x6F, 0, 0, 0, 0},
  11139. {0x70, 0, 0, 0, 0},
  11140. {0x71, 0x2, 0x2, 0, 0},
  11141. {0x72, 0, 0, 0, 0},
  11142. {0x73, 0, 0, 0, 0},
  11143. {0x74, 0xe, 0xe, 0, 0},
  11144. {0x75, 0xe, 0xe, 0, 0},
  11145. {0x76, 0xe, 0xe, 0, 0},
  11146. {0x77, 0x13, 0x13, 0, 0},
  11147. {0x78, 0x13, 0x13, 0, 0},
  11148. {0x79, 0x1b, 0x1b, 0, 0},
  11149. {0x7A, 0x1b, 0x1b, 0, 0},
  11150. {0x7B, 0x55, 0x55, 0, 0},
  11151. {0x7C, 0x5b, 0x5b, 0, 0},
  11152. {0x7D, 0x30, 0x30, 1, 1},
  11153. {0x7E, 0, 0, 0, 0},
  11154. {0x7F, 0, 0, 0, 0},
  11155. {0x80, 0, 0, 0, 0},
  11156. {0x81, 0, 0, 0, 0},
  11157. {0x82, 0, 0, 0, 0},
  11158. {0x83, 0, 0, 0, 0},
  11159. {0x84, 0, 0, 0, 0},
  11160. {0x85, 0, 0, 0, 0},
  11161. {0x86, 0, 0, 0, 0},
  11162. {0x87, 0, 0, 0, 0},
  11163. {0x88, 0, 0, 0, 0},
  11164. {0x89, 0, 0, 0, 0},
  11165. {0x8A, 0, 0, 0, 0},
  11166. {0x8B, 0, 0, 0, 0},
  11167. {0x8C, 0, 0, 0, 0},
  11168. {0x8D, 0, 0, 0, 0},
  11169. {0x8E, 0, 0, 0, 0},
  11170. {0x8F, 0, 0, 0, 0},
  11171. {0x90, 0, 0, 0, 0},
  11172. {0x91, 0, 0, 0, 0},
  11173. {0x92, 0, 0, 0, 0},
  11174. {0x93, 0x70, 0x70, 0, 0},
  11175. {0x94, 0x70, 0x70, 0, 0},
  11176. {0x95, 0x70, 0x70, 0, 0},
  11177. {0x96, 0x70, 0x70, 0, 0},
  11178. {0x97, 0x70, 0x70, 0, 0},
  11179. {0x98, 0x70, 0x70, 0, 0},
  11180. {0x99, 0x70, 0x70, 0, 0},
  11181. {0x9A, 0x70, 0x70, 0, 0},
  11182. {0xFFFF, 0, 0, 0, 0},
  11183. };
  11184. static const struct radio_regs regs_RX_2056_rev11[] = {
  11185. {0x02, 0, 0, 0, 0},
  11186. {0x03, 0, 0, 0, 0},
  11187. {0x04, 0, 0, 0, 0},
  11188. {0x05, 0, 0, 0, 0},
  11189. {0x06, 0, 0, 0, 0},
  11190. {0x07, 0, 0, 0, 0},
  11191. {0x08, 0, 0, 0, 0},
  11192. {0x09, 0, 0, 0, 0},
  11193. {0x0A, 0, 0, 0, 0},
  11194. {0x0B, 0, 0, 0, 0},
  11195. {0x0C, 0, 0, 0, 0},
  11196. {0x0D, 0, 0, 0, 0},
  11197. {0x0E, 0, 0, 0, 0},
  11198. {0x0F, 0, 0, 0, 0},
  11199. {0x10, 0, 0, 0, 0},
  11200. {0x11, 0, 0, 0, 0},
  11201. {0x12, 0, 0, 0, 0},
  11202. {0x13, 0, 0, 0, 0},
  11203. {0x14, 0, 0, 0, 0},
  11204. {0x15, 0, 0, 0, 0},
  11205. {0x16, 0, 0, 0, 0},
  11206. {0x17, 0, 0, 0, 0},
  11207. {0x18, 0, 0, 0, 0},
  11208. {0x19, 0, 0, 0, 0},
  11209. {0x1A, 0, 0, 0, 0},
  11210. {0x1B, 0, 0, 0, 0},
  11211. {0x1C, 0, 0, 0, 0},
  11212. {0x1D, 0, 0, 0, 0},
  11213. {0x1E, 0, 0, 0, 0},
  11214. {0x1F, 0, 0, 0, 0},
  11215. {0x20, 0x3, 0x3, 0, 0},
  11216. {0x21, 0, 0, 0, 0},
  11217. {0x22, 0, 0, 0, 0},
  11218. {0x23, 0x90, 0x90, 0, 0},
  11219. {0x24, 0x55, 0x55, 0, 0},
  11220. {0x25, 0x15, 0x15, 0, 0},
  11221. {0x26, 0x5, 0x5, 0, 0},
  11222. {0x27, 0x15, 0x15, 0, 0},
  11223. {0x28, 0x5, 0x5, 0, 0},
  11224. {0x29, 0x20, 0x20, 0, 0},
  11225. {0x2A, 0x11, 0x11, 0, 0},
  11226. {0x2B, 0x90, 0x90, 0, 0},
  11227. {0x2C, 0, 0, 0, 0},
  11228. {0x2D, 0x88, 0x88, 0, 0},
  11229. {0x2E, 0x32, 0x32, 0, 0},
  11230. {0x2F, 0x77, 0x77, 0, 0},
  11231. {0x30, 0x17, 0x17, 1, 1},
  11232. {0x31, 0xff, 0xff, 1, 1},
  11233. {0x32, 0x20, 0x20, 0, 0},
  11234. {0x33, 0, 0, 0, 0},
  11235. {0x34, 0x88, 0x88, 0, 0},
  11236. {0x35, 0x32, 0x32, 0, 0},
  11237. {0x36, 0x77, 0x77, 0, 0},
  11238. {0x37, 0x17, 0x17, 1, 1},
  11239. {0x38, 0xf0, 0xf0, 1, 1},
  11240. {0x39, 0x20, 0x20, 0, 0},
  11241. {0x3A, 0x8, 0x8, 0, 0},
  11242. {0x3B, 0x55, 0x55, 1, 1},
  11243. {0x3C, 0, 0, 0, 0},
  11244. {0x3D, 0x88, 0x88, 1, 1},
  11245. {0x3E, 0, 0, 0, 0},
  11246. {0x3F, 0x44, 0x44, 0, 0},
  11247. {0x40, 0x7, 0x7, 1, 1},
  11248. {0x41, 0x6, 0x6, 0, 0},
  11249. {0x42, 0x4, 0x4, 0, 0},
  11250. {0x43, 0, 0, 0, 0},
  11251. {0x44, 0x8, 0x8, 0, 0},
  11252. {0x45, 0x55, 0x55, 1, 1},
  11253. {0x46, 0, 0, 0, 0},
  11254. {0x47, 0x11, 0x11, 0, 0},
  11255. {0x48, 0, 0, 0, 0},
  11256. {0x49, 0x44, 0x44, 0, 0},
  11257. {0x4A, 0x7, 0x7, 0, 0},
  11258. {0x4B, 0x6, 0x6, 0, 0},
  11259. {0x4C, 0x4, 0x4, 0, 0},
  11260. {0x4D, 0, 0, 0, 0},
  11261. {0x4E, 0, 0, 0, 0},
  11262. {0x4F, 0x26, 0x26, 1, 1},
  11263. {0x50, 0x26, 0x26, 1, 1},
  11264. {0x51, 0xf, 0xf, 1, 1},
  11265. {0x52, 0xf, 0xf, 1, 1},
  11266. {0x53, 0x44, 0x44, 0, 0},
  11267. {0x54, 0, 0, 0, 0},
  11268. {0x55, 0, 0, 0, 0},
  11269. {0x56, 0x8, 0x8, 0, 0},
  11270. {0x57, 0x8, 0x8, 0, 0},
  11271. {0x58, 0x7, 0x7, 0, 0},
  11272. {0x59, 0x22, 0x22, 0, 0},
  11273. {0x5A, 0x22, 0x22, 0, 0},
  11274. {0x5B, 0x2, 0x2, 0, 0},
  11275. {0x5C, 0x4, 0x4, 1, 1},
  11276. {0x5D, 0x7, 0x7, 0, 0},
  11277. {0x5E, 0x55, 0x55, 0, 0},
  11278. {0x5F, 0x23, 0x23, 0, 0},
  11279. {0x60, 0x41, 0x41, 0, 0},
  11280. {0x61, 0x1, 0x1, 0, 0},
  11281. {0x62, 0xa, 0xa, 0, 0},
  11282. {0x63, 0, 0, 0, 0},
  11283. {0x64, 0, 0, 0, 0},
  11284. {0x65, 0, 0, 0, 0},
  11285. {0x66, 0, 0, 0, 0},
  11286. {0x67, 0, 0, 0, 0},
  11287. {0x68, 0, 0, 0, 0},
  11288. {0x69, 0, 0, 0, 0},
  11289. {0x6A, 0, 0, 0, 0},
  11290. {0x6B, 0xc, 0xc, 0, 0},
  11291. {0x6C, 0, 0, 0, 0},
  11292. {0x6D, 0, 0, 0, 0},
  11293. {0x6E, 0, 0, 0, 0},
  11294. {0x6F, 0, 0, 0, 0},
  11295. {0x70, 0, 0, 0, 0},
  11296. {0x71, 0, 0, 0, 0},
  11297. {0x72, 0x22, 0x22, 0, 0},
  11298. {0x73, 0x22, 0x22, 0, 0},
  11299. {0x74, 0, 0, 1, 1},
  11300. {0x75, 0xa, 0xa, 0, 0},
  11301. {0x76, 0x1, 0x1, 0, 0},
  11302. {0x77, 0x22, 0x22, 0, 0},
  11303. {0x78, 0x30, 0x30, 0, 0},
  11304. {0x79, 0, 0, 0, 0},
  11305. {0x7A, 0, 0, 0, 0},
  11306. {0x7B, 0, 0, 0, 0},
  11307. {0x7C, 0, 0, 0, 0},
  11308. {0x7D, 0x5, 0x5, 1, 1},
  11309. {0x7E, 0, 0, 0, 0},
  11310. {0x7F, 0, 0, 0, 0},
  11311. {0x80, 0, 0, 0, 0},
  11312. {0x81, 0, 0, 0, 0},
  11313. {0x82, 0, 0, 0, 0},
  11314. {0x83, 0, 0, 0, 0},
  11315. {0x84, 0, 0, 0, 0},
  11316. {0x85, 0, 0, 0, 0},
  11317. {0x86, 0, 0, 0, 0},
  11318. {0x87, 0, 0, 0, 0},
  11319. {0x88, 0, 0, 0, 0},
  11320. {0x89, 0, 0, 0, 0},
  11321. {0x8A, 0, 0, 0, 0},
  11322. {0x8B, 0, 0, 0, 0},
  11323. {0x8C, 0, 0, 0, 0},
  11324. {0x8D, 0, 0, 0, 0},
  11325. {0x8E, 0, 0, 0, 0},
  11326. {0x8F, 0, 0, 0, 0},
  11327. {0x90, 0, 0, 0, 0},
  11328. {0x91, 0, 0, 0, 0},
  11329. {0x92, 0, 0, 0, 0},
  11330. {0x93, 0, 0, 0, 0},
  11331. {0x94, 0, 0, 0, 0},
  11332. {0xFFFF, 0, 0, 0, 0},
  11333. };
  11334. static struct radio_20xx_regs regs_2057_rev4[] = {
  11335. {0x00, 0x84, 0},
  11336. {0x01, 0, 0},
  11337. {0x02, 0x60, 0},
  11338. {0x03, 0x1f, 0},
  11339. {0x04, 0x4, 0},
  11340. {0x05, 0x2, 0},
  11341. {0x06, 0x1, 0},
  11342. {0x07, 0x1, 0},
  11343. {0x08, 0x1, 0},
  11344. {0x09, 0x69, 0},
  11345. {0x0A, 0x66, 0},
  11346. {0x0B, 0x6, 0},
  11347. {0x0C, 0x18, 0},
  11348. {0x0D, 0x3, 0},
  11349. {0x0E, 0x20, 1},
  11350. {0x0F, 0x20, 0},
  11351. {0x10, 0, 0},
  11352. {0x11, 0x7c, 0},
  11353. {0x12, 0x42, 0},
  11354. {0x13, 0xbd, 0},
  11355. {0x14, 0x7, 0},
  11356. {0x15, 0xf7, 0},
  11357. {0x16, 0x8, 0},
  11358. {0x17, 0x17, 0},
  11359. {0x18, 0x7, 0},
  11360. {0x19, 0, 0},
  11361. {0x1A, 0x2, 0},
  11362. {0x1B, 0x13, 0},
  11363. {0x1C, 0x3e, 0},
  11364. {0x1D, 0x3e, 0},
  11365. {0x1E, 0x96, 0},
  11366. {0x1F, 0x4, 0},
  11367. {0x20, 0, 0},
  11368. {0x21, 0, 0},
  11369. {0x22, 0x17, 0},
  11370. {0x23, 0x4, 0},
  11371. {0x24, 0x1, 0},
  11372. {0x25, 0x6, 0},
  11373. {0x26, 0x4, 0},
  11374. {0x27, 0xd, 0},
  11375. {0x28, 0xd, 0},
  11376. {0x29, 0x30, 0},
  11377. {0x2A, 0x32, 0},
  11378. {0x2B, 0x8, 0},
  11379. {0x2C, 0x1c, 0},
  11380. {0x2D, 0x2, 0},
  11381. {0x2E, 0x4, 0},
  11382. {0x2F, 0x7f, 0},
  11383. {0x30, 0x27, 0},
  11384. {0x31, 0, 1},
  11385. {0x32, 0, 1},
  11386. {0x33, 0, 1},
  11387. {0x34, 0, 0},
  11388. {0x35, 0x26, 1},
  11389. {0x36, 0x18, 0},
  11390. {0x37, 0x7, 0},
  11391. {0x38, 0x66, 0},
  11392. {0x39, 0x66, 0},
  11393. {0x3A, 0x66, 0},
  11394. {0x3B, 0x66, 0},
  11395. {0x3C, 0xff, 1},
  11396. {0x3D, 0xff, 1},
  11397. {0x3E, 0xff, 1},
  11398. {0x3F, 0xff, 1},
  11399. {0x40, 0x16, 0},
  11400. {0x41, 0x7, 0},
  11401. {0x42, 0x19, 0},
  11402. {0x43, 0x7, 0},
  11403. {0x44, 0x6, 0},
  11404. {0x45, 0x3, 0},
  11405. {0x46, 0x1, 0},
  11406. {0x47, 0x7, 0},
  11407. {0x48, 0x33, 0},
  11408. {0x49, 0x5, 0},
  11409. {0x4A, 0x77, 0},
  11410. {0x4B, 0x66, 0},
  11411. {0x4C, 0x66, 0},
  11412. {0x4D, 0, 0},
  11413. {0x4E, 0x4, 0},
  11414. {0x4F, 0xc, 0},
  11415. {0x50, 0, 0},
  11416. {0x51, 0x75, 0},
  11417. {0x56, 0x7, 0},
  11418. {0x57, 0, 0},
  11419. {0x58, 0, 0},
  11420. {0x59, 0xa8, 0},
  11421. {0x5A, 0, 0},
  11422. {0x5B, 0x1f, 0},
  11423. {0x5C, 0x30, 0},
  11424. {0x5D, 0x1, 0},
  11425. {0x5E, 0x30, 0},
  11426. {0x5F, 0x70, 0},
  11427. {0x60, 0, 0},
  11428. {0x61, 0, 0},
  11429. {0x62, 0x33, 1},
  11430. {0x63, 0x19, 0},
  11431. {0x64, 0x62, 0},
  11432. {0x65, 0, 0},
  11433. {0x66, 0x11, 0},
  11434. {0x69, 0, 0},
  11435. {0x6A, 0x7e, 0},
  11436. {0x6B, 0x3f, 0},
  11437. {0x6C, 0x7f, 0},
  11438. {0x6D, 0x78, 0},
  11439. {0x6E, 0xc8, 0},
  11440. {0x6F, 0x88, 0},
  11441. {0x70, 0x8, 0},
  11442. {0x71, 0xf, 0},
  11443. {0x72, 0xbc, 0},
  11444. {0x73, 0x8, 0},
  11445. {0x74, 0x60, 0},
  11446. {0x75, 0x1e, 0},
  11447. {0x76, 0x70, 0},
  11448. {0x77, 0, 0},
  11449. {0x78, 0, 0},
  11450. {0x79, 0, 0},
  11451. {0x7A, 0x33, 0},
  11452. {0x7B, 0x1e, 0},
  11453. {0x7C, 0x62, 0},
  11454. {0x7D, 0x11, 0},
  11455. {0x80, 0x3c, 0},
  11456. {0x81, 0x9c, 0},
  11457. {0x82, 0xa, 0},
  11458. {0x83, 0x9d, 0},
  11459. {0x84, 0xa, 0},
  11460. {0x85, 0, 0},
  11461. {0x86, 0x40, 0},
  11462. {0x87, 0x40, 0},
  11463. {0x88, 0x88, 0},
  11464. {0x89, 0x10, 0},
  11465. {0x8A, 0xf0, 1},
  11466. {0x8B, 0x10, 1},
  11467. {0x8C, 0xf0, 1},
  11468. {0x8D, 0, 0},
  11469. {0x8E, 0, 0},
  11470. {0x8F, 0x10, 0},
  11471. {0x90, 0x55, 0},
  11472. {0x91, 0x3f, 1},
  11473. {0x92, 0x36, 1},
  11474. {0x93, 0, 0},
  11475. {0x94, 0, 0},
  11476. {0x95, 0, 0},
  11477. {0x96, 0x87, 0},
  11478. {0x97, 0x11, 0},
  11479. {0x98, 0, 0},
  11480. {0x99, 0x33, 0},
  11481. {0x9A, 0x88, 0},
  11482. {0x9B, 0, 0},
  11483. {0x9C, 0x87, 0},
  11484. {0x9D, 0x11, 0},
  11485. {0x9E, 0, 0},
  11486. {0x9F, 0x33, 0},
  11487. {0xA0, 0x88, 0},
  11488. {0xA1, 0xe1, 0},
  11489. {0xA2, 0x3f, 0},
  11490. {0xA3, 0x44, 0},
  11491. {0xA4, 0x8c, 1},
  11492. {0xA5, 0x6d, 0},
  11493. {0xA6, 0x22, 0},
  11494. {0xA7, 0xbe, 0},
  11495. {0xA8, 0x55, 1},
  11496. {0xA9, 0xc, 0},
  11497. {0xAA, 0xc, 0},
  11498. {0xAB, 0xaa, 0},
  11499. {0xAC, 0x2, 0},
  11500. {0xAD, 0, 0},
  11501. {0xAE, 0x10, 0},
  11502. {0xAF, 0x1, 1},
  11503. {0xB0, 0, 0},
  11504. {0xB1, 0, 0},
  11505. {0xB2, 0x80, 0},
  11506. {0xB3, 0x60, 0},
  11507. {0xB4, 0x44, 0},
  11508. {0xB5, 0x55, 0},
  11509. {0xB6, 0x1, 0},
  11510. {0xB7, 0x55, 0},
  11511. {0xB8, 0x1, 0},
  11512. {0xB9, 0x5, 0},
  11513. {0xBA, 0x55, 0},
  11514. {0xBB, 0x55, 0},
  11515. {0xC1, 0, 0},
  11516. {0xC2, 0, 0},
  11517. {0xC3, 0, 0},
  11518. {0xC4, 0, 0},
  11519. {0xC5, 0, 0},
  11520. {0xC6, 0, 0},
  11521. {0xC7, 0, 0},
  11522. {0xC8, 0, 0},
  11523. {0xC9, 0, 0},
  11524. {0xCA, 0, 0},
  11525. {0xCB, 0, 0},
  11526. {0xCC, 0, 0},
  11527. {0xCD, 0, 0},
  11528. {0xCE, 0x5e, 0},
  11529. {0xCF, 0xc, 0},
  11530. {0xD0, 0xc, 0},
  11531. {0xD1, 0xc, 0},
  11532. {0xD2, 0, 0},
  11533. {0xD3, 0x2b, 0},
  11534. {0xD4, 0xc, 0},
  11535. {0xD5, 0, 0},
  11536. {0xD6, 0x75, 0},
  11537. {0xDB, 0x7, 0},
  11538. {0xDC, 0, 0},
  11539. {0xDD, 0, 0},
  11540. {0xDE, 0xa8, 0},
  11541. {0xDF, 0, 0},
  11542. {0xE0, 0x1f, 0},
  11543. {0xE1, 0x30, 0},
  11544. {0xE2, 0x1, 0},
  11545. {0xE3, 0x30, 0},
  11546. {0xE4, 0x70, 0},
  11547. {0xE5, 0, 0},
  11548. {0xE6, 0, 0},
  11549. {0xE7, 0x33, 0},
  11550. {0xE8, 0x19, 0},
  11551. {0xE9, 0x62, 0},
  11552. {0xEA, 0, 0},
  11553. {0xEB, 0x11, 0},
  11554. {0xEE, 0, 0},
  11555. {0xEF, 0x7e, 0},
  11556. {0xF0, 0x3f, 0},
  11557. {0xF1, 0x7f, 0},
  11558. {0xF2, 0x78, 0},
  11559. {0xF3, 0xc8, 0},
  11560. {0xF4, 0x88, 0},
  11561. {0xF5, 0x8, 0},
  11562. {0xF6, 0xf, 0},
  11563. {0xF7, 0xbc, 0},
  11564. {0xF8, 0x8, 0},
  11565. {0xF9, 0x60, 0},
  11566. {0xFA, 0x1e, 0},
  11567. {0xFB, 0x70, 0},
  11568. {0xFC, 0, 0},
  11569. {0xFD, 0, 0},
  11570. {0xFE, 0, 0},
  11571. {0xFF, 0x33, 0},
  11572. {0x100, 0x1e, 0},
  11573. {0x101, 0x62, 0},
  11574. {0x102, 0x11, 0},
  11575. {0x105, 0x3c, 0},
  11576. {0x106, 0x9c, 0},
  11577. {0x107, 0xa, 0},
  11578. {0x108, 0x9d, 0},
  11579. {0x109, 0xa, 0},
  11580. {0x10A, 0, 0},
  11581. {0x10B, 0x40, 0},
  11582. {0x10C, 0x40, 0},
  11583. {0x10D, 0x88, 0},
  11584. {0x10E, 0x10, 0},
  11585. {0x10F, 0xf0, 1},
  11586. {0x110, 0x10, 1},
  11587. {0x111, 0xf0, 1},
  11588. {0x112, 0, 0},
  11589. {0x113, 0, 0},
  11590. {0x114, 0x10, 0},
  11591. {0x115, 0x55, 0},
  11592. {0x116, 0x3f, 1},
  11593. {0x117, 0x36, 1},
  11594. {0x118, 0, 0},
  11595. {0x119, 0, 0},
  11596. {0x11A, 0, 0},
  11597. {0x11B, 0x87, 0},
  11598. {0x11C, 0x11, 0},
  11599. {0x11D, 0, 0},
  11600. {0x11E, 0x33, 0},
  11601. {0x11F, 0x88, 0},
  11602. {0x120, 0, 0},
  11603. {0x121, 0x87, 0},
  11604. {0x122, 0x11, 0},
  11605. {0x123, 0, 0},
  11606. {0x124, 0x33, 0},
  11607. {0x125, 0x88, 0},
  11608. {0x126, 0xe1, 0},
  11609. {0x127, 0x3f, 0},
  11610. {0x128, 0x44, 0},
  11611. {0x129, 0x8c, 1},
  11612. {0x12A, 0x6d, 0},
  11613. {0x12B, 0x22, 0},
  11614. {0x12C, 0xbe, 0},
  11615. {0x12D, 0x55, 1},
  11616. {0x12E, 0xc, 0},
  11617. {0x12F, 0xc, 0},
  11618. {0x130, 0xaa, 0},
  11619. {0x131, 0x2, 0},
  11620. {0x132, 0, 0},
  11621. {0x133, 0x10, 0},
  11622. {0x134, 0x1, 1},
  11623. {0x135, 0, 0},
  11624. {0x136, 0, 0},
  11625. {0x137, 0x80, 0},
  11626. {0x138, 0x60, 0},
  11627. {0x139, 0x44, 0},
  11628. {0x13A, 0x55, 0},
  11629. {0x13B, 0x1, 0},
  11630. {0x13C, 0x55, 0},
  11631. {0x13D, 0x1, 0},
  11632. {0x13E, 0x5, 0},
  11633. {0x13F, 0x55, 0},
  11634. {0x140, 0x55, 0},
  11635. {0x146, 0, 0},
  11636. {0x147, 0, 0},
  11637. {0x148, 0, 0},
  11638. {0x149, 0, 0},
  11639. {0x14A, 0, 0},
  11640. {0x14B, 0, 0},
  11641. {0x14C, 0, 0},
  11642. {0x14D, 0, 0},
  11643. {0x14E, 0, 0},
  11644. {0x14F, 0, 0},
  11645. {0x150, 0, 0},
  11646. {0x151, 0, 0},
  11647. {0x152, 0, 0},
  11648. {0x153, 0, 0},
  11649. {0x154, 0xc, 0},
  11650. {0x155, 0xc, 0},
  11651. {0x156, 0xc, 0},
  11652. {0x157, 0, 0},
  11653. {0x158, 0x2b, 0},
  11654. {0x159, 0x84, 0},
  11655. {0x15A, 0x15, 0},
  11656. {0x15B, 0xf, 0},
  11657. {0x15C, 0, 0},
  11658. {0x15D, 0, 0},
  11659. {0x15E, 0, 1},
  11660. {0x15F, 0, 1},
  11661. {0x160, 0, 1},
  11662. {0x161, 0, 1},
  11663. {0x162, 0, 1},
  11664. {0x163, 0, 1},
  11665. {0x164, 0, 0},
  11666. {0x165, 0, 0},
  11667. {0x166, 0, 0},
  11668. {0x167, 0, 0},
  11669. {0x168, 0, 0},
  11670. {0x169, 0x2, 1},
  11671. {0x16A, 0, 1},
  11672. {0x16B, 0, 1},
  11673. {0x16C, 0, 1},
  11674. {0x16D, 0, 0},
  11675. {0x170, 0, 0},
  11676. {0x171, 0x77, 0},
  11677. {0x172, 0x77, 0},
  11678. {0x173, 0x77, 0},
  11679. {0x174, 0x77, 0},
  11680. {0x175, 0, 0},
  11681. {0x176, 0x3, 0},
  11682. {0x177, 0x37, 0},
  11683. {0x178, 0x3, 0},
  11684. {0x179, 0, 0},
  11685. {0x17A, 0x21, 0},
  11686. {0x17B, 0x21, 0},
  11687. {0x17C, 0, 0},
  11688. {0x17D, 0xaa, 0},
  11689. {0x17E, 0, 0},
  11690. {0x17F, 0xaa, 0},
  11691. {0x180, 0, 0},
  11692. {0x190, 0, 0},
  11693. {0x191, 0x77, 0},
  11694. {0x192, 0x77, 0},
  11695. {0x193, 0x77, 0},
  11696. {0x194, 0x77, 0},
  11697. {0x195, 0, 0},
  11698. {0x196, 0x3, 0},
  11699. {0x197, 0x37, 0},
  11700. {0x198, 0x3, 0},
  11701. {0x199, 0, 0},
  11702. {0x19A, 0x21, 0},
  11703. {0x19B, 0x21, 0},
  11704. {0x19C, 0, 0},
  11705. {0x19D, 0xaa, 0},
  11706. {0x19E, 0, 0},
  11707. {0x19F, 0xaa, 0},
  11708. {0x1A0, 0, 0},
  11709. {0x1A1, 0x2, 0},
  11710. {0x1A2, 0xf, 0},
  11711. {0x1A3, 0xf, 0},
  11712. {0x1A4, 0, 1},
  11713. {0x1A5, 0, 1},
  11714. {0x1A6, 0, 1},
  11715. {0x1A7, 0x2, 0},
  11716. {0x1A8, 0xf, 0},
  11717. {0x1A9, 0xf, 0},
  11718. {0x1AA, 0, 1},
  11719. {0x1AB, 0, 1},
  11720. {0x1AC, 0, 1},
  11721. {0xFFFF, 0, 0},
  11722. };
  11723. static struct radio_20xx_regs regs_2057_rev5[] = {
  11724. {0x00, 0, 1},
  11725. {0x01, 0x57, 1},
  11726. {0x02, 0x20, 1},
  11727. {0x03, 0x1f, 0},
  11728. {0x04, 0x4, 0},
  11729. {0x05, 0x2, 0},
  11730. {0x06, 0x1, 0},
  11731. {0x07, 0x1, 0},
  11732. {0x08, 0x1, 0},
  11733. {0x09, 0x69, 0},
  11734. {0x0A, 0x66, 0},
  11735. {0x0B, 0x6, 0},
  11736. {0x0C, 0x18, 0},
  11737. {0x0D, 0x3, 0},
  11738. {0x0E, 0x20, 0},
  11739. {0x0F, 0x20, 0},
  11740. {0x10, 0, 0},
  11741. {0x11, 0x7c, 0},
  11742. {0x12, 0x42, 0},
  11743. {0x13, 0xbd, 0},
  11744. {0x14, 0x7, 0},
  11745. {0x15, 0x87, 0},
  11746. {0x16, 0x8, 0},
  11747. {0x17, 0x17, 0},
  11748. {0x18, 0x7, 0},
  11749. {0x19, 0, 0},
  11750. {0x1A, 0x2, 0},
  11751. {0x1B, 0x13, 0},
  11752. {0x1C, 0x3e, 0},
  11753. {0x1D, 0x3e, 0},
  11754. {0x1E, 0x96, 0},
  11755. {0x1F, 0x4, 0},
  11756. {0x20, 0, 0},
  11757. {0x21, 0, 0},
  11758. {0x22, 0x17, 0},
  11759. {0x23, 0x6, 1},
  11760. {0x24, 0x1, 0},
  11761. {0x25, 0x6, 0},
  11762. {0x26, 0x4, 0},
  11763. {0x27, 0xd, 0},
  11764. {0x28, 0xd, 0},
  11765. {0x29, 0x30, 0},
  11766. {0x2A, 0x32, 0},
  11767. {0x2B, 0x8, 0},
  11768. {0x2C, 0x1c, 0},
  11769. {0x2D, 0x2, 0},
  11770. {0x2E, 0x4, 0},
  11771. {0x2F, 0x7f, 0},
  11772. {0x30, 0x27, 0},
  11773. {0x31, 0, 1},
  11774. {0x32, 0, 1},
  11775. {0x33, 0, 1},
  11776. {0x34, 0, 0},
  11777. {0x35, 0x20, 0},
  11778. {0x36, 0x18, 0},
  11779. {0x37, 0x7, 0},
  11780. {0x38, 0x66, 0},
  11781. {0x39, 0x66, 0},
  11782. {0x3C, 0xff, 0},
  11783. {0x3D, 0xff, 0},
  11784. {0x40, 0x16, 0},
  11785. {0x41, 0x7, 0},
  11786. {0x45, 0x3, 0},
  11787. {0x46, 0x1, 0},
  11788. {0x47, 0x7, 0},
  11789. {0x4B, 0x66, 0},
  11790. {0x4C, 0x66, 0},
  11791. {0x4D, 0, 0},
  11792. {0x4E, 0x4, 0},
  11793. {0x4F, 0xc, 0},
  11794. {0x50, 0, 0},
  11795. {0x51, 0x70, 1},
  11796. {0x56, 0x7, 0},
  11797. {0x57, 0, 0},
  11798. {0x58, 0, 0},
  11799. {0x59, 0x88, 1},
  11800. {0x5A, 0, 0},
  11801. {0x5B, 0x1f, 0},
  11802. {0x5C, 0x20, 1},
  11803. {0x5D, 0x1, 0},
  11804. {0x5E, 0x30, 0},
  11805. {0x5F, 0x70, 0},
  11806. {0x60, 0, 0},
  11807. {0x61, 0, 0},
  11808. {0x62, 0x33, 1},
  11809. {0x63, 0xf, 1},
  11810. {0x64, 0xf, 1},
  11811. {0x65, 0, 0},
  11812. {0x66, 0x11, 0},
  11813. {0x80, 0x3c, 0},
  11814. {0x81, 0x1, 1},
  11815. {0x82, 0xa, 0},
  11816. {0x85, 0, 0},
  11817. {0x86, 0x40, 0},
  11818. {0x87, 0x40, 0},
  11819. {0x88, 0x88, 0},
  11820. {0x89, 0x10, 0},
  11821. {0x8A, 0xf0, 0},
  11822. {0x8B, 0x10, 0},
  11823. {0x8C, 0xf0, 0},
  11824. {0x8F, 0x10, 0},
  11825. {0x90, 0x55, 0},
  11826. {0x91, 0x3f, 1},
  11827. {0x92, 0x36, 1},
  11828. {0x93, 0, 0},
  11829. {0x94, 0, 0},
  11830. {0x95, 0, 0},
  11831. {0x96, 0x87, 0},
  11832. {0x97, 0x11, 0},
  11833. {0x98, 0, 0},
  11834. {0x99, 0x33, 0},
  11835. {0x9A, 0x88, 0},
  11836. {0xA1, 0x20, 1},
  11837. {0xA2, 0x3f, 0},
  11838. {0xA3, 0x44, 0},
  11839. {0xA4, 0x8c, 0},
  11840. {0xA5, 0x6c, 0},
  11841. {0xA6, 0x22, 0},
  11842. {0xA7, 0xbe, 0},
  11843. {0xA8, 0x55, 0},
  11844. {0xAA, 0xc, 0},
  11845. {0xAB, 0xaa, 0},
  11846. {0xAC, 0x2, 0},
  11847. {0xAD, 0, 0},
  11848. {0xAE, 0x10, 0},
  11849. {0xAF, 0x1, 0},
  11850. {0xB0, 0, 0},
  11851. {0xB1, 0, 0},
  11852. {0xB2, 0x80, 0},
  11853. {0xB3, 0x60, 0},
  11854. {0xB4, 0x44, 0},
  11855. {0xB5, 0x55, 0},
  11856. {0xB6, 0x1, 0},
  11857. {0xB7, 0x55, 0},
  11858. {0xB8, 0x1, 0},
  11859. {0xB9, 0x5, 0},
  11860. {0xBA, 0x55, 0},
  11861. {0xBB, 0x55, 0},
  11862. {0xC3, 0, 0},
  11863. {0xC4, 0, 0},
  11864. {0xC5, 0, 0},
  11865. {0xC6, 0, 0},
  11866. {0xC7, 0, 0},
  11867. {0xC8, 0, 0},
  11868. {0xC9, 0, 0},
  11869. {0xCA, 0, 0},
  11870. {0xCB, 0, 0},
  11871. {0xCD, 0, 0},
  11872. {0xCE, 0x5e, 0},
  11873. {0xCF, 0xc, 0},
  11874. {0xD0, 0xc, 0},
  11875. {0xD1, 0xc, 0},
  11876. {0xD2, 0, 0},
  11877. {0xD3, 0x2b, 0},
  11878. {0xD4, 0xc, 0},
  11879. {0xD5, 0, 0},
  11880. {0xD6, 0x70, 1},
  11881. {0xDB, 0x7, 0},
  11882. {0xDC, 0, 0},
  11883. {0xDD, 0, 0},
  11884. {0xDE, 0x88, 1},
  11885. {0xDF, 0, 0},
  11886. {0xE0, 0x1f, 0},
  11887. {0xE1, 0x20, 1},
  11888. {0xE2, 0x1, 0},
  11889. {0xE3, 0x30, 0},
  11890. {0xE4, 0x70, 0},
  11891. {0xE5, 0, 0},
  11892. {0xE6, 0, 0},
  11893. {0xE7, 0x33, 0},
  11894. {0xE8, 0xf, 1},
  11895. {0xE9, 0xf, 1},
  11896. {0xEA, 0, 0},
  11897. {0xEB, 0x11, 0},
  11898. {0x105, 0x3c, 0},
  11899. {0x106, 0x1, 1},
  11900. {0x107, 0xa, 0},
  11901. {0x10A, 0, 0},
  11902. {0x10B, 0x40, 0},
  11903. {0x10C, 0x40, 0},
  11904. {0x10D, 0x88, 0},
  11905. {0x10E, 0x10, 0},
  11906. {0x10F, 0xf0, 0},
  11907. {0x110, 0x10, 0},
  11908. {0x111, 0xf0, 0},
  11909. {0x114, 0x10, 0},
  11910. {0x115, 0x55, 0},
  11911. {0x116, 0x3f, 1},
  11912. {0x117, 0x36, 1},
  11913. {0x118, 0, 0},
  11914. {0x119, 0, 0},
  11915. {0x11A, 0, 0},
  11916. {0x11B, 0x87, 0},
  11917. {0x11C, 0x11, 0},
  11918. {0x11D, 0, 0},
  11919. {0x11E, 0x33, 0},
  11920. {0x11F, 0x88, 0},
  11921. {0x126, 0x20, 1},
  11922. {0x127, 0x3f, 0},
  11923. {0x128, 0x44, 0},
  11924. {0x129, 0x8c, 0},
  11925. {0x12A, 0x6c, 0},
  11926. {0x12B, 0x22, 0},
  11927. {0x12C, 0xbe, 0},
  11928. {0x12D, 0x55, 0},
  11929. {0x12F, 0xc, 0},
  11930. {0x130, 0xaa, 0},
  11931. {0x131, 0x2, 0},
  11932. {0x132, 0, 0},
  11933. {0x133, 0x10, 0},
  11934. {0x134, 0x1, 0},
  11935. {0x135, 0, 0},
  11936. {0x136, 0, 0},
  11937. {0x137, 0x80, 0},
  11938. {0x138, 0x60, 0},
  11939. {0x139, 0x44, 0},
  11940. {0x13A, 0x55, 0},
  11941. {0x13B, 0x1, 0},
  11942. {0x13C, 0x55, 0},
  11943. {0x13D, 0x1, 0},
  11944. {0x13E, 0x5, 0},
  11945. {0x13F, 0x55, 0},
  11946. {0x140, 0x55, 0},
  11947. {0x148, 0, 0},
  11948. {0x149, 0, 0},
  11949. {0x14A, 0, 0},
  11950. {0x14B, 0, 0},
  11951. {0x14C, 0, 0},
  11952. {0x14D, 0, 0},
  11953. {0x14E, 0, 0},
  11954. {0x14F, 0, 0},
  11955. {0x150, 0, 0},
  11956. {0x154, 0xc, 0},
  11957. {0x155, 0xc, 0},
  11958. {0x156, 0xc, 0},
  11959. {0x157, 0, 0},
  11960. {0x158, 0x2b, 0},
  11961. {0x159, 0x84, 0},
  11962. {0x15A, 0x15, 0},
  11963. {0x15B, 0xf, 0},
  11964. {0x15C, 0, 0},
  11965. {0x15D, 0, 0},
  11966. {0x15E, 0, 1},
  11967. {0x15F, 0, 1},
  11968. {0x160, 0, 1},
  11969. {0x161, 0, 1},
  11970. {0x162, 0, 1},
  11971. {0x163, 0, 1},
  11972. {0x164, 0, 0},
  11973. {0x165, 0, 0},
  11974. {0x166, 0, 0},
  11975. {0x167, 0, 0},
  11976. {0x168, 0, 0},
  11977. {0x169, 0, 0},
  11978. {0x16A, 0, 1},
  11979. {0x16B, 0, 1},
  11980. {0x16C, 0, 1},
  11981. {0x16D, 0, 0},
  11982. {0x170, 0, 0},
  11983. {0x171, 0x77, 0},
  11984. {0x172, 0x77, 0},
  11985. {0x173, 0x77, 0},
  11986. {0x174, 0x77, 0},
  11987. {0x175, 0, 0},
  11988. {0x176, 0x3, 0},
  11989. {0x177, 0x37, 0},
  11990. {0x178, 0x3, 0},
  11991. {0x179, 0, 0},
  11992. {0x17B, 0x21, 0},
  11993. {0x17C, 0, 0},
  11994. {0x17D, 0xaa, 0},
  11995. {0x17E, 0, 0},
  11996. {0x190, 0, 0},
  11997. {0x191, 0x77, 0},
  11998. {0x192, 0x77, 0},
  11999. {0x193, 0x77, 0},
  12000. {0x194, 0x77, 0},
  12001. {0x195, 0, 0},
  12002. {0x196, 0x3, 0},
  12003. {0x197, 0x37, 0},
  12004. {0x198, 0x3, 0},
  12005. {0x199, 0, 0},
  12006. {0x19B, 0x21, 0},
  12007. {0x19C, 0, 0},
  12008. {0x19D, 0xaa, 0},
  12009. {0x19E, 0, 0},
  12010. {0x1A1, 0x2, 0},
  12011. {0x1A2, 0xf, 0},
  12012. {0x1A3, 0xf, 0},
  12013. {0x1A4, 0, 1},
  12014. {0x1A5, 0, 1},
  12015. {0x1A6, 0, 1},
  12016. {0x1A7, 0x2, 0},
  12017. {0x1A8, 0xf, 0},
  12018. {0x1A9, 0xf, 0},
  12019. {0x1AA, 0, 1},
  12020. {0x1AB, 0, 1},
  12021. {0x1AC, 0, 1},
  12022. {0x1AD, 0x84, 0},
  12023. {0x1AE, 0x60, 0},
  12024. {0x1AF, 0x47, 0},
  12025. {0x1B0, 0x47, 0},
  12026. {0x1B1, 0, 0},
  12027. {0x1B2, 0, 0},
  12028. {0x1B3, 0, 0},
  12029. {0x1B4, 0, 0},
  12030. {0x1B5, 0, 0},
  12031. {0x1B6, 0, 0},
  12032. {0x1B7, 0xc, 1},
  12033. {0x1B8, 0, 0},
  12034. {0x1B9, 0, 0},
  12035. {0x1BA, 0, 0},
  12036. {0x1BB, 0, 0},
  12037. {0x1BC, 0, 0},
  12038. {0x1BD, 0, 0},
  12039. {0x1BE, 0, 0},
  12040. {0x1BF, 0, 0},
  12041. {0x1C0, 0, 0},
  12042. {0x1C1, 0x1, 1},
  12043. {0x1C2, 0x80, 1},
  12044. {0x1C3, 0, 0},
  12045. {0x1C4, 0, 0},
  12046. {0x1C5, 0, 0},
  12047. {0x1C6, 0, 0},
  12048. {0x1C7, 0, 0},
  12049. {0x1C8, 0, 0},
  12050. {0x1C9, 0, 0},
  12051. {0x1CA, 0, 0},
  12052. {0xFFFF, 0, 0}
  12053. };
  12054. static struct radio_20xx_regs regs_2057_rev5v1[] = {
  12055. {0x00, 0x15, 1},
  12056. {0x01, 0x57, 1},
  12057. {0x02, 0x20, 1},
  12058. {0x03, 0x1f, 0},
  12059. {0x04, 0x4, 0},
  12060. {0x05, 0x2, 0},
  12061. {0x06, 0x1, 0},
  12062. {0x07, 0x1, 0},
  12063. {0x08, 0x1, 0},
  12064. {0x09, 0x69, 0},
  12065. {0x0A, 0x66, 0},
  12066. {0x0B, 0x6, 0},
  12067. {0x0C, 0x18, 0},
  12068. {0x0D, 0x3, 0},
  12069. {0x0E, 0x20, 0},
  12070. {0x0F, 0x20, 0},
  12071. {0x10, 0, 0},
  12072. {0x11, 0x7c, 0},
  12073. {0x12, 0x42, 0},
  12074. {0x13, 0xbd, 0},
  12075. {0x14, 0x7, 0},
  12076. {0x15, 0x87, 0},
  12077. {0x16, 0x8, 0},
  12078. {0x17, 0x17, 0},
  12079. {0x18, 0x7, 0},
  12080. {0x19, 0, 0},
  12081. {0x1A, 0x2, 0},
  12082. {0x1B, 0x13, 0},
  12083. {0x1C, 0x3e, 0},
  12084. {0x1D, 0x3e, 0},
  12085. {0x1E, 0x96, 0},
  12086. {0x1F, 0x4, 0},
  12087. {0x20, 0, 0},
  12088. {0x21, 0, 0},
  12089. {0x22, 0x17, 0},
  12090. {0x23, 0x6, 1},
  12091. {0x24, 0x1, 0},
  12092. {0x25, 0x6, 0},
  12093. {0x26, 0x4, 0},
  12094. {0x27, 0xd, 0},
  12095. {0x28, 0xd, 0},
  12096. {0x29, 0x30, 0},
  12097. {0x2A, 0x32, 0},
  12098. {0x2B, 0x8, 0},
  12099. {0x2C, 0x1c, 0},
  12100. {0x2D, 0x2, 0},
  12101. {0x2E, 0x4, 0},
  12102. {0x2F, 0x7f, 0},
  12103. {0x30, 0x27, 0},
  12104. {0x31, 0, 1},
  12105. {0x32, 0, 1},
  12106. {0x33, 0, 1},
  12107. {0x34, 0, 0},
  12108. {0x35, 0x20, 0},
  12109. {0x36, 0x18, 0},
  12110. {0x37, 0x7, 0},
  12111. {0x38, 0x66, 0},
  12112. {0x39, 0x66, 0},
  12113. {0x3C, 0xff, 0},
  12114. {0x3D, 0xff, 0},
  12115. {0x40, 0x16, 0},
  12116. {0x41, 0x7, 0},
  12117. {0x45, 0x3, 0},
  12118. {0x46, 0x1, 0},
  12119. {0x47, 0x7, 0},
  12120. {0x4B, 0x66, 0},
  12121. {0x4C, 0x66, 0},
  12122. {0x4D, 0, 0},
  12123. {0x4E, 0x4, 0},
  12124. {0x4F, 0xc, 0},
  12125. {0x50, 0, 0},
  12126. {0x51, 0x70, 1},
  12127. {0x56, 0x7, 0},
  12128. {0x57, 0, 0},
  12129. {0x58, 0, 0},
  12130. {0x59, 0x88, 1},
  12131. {0x5A, 0, 0},
  12132. {0x5B, 0x1f, 0},
  12133. {0x5C, 0x20, 1},
  12134. {0x5D, 0x1, 0},
  12135. {0x5E, 0x30, 0},
  12136. {0x5F, 0x70, 0},
  12137. {0x60, 0, 0},
  12138. {0x61, 0, 0},
  12139. {0x62, 0x33, 1},
  12140. {0x63, 0xf, 1},
  12141. {0x64, 0xf, 1},
  12142. {0x65, 0, 0},
  12143. {0x66, 0x11, 0},
  12144. {0x80, 0x3c, 0},
  12145. {0x81, 0x1, 1},
  12146. {0x82, 0xa, 0},
  12147. {0x85, 0, 0},
  12148. {0x86, 0x40, 0},
  12149. {0x87, 0x40, 0},
  12150. {0x88, 0x88, 0},
  12151. {0x89, 0x10, 0},
  12152. {0x8A, 0xf0, 0},
  12153. {0x8B, 0x10, 0},
  12154. {0x8C, 0xf0, 0},
  12155. {0x8F, 0x10, 0},
  12156. {0x90, 0x55, 0},
  12157. {0x91, 0x3f, 1},
  12158. {0x92, 0x36, 1},
  12159. {0x93, 0, 0},
  12160. {0x94, 0, 0},
  12161. {0x95, 0, 0},
  12162. {0x96, 0x87, 0},
  12163. {0x97, 0x11, 0},
  12164. {0x98, 0, 0},
  12165. {0x99, 0x33, 0},
  12166. {0x9A, 0x88, 0},
  12167. {0xA1, 0x20, 1},
  12168. {0xA2, 0x3f, 0},
  12169. {0xA3, 0x44, 0},
  12170. {0xA4, 0x8c, 0},
  12171. {0xA5, 0x6c, 0},
  12172. {0xA6, 0x22, 0},
  12173. {0xA7, 0xbe, 0},
  12174. {0xA8, 0x55, 0},
  12175. {0xAA, 0xc, 0},
  12176. {0xAB, 0xaa, 0},
  12177. {0xAC, 0x2, 0},
  12178. {0xAD, 0, 0},
  12179. {0xAE, 0x10, 0},
  12180. {0xAF, 0x1, 0},
  12181. {0xB0, 0, 0},
  12182. {0xB1, 0, 0},
  12183. {0xB2, 0x80, 0},
  12184. {0xB3, 0x60, 0},
  12185. {0xB4, 0x44, 0},
  12186. {0xB5, 0x55, 0},
  12187. {0xB6, 0x1, 0},
  12188. {0xB7, 0x55, 0},
  12189. {0xB8, 0x1, 0},
  12190. {0xB9, 0x5, 0},
  12191. {0xBA, 0x55, 0},
  12192. {0xBB, 0x55, 0},
  12193. {0xC3, 0, 0},
  12194. {0xC4, 0, 0},
  12195. {0xC5, 0, 0},
  12196. {0xC6, 0, 0},
  12197. {0xC7, 0, 0},
  12198. {0xC8, 0, 0},
  12199. {0xC9, 0x1, 1},
  12200. {0xCA, 0, 0},
  12201. {0xCB, 0, 0},
  12202. {0xCD, 0, 0},
  12203. {0xCE, 0x5e, 0},
  12204. {0xCF, 0xc, 0},
  12205. {0xD0, 0xc, 0},
  12206. {0xD1, 0xc, 0},
  12207. {0xD2, 0, 0},
  12208. {0xD3, 0x2b, 0},
  12209. {0xD4, 0xc, 0},
  12210. {0xD5, 0, 0},
  12211. {0xD6, 0x70, 1},
  12212. {0xDB, 0x7, 0},
  12213. {0xDC, 0, 0},
  12214. {0xDD, 0, 0},
  12215. {0xDE, 0x88, 1},
  12216. {0xDF, 0, 0},
  12217. {0xE0, 0x1f, 0},
  12218. {0xE1, 0x20, 1},
  12219. {0xE2, 0x1, 0},
  12220. {0xE3, 0x30, 0},
  12221. {0xE4, 0x70, 0},
  12222. {0xE5, 0, 0},
  12223. {0xE6, 0, 0},
  12224. {0xE7, 0x33, 0},
  12225. {0xE8, 0xf, 1},
  12226. {0xE9, 0xf, 1},
  12227. {0xEA, 0, 0},
  12228. {0xEB, 0x11, 0},
  12229. {0x105, 0x3c, 0},
  12230. {0x106, 0x1, 1},
  12231. {0x107, 0xa, 0},
  12232. {0x10A, 0, 0},
  12233. {0x10B, 0x40, 0},
  12234. {0x10C, 0x40, 0},
  12235. {0x10D, 0x88, 0},
  12236. {0x10E, 0x10, 0},
  12237. {0x10F, 0xf0, 0},
  12238. {0x110, 0x10, 0},
  12239. {0x111, 0xf0, 0},
  12240. {0x114, 0x10, 0},
  12241. {0x115, 0x55, 0},
  12242. {0x116, 0x3f, 1},
  12243. {0x117, 0x36, 1},
  12244. {0x118, 0, 0},
  12245. {0x119, 0, 0},
  12246. {0x11A, 0, 0},
  12247. {0x11B, 0x87, 0},
  12248. {0x11C, 0x11, 0},
  12249. {0x11D, 0, 0},
  12250. {0x11E, 0x33, 0},
  12251. {0x11F, 0x88, 0},
  12252. {0x126, 0x20, 1},
  12253. {0x127, 0x3f, 0},
  12254. {0x128, 0x44, 0},
  12255. {0x129, 0x8c, 0},
  12256. {0x12A, 0x6c, 0},
  12257. {0x12B, 0x22, 0},
  12258. {0x12C, 0xbe, 0},
  12259. {0x12D, 0x55, 0},
  12260. {0x12F, 0xc, 0},
  12261. {0x130, 0xaa, 0},
  12262. {0x131, 0x2, 0},
  12263. {0x132, 0, 0},
  12264. {0x133, 0x10, 0},
  12265. {0x134, 0x1, 0},
  12266. {0x135, 0, 0},
  12267. {0x136, 0, 0},
  12268. {0x137, 0x80, 0},
  12269. {0x138, 0x60, 0},
  12270. {0x139, 0x44, 0},
  12271. {0x13A, 0x55, 0},
  12272. {0x13B, 0x1, 0},
  12273. {0x13C, 0x55, 0},
  12274. {0x13D, 0x1, 0},
  12275. {0x13E, 0x5, 0},
  12276. {0x13F, 0x55, 0},
  12277. {0x140, 0x55, 0},
  12278. {0x148, 0, 0},
  12279. {0x149, 0, 0},
  12280. {0x14A, 0, 0},
  12281. {0x14B, 0, 0},
  12282. {0x14C, 0, 0},
  12283. {0x14D, 0, 0},
  12284. {0x14E, 0x1, 1},
  12285. {0x14F, 0, 0},
  12286. {0x150, 0, 0},
  12287. {0x154, 0xc, 0},
  12288. {0x155, 0xc, 0},
  12289. {0x156, 0xc, 0},
  12290. {0x157, 0, 0},
  12291. {0x158, 0x2b, 0},
  12292. {0x159, 0x84, 0},
  12293. {0x15A, 0x15, 0},
  12294. {0x15B, 0xf, 0},
  12295. {0x15C, 0, 0},
  12296. {0x15D, 0, 0},
  12297. {0x15E, 0, 1},
  12298. {0x15F, 0, 1},
  12299. {0x160, 0, 1},
  12300. {0x161, 0, 1},
  12301. {0x162, 0, 1},
  12302. {0x163, 0, 1},
  12303. {0x164, 0, 0},
  12304. {0x165, 0, 0},
  12305. {0x166, 0, 0},
  12306. {0x167, 0, 0},
  12307. {0x168, 0, 0},
  12308. {0x169, 0, 0},
  12309. {0x16A, 0, 1},
  12310. {0x16B, 0, 1},
  12311. {0x16C, 0, 1},
  12312. {0x16D, 0, 0},
  12313. {0x170, 0, 0},
  12314. {0x171, 0x77, 0},
  12315. {0x172, 0x77, 0},
  12316. {0x173, 0x77, 0},
  12317. {0x174, 0x77, 0},
  12318. {0x175, 0, 0},
  12319. {0x176, 0x3, 0},
  12320. {0x177, 0x37, 0},
  12321. {0x178, 0x3, 0},
  12322. {0x179, 0, 0},
  12323. {0x17B, 0x21, 0},
  12324. {0x17C, 0, 0},
  12325. {0x17D, 0xaa, 0},
  12326. {0x17E, 0, 0},
  12327. {0x190, 0, 0},
  12328. {0x191, 0x77, 0},
  12329. {0x192, 0x77, 0},
  12330. {0x193, 0x77, 0},
  12331. {0x194, 0x77, 0},
  12332. {0x195, 0, 0},
  12333. {0x196, 0x3, 0},
  12334. {0x197, 0x37, 0},
  12335. {0x198, 0x3, 0},
  12336. {0x199, 0, 0},
  12337. {0x19B, 0x21, 0},
  12338. {0x19C, 0, 0},
  12339. {0x19D, 0xaa, 0},
  12340. {0x19E, 0, 0},
  12341. {0x1A1, 0x2, 0},
  12342. {0x1A2, 0xf, 0},
  12343. {0x1A3, 0xf, 0},
  12344. {0x1A4, 0, 1},
  12345. {0x1A5, 0, 1},
  12346. {0x1A6, 0, 1},
  12347. {0x1A7, 0x2, 0},
  12348. {0x1A8, 0xf, 0},
  12349. {0x1A9, 0xf, 0},
  12350. {0x1AA, 0, 1},
  12351. {0x1AB, 0, 1},
  12352. {0x1AC, 0, 1},
  12353. {0x1AD, 0x84, 0},
  12354. {0x1AE, 0x60, 0},
  12355. {0x1AF, 0x47, 0},
  12356. {0x1B0, 0x47, 0},
  12357. {0x1B1, 0, 0},
  12358. {0x1B2, 0, 0},
  12359. {0x1B3, 0, 0},
  12360. {0x1B4, 0, 0},
  12361. {0x1B5, 0, 0},
  12362. {0x1B6, 0, 0},
  12363. {0x1B7, 0xc, 1},
  12364. {0x1B8, 0, 0},
  12365. {0x1B9, 0, 0},
  12366. {0x1BA, 0, 0},
  12367. {0x1BB, 0, 0},
  12368. {0x1BC, 0, 0},
  12369. {0x1BD, 0, 0},
  12370. {0x1BE, 0, 0},
  12371. {0x1BF, 0, 0},
  12372. {0x1C0, 0, 0},
  12373. {0x1C1, 0x1, 1},
  12374. {0x1C2, 0x80, 1},
  12375. {0x1C3, 0, 0},
  12376. {0x1C4, 0, 0},
  12377. {0x1C5, 0, 0},
  12378. {0x1C6, 0, 0},
  12379. {0x1C7, 0, 0},
  12380. {0x1C8, 0, 0},
  12381. {0x1C9, 0, 0},
  12382. {0x1CA, 0, 0},
  12383. {0xFFFF, 0, 0}
  12384. };
  12385. static struct radio_20xx_regs regs_2057_rev7[] = {
  12386. {0x00, 0, 1},
  12387. {0x01, 0x57, 1},
  12388. {0x02, 0x20, 1},
  12389. {0x03, 0x1f, 0},
  12390. {0x04, 0x4, 0},
  12391. {0x05, 0x2, 0},
  12392. {0x06, 0x1, 0},
  12393. {0x07, 0x1, 0},
  12394. {0x08, 0x1, 0},
  12395. {0x09, 0x69, 0},
  12396. {0x0A, 0x66, 0},
  12397. {0x0B, 0x6, 0},
  12398. {0x0C, 0x18, 0},
  12399. {0x0D, 0x3, 0},
  12400. {0x0E, 0x20, 0},
  12401. {0x0F, 0x20, 0},
  12402. {0x10, 0, 0},
  12403. {0x11, 0x7c, 0},
  12404. {0x12, 0x42, 0},
  12405. {0x13, 0xbd, 0},
  12406. {0x14, 0x7, 0},
  12407. {0x15, 0x87, 0},
  12408. {0x16, 0x8, 0},
  12409. {0x17, 0x17, 0},
  12410. {0x18, 0x7, 0},
  12411. {0x19, 0, 0},
  12412. {0x1A, 0x2, 0},
  12413. {0x1B, 0x13, 0},
  12414. {0x1C, 0x3e, 0},
  12415. {0x1D, 0x3e, 0},
  12416. {0x1E, 0x96, 0},
  12417. {0x1F, 0x4, 0},
  12418. {0x20, 0, 0},
  12419. {0x21, 0, 0},
  12420. {0x22, 0x17, 0},
  12421. {0x23, 0x6, 0},
  12422. {0x24, 0x1, 0},
  12423. {0x25, 0x6, 0},
  12424. {0x26, 0x4, 0},
  12425. {0x27, 0xd, 0},
  12426. {0x28, 0xd, 0},
  12427. {0x29, 0x30, 0},
  12428. {0x2A, 0x32, 0},
  12429. {0x2B, 0x8, 0},
  12430. {0x2C, 0x1c, 0},
  12431. {0x2D, 0x2, 0},
  12432. {0x2E, 0x4, 0},
  12433. {0x2F, 0x7f, 0},
  12434. {0x30, 0x27, 0},
  12435. {0x31, 0, 1},
  12436. {0x32, 0, 1},
  12437. {0x33, 0, 1},
  12438. {0x34, 0, 0},
  12439. {0x35, 0x20, 0},
  12440. {0x36, 0x18, 0},
  12441. {0x37, 0x7, 0},
  12442. {0x38, 0x66, 0},
  12443. {0x39, 0x66, 0},
  12444. {0x3A, 0x66, 0},
  12445. {0x3B, 0x66, 0},
  12446. {0x3C, 0xff, 0},
  12447. {0x3D, 0xff, 0},
  12448. {0x3E, 0xff, 0},
  12449. {0x3F, 0xff, 0},
  12450. {0x40, 0x16, 0},
  12451. {0x41, 0x7, 0},
  12452. {0x42, 0x19, 0},
  12453. {0x43, 0x7, 0},
  12454. {0x44, 0x6, 0},
  12455. {0x45, 0x3, 0},
  12456. {0x46, 0x1, 0},
  12457. {0x47, 0x7, 0},
  12458. {0x48, 0x33, 0},
  12459. {0x49, 0x5, 0},
  12460. {0x4A, 0x77, 0},
  12461. {0x4B, 0x66, 0},
  12462. {0x4C, 0x66, 0},
  12463. {0x4D, 0, 0},
  12464. {0x4E, 0x4, 0},
  12465. {0x4F, 0xc, 0},
  12466. {0x50, 0, 0},
  12467. {0x51, 0x70, 1},
  12468. {0x56, 0x7, 0},
  12469. {0x57, 0, 0},
  12470. {0x58, 0, 0},
  12471. {0x59, 0x88, 1},
  12472. {0x5A, 0, 0},
  12473. {0x5B, 0x1f, 0},
  12474. {0x5C, 0x20, 1},
  12475. {0x5D, 0x1, 0},
  12476. {0x5E, 0x30, 0},
  12477. {0x5F, 0x70, 0},
  12478. {0x60, 0, 0},
  12479. {0x61, 0, 0},
  12480. {0x62, 0x33, 1},
  12481. {0x63, 0xf, 1},
  12482. {0x64, 0x13, 1},
  12483. {0x65, 0, 0},
  12484. {0x66, 0xee, 1},
  12485. {0x69, 0, 0},
  12486. {0x6A, 0x7e, 0},
  12487. {0x6B, 0x3f, 0},
  12488. {0x6C, 0x7f, 0},
  12489. {0x6D, 0x78, 0},
  12490. {0x6E, 0x58, 1},
  12491. {0x6F, 0x88, 0},
  12492. {0x70, 0x8, 0},
  12493. {0x71, 0xf, 0},
  12494. {0x72, 0xbc, 0},
  12495. {0x73, 0x8, 0},
  12496. {0x74, 0x60, 0},
  12497. {0x75, 0x13, 1},
  12498. {0x76, 0x70, 0},
  12499. {0x77, 0, 0},
  12500. {0x78, 0, 0},
  12501. {0x79, 0, 0},
  12502. {0x7A, 0x33, 0},
  12503. {0x7B, 0x13, 1},
  12504. {0x7C, 0x14, 1},
  12505. {0x7D, 0xee, 1},
  12506. {0x80, 0x3c, 0},
  12507. {0x81, 0x1, 1},
  12508. {0x82, 0xa, 0},
  12509. {0x83, 0x9d, 0},
  12510. {0x84, 0xa, 0},
  12511. {0x85, 0, 0},
  12512. {0x86, 0x40, 0},
  12513. {0x87, 0x40, 0},
  12514. {0x88, 0x88, 0},
  12515. {0x89, 0x10, 0},
  12516. {0x8A, 0xf0, 0},
  12517. {0x8B, 0x10, 0},
  12518. {0x8C, 0xf0, 0},
  12519. {0x8D, 0, 0},
  12520. {0x8E, 0, 0},
  12521. {0x8F, 0x10, 0},
  12522. {0x90, 0x55, 0},
  12523. {0x91, 0x3f, 1},
  12524. {0x92, 0x36, 1},
  12525. {0x93, 0, 0},
  12526. {0x94, 0, 0},
  12527. {0x95, 0, 0},
  12528. {0x96, 0x87, 0},
  12529. {0x97, 0x11, 0},
  12530. {0x98, 0, 0},
  12531. {0x99, 0x33, 0},
  12532. {0x9A, 0x88, 0},
  12533. {0x9B, 0, 0},
  12534. {0x9C, 0x87, 0},
  12535. {0x9D, 0x11, 0},
  12536. {0x9E, 0, 0},
  12537. {0x9F, 0x33, 0},
  12538. {0xA0, 0x88, 0},
  12539. {0xA1, 0x20, 1},
  12540. {0xA2, 0x3f, 0},
  12541. {0xA3, 0x44, 0},
  12542. {0xA4, 0x8c, 0},
  12543. {0xA5, 0x6c, 0},
  12544. {0xA6, 0x22, 0},
  12545. {0xA7, 0xbe, 0},
  12546. {0xA8, 0x55, 0},
  12547. {0xAA, 0xc, 0},
  12548. {0xAB, 0xaa, 0},
  12549. {0xAC, 0x2, 0},
  12550. {0xAD, 0, 0},
  12551. {0xAE, 0x10, 0},
  12552. {0xAF, 0x1, 0},
  12553. {0xB0, 0, 0},
  12554. {0xB1, 0, 0},
  12555. {0xB2, 0x80, 0},
  12556. {0xB3, 0x60, 0},
  12557. {0xB4, 0x44, 0},
  12558. {0xB5, 0x55, 0},
  12559. {0xB6, 0x1, 0},
  12560. {0xB7, 0x55, 0},
  12561. {0xB8, 0x1, 0},
  12562. {0xB9, 0x5, 0},
  12563. {0xBA, 0x55, 0},
  12564. {0xBB, 0x55, 0},
  12565. {0xC1, 0, 0},
  12566. {0xC2, 0, 0},
  12567. {0xC3, 0, 0},
  12568. {0xC4, 0, 0},
  12569. {0xC5, 0, 0},
  12570. {0xC6, 0, 0},
  12571. {0xC7, 0, 0},
  12572. {0xC8, 0, 0},
  12573. {0xC9, 0, 0},
  12574. {0xCA, 0, 0},
  12575. {0xCB, 0, 0},
  12576. {0xCC, 0, 0},
  12577. {0xCD, 0, 0},
  12578. {0xCE, 0x5e, 0},
  12579. {0xCF, 0xc, 0},
  12580. {0xD0, 0xc, 0},
  12581. {0xD1, 0xc, 0},
  12582. {0xD2, 0, 0},
  12583. {0xD3, 0x2b, 0},
  12584. {0xD4, 0xc, 0},
  12585. {0xD5, 0, 0},
  12586. {0xD6, 0x70, 1},
  12587. {0xDB, 0x7, 0},
  12588. {0xDC, 0, 0},
  12589. {0xDD, 0, 0},
  12590. {0xDE, 0x88, 1},
  12591. {0xDF, 0, 0},
  12592. {0xE0, 0x1f, 0},
  12593. {0xE1, 0x20, 1},
  12594. {0xE2, 0x1, 0},
  12595. {0xE3, 0x30, 0},
  12596. {0xE4, 0x70, 0},
  12597. {0xE5, 0, 0},
  12598. {0xE6, 0, 0},
  12599. {0xE7, 0x33, 0},
  12600. {0xE8, 0xf, 1},
  12601. {0xE9, 0x13, 1},
  12602. {0xEA, 0, 0},
  12603. {0xEB, 0xee, 1},
  12604. {0xEE, 0, 0},
  12605. {0xEF, 0x7e, 0},
  12606. {0xF0, 0x3f, 0},
  12607. {0xF1, 0x7f, 0},
  12608. {0xF2, 0x78, 0},
  12609. {0xF3, 0x58, 1},
  12610. {0xF4, 0x88, 0},
  12611. {0xF5, 0x8, 0},
  12612. {0xF6, 0xf, 0},
  12613. {0xF7, 0xbc, 0},
  12614. {0xF8, 0x8, 0},
  12615. {0xF9, 0x60, 0},
  12616. {0xFA, 0x13, 1},
  12617. {0xFB, 0x70, 0},
  12618. {0xFC, 0, 0},
  12619. {0xFD, 0, 0},
  12620. {0xFE, 0, 0},
  12621. {0xFF, 0x33, 0},
  12622. {0x100, 0x13, 1},
  12623. {0x101, 0x14, 1},
  12624. {0x102, 0xee, 1},
  12625. {0x105, 0x3c, 0},
  12626. {0x106, 0x1, 1},
  12627. {0x107, 0xa, 0},
  12628. {0x108, 0x9d, 0},
  12629. {0x109, 0xa, 0},
  12630. {0x10A, 0, 0},
  12631. {0x10B, 0x40, 0},
  12632. {0x10C, 0x40, 0},
  12633. {0x10D, 0x88, 0},
  12634. {0x10E, 0x10, 0},
  12635. {0x10F, 0xf0, 0},
  12636. {0x110, 0x10, 0},
  12637. {0x111, 0xf0, 0},
  12638. {0x112, 0, 0},
  12639. {0x113, 0, 0},
  12640. {0x114, 0x10, 0},
  12641. {0x115, 0x55, 0},
  12642. {0x116, 0x3f, 1},
  12643. {0x117, 0x36, 1},
  12644. {0x118, 0, 0},
  12645. {0x119, 0, 0},
  12646. {0x11A, 0, 0},
  12647. {0x11B, 0x87, 0},
  12648. {0x11C, 0x11, 0},
  12649. {0x11D, 0, 0},
  12650. {0x11E, 0x33, 0},
  12651. {0x11F, 0x88, 0},
  12652. {0x120, 0, 0},
  12653. {0x121, 0x87, 0},
  12654. {0x122, 0x11, 0},
  12655. {0x123, 0, 0},
  12656. {0x124, 0x33, 0},
  12657. {0x125, 0x88, 0},
  12658. {0x126, 0x20, 1},
  12659. {0x127, 0x3f, 0},
  12660. {0x128, 0x44, 0},
  12661. {0x129, 0x8c, 0},
  12662. {0x12A, 0x6c, 0},
  12663. {0x12B, 0x22, 0},
  12664. {0x12C, 0xbe, 0},
  12665. {0x12D, 0x55, 0},
  12666. {0x12F, 0xc, 0},
  12667. {0x130, 0xaa, 0},
  12668. {0x131, 0x2, 0},
  12669. {0x132, 0, 0},
  12670. {0x133, 0x10, 0},
  12671. {0x134, 0x1, 0},
  12672. {0x135, 0, 0},
  12673. {0x136, 0, 0},
  12674. {0x137, 0x80, 0},
  12675. {0x138, 0x60, 0},
  12676. {0x139, 0x44, 0},
  12677. {0x13A, 0x55, 0},
  12678. {0x13B, 0x1, 0},
  12679. {0x13C, 0x55, 0},
  12680. {0x13D, 0x1, 0},
  12681. {0x13E, 0x5, 0},
  12682. {0x13F, 0x55, 0},
  12683. {0x140, 0x55, 0},
  12684. {0x146, 0, 0},
  12685. {0x147, 0, 0},
  12686. {0x148, 0, 0},
  12687. {0x149, 0, 0},
  12688. {0x14A, 0, 0},
  12689. {0x14B, 0, 0},
  12690. {0x14C, 0, 0},
  12691. {0x14D, 0, 0},
  12692. {0x14E, 0, 0},
  12693. {0x14F, 0, 0},
  12694. {0x150, 0, 0},
  12695. {0x151, 0, 0},
  12696. {0x154, 0xc, 0},
  12697. {0x155, 0xc, 0},
  12698. {0x156, 0xc, 0},
  12699. {0x157, 0, 0},
  12700. {0x158, 0x2b, 0},
  12701. {0x159, 0x84, 0},
  12702. {0x15A, 0x15, 0},
  12703. {0x15B, 0xf, 0},
  12704. {0x15C, 0, 0},
  12705. {0x15D, 0, 0},
  12706. {0x15E, 0, 1},
  12707. {0x15F, 0, 1},
  12708. {0x160, 0, 1},
  12709. {0x161, 0, 1},
  12710. {0x162, 0, 1},
  12711. {0x163, 0, 1},
  12712. {0x164, 0, 0},
  12713. {0x165, 0, 0},
  12714. {0x166, 0, 0},
  12715. {0x167, 0, 0},
  12716. {0x168, 0, 0},
  12717. {0x169, 0, 0},
  12718. {0x16A, 0, 1},
  12719. {0x16B, 0, 1},
  12720. {0x16C, 0, 1},
  12721. {0x16D, 0, 0},
  12722. {0x170, 0, 0},
  12723. {0x171, 0x77, 0},
  12724. {0x172, 0x77, 0},
  12725. {0x173, 0x77, 0},
  12726. {0x174, 0x77, 0},
  12727. {0x175, 0, 0},
  12728. {0x176, 0x3, 0},
  12729. {0x177, 0x37, 0},
  12730. {0x178, 0x3, 0},
  12731. {0x179, 0, 0},
  12732. {0x17A, 0x21, 0},
  12733. {0x17B, 0x21, 0},
  12734. {0x17C, 0, 0},
  12735. {0x17D, 0xaa, 0},
  12736. {0x17E, 0, 0},
  12737. {0x17F, 0xaa, 0},
  12738. {0x180, 0, 0},
  12739. {0x190, 0, 0},
  12740. {0x191, 0x77, 0},
  12741. {0x192, 0x77, 0},
  12742. {0x193, 0x77, 0},
  12743. {0x194, 0x77, 0},
  12744. {0x195, 0, 0},
  12745. {0x196, 0x3, 0},
  12746. {0x197, 0x37, 0},
  12747. {0x198, 0x3, 0},
  12748. {0x199, 0, 0},
  12749. {0x19A, 0x21, 0},
  12750. {0x19B, 0x21, 0},
  12751. {0x19C, 0, 0},
  12752. {0x19D, 0xaa, 0},
  12753. {0x19E, 0, 0},
  12754. {0x19F, 0xaa, 0},
  12755. {0x1A0, 0, 0},
  12756. {0x1A1, 0x2, 0},
  12757. {0x1A2, 0xf, 0},
  12758. {0x1A3, 0xf, 0},
  12759. {0x1A4, 0, 1},
  12760. {0x1A5, 0, 1},
  12761. {0x1A6, 0, 1},
  12762. {0x1A7, 0x2, 0},
  12763. {0x1A8, 0xf, 0},
  12764. {0x1A9, 0xf, 0},
  12765. {0x1AA, 0, 1},
  12766. {0x1AB, 0, 1},
  12767. {0x1AC, 0, 1},
  12768. {0x1AD, 0x84, 0},
  12769. {0x1AE, 0x60, 0},
  12770. {0x1AF, 0x47, 0},
  12771. {0x1B0, 0x47, 0},
  12772. {0x1B1, 0, 0},
  12773. {0x1B2, 0, 0},
  12774. {0x1B3, 0, 0},
  12775. {0x1B4, 0, 0},
  12776. {0x1B5, 0, 0},
  12777. {0x1B6, 0, 0},
  12778. {0x1B7, 0x5, 1},
  12779. {0x1B8, 0, 0},
  12780. {0x1B9, 0, 0},
  12781. {0x1BA, 0, 0},
  12782. {0x1BB, 0, 0},
  12783. {0x1BC, 0, 0},
  12784. {0x1BD, 0, 0},
  12785. {0x1BE, 0, 0},
  12786. {0x1BF, 0, 0},
  12787. {0x1C0, 0, 0},
  12788. {0x1C1, 0, 0},
  12789. {0x1C2, 0xa0, 1},
  12790. {0x1C3, 0, 0},
  12791. {0x1C4, 0, 0},
  12792. {0x1C5, 0, 0},
  12793. {0x1C6, 0, 0},
  12794. {0x1C7, 0, 0},
  12795. {0x1C8, 0, 0},
  12796. {0x1C9, 0, 0},
  12797. {0x1CA, 0, 0},
  12798. {0xFFFF, 0, 0}
  12799. };
  12800. static struct radio_20xx_regs regs_2057_rev8[] = {
  12801. {0x00, 0x8, 1},
  12802. {0x01, 0x57, 1},
  12803. {0x02, 0x20, 1},
  12804. {0x03, 0x1f, 0},
  12805. {0x04, 0x4, 0},
  12806. {0x05, 0x2, 0},
  12807. {0x06, 0x1, 0},
  12808. {0x07, 0x1, 0},
  12809. {0x08, 0x1, 0},
  12810. {0x09, 0x69, 0},
  12811. {0x0A, 0x66, 0},
  12812. {0x0B, 0x6, 0},
  12813. {0x0C, 0x18, 0},
  12814. {0x0D, 0x3, 0},
  12815. {0x0E, 0x20, 0},
  12816. {0x0F, 0x20, 0},
  12817. {0x10, 0, 0},
  12818. {0x11, 0x7c, 0},
  12819. {0x12, 0x42, 0},
  12820. {0x13, 0xbd, 0},
  12821. {0x14, 0x7, 0},
  12822. {0x15, 0x87, 0},
  12823. {0x16, 0x8, 0},
  12824. {0x17, 0x17, 0},
  12825. {0x18, 0x7, 0},
  12826. {0x19, 0, 0},
  12827. {0x1A, 0x2, 0},
  12828. {0x1B, 0x13, 0},
  12829. {0x1C, 0x3e, 0},
  12830. {0x1D, 0x3e, 0},
  12831. {0x1E, 0x96, 0},
  12832. {0x1F, 0x4, 0},
  12833. {0x20, 0, 0},
  12834. {0x21, 0, 0},
  12835. {0x22, 0x17, 0},
  12836. {0x23, 0x6, 0},
  12837. {0x24, 0x1, 0},
  12838. {0x25, 0x6, 0},
  12839. {0x26, 0x4, 0},
  12840. {0x27, 0xd, 0},
  12841. {0x28, 0xd, 0},
  12842. {0x29, 0x30, 0},
  12843. {0x2A, 0x32, 0},
  12844. {0x2B, 0x8, 0},
  12845. {0x2C, 0x1c, 0},
  12846. {0x2D, 0x2, 0},
  12847. {0x2E, 0x4, 0},
  12848. {0x2F, 0x7f, 0},
  12849. {0x30, 0x27, 0},
  12850. {0x31, 0, 1},
  12851. {0x32, 0, 1},
  12852. {0x33, 0, 1},
  12853. {0x34, 0, 0},
  12854. {0x35, 0x20, 0},
  12855. {0x36, 0x18, 0},
  12856. {0x37, 0x7, 0},
  12857. {0x38, 0x66, 0},
  12858. {0x39, 0x66, 0},
  12859. {0x3A, 0x66, 0},
  12860. {0x3B, 0x66, 0},
  12861. {0x3C, 0xff, 0},
  12862. {0x3D, 0xff, 0},
  12863. {0x3E, 0xff, 0},
  12864. {0x3F, 0xff, 0},
  12865. {0x40, 0x16, 0},
  12866. {0x41, 0x7, 0},
  12867. {0x42, 0x19, 0},
  12868. {0x43, 0x7, 0},
  12869. {0x44, 0x6, 0},
  12870. {0x45, 0x3, 0},
  12871. {0x46, 0x1, 0},
  12872. {0x47, 0x7, 0},
  12873. {0x48, 0x33, 0},
  12874. {0x49, 0x5, 0},
  12875. {0x4A, 0x77, 0},
  12876. {0x4B, 0x66, 0},
  12877. {0x4C, 0x66, 0},
  12878. {0x4D, 0, 0},
  12879. {0x4E, 0x4, 0},
  12880. {0x4F, 0xc, 0},
  12881. {0x50, 0, 0},
  12882. {0x51, 0x70, 1},
  12883. {0x56, 0x7, 0},
  12884. {0x57, 0, 0},
  12885. {0x58, 0, 0},
  12886. {0x59, 0x88, 1},
  12887. {0x5A, 0, 0},
  12888. {0x5B, 0x1f, 0},
  12889. {0x5C, 0x20, 1},
  12890. {0x5D, 0x1, 0},
  12891. {0x5E, 0x30, 0},
  12892. {0x5F, 0x70, 0},
  12893. {0x60, 0, 0},
  12894. {0x61, 0, 0},
  12895. {0x62, 0x33, 1},
  12896. {0x63, 0xf, 1},
  12897. {0x64, 0xf, 1},
  12898. {0x65, 0, 0},
  12899. {0x66, 0x11, 0},
  12900. {0x69, 0, 0},
  12901. {0x6A, 0x7e, 0},
  12902. {0x6B, 0x3f, 0},
  12903. {0x6C, 0x7f, 0},
  12904. {0x6D, 0x78, 0},
  12905. {0x6E, 0x58, 1},
  12906. {0x6F, 0x88, 0},
  12907. {0x70, 0x8, 0},
  12908. {0x71, 0xf, 0},
  12909. {0x72, 0xbc, 0},
  12910. {0x73, 0x8, 0},
  12911. {0x74, 0x60, 0},
  12912. {0x75, 0x13, 1},
  12913. {0x76, 0x70, 0},
  12914. {0x77, 0, 0},
  12915. {0x78, 0, 0},
  12916. {0x79, 0, 0},
  12917. {0x7A, 0x33, 0},
  12918. {0x7B, 0x13, 1},
  12919. {0x7C, 0xf, 1},
  12920. {0x7D, 0xee, 1},
  12921. {0x80, 0x3c, 0},
  12922. {0x81, 0x1, 1},
  12923. {0x82, 0xa, 0},
  12924. {0x83, 0x9d, 0},
  12925. {0x84, 0xa, 0},
  12926. {0x85, 0, 0},
  12927. {0x86, 0x40, 0},
  12928. {0x87, 0x40, 0},
  12929. {0x88, 0x88, 0},
  12930. {0x89, 0x10, 0},
  12931. {0x8A, 0xf0, 0},
  12932. {0x8B, 0x10, 0},
  12933. {0x8C, 0xf0, 0},
  12934. {0x8D, 0, 0},
  12935. {0x8E, 0, 0},
  12936. {0x8F, 0x10, 0},
  12937. {0x90, 0x55, 0},
  12938. {0x91, 0x3f, 1},
  12939. {0x92, 0x36, 1},
  12940. {0x93, 0, 0},
  12941. {0x94, 0, 0},
  12942. {0x95, 0, 0},
  12943. {0x96, 0x87, 0},
  12944. {0x97, 0x11, 0},
  12945. {0x98, 0, 0},
  12946. {0x99, 0x33, 0},
  12947. {0x9A, 0x88, 0},
  12948. {0x9B, 0, 0},
  12949. {0x9C, 0x87, 0},
  12950. {0x9D, 0x11, 0},
  12951. {0x9E, 0, 0},
  12952. {0x9F, 0x33, 0},
  12953. {0xA0, 0x88, 0},
  12954. {0xA1, 0x20, 1},
  12955. {0xA2, 0x3f, 0},
  12956. {0xA3, 0x44, 0},
  12957. {0xA4, 0x8c, 0},
  12958. {0xA5, 0x6c, 0},
  12959. {0xA6, 0x22, 0},
  12960. {0xA7, 0xbe, 0},
  12961. {0xA8, 0x55, 0},
  12962. {0xAA, 0xc, 0},
  12963. {0xAB, 0xaa, 0},
  12964. {0xAC, 0x2, 0},
  12965. {0xAD, 0, 0},
  12966. {0xAE, 0x10, 0},
  12967. {0xAF, 0x1, 0},
  12968. {0xB0, 0, 0},
  12969. {0xB1, 0, 0},
  12970. {0xB2, 0x80, 0},
  12971. {0xB3, 0x60, 0},
  12972. {0xB4, 0x44, 0},
  12973. {0xB5, 0x55, 0},
  12974. {0xB6, 0x1, 0},
  12975. {0xB7, 0x55, 0},
  12976. {0xB8, 0x1, 0},
  12977. {0xB9, 0x5, 0},
  12978. {0xBA, 0x55, 0},
  12979. {0xBB, 0x55, 0},
  12980. {0xC1, 0, 0},
  12981. {0xC2, 0, 0},
  12982. {0xC3, 0, 0},
  12983. {0xC4, 0, 0},
  12984. {0xC5, 0, 0},
  12985. {0xC6, 0, 0},
  12986. {0xC7, 0, 0},
  12987. {0xC8, 0, 0},
  12988. {0xC9, 0x1, 1},
  12989. {0xCA, 0, 0},
  12990. {0xCB, 0, 0},
  12991. {0xCC, 0, 0},
  12992. {0xCD, 0, 0},
  12993. {0xCE, 0x5e, 0},
  12994. {0xCF, 0xc, 0},
  12995. {0xD0, 0xc, 0},
  12996. {0xD1, 0xc, 0},
  12997. {0xD2, 0, 0},
  12998. {0xD3, 0x2b, 0},
  12999. {0xD4, 0xc, 0},
  13000. {0xD5, 0, 0},
  13001. {0xD6, 0x70, 1},
  13002. {0xDB, 0x7, 0},
  13003. {0xDC, 0, 0},
  13004. {0xDD, 0, 0},
  13005. {0xDE, 0x88, 1},
  13006. {0xDF, 0, 0},
  13007. {0xE0, 0x1f, 0},
  13008. {0xE1, 0x20, 1},
  13009. {0xE2, 0x1, 0},
  13010. {0xE3, 0x30, 0},
  13011. {0xE4, 0x70, 0},
  13012. {0xE5, 0, 0},
  13013. {0xE6, 0, 0},
  13014. {0xE7, 0x33, 0},
  13015. {0xE8, 0xf, 1},
  13016. {0xE9, 0xf, 1},
  13017. {0xEA, 0, 0},
  13018. {0xEB, 0x11, 0},
  13019. {0xEE, 0, 0},
  13020. {0xEF, 0x7e, 0},
  13021. {0xF0, 0x3f, 0},
  13022. {0xF1, 0x7f, 0},
  13023. {0xF2, 0x78, 0},
  13024. {0xF3, 0x58, 1},
  13025. {0xF4, 0x88, 0},
  13026. {0xF5, 0x8, 0},
  13027. {0xF6, 0xf, 0},
  13028. {0xF7, 0xbc, 0},
  13029. {0xF8, 0x8, 0},
  13030. {0xF9, 0x60, 0},
  13031. {0xFA, 0x13, 1},
  13032. {0xFB, 0x70, 0},
  13033. {0xFC, 0, 0},
  13034. {0xFD, 0, 0},
  13035. {0xFE, 0, 0},
  13036. {0xFF, 0x33, 0},
  13037. {0x100, 0x13, 1},
  13038. {0x101, 0xf, 1},
  13039. {0x102, 0xee, 1},
  13040. {0x105, 0x3c, 0},
  13041. {0x106, 0x1, 1},
  13042. {0x107, 0xa, 0},
  13043. {0x108, 0x9d, 0},
  13044. {0x109, 0xa, 0},
  13045. {0x10A, 0, 0},
  13046. {0x10B, 0x40, 0},
  13047. {0x10C, 0x40, 0},
  13048. {0x10D, 0x88, 0},
  13049. {0x10E, 0x10, 0},
  13050. {0x10F, 0xf0, 0},
  13051. {0x110, 0x10, 0},
  13052. {0x111, 0xf0, 0},
  13053. {0x112, 0, 0},
  13054. {0x113, 0, 0},
  13055. {0x114, 0x10, 0},
  13056. {0x115, 0x55, 0},
  13057. {0x116, 0x3f, 1},
  13058. {0x117, 0x36, 1},
  13059. {0x118, 0, 0},
  13060. {0x119, 0, 0},
  13061. {0x11A, 0, 0},
  13062. {0x11B, 0x87, 0},
  13063. {0x11C, 0x11, 0},
  13064. {0x11D, 0, 0},
  13065. {0x11E, 0x33, 0},
  13066. {0x11F, 0x88, 0},
  13067. {0x120, 0, 0},
  13068. {0x121, 0x87, 0},
  13069. {0x122, 0x11, 0},
  13070. {0x123, 0, 0},
  13071. {0x124, 0x33, 0},
  13072. {0x125, 0x88, 0},
  13073. {0x126, 0x20, 1},
  13074. {0x127, 0x3f, 0},
  13075. {0x128, 0x44, 0},
  13076. {0x129, 0x8c, 0},
  13077. {0x12A, 0x6c, 0},
  13078. {0x12B, 0x22, 0},
  13079. {0x12C, 0xbe, 0},
  13080. {0x12D, 0x55, 0},
  13081. {0x12F, 0xc, 0},
  13082. {0x130, 0xaa, 0},
  13083. {0x131, 0x2, 0},
  13084. {0x132, 0, 0},
  13085. {0x133, 0x10, 0},
  13086. {0x134, 0x1, 0},
  13087. {0x135, 0, 0},
  13088. {0x136, 0, 0},
  13089. {0x137, 0x80, 0},
  13090. {0x138, 0x60, 0},
  13091. {0x139, 0x44, 0},
  13092. {0x13A, 0x55, 0},
  13093. {0x13B, 0x1, 0},
  13094. {0x13C, 0x55, 0},
  13095. {0x13D, 0x1, 0},
  13096. {0x13E, 0x5, 0},
  13097. {0x13F, 0x55, 0},
  13098. {0x140, 0x55, 0},
  13099. {0x146, 0, 0},
  13100. {0x147, 0, 0},
  13101. {0x148, 0, 0},
  13102. {0x149, 0, 0},
  13103. {0x14A, 0, 0},
  13104. {0x14B, 0, 0},
  13105. {0x14C, 0, 0},
  13106. {0x14D, 0, 0},
  13107. {0x14E, 0x1, 1},
  13108. {0x14F, 0, 0},
  13109. {0x150, 0, 0},
  13110. {0x151, 0, 0},
  13111. {0x154, 0xc, 0},
  13112. {0x155, 0xc, 0},
  13113. {0x156, 0xc, 0},
  13114. {0x157, 0, 0},
  13115. {0x158, 0x2b, 0},
  13116. {0x159, 0x84, 0},
  13117. {0x15A, 0x15, 0},
  13118. {0x15B, 0xf, 0},
  13119. {0x15C, 0, 0},
  13120. {0x15D, 0, 0},
  13121. {0x15E, 0, 1},
  13122. {0x15F, 0, 1},
  13123. {0x160, 0, 1},
  13124. {0x161, 0, 1},
  13125. {0x162, 0, 1},
  13126. {0x163, 0, 1},
  13127. {0x164, 0, 0},
  13128. {0x165, 0, 0},
  13129. {0x166, 0, 0},
  13130. {0x167, 0, 0},
  13131. {0x168, 0, 0},
  13132. {0x169, 0, 0},
  13133. {0x16A, 0, 1},
  13134. {0x16B, 0, 1},
  13135. {0x16C, 0, 1},
  13136. {0x16D, 0, 0},
  13137. {0x170, 0, 0},
  13138. {0x171, 0x77, 0},
  13139. {0x172, 0x77, 0},
  13140. {0x173, 0x77, 0},
  13141. {0x174, 0x77, 0},
  13142. {0x175, 0, 0},
  13143. {0x176, 0x3, 0},
  13144. {0x177, 0x37, 0},
  13145. {0x178, 0x3, 0},
  13146. {0x179, 0, 0},
  13147. {0x17A, 0x21, 0},
  13148. {0x17B, 0x21, 0},
  13149. {0x17C, 0, 0},
  13150. {0x17D, 0xaa, 0},
  13151. {0x17E, 0, 0},
  13152. {0x17F, 0xaa, 0},
  13153. {0x180, 0, 0},
  13154. {0x190, 0, 0},
  13155. {0x191, 0x77, 0},
  13156. {0x192, 0x77, 0},
  13157. {0x193, 0x77, 0},
  13158. {0x194, 0x77, 0},
  13159. {0x195, 0, 0},
  13160. {0x196, 0x3, 0},
  13161. {0x197, 0x37, 0},
  13162. {0x198, 0x3, 0},
  13163. {0x199, 0, 0},
  13164. {0x19A, 0x21, 0},
  13165. {0x19B, 0x21, 0},
  13166. {0x19C, 0, 0},
  13167. {0x19D, 0xaa, 0},
  13168. {0x19E, 0, 0},
  13169. {0x19F, 0xaa, 0},
  13170. {0x1A0, 0, 0},
  13171. {0x1A1, 0x2, 0},
  13172. {0x1A2, 0xf, 0},
  13173. {0x1A3, 0xf, 0},
  13174. {0x1A4, 0, 1},
  13175. {0x1A5, 0, 1},
  13176. {0x1A6, 0, 1},
  13177. {0x1A7, 0x2, 0},
  13178. {0x1A8, 0xf, 0},
  13179. {0x1A9, 0xf, 0},
  13180. {0x1AA, 0, 1},
  13181. {0x1AB, 0, 1},
  13182. {0x1AC, 0, 1},
  13183. {0x1AD, 0x84, 0},
  13184. {0x1AE, 0x60, 0},
  13185. {0x1AF, 0x47, 0},
  13186. {0x1B0, 0x47, 0},
  13187. {0x1B1, 0, 0},
  13188. {0x1B2, 0, 0},
  13189. {0x1B3, 0, 0},
  13190. {0x1B4, 0, 0},
  13191. {0x1B5, 0, 0},
  13192. {0x1B6, 0, 0},
  13193. {0x1B7, 0x5, 1},
  13194. {0x1B8, 0, 0},
  13195. {0x1B9, 0, 0},
  13196. {0x1BA, 0, 0},
  13197. {0x1BB, 0, 0},
  13198. {0x1BC, 0, 0},
  13199. {0x1BD, 0, 0},
  13200. {0x1BE, 0, 0},
  13201. {0x1BF, 0, 0},
  13202. {0x1C0, 0, 0},
  13203. {0x1C1, 0, 0},
  13204. {0x1C2, 0xa0, 1},
  13205. {0x1C3, 0, 0},
  13206. {0x1C4, 0, 0},
  13207. {0x1C5, 0, 0},
  13208. {0x1C6, 0, 0},
  13209. {0x1C7, 0, 0},
  13210. {0x1C8, 0, 0},
  13211. {0x1C9, 0, 0},
  13212. {0x1CA, 0, 0},
  13213. {0xFFFF, 0, 0}
  13214. };
  13215. static s16 nphy_def_lnagains[] = { -2, 10, 19, 25 };
  13216. static s32 nphy_lnagain_est0[] = { -315, 40370 };
  13217. static s32 nphy_lnagain_est1[] = { -224, 23242 };
  13218. static const u16 tbl_iqcal_gainparams_nphy[2][NPHY_IQCAL_NUMGAINS][8] = {
  13219. {
  13220. {0x000, 0, 0, 2, 0x69, 0x69, 0x69, 0x69},
  13221. {0x700, 7, 0, 0, 0x69, 0x69, 0x69, 0x69},
  13222. {0x710, 7, 1, 0, 0x68, 0x68, 0x68, 0x68},
  13223. {0x720, 7, 2, 0, 0x67, 0x67, 0x67, 0x67},
  13224. {0x730, 7, 3, 0, 0x66, 0x66, 0x66, 0x66},
  13225. {0x740, 7, 4, 0, 0x65, 0x65, 0x65, 0x65},
  13226. {0x741, 7, 4, 1, 0x65, 0x65, 0x65, 0x65},
  13227. {0x742, 7, 4, 2, 0x65, 0x65, 0x65, 0x65},
  13228. {0x743, 7, 4, 3, 0x65, 0x65, 0x65, 0x65}
  13229. },
  13230. {
  13231. {0x000, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13232. {0x700, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13233. {0x710, 7, 1, 0, 0x79, 0x79, 0x79, 0x79},
  13234. {0x720, 7, 2, 0, 0x78, 0x78, 0x78, 0x78},
  13235. {0x730, 7, 3, 0, 0x78, 0x78, 0x78, 0x78},
  13236. {0x740, 7, 4, 0, 0x78, 0x78, 0x78, 0x78},
  13237. {0x741, 7, 4, 1, 0x78, 0x78, 0x78, 0x78},
  13238. {0x742, 7, 4, 2, 0x78, 0x78, 0x78, 0x78},
  13239. {0x743, 7, 4, 3, 0x78, 0x78, 0x78, 0x78}
  13240. }
  13241. };
  13242. static const u32 nphy_tpc_txgain[] = {
  13243. 0x03cc2b44, 0x03cc2b42, 0x03cc2a44, 0x03cc2a42,
  13244. 0x03cc2944, 0x03c82b44, 0x03c82b42, 0x03c82a44,
  13245. 0x03c82a42, 0x03c82944, 0x03c82942, 0x03c82844,
  13246. 0x03c82842, 0x03c42b44, 0x03c42b42, 0x03c42a44,
  13247. 0x03c42a42, 0x03c42944, 0x03c42942, 0x03c42844,
  13248. 0x03c42842, 0x03c42744, 0x03c42742, 0x03c42644,
  13249. 0x03c42642, 0x03c42544, 0x03c42542, 0x03c42444,
  13250. 0x03c42442, 0x03c02b44, 0x03c02b42, 0x03c02a44,
  13251. 0x03c02a42, 0x03c02944, 0x03c02942, 0x03c02844,
  13252. 0x03c02842, 0x03c02744, 0x03c02742, 0x03b02b44,
  13253. 0x03b02b42, 0x03b02a44, 0x03b02a42, 0x03b02944,
  13254. 0x03b02942, 0x03b02844, 0x03b02842, 0x03b02744,
  13255. 0x03b02742, 0x03b02644, 0x03b02642, 0x03b02544,
  13256. 0x03b02542, 0x03a02b44, 0x03a02b42, 0x03a02a44,
  13257. 0x03a02a42, 0x03a02944, 0x03a02942, 0x03a02844,
  13258. 0x03a02842, 0x03a02744, 0x03a02742, 0x03902b44,
  13259. 0x03902b42, 0x03902a44, 0x03902a42, 0x03902944,
  13260. 0x03902942, 0x03902844, 0x03902842, 0x03902744,
  13261. 0x03902742, 0x03902644, 0x03902642, 0x03902544,
  13262. 0x03902542, 0x03802b44, 0x03802b42, 0x03802a44,
  13263. 0x03802a42, 0x03802944, 0x03802942, 0x03802844,
  13264. 0x03802842, 0x03802744, 0x03802742, 0x03802644,
  13265. 0x03802642, 0x03802544, 0x03802542, 0x03802444,
  13266. 0x03802442, 0x03802344, 0x03802342, 0x03802244,
  13267. 0x03802242, 0x03802144, 0x03802142, 0x03802044,
  13268. 0x03802042, 0x03801f44, 0x03801f42, 0x03801e44,
  13269. 0x03801e42, 0x03801d44, 0x03801d42, 0x03801c44,
  13270. 0x03801c42, 0x03801b44, 0x03801b42, 0x03801a44,
  13271. 0x03801a42, 0x03801944, 0x03801942, 0x03801844,
  13272. 0x03801842, 0x03801744, 0x03801742, 0x03801644,
  13273. 0x03801642, 0x03801544, 0x03801542, 0x03801444,
  13274. 0x03801442, 0x03801344, 0x03801342, 0x00002b00
  13275. };
  13276. static const u16 nphy_tpc_loscale[] = {
  13277. 256, 256, 271, 271, 287, 256, 256, 271,
  13278. 271, 287, 287, 304, 304, 256, 256, 271,
  13279. 271, 287, 287, 304, 304, 322, 322, 341,
  13280. 341, 362, 362, 383, 383, 256, 256, 271,
  13281. 271, 287, 287, 304, 304, 322, 322, 256,
  13282. 256, 271, 271, 287, 287, 304, 304, 322,
  13283. 322, 341, 341, 362, 362, 256, 256, 271,
  13284. 271, 287, 287, 304, 304, 322, 322, 256,
  13285. 256, 271, 271, 287, 287, 304, 304, 322,
  13286. 322, 341, 341, 362, 362, 256, 256, 271,
  13287. 271, 287, 287, 304, 304, 322, 322, 341,
  13288. 341, 362, 362, 383, 383, 406, 406, 430,
  13289. 430, 455, 455, 482, 482, 511, 511, 541,
  13290. 541, 573, 573, 607, 607, 643, 643, 681,
  13291. 681, 722, 722, 764, 764, 810, 810, 858,
  13292. 858, 908, 908, 962, 962, 1019, 1019, 256
  13293. };
  13294. static u32 nphy_tpc_txgain_ipa[] = {
  13295. 0x5ff7002d, 0x5ff7002b, 0x5ff7002a, 0x5ff70029,
  13296. 0x5ff70028, 0x5ff70027, 0x5ff70026, 0x5ff70025,
  13297. 0x5ef7002d, 0x5ef7002b, 0x5ef7002a, 0x5ef70029,
  13298. 0x5ef70028, 0x5ef70027, 0x5ef70026, 0x5ef70025,
  13299. 0x5df7002d, 0x5df7002b, 0x5df7002a, 0x5df70029,
  13300. 0x5df70028, 0x5df70027, 0x5df70026, 0x5df70025,
  13301. 0x5cf7002d, 0x5cf7002b, 0x5cf7002a, 0x5cf70029,
  13302. 0x5cf70028, 0x5cf70027, 0x5cf70026, 0x5cf70025,
  13303. 0x5bf7002d, 0x5bf7002b, 0x5bf7002a, 0x5bf70029,
  13304. 0x5bf70028, 0x5bf70027, 0x5bf70026, 0x5bf70025,
  13305. 0x5af7002d, 0x5af7002b, 0x5af7002a, 0x5af70029,
  13306. 0x5af70028, 0x5af70027, 0x5af70026, 0x5af70025,
  13307. 0x59f7002d, 0x59f7002b, 0x59f7002a, 0x59f70029,
  13308. 0x59f70028, 0x59f70027, 0x59f70026, 0x59f70025,
  13309. 0x58f7002d, 0x58f7002b, 0x58f7002a, 0x58f70029,
  13310. 0x58f70028, 0x58f70027, 0x58f70026, 0x58f70025,
  13311. 0x57f7002d, 0x57f7002b, 0x57f7002a, 0x57f70029,
  13312. 0x57f70028, 0x57f70027, 0x57f70026, 0x57f70025,
  13313. 0x56f7002d, 0x56f7002b, 0x56f7002a, 0x56f70029,
  13314. 0x56f70028, 0x56f70027, 0x56f70026, 0x56f70025,
  13315. 0x55f7002d, 0x55f7002b, 0x55f7002a, 0x55f70029,
  13316. 0x55f70028, 0x55f70027, 0x55f70026, 0x55f70025,
  13317. 0x54f7002d, 0x54f7002b, 0x54f7002a, 0x54f70029,
  13318. 0x54f70028, 0x54f70027, 0x54f70026, 0x54f70025,
  13319. 0x53f7002d, 0x53f7002b, 0x53f7002a, 0x53f70029,
  13320. 0x53f70028, 0x53f70027, 0x53f70026, 0x53f70025,
  13321. 0x52f7002d, 0x52f7002b, 0x52f7002a, 0x52f70029,
  13322. 0x52f70028, 0x52f70027, 0x52f70026, 0x52f70025,
  13323. 0x51f7002d, 0x51f7002b, 0x51f7002a, 0x51f70029,
  13324. 0x51f70028, 0x51f70027, 0x51f70026, 0x51f70025,
  13325. 0x50f7002d, 0x50f7002b, 0x50f7002a, 0x50f70029,
  13326. 0x50f70028, 0x50f70027, 0x50f70026, 0x50f70025
  13327. };
  13328. static u32 nphy_tpc_txgain_ipa_rev5[] = {
  13329. 0x1ff7002d, 0x1ff7002b, 0x1ff7002a, 0x1ff70029,
  13330. 0x1ff70028, 0x1ff70027, 0x1ff70026, 0x1ff70025,
  13331. 0x1ef7002d, 0x1ef7002b, 0x1ef7002a, 0x1ef70029,
  13332. 0x1ef70028, 0x1ef70027, 0x1ef70026, 0x1ef70025,
  13333. 0x1df7002d, 0x1df7002b, 0x1df7002a, 0x1df70029,
  13334. 0x1df70028, 0x1df70027, 0x1df70026, 0x1df70025,
  13335. 0x1cf7002d, 0x1cf7002b, 0x1cf7002a, 0x1cf70029,
  13336. 0x1cf70028, 0x1cf70027, 0x1cf70026, 0x1cf70025,
  13337. 0x1bf7002d, 0x1bf7002b, 0x1bf7002a, 0x1bf70029,
  13338. 0x1bf70028, 0x1bf70027, 0x1bf70026, 0x1bf70025,
  13339. 0x1af7002d, 0x1af7002b, 0x1af7002a, 0x1af70029,
  13340. 0x1af70028, 0x1af70027, 0x1af70026, 0x1af70025,
  13341. 0x19f7002d, 0x19f7002b, 0x19f7002a, 0x19f70029,
  13342. 0x19f70028, 0x19f70027, 0x19f70026, 0x19f70025,
  13343. 0x18f7002d, 0x18f7002b, 0x18f7002a, 0x18f70029,
  13344. 0x18f70028, 0x18f70027, 0x18f70026, 0x18f70025,
  13345. 0x17f7002d, 0x17f7002b, 0x17f7002a, 0x17f70029,
  13346. 0x17f70028, 0x17f70027, 0x17f70026, 0x17f70025,
  13347. 0x16f7002d, 0x16f7002b, 0x16f7002a, 0x16f70029,
  13348. 0x16f70028, 0x16f70027, 0x16f70026, 0x16f70025,
  13349. 0x15f7002d, 0x15f7002b, 0x15f7002a, 0x15f70029,
  13350. 0x15f70028, 0x15f70027, 0x15f70026, 0x15f70025,
  13351. 0x14f7002d, 0x14f7002b, 0x14f7002a, 0x14f70029,
  13352. 0x14f70028, 0x14f70027, 0x14f70026, 0x14f70025,
  13353. 0x13f7002d, 0x13f7002b, 0x13f7002a, 0x13f70029,
  13354. 0x13f70028, 0x13f70027, 0x13f70026, 0x13f70025,
  13355. 0x12f7002d, 0x12f7002b, 0x12f7002a, 0x12f70029,
  13356. 0x12f70028, 0x12f70027, 0x12f70026, 0x12f70025,
  13357. 0x11f7002d, 0x11f7002b, 0x11f7002a, 0x11f70029,
  13358. 0x11f70028, 0x11f70027, 0x11f70026, 0x11f70025,
  13359. 0x10f7002d, 0x10f7002b, 0x10f7002a, 0x10f70029,
  13360. 0x10f70028, 0x10f70027, 0x10f70026, 0x10f70025
  13361. };
  13362. static u32 nphy_tpc_txgain_ipa_rev6[] = {
  13363. 0x0ff7002d, 0x0ff7002b, 0x0ff7002a, 0x0ff70029,
  13364. 0x0ff70028, 0x0ff70027, 0x0ff70026, 0x0ff70025,
  13365. 0x0ef7002d, 0x0ef7002b, 0x0ef7002a, 0x0ef70029,
  13366. 0x0ef70028, 0x0ef70027, 0x0ef70026, 0x0ef70025,
  13367. 0x0df7002d, 0x0df7002b, 0x0df7002a, 0x0df70029,
  13368. 0x0df70028, 0x0df70027, 0x0df70026, 0x0df70025,
  13369. 0x0cf7002d, 0x0cf7002b, 0x0cf7002a, 0x0cf70029,
  13370. 0x0cf70028, 0x0cf70027, 0x0cf70026, 0x0cf70025,
  13371. 0x0bf7002d, 0x0bf7002b, 0x0bf7002a, 0x0bf70029,
  13372. 0x0bf70028, 0x0bf70027, 0x0bf70026, 0x0bf70025,
  13373. 0x0af7002d, 0x0af7002b, 0x0af7002a, 0x0af70029,
  13374. 0x0af70028, 0x0af70027, 0x0af70026, 0x0af70025,
  13375. 0x09f7002d, 0x09f7002b, 0x09f7002a, 0x09f70029,
  13376. 0x09f70028, 0x09f70027, 0x09f70026, 0x09f70025,
  13377. 0x08f7002d, 0x08f7002b, 0x08f7002a, 0x08f70029,
  13378. 0x08f70028, 0x08f70027, 0x08f70026, 0x08f70025,
  13379. 0x07f7002d, 0x07f7002b, 0x07f7002a, 0x07f70029,
  13380. 0x07f70028, 0x07f70027, 0x07f70026, 0x07f70025,
  13381. 0x06f7002d, 0x06f7002b, 0x06f7002a, 0x06f70029,
  13382. 0x06f70028, 0x06f70027, 0x06f70026, 0x06f70025,
  13383. 0x05f7002d, 0x05f7002b, 0x05f7002a, 0x05f70029,
  13384. 0x05f70028, 0x05f70027, 0x05f70026, 0x05f70025,
  13385. 0x04f7002d, 0x04f7002b, 0x04f7002a, 0x04f70029,
  13386. 0x04f70028, 0x04f70027, 0x04f70026, 0x04f70025,
  13387. 0x03f7002d, 0x03f7002b, 0x03f7002a, 0x03f70029,
  13388. 0x03f70028, 0x03f70027, 0x03f70026, 0x03f70025,
  13389. 0x02f7002d, 0x02f7002b, 0x02f7002a, 0x02f70029,
  13390. 0x02f70028, 0x02f70027, 0x02f70026, 0x02f70025,
  13391. 0x01f7002d, 0x01f7002b, 0x01f7002a, 0x01f70029,
  13392. 0x01f70028, 0x01f70027, 0x01f70026, 0x01f70025,
  13393. 0x00f7002d, 0x00f7002b, 0x00f7002a, 0x00f70029,
  13394. 0x00f70028, 0x00f70027, 0x00f70026, 0x00f70025
  13395. };
  13396. static u32 nphy_tpc_txgain_ipa_2g_2057rev3[] = {
  13397. 0x70ff0040, 0x70f7003e, 0x70ef003b, 0x70e70039,
  13398. 0x70df0037, 0x70d70036, 0x70cf0033, 0x70c70032,
  13399. 0x70bf0031, 0x70b7002f, 0x70af002e, 0x70a7002d,
  13400. 0x709f002d, 0x7097002c, 0x708f002c, 0x7087002c,
  13401. 0x707f002b, 0x7077002c, 0x706f002c, 0x7067002d,
  13402. 0x705f002e, 0x705f002b, 0x705f0029, 0x7057002a,
  13403. 0x70570028, 0x704f002a, 0x7047002c, 0x7047002a,
  13404. 0x70470028, 0x70470026, 0x70470024, 0x70470022,
  13405. 0x7047001f, 0x70370027, 0x70370024, 0x70370022,
  13406. 0x70370020, 0x7037001f, 0x7037001d, 0x7037001b,
  13407. 0x7037001a, 0x70370018, 0x70370017, 0x7027001e,
  13408. 0x7027001d, 0x7027001a, 0x701f0024, 0x701f0022,
  13409. 0x701f0020, 0x701f001f, 0x701f001d, 0x701f001b,
  13410. 0x701f001a, 0x701f0018, 0x701f0017, 0x701f0015,
  13411. 0x701f0014, 0x701f0013, 0x701f0012, 0x701f0011,
  13412. 0x70170019, 0x70170018, 0x70170016, 0x70170015,
  13413. 0x70170014, 0x70170013, 0x70170012, 0x70170010,
  13414. 0x70170010, 0x7017000f, 0x700f001d, 0x700f001b,
  13415. 0x700f001a, 0x700f0018, 0x700f0017, 0x700f0015,
  13416. 0x700f0015, 0x700f0013, 0x700f0013, 0x700f0011,
  13417. 0x700f0010, 0x700f0010, 0x700f000f, 0x700f000e,
  13418. 0x700f000d, 0x700f000c, 0x700f000b, 0x700f000b,
  13419. 0x700f000b, 0x700f000a, 0x700f0009, 0x700f0009,
  13420. 0x700f0009, 0x700f0008, 0x700f0007, 0x700f0007,
  13421. 0x700f0006, 0x700f0006, 0x700f0006, 0x700f0006,
  13422. 0x700f0005, 0x700f0005, 0x700f0005, 0x700f0004,
  13423. 0x700f0004, 0x700f0004, 0x700f0004, 0x700f0004,
  13424. 0x700f0004, 0x700f0003, 0x700f0003, 0x700f0003,
  13425. 0x700f0003, 0x700f0002, 0x700f0002, 0x700f0002,
  13426. 0x700f0002, 0x700f0002, 0x700f0002, 0x700f0001,
  13427. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001,
  13428. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001
  13429. };
  13430. static u32 nphy_tpc_txgain_ipa_2g_2057rev4n6[] = {
  13431. 0xf0ff0040, 0xf0f7003e, 0xf0ef003b, 0xf0e70039,
  13432. 0xf0df0037, 0xf0d70036, 0xf0cf0033, 0xf0c70032,
  13433. 0xf0bf0031, 0xf0b7002f, 0xf0af002e, 0xf0a7002d,
  13434. 0xf09f002d, 0xf097002c, 0xf08f002c, 0xf087002c,
  13435. 0xf07f002b, 0xf077002c, 0xf06f002c, 0xf067002d,
  13436. 0xf05f002e, 0xf05f002b, 0xf05f0029, 0xf057002a,
  13437. 0xf0570028, 0xf04f002a, 0xf047002c, 0xf047002a,
  13438. 0xf0470028, 0xf0470026, 0xf0470024, 0xf0470022,
  13439. 0xf047001f, 0xf0370027, 0xf0370024, 0xf0370022,
  13440. 0xf0370020, 0xf037001f, 0xf037001d, 0xf037001b,
  13441. 0xf037001a, 0xf0370018, 0xf0370017, 0xf027001e,
  13442. 0xf027001d, 0xf027001a, 0xf01f0024, 0xf01f0022,
  13443. 0xf01f0020, 0xf01f001f, 0xf01f001d, 0xf01f001b,
  13444. 0xf01f001a, 0xf01f0018, 0xf01f0017, 0xf01f0015,
  13445. 0xf01f0014, 0xf01f0013, 0xf01f0012, 0xf01f0011,
  13446. 0xf0170019, 0xf0170018, 0xf0170016, 0xf0170015,
  13447. 0xf0170014, 0xf0170013, 0xf0170012, 0xf0170010,
  13448. 0xf0170010, 0xf017000f, 0xf00f001d, 0xf00f001b,
  13449. 0xf00f001a, 0xf00f0018, 0xf00f0017, 0xf00f0015,
  13450. 0xf00f0015, 0xf00f0013, 0xf00f0013, 0xf00f0011,
  13451. 0xf00f0010, 0xf00f0010, 0xf00f000f, 0xf00f000e,
  13452. 0xf00f000d, 0xf00f000c, 0xf00f000b, 0xf00f000b,
  13453. 0xf00f000b, 0xf00f000a, 0xf00f0009, 0xf00f0009,
  13454. 0xf00f0009, 0xf00f0008, 0xf00f0007, 0xf00f0007,
  13455. 0xf00f0006, 0xf00f0006, 0xf00f0006, 0xf00f0006,
  13456. 0xf00f0005, 0xf00f0005, 0xf00f0005, 0xf00f0004,
  13457. 0xf00f0004, 0xf00f0004, 0xf00f0004, 0xf00f0004,
  13458. 0xf00f0004, 0xf00f0003, 0xf00f0003, 0xf00f0003,
  13459. 0xf00f0003, 0xf00f0002, 0xf00f0002, 0xf00f0002,
  13460. 0xf00f0002, 0xf00f0002, 0xf00f0002, 0xf00f0001,
  13461. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001,
  13462. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001
  13463. };
  13464. static u32 nphy_tpc_txgain_ipa_2g_2057rev5[] = {
  13465. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13466. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13467. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13468. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13469. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13470. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13471. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13472. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13473. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13474. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13475. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13476. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13477. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13478. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13479. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13480. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13481. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13482. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13483. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13484. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13485. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13486. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13487. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13488. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13489. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13490. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13491. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13492. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13493. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13494. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13495. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13496. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13497. };
  13498. static u32 nphy_tpc_txgain_ipa_2g_2057rev7[] = {
  13499. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13500. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13501. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13502. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13503. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13504. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13505. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13506. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13507. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13508. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13509. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13510. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13511. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13512. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13513. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13514. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13515. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13516. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13517. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13518. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13519. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13520. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13521. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13522. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13523. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13524. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13525. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13526. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13527. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13528. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13529. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13530. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13531. };
  13532. static u32 nphy_tpc_txgain_ipa_5g[] = {
  13533. 0x7ff70035, 0x7ff70033, 0x7ff70032, 0x7ff70031,
  13534. 0x7ff7002f, 0x7ff7002e, 0x7ff7002d, 0x7ff7002b,
  13535. 0x7ff7002a, 0x7ff70029, 0x7ff70028, 0x7ff70027,
  13536. 0x7ff70026, 0x7ff70024, 0x7ff70023, 0x7ff70022,
  13537. 0x7ef70028, 0x7ef70027, 0x7ef70026, 0x7ef70025,
  13538. 0x7ef70024, 0x7ef70023, 0x7df70028, 0x7df70027,
  13539. 0x7df70026, 0x7df70025, 0x7df70024, 0x7df70023,
  13540. 0x7df70022, 0x7cf70029, 0x7cf70028, 0x7cf70027,
  13541. 0x7cf70026, 0x7cf70025, 0x7cf70023, 0x7cf70022,
  13542. 0x7bf70029, 0x7bf70028, 0x7bf70026, 0x7bf70025,
  13543. 0x7bf70024, 0x7bf70023, 0x7bf70022, 0x7bf70021,
  13544. 0x7af70029, 0x7af70028, 0x7af70027, 0x7af70026,
  13545. 0x7af70025, 0x7af70024, 0x7af70023, 0x7af70022,
  13546. 0x79f70029, 0x79f70028, 0x79f70027, 0x79f70026,
  13547. 0x79f70025, 0x79f70024, 0x79f70023, 0x79f70022,
  13548. 0x78f70029, 0x78f70028, 0x78f70027, 0x78f70026,
  13549. 0x78f70025, 0x78f70024, 0x78f70023, 0x78f70022,
  13550. 0x77f70029, 0x77f70028, 0x77f70027, 0x77f70026,
  13551. 0x77f70025, 0x77f70024, 0x77f70023, 0x77f70022,
  13552. 0x76f70029, 0x76f70028, 0x76f70027, 0x76f70026,
  13553. 0x76f70024, 0x76f70023, 0x76f70022, 0x76f70021,
  13554. 0x75f70029, 0x75f70028, 0x75f70027, 0x75f70026,
  13555. 0x75f70025, 0x75f70024, 0x75f70023, 0x74f70029,
  13556. 0x74f70028, 0x74f70026, 0x74f70025, 0x74f70024,
  13557. 0x74f70023, 0x74f70022, 0x73f70029, 0x73f70027,
  13558. 0x73f70026, 0x73f70025, 0x73f70024, 0x73f70023,
  13559. 0x73f70022, 0x72f70028, 0x72f70027, 0x72f70026,
  13560. 0x72f70025, 0x72f70024, 0x72f70023, 0x72f70022,
  13561. 0x71f70028, 0x71f70027, 0x71f70026, 0x71f70025,
  13562. 0x71f70024, 0x71f70023, 0x70f70028, 0x70f70027,
  13563. 0x70f70026, 0x70f70024, 0x70f70023, 0x70f70022,
  13564. 0x70f70021, 0x70f70020, 0x70f70020, 0x70f7001f
  13565. };
  13566. static u32 nphy_tpc_txgain_ipa_5g_2057[] = {
  13567. 0x7f7f0044, 0x7f7f0040, 0x7f7f003c, 0x7f7f0039,
  13568. 0x7f7f0036, 0x7e7f003c, 0x7e7f0038, 0x7e7f0035,
  13569. 0x7d7f003c, 0x7d7f0039, 0x7d7f0036, 0x7d7f0033,
  13570. 0x7c7f003b, 0x7c7f0037, 0x7c7f0034, 0x7b7f003a,
  13571. 0x7b7f0036, 0x7b7f0033, 0x7a7f003c, 0x7a7f0039,
  13572. 0x7a7f0036, 0x7a7f0033, 0x797f003b, 0x797f0038,
  13573. 0x797f0035, 0x797f0032, 0x787f003b, 0x787f0038,
  13574. 0x787f0035, 0x787f0032, 0x777f003a, 0x777f0037,
  13575. 0x777f0034, 0x777f0031, 0x767f003a, 0x767f0036,
  13576. 0x767f0033, 0x767f0031, 0x757f003a, 0x757f0037,
  13577. 0x757f0034, 0x747f003c, 0x747f0039, 0x747f0036,
  13578. 0x747f0033, 0x737f003b, 0x737f0038, 0x737f0035,
  13579. 0x737f0032, 0x727f0039, 0x727f0036, 0x727f0033,
  13580. 0x727f0030, 0x717f003a, 0x717f0037, 0x717f0034,
  13581. 0x707f003b, 0x707f0038, 0x707f0035, 0x707f0032,
  13582. 0x707f002f, 0x707f002d, 0x707f002a, 0x707f0028,
  13583. 0x707f0025, 0x707f0023, 0x707f0021, 0x707f0020,
  13584. 0x707f001e, 0x707f001c, 0x707f001b, 0x707f0019,
  13585. 0x707f0018, 0x707f0016, 0x707f0015, 0x707f0014,
  13586. 0x707f0013, 0x707f0012, 0x707f0011, 0x707f0010,
  13587. 0x707f000f, 0x707f000e, 0x707f000d, 0x707f000d,
  13588. 0x707f000c, 0x707f000b, 0x707f000b, 0x707f000a,
  13589. 0x707f0009, 0x707f0009, 0x707f0008, 0x707f0008,
  13590. 0x707f0007, 0x707f0007, 0x707f0007, 0x707f0006,
  13591. 0x707f0006, 0x707f0006, 0x707f0005, 0x707f0005,
  13592. 0x707f0005, 0x707f0004, 0x707f0004, 0x707f0004,
  13593. 0x707f0004, 0x707f0004, 0x707f0003, 0x707f0003,
  13594. 0x707f0003, 0x707f0003, 0x707f0003, 0x707f0003,
  13595. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13596. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13597. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001,
  13598. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001
  13599. };
  13600. static u32 nphy_tpc_txgain_ipa_5g_2057rev7[] = {
  13601. 0x6f7f0031, 0x6f7f002e, 0x6f7f002c, 0x6f7f002a,
  13602. 0x6f7f0027, 0x6e7f002e, 0x6e7f002c, 0x6e7f002a,
  13603. 0x6d7f0030, 0x6d7f002d, 0x6d7f002a, 0x6d7f0028,
  13604. 0x6c7f0030, 0x6c7f002d, 0x6c7f002b, 0x6b7f002e,
  13605. 0x6b7f002c, 0x6b7f002a, 0x6b7f0027, 0x6a7f002e,
  13606. 0x6a7f002c, 0x6a7f002a, 0x697f0030, 0x697f002e,
  13607. 0x697f002b, 0x697f0029, 0x687f002f, 0x687f002d,
  13608. 0x687f002a, 0x687f0027, 0x677f002f, 0x677f002d,
  13609. 0x677f002a, 0x667f0031, 0x667f002e, 0x667f002c,
  13610. 0x667f002a, 0x657f0030, 0x657f002e, 0x657f002b,
  13611. 0x657f0029, 0x647f0030, 0x647f002d, 0x647f002b,
  13612. 0x647f0029, 0x637f002f, 0x637f002d, 0x637f002a,
  13613. 0x627f0030, 0x627f002d, 0x627f002b, 0x627f0029,
  13614. 0x617f0030, 0x617f002e, 0x617f002b, 0x617f0029,
  13615. 0x607f002f, 0x607f002d, 0x607f002a, 0x607f0027,
  13616. 0x607f0026, 0x607f0023, 0x607f0021, 0x607f0020,
  13617. 0x607f001e, 0x607f001c, 0x607f001a, 0x607f0019,
  13618. 0x607f0018, 0x607f0016, 0x607f0015, 0x607f0014,
  13619. 0x607f0012, 0x607f0012, 0x607f0011, 0x607f000f,
  13620. 0x607f000f, 0x607f000e, 0x607f000d, 0x607f000c,
  13621. 0x607f000c, 0x607f000b, 0x607f000b, 0x607f000a,
  13622. 0x607f0009, 0x607f0009, 0x607f0008, 0x607f0008,
  13623. 0x607f0008, 0x607f0007, 0x607f0007, 0x607f0006,
  13624. 0x607f0006, 0x607f0005, 0x607f0005, 0x607f0005,
  13625. 0x607f0005, 0x607f0005, 0x607f0004, 0x607f0004,
  13626. 0x607f0004, 0x607f0004, 0x607f0003, 0x607f0003,
  13627. 0x607f0003, 0x607f0003, 0x607f0002, 0x607f0002,
  13628. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13629. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13630. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13631. 0x607f0002, 0x607f0001, 0x607f0001, 0x607f0001,
  13632. 0x607f0001, 0x607f0001, 0x607f0001, 0x607f0001
  13633. };
  13634. static s8 nphy_papd_pga_gain_delta_ipa_2g[] = {
  13635. -114, -108, -98, -91, -84, -78, -70, -62,
  13636. -54, -46, -39, -31, -23, -15, -8, 0
  13637. };
  13638. static s8 nphy_papd_pga_gain_delta_ipa_5g[] = {
  13639. -100, -95, -89, -83, -77, -70, -63, -56,
  13640. -48, -41, -33, -25, -19, -12, -6, 0
  13641. };
  13642. static s16 nphy_papd_padgain_dlt_2g_2057rev3n4[] = {
  13643. -159, -113, -86, -72, -62, -54, -48, -43,
  13644. -39, -35, -31, -28, -25, -23, -20, -18,
  13645. -17, -15, -13, -11, -10, -8, -7, -6,
  13646. -5, -4, -3, -3, -2, -1, -1, 0
  13647. };
  13648. static s16 nphy_papd_padgain_dlt_2g_2057rev5[] = {
  13649. -109, -109, -82, -68, -58, -50, -44, -39,
  13650. -35, -31, -28, -26, -23, -21, -19, -17,
  13651. -16, -14, -13, -11, -10, -9, -8, -7,
  13652. -5, -5, -4, -3, -2, -1, -1, 0
  13653. };
  13654. static s16 nphy_papd_padgain_dlt_2g_2057rev7[] = {
  13655. -122, -122, -95, -80, -69, -61, -54, -49,
  13656. -43, -39, -35, -32, -28, -26, -23, -21,
  13657. -18, -16, -15, -13, -11, -10, -8, -7,
  13658. -6, -5, -4, -3, -2, -1, -1, 0
  13659. };
  13660. static s8 nphy_papd_pgagain_dlt_5g_2057[] = {
  13661. -107, -101, -92, -85, -78, -71, -62, -55,
  13662. -47, -39, -32, -24, -19, -12, -6, 0
  13663. };
  13664. static s8 nphy_papd_pgagain_dlt_5g_2057rev7[] = {
  13665. -110, -104, -95, -88, -81, -74, -66, -58,
  13666. -50, -44, -36, -28, -23, -15, -8, 0
  13667. };
  13668. static u8 pad_gain_codes_used_2057rev5[] = {
  13669. 20, 19, 18, 17, 16, 15, 14, 13, 12, 11,
  13670. 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
  13671. };
  13672. static u8 pad_gain_codes_used_2057rev7[] = {
  13673. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6,
  13674. 5, 4, 3, 2, 1
  13675. };
  13676. static u8 pad_all_gain_codes_2057[] = {
  13677. 31, 30, 29, 28, 27, 26, 25, 24, 23, 22,
  13678. 21, 20, 19, 18, 17, 16, 15, 14, 13, 12,
  13679. 11, 10, 9, 8, 7, 6, 5, 4, 3, 2,
  13680. 1, 0
  13681. };
  13682. static u8 pga_all_gain_codes_2057[] = {
  13683. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
  13684. };
  13685. static u32 nphy_papd_scaltbl[] = {
  13686. 0x0ae2002f, 0x0a3b0032, 0x09a70035, 0x09220038,
  13687. 0x0887003c, 0x081f003f, 0x07a20043, 0x07340047,
  13688. 0x06d2004b, 0x067a004f, 0x06170054, 0x05bf0059,
  13689. 0x0571005e, 0x051e0064, 0x04d3006a, 0x04910070,
  13690. 0x044c0077, 0x040f007e, 0x03d90085, 0x03a1008d,
  13691. 0x036f0095, 0x033d009e, 0x030b00a8, 0x02e000b2,
  13692. 0x02b900bc, 0x029200c7, 0x026d00d3, 0x024900e0,
  13693. 0x022900ed, 0x020a00fb, 0x01ec010a, 0x01d0011a,
  13694. 0x01b7012a, 0x019e013c, 0x0187014f, 0x01720162,
  13695. 0x015d0177, 0x0149018e, 0x013701a5, 0x012601be,
  13696. 0x011501d9, 0x010501f5, 0x00f70212, 0x00e90232,
  13697. 0x00dc0253, 0x00d00276, 0x00c4029c, 0x00b902c3,
  13698. 0x00af02ed, 0x00a5031a, 0x009c0349, 0x0093037a,
  13699. 0x008b03af, 0x008303e7, 0x007c0422, 0x00750461,
  13700. 0x006e04a3, 0x006804ea, 0x00620534, 0x005d0583,
  13701. 0x005805d7, 0x0053062f, 0x004e068d, 0x004a06f1
  13702. };
  13703. static u32 nphy_tpc_txgain_rev3[] = {
  13704. 0x1f410044, 0x1f410042, 0x1f410040, 0x1f41003e,
  13705. 0x1f41003c, 0x1f41003b, 0x1f410039, 0x1f410037,
  13706. 0x1e410044, 0x1e410042, 0x1e410040, 0x1e41003e,
  13707. 0x1e41003c, 0x1e41003b, 0x1e410039, 0x1e410037,
  13708. 0x1d410044, 0x1d410042, 0x1d410040, 0x1d41003e,
  13709. 0x1d41003c, 0x1d41003b, 0x1d410039, 0x1d410037,
  13710. 0x1c410044, 0x1c410042, 0x1c410040, 0x1c41003e,
  13711. 0x1c41003c, 0x1c41003b, 0x1c410039, 0x1c410037,
  13712. 0x1b410044, 0x1b410042, 0x1b410040, 0x1b41003e,
  13713. 0x1b41003c, 0x1b41003b, 0x1b410039, 0x1b410037,
  13714. 0x1a410044, 0x1a410042, 0x1a410040, 0x1a41003e,
  13715. 0x1a41003c, 0x1a41003b, 0x1a410039, 0x1a410037,
  13716. 0x19410044, 0x19410042, 0x19410040, 0x1941003e,
  13717. 0x1941003c, 0x1941003b, 0x19410039, 0x19410037,
  13718. 0x18410044, 0x18410042, 0x18410040, 0x1841003e,
  13719. 0x1841003c, 0x1841003b, 0x18410039, 0x18410037,
  13720. 0x17410044, 0x17410042, 0x17410040, 0x1741003e,
  13721. 0x1741003c, 0x1741003b, 0x17410039, 0x17410037,
  13722. 0x16410044, 0x16410042, 0x16410040, 0x1641003e,
  13723. 0x1641003c, 0x1641003b, 0x16410039, 0x16410037,
  13724. 0x15410044, 0x15410042, 0x15410040, 0x1541003e,
  13725. 0x1541003c, 0x1541003b, 0x15410039, 0x15410037,
  13726. 0x14410044, 0x14410042, 0x14410040, 0x1441003e,
  13727. 0x1441003c, 0x1441003b, 0x14410039, 0x14410037,
  13728. 0x13410044, 0x13410042, 0x13410040, 0x1341003e,
  13729. 0x1341003c, 0x1341003b, 0x13410039, 0x13410037,
  13730. 0x12410044, 0x12410042, 0x12410040, 0x1241003e,
  13731. 0x1241003c, 0x1241003b, 0x12410039, 0x12410037,
  13732. 0x11410044, 0x11410042, 0x11410040, 0x1141003e,
  13733. 0x1141003c, 0x1141003b, 0x11410039, 0x11410037,
  13734. 0x10410044, 0x10410042, 0x10410040, 0x1041003e,
  13735. 0x1041003c, 0x1041003b, 0x10410039, 0x10410037
  13736. };
  13737. static u32 nphy_tpc_txgain_HiPwrEPA[] = {
  13738. 0x0f410044, 0x0f410042, 0x0f410040, 0x0f41003e,
  13739. 0x0f41003c, 0x0f41003b, 0x0f410039, 0x0f410037,
  13740. 0x0e410044, 0x0e410042, 0x0e410040, 0x0e41003e,
  13741. 0x0e41003c, 0x0e41003b, 0x0e410039, 0x0e410037,
  13742. 0x0d410044, 0x0d410042, 0x0d410040, 0x0d41003e,
  13743. 0x0d41003c, 0x0d41003b, 0x0d410039, 0x0d410037,
  13744. 0x0c410044, 0x0c410042, 0x0c410040, 0x0c41003e,
  13745. 0x0c41003c, 0x0c41003b, 0x0c410039, 0x0c410037,
  13746. 0x0b410044, 0x0b410042, 0x0b410040, 0x0b41003e,
  13747. 0x0b41003c, 0x0b41003b, 0x0b410039, 0x0b410037,
  13748. 0x0a410044, 0x0a410042, 0x0a410040, 0x0a41003e,
  13749. 0x0a41003c, 0x0a41003b, 0x0a410039, 0x0a410037,
  13750. 0x09410044, 0x09410042, 0x09410040, 0x0941003e,
  13751. 0x0941003c, 0x0941003b, 0x09410039, 0x09410037,
  13752. 0x08410044, 0x08410042, 0x08410040, 0x0841003e,
  13753. 0x0841003c, 0x0841003b, 0x08410039, 0x08410037,
  13754. 0x07410044, 0x07410042, 0x07410040, 0x0741003e,
  13755. 0x0741003c, 0x0741003b, 0x07410039, 0x07410037,
  13756. 0x06410044, 0x06410042, 0x06410040, 0x0641003e,
  13757. 0x0641003c, 0x0641003b, 0x06410039, 0x06410037,
  13758. 0x05410044, 0x05410042, 0x05410040, 0x0541003e,
  13759. 0x0541003c, 0x0541003b, 0x05410039, 0x05410037,
  13760. 0x04410044, 0x04410042, 0x04410040, 0x0441003e,
  13761. 0x0441003c, 0x0441003b, 0x04410039, 0x04410037,
  13762. 0x03410044, 0x03410042, 0x03410040, 0x0341003e,
  13763. 0x0341003c, 0x0341003b, 0x03410039, 0x03410037,
  13764. 0x02410044, 0x02410042, 0x02410040, 0x0241003e,
  13765. 0x0241003c, 0x0241003b, 0x02410039, 0x02410037,
  13766. 0x01410044, 0x01410042, 0x01410040, 0x0141003e,
  13767. 0x0141003c, 0x0141003b, 0x01410039, 0x01410037,
  13768. 0x00410044, 0x00410042, 0x00410040, 0x0041003e,
  13769. 0x0041003c, 0x0041003b, 0x00410039, 0x00410037
  13770. };
  13771. static u32 nphy_tpc_txgain_epa_2057rev3[] = {
  13772. 0x80f90040, 0x80e10040, 0x80e1003c, 0x80c9003d,
  13773. 0x80b9003c, 0x80a9003d, 0x80a1003c, 0x8099003b,
  13774. 0x8091003b, 0x8089003a, 0x8081003a, 0x80790039,
  13775. 0x80710039, 0x8069003a, 0x8061003b, 0x8059003d,
  13776. 0x8051003f, 0x80490042, 0x8049003e, 0x8049003b,
  13777. 0x8041003e, 0x8041003b, 0x8039003e, 0x8039003b,
  13778. 0x80390038, 0x80390035, 0x8031003a, 0x80310036,
  13779. 0x80310033, 0x8029003a, 0x80290037, 0x80290034,
  13780. 0x80290031, 0x80210039, 0x80210036, 0x80210033,
  13781. 0x80210030, 0x8019003c, 0x80190039, 0x80190036,
  13782. 0x80190033, 0x80190030, 0x8019002d, 0x8019002b,
  13783. 0x80190028, 0x8011003a, 0x80110036, 0x80110033,
  13784. 0x80110030, 0x8011002e, 0x8011002b, 0x80110029,
  13785. 0x80110027, 0x80110024, 0x80110022, 0x80110020,
  13786. 0x8011001f, 0x8011001d, 0x8009003a, 0x80090037,
  13787. 0x80090034, 0x80090031, 0x8009002e, 0x8009002c,
  13788. 0x80090029, 0x80090027, 0x80090025, 0x80090023,
  13789. 0x80090021, 0x8009001f, 0x8009001d, 0x8009011d,
  13790. 0x8009021d, 0x8009031d, 0x8009041d, 0x8009051d,
  13791. 0x8009061d, 0x8009071d, 0x8009071d, 0x8009071d,
  13792. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13793. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13794. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13795. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13796. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13797. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13798. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13799. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13800. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13801. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13802. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13803. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d
  13804. };
  13805. static u32 nphy_tpc_txgain_epa_2057rev5[] = {
  13806. 0x10f90040, 0x10e10040, 0x10e1003c, 0x10c9003d,
  13807. 0x10b9003c, 0x10a9003d, 0x10a1003c, 0x1099003b,
  13808. 0x1091003b, 0x1089003a, 0x1081003a, 0x10790039,
  13809. 0x10710039, 0x1069003a, 0x1061003b, 0x1059003d,
  13810. 0x1051003f, 0x10490042, 0x1049003e, 0x1049003b,
  13811. 0x1041003e, 0x1041003b, 0x1039003e, 0x1039003b,
  13812. 0x10390038, 0x10390035, 0x1031003a, 0x10310036,
  13813. 0x10310033, 0x1029003a, 0x10290037, 0x10290034,
  13814. 0x10290031, 0x10210039, 0x10210036, 0x10210033,
  13815. 0x10210030, 0x1019003c, 0x10190039, 0x10190036,
  13816. 0x10190033, 0x10190030, 0x1019002d, 0x1019002b,
  13817. 0x10190028, 0x1011003a, 0x10110036, 0x10110033,
  13818. 0x10110030, 0x1011002e, 0x1011002b, 0x10110029,
  13819. 0x10110027, 0x10110024, 0x10110022, 0x10110020,
  13820. 0x1011001f, 0x1011001d, 0x1009003a, 0x10090037,
  13821. 0x10090034, 0x10090031, 0x1009002e, 0x1009002c,
  13822. 0x10090029, 0x10090027, 0x10090025, 0x10090023,
  13823. 0x10090021, 0x1009001f, 0x1009001d, 0x1009001b,
  13824. 0x1009001a, 0x10090018, 0x10090017, 0x10090016,
  13825. 0x10090015, 0x10090013, 0x10090012, 0x10090011,
  13826. 0x10090010, 0x1009000f, 0x1009000f, 0x1009000e,
  13827. 0x1009000d, 0x1009000c, 0x1009000c, 0x1009000b,
  13828. 0x1009000a, 0x1009000a, 0x10090009, 0x10090009,
  13829. 0x10090008, 0x10090008, 0x10090007, 0x10090007,
  13830. 0x10090007, 0x10090006, 0x10090006, 0x10090005,
  13831. 0x10090005, 0x10090005, 0x10090005, 0x10090004,
  13832. 0x10090004, 0x10090004, 0x10090004, 0x10090003,
  13833. 0x10090003, 0x10090003, 0x10090003, 0x10090003,
  13834. 0x10090003, 0x10090002, 0x10090002, 0x10090002,
  13835. 0x10090002, 0x10090002, 0x10090002, 0x10090002,
  13836. 0x10090002, 0x10090002, 0x10090001, 0x10090001,
  13837. 0x10090001, 0x10090001, 0x10090001, 0x10090001
  13838. };
  13839. static u32 nphy_tpc_5GHz_txgain_rev3[] = {
  13840. 0xcff70044, 0xcff70042, 0xcff70040, 0xcff7003e,
  13841. 0xcff7003c, 0xcff7003b, 0xcff70039, 0xcff70037,
  13842. 0xcef70044, 0xcef70042, 0xcef70040, 0xcef7003e,
  13843. 0xcef7003c, 0xcef7003b, 0xcef70039, 0xcef70037,
  13844. 0xcdf70044, 0xcdf70042, 0xcdf70040, 0xcdf7003e,
  13845. 0xcdf7003c, 0xcdf7003b, 0xcdf70039, 0xcdf70037,
  13846. 0xccf70044, 0xccf70042, 0xccf70040, 0xccf7003e,
  13847. 0xccf7003c, 0xccf7003b, 0xccf70039, 0xccf70037,
  13848. 0xcbf70044, 0xcbf70042, 0xcbf70040, 0xcbf7003e,
  13849. 0xcbf7003c, 0xcbf7003b, 0xcbf70039, 0xcbf70037,
  13850. 0xcaf70044, 0xcaf70042, 0xcaf70040, 0xcaf7003e,
  13851. 0xcaf7003c, 0xcaf7003b, 0xcaf70039, 0xcaf70037,
  13852. 0xc9f70044, 0xc9f70042, 0xc9f70040, 0xc9f7003e,
  13853. 0xc9f7003c, 0xc9f7003b, 0xc9f70039, 0xc9f70037,
  13854. 0xc8f70044, 0xc8f70042, 0xc8f70040, 0xc8f7003e,
  13855. 0xc8f7003c, 0xc8f7003b, 0xc8f70039, 0xc8f70037,
  13856. 0xc7f70044, 0xc7f70042, 0xc7f70040, 0xc7f7003e,
  13857. 0xc7f7003c, 0xc7f7003b, 0xc7f70039, 0xc7f70037,
  13858. 0xc6f70044, 0xc6f70042, 0xc6f70040, 0xc6f7003e,
  13859. 0xc6f7003c, 0xc6f7003b, 0xc6f70039, 0xc6f70037,
  13860. 0xc5f70044, 0xc5f70042, 0xc5f70040, 0xc5f7003e,
  13861. 0xc5f7003c, 0xc5f7003b, 0xc5f70039, 0xc5f70037,
  13862. 0xc4f70044, 0xc4f70042, 0xc4f70040, 0xc4f7003e,
  13863. 0xc4f7003c, 0xc4f7003b, 0xc4f70039, 0xc4f70037,
  13864. 0xc3f70044, 0xc3f70042, 0xc3f70040, 0xc3f7003e,
  13865. 0xc3f7003c, 0xc3f7003b, 0xc3f70039, 0xc3f70037,
  13866. 0xc2f70044, 0xc2f70042, 0xc2f70040, 0xc2f7003e,
  13867. 0xc2f7003c, 0xc2f7003b, 0xc2f70039, 0xc2f70037,
  13868. 0xc1f70044, 0xc1f70042, 0xc1f70040, 0xc1f7003e,
  13869. 0xc1f7003c, 0xc1f7003b, 0xc1f70039, 0xc1f70037,
  13870. 0xc0f70044, 0xc0f70042, 0xc0f70040, 0xc0f7003e,
  13871. 0xc0f7003c, 0xc0f7003b, 0xc0f70039, 0xc0f70037
  13872. };
  13873. static u32 nphy_tpc_5GHz_txgain_rev4[] = {
  13874. 0x2ff20044, 0x2ff20042, 0x2ff20040, 0x2ff2003e,
  13875. 0x2ff2003c, 0x2ff2003b, 0x2ff20039, 0x2ff20037,
  13876. 0x2ef20044, 0x2ef20042, 0x2ef20040, 0x2ef2003e,
  13877. 0x2ef2003c, 0x2ef2003b, 0x2ef20039, 0x2ef20037,
  13878. 0x2df20044, 0x2df20042, 0x2df20040, 0x2df2003e,
  13879. 0x2df2003c, 0x2df2003b, 0x2df20039, 0x2df20037,
  13880. 0x2cf20044, 0x2cf20042, 0x2cf20040, 0x2cf2003e,
  13881. 0x2cf2003c, 0x2cf2003b, 0x2cf20039, 0x2cf20037,
  13882. 0x2bf20044, 0x2bf20042, 0x2bf20040, 0x2bf2003e,
  13883. 0x2bf2003c, 0x2bf2003b, 0x2bf20039, 0x2bf20037,
  13884. 0x2af20044, 0x2af20042, 0x2af20040, 0x2af2003e,
  13885. 0x2af2003c, 0x2af2003b, 0x2af20039, 0x2af20037,
  13886. 0x29f20044, 0x29f20042, 0x29f20040, 0x29f2003e,
  13887. 0x29f2003c, 0x29f2003b, 0x29f20039, 0x29f20037,
  13888. 0x28f20044, 0x28f20042, 0x28f20040, 0x28f2003e,
  13889. 0x28f2003c, 0x28f2003b, 0x28f20039, 0x28f20037,
  13890. 0x27f20044, 0x27f20042, 0x27f20040, 0x27f2003e,
  13891. 0x27f2003c, 0x27f2003b, 0x27f20039, 0x27f20037,
  13892. 0x26f20044, 0x26f20042, 0x26f20040, 0x26f2003e,
  13893. 0x26f2003c, 0x26f2003b, 0x26f20039, 0x26f20037,
  13894. 0x25f20044, 0x25f20042, 0x25f20040, 0x25f2003e,
  13895. 0x25f2003c, 0x25f2003b, 0x25f20039, 0x25f20037,
  13896. 0x24f20044, 0x24f20042, 0x24f20040, 0x24f2003e,
  13897. 0x24f2003c, 0x24f2003b, 0x24f20039, 0x24f20038,
  13898. 0x23f20041, 0x23f20040, 0x23f2003f, 0x23f2003e,
  13899. 0x23f2003c, 0x23f2003b, 0x23f20039, 0x23f20037,
  13900. 0x22f20044, 0x22f20042, 0x22f20040, 0x22f2003e,
  13901. 0x22f2003c, 0x22f2003b, 0x22f20039, 0x22f20037,
  13902. 0x21f20044, 0x21f20042, 0x21f20040, 0x21f2003e,
  13903. 0x21f2003c, 0x21f2003b, 0x21f20039, 0x21f20037,
  13904. 0x20d20043, 0x20d20041, 0x20d2003e, 0x20d2003c,
  13905. 0x20d2003a, 0x20d20038, 0x20d20036, 0x20d20034
  13906. };
  13907. static u32 nphy_tpc_5GHz_txgain_rev5[] = {
  13908. 0x0f62004a, 0x0f620048, 0x0f620046, 0x0f620044,
  13909. 0x0f620042, 0x0f620040, 0x0f62003e, 0x0f62003c,
  13910. 0x0e620044, 0x0e620042, 0x0e620040, 0x0e62003e,
  13911. 0x0e62003c, 0x0e62003d, 0x0e62003b, 0x0e62003a,
  13912. 0x0d620043, 0x0d620041, 0x0d620040, 0x0d62003e,
  13913. 0x0d62003d, 0x0d62003c, 0x0d62003b, 0x0d62003a,
  13914. 0x0c620041, 0x0c620040, 0x0c62003f, 0x0c62003e,
  13915. 0x0c62003c, 0x0c62003b, 0x0c620039, 0x0c620037,
  13916. 0x0b620046, 0x0b620044, 0x0b620042, 0x0b620040,
  13917. 0x0b62003e, 0x0b62003c, 0x0b62003b, 0x0b62003a,
  13918. 0x0a620041, 0x0a620040, 0x0a62003e, 0x0a62003c,
  13919. 0x0a62003b, 0x0a62003a, 0x0a620039, 0x0a620038,
  13920. 0x0962003e, 0x0962003d, 0x0962003c, 0x0962003b,
  13921. 0x09620039, 0x09620037, 0x09620035, 0x09620033,
  13922. 0x08620044, 0x08620042, 0x08620040, 0x0862003e,
  13923. 0x0862003c, 0x0862003b, 0x0862003a, 0x08620039,
  13924. 0x07620043, 0x07620042, 0x07620040, 0x0762003f,
  13925. 0x0762003d, 0x0762003b, 0x0762003a, 0x07620039,
  13926. 0x0662003e, 0x0662003d, 0x0662003c, 0x0662003b,
  13927. 0x06620039, 0x06620037, 0x06620035, 0x06620033,
  13928. 0x05620046, 0x05620044, 0x05620042, 0x05620040,
  13929. 0x0562003e, 0x0562003c, 0x0562003b, 0x05620039,
  13930. 0x04620044, 0x04620042, 0x04620040, 0x0462003e,
  13931. 0x0462003c, 0x0462003b, 0x04620039, 0x04620038,
  13932. 0x0362003c, 0x0362003b, 0x0362003a, 0x03620039,
  13933. 0x03620038, 0x03620037, 0x03620035, 0x03620033,
  13934. 0x0262004c, 0x0262004a, 0x02620048, 0x02620047,
  13935. 0x02620046, 0x02620044, 0x02620043, 0x02620042,
  13936. 0x0162004a, 0x01620048, 0x01620046, 0x01620044,
  13937. 0x01620043, 0x01620042, 0x01620041, 0x01620040,
  13938. 0x00620042, 0x00620040, 0x0062003e, 0x0062003c,
  13939. 0x0062003b, 0x00620039, 0x00620037, 0x00620035
  13940. };
  13941. static u32 nphy_tpc_5GHz_txgain_HiPwrEPA[] = {
  13942. 0x2ff10044, 0x2ff10042, 0x2ff10040, 0x2ff1003e,
  13943. 0x2ff1003c, 0x2ff1003b, 0x2ff10039, 0x2ff10037,
  13944. 0x2ef10044, 0x2ef10042, 0x2ef10040, 0x2ef1003e,
  13945. 0x2ef1003c, 0x2ef1003b, 0x2ef10039, 0x2ef10037,
  13946. 0x2df10044, 0x2df10042, 0x2df10040, 0x2df1003e,
  13947. 0x2df1003c, 0x2df1003b, 0x2df10039, 0x2df10037,
  13948. 0x2cf10044, 0x2cf10042, 0x2cf10040, 0x2cf1003e,
  13949. 0x2cf1003c, 0x2cf1003b, 0x2cf10039, 0x2cf10037,
  13950. 0x2bf10044, 0x2bf10042, 0x2bf10040, 0x2bf1003e,
  13951. 0x2bf1003c, 0x2bf1003b, 0x2bf10039, 0x2bf10037,
  13952. 0x2af10044, 0x2af10042, 0x2af10040, 0x2af1003e,
  13953. 0x2af1003c, 0x2af1003b, 0x2af10039, 0x2af10037,
  13954. 0x29f10044, 0x29f10042, 0x29f10040, 0x29f1003e,
  13955. 0x29f1003c, 0x29f1003b, 0x29f10039, 0x29f10037,
  13956. 0x28f10044, 0x28f10042, 0x28f10040, 0x28f1003e,
  13957. 0x28f1003c, 0x28f1003b, 0x28f10039, 0x28f10037,
  13958. 0x27f10044, 0x27f10042, 0x27f10040, 0x27f1003e,
  13959. 0x27f1003c, 0x27f1003b, 0x27f10039, 0x27f10037,
  13960. 0x26f10044, 0x26f10042, 0x26f10040, 0x26f1003e,
  13961. 0x26f1003c, 0x26f1003b, 0x26f10039, 0x26f10037,
  13962. 0x25f10044, 0x25f10042, 0x25f10040, 0x25f1003e,
  13963. 0x25f1003c, 0x25f1003b, 0x25f10039, 0x25f10037,
  13964. 0x24f10044, 0x24f10042, 0x24f10040, 0x24f1003e,
  13965. 0x24f1003c, 0x24f1003b, 0x24f10039, 0x24f10038,
  13966. 0x23f10041, 0x23f10040, 0x23f1003f, 0x23f1003e,
  13967. 0x23f1003c, 0x23f1003b, 0x23f10039, 0x23f10037,
  13968. 0x22f10044, 0x22f10042, 0x22f10040, 0x22f1003e,
  13969. 0x22f1003c, 0x22f1003b, 0x22f10039, 0x22f10037,
  13970. 0x21f10044, 0x21f10042, 0x21f10040, 0x21f1003e,
  13971. 0x21f1003c, 0x21f1003b, 0x21f10039, 0x21f10037,
  13972. 0x20d10043, 0x20d10041, 0x20d1003e, 0x20d1003c,
  13973. 0x20d1003a, 0x20d10038, 0x20d10036, 0x20d10034
  13974. };
  13975. static u8 ant_sw_ctrl_tbl_rev8_2o3[] = { 0x14, 0x18 };
  13976. static u8 ant_sw_ctrl_tbl_rev8[] = { 0x4, 0x8, 0x4, 0x8, 0x11, 0x12 };
  13977. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core0[] = {
  13978. 0x09, 0x0a, 0x15, 0x16, 0x09, 0x0a
  13979. };
  13980. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core1[] = {
  13981. 0x09, 0x0a, 0x09, 0x0a, 0x15, 0x16
  13982. };
  13983. bool wlc_phy_bist_check_phy(struct brcms_phy_pub *pih)
  13984. {
  13985. struct brcms_phy *pi = (struct brcms_phy *) pih;
  13986. u32 phybist0, phybist1, phybist2, phybist3, phybist4;
  13987. if (NREV_GE(pi->pubpi.phy_rev, 16))
  13988. return true;
  13989. phybist0 = read_phy_reg(pi, 0x0e);
  13990. phybist1 = read_phy_reg(pi, 0x0f);
  13991. phybist2 = read_phy_reg(pi, 0xea);
  13992. phybist3 = read_phy_reg(pi, 0xeb);
  13993. phybist4 = read_phy_reg(pi, 0x156);
  13994. if ((phybist0 == 0) && (phybist1 == 0x4000) && (phybist2 == 0x1fe0) &&
  13995. (phybist3 == 0) && (phybist4 == 0))
  13996. return true;
  13997. return false;
  13998. }
  13999. static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi)
  14000. {
  14001. u16 addr, val;
  14002. val = 0x1e1f;
  14003. for (addr = (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT);
  14004. addr <= (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT_END); addr++) {
  14005. write_phy_reg(pi, addr, val);
  14006. if (addr == (NPHY_TO_BPHY_OFF + 0x97))
  14007. val = 0x3e3f;
  14008. else
  14009. val -= 0x0202;
  14010. }
  14011. write_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_STEP, 0x668);
  14012. }
  14013. void
  14014. wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14015. u32 width, const void *data)
  14016. {
  14017. struct phytbl_info tbl;
  14018. tbl.tbl_id = id;
  14019. tbl.tbl_len = len;
  14020. tbl.tbl_offset = offset;
  14021. tbl.tbl_width = width;
  14022. tbl.tbl_ptr = data;
  14023. wlc_phy_write_table_nphy(pi, &tbl);
  14024. }
  14025. void
  14026. wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14027. u32 width, void *data)
  14028. {
  14029. struct phytbl_info tbl;
  14030. tbl.tbl_id = id;
  14031. tbl.tbl_len = len;
  14032. tbl.tbl_offset = offset;
  14033. tbl.tbl_width = width;
  14034. tbl.tbl_ptr = data;
  14035. wlc_phy_read_table_nphy(pi, &tbl);
  14036. }
  14037. static void
  14038. wlc_phy_static_table_download_nphy(struct brcms_phy *pi)
  14039. {
  14040. uint idx;
  14041. if (NREV_GE(pi->pubpi.phy_rev, 16)) {
  14042. for (idx = 0; idx < mimophytbl_info_sz_rev16; idx++)
  14043. wlc_phy_write_table_nphy(pi,
  14044. &mimophytbl_info_rev16[idx]);
  14045. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14046. for (idx = 0; idx < mimophytbl_info_sz_rev7; idx++)
  14047. wlc_phy_write_table_nphy(pi,
  14048. &mimophytbl_info_rev7[idx]);
  14049. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14050. for (idx = 0; idx < mimophytbl_info_sz_rev3; idx++)
  14051. wlc_phy_write_table_nphy(pi,
  14052. &mimophytbl_info_rev3[idx]);
  14053. } else {
  14054. for (idx = 0; idx < mimophytbl_info_sz_rev0; idx++)
  14055. wlc_phy_write_table_nphy(pi,
  14056. &mimophytbl_info_rev0[idx]);
  14057. }
  14058. }
  14059. static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi)
  14060. {
  14061. uint idx = 0;
  14062. u8 antswctrllut;
  14063. if (pi->phy_init_por)
  14064. wlc_phy_static_table_download_nphy(pi);
  14065. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14066. antswctrllut = CHSPEC_IS2G(pi->radio_chanspec) ?
  14067. pi->srom_fem2g.antswctrllut : pi->srom_fem5g.
  14068. antswctrllut;
  14069. switch (antswctrllut) {
  14070. case 0:
  14071. break;
  14072. case 1:
  14073. if (pi->aa2g == 7)
  14074. wlc_phy_table_write_nphy(
  14075. pi,
  14076. NPHY_TBL_ID_ANTSWCTRLLUT,
  14077. 2, 0x21, 8,
  14078. &ant_sw_ctrl_tbl_rev8_2o3[0]);
  14079. else
  14080. wlc_phy_table_write_nphy(
  14081. pi,
  14082. NPHY_TBL_ID_ANTSWCTRLLUT,
  14083. 2, 0x21, 8,
  14084. &ant_sw_ctrl_tbl_rev8
  14085. [0]);
  14086. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14087. 2, 0x25, 8,
  14088. &ant_sw_ctrl_tbl_rev8[2]);
  14089. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14090. 2, 0x29, 8,
  14091. &ant_sw_ctrl_tbl_rev8[4]);
  14092. break;
  14093. case 2:
  14094. wlc_phy_table_write_nphy(
  14095. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14096. 2, 0x1, 8,
  14097. &ant_sw_ctrl_tbl_rev8_2057v7_core0[0]);
  14098. wlc_phy_table_write_nphy(
  14099. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14100. 2, 0x5, 8,
  14101. &ant_sw_ctrl_tbl_rev8_2057v7_core0[2]);
  14102. wlc_phy_table_write_nphy(
  14103. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14104. 2, 0x9, 8,
  14105. &ant_sw_ctrl_tbl_rev8_2057v7_core0[4]);
  14106. wlc_phy_table_write_nphy(
  14107. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14108. 2, 0x21, 8,
  14109. &ant_sw_ctrl_tbl_rev8_2057v7_core1[0]);
  14110. wlc_phy_table_write_nphy(
  14111. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14112. 2, 0x25, 8,
  14113. &ant_sw_ctrl_tbl_rev8_2057v7_core1[2]);
  14114. wlc_phy_table_write_nphy(
  14115. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14116. 2, 0x29, 8,
  14117. &ant_sw_ctrl_tbl_rev8_2057v7_core1[4]);
  14118. break;
  14119. default:
  14120. break;
  14121. }
  14122. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14123. for (idx = 0; idx < mimophytbl_info_sz_rev3_volatile; idx++) {
  14124. if (idx == ANT_SWCTRL_TBL_REV3_IDX) {
  14125. antswctrllut =
  14126. CHSPEC_IS2G(pi->radio_chanspec) ?
  14127. pi->srom_fem2g.antswctrllut :
  14128. pi->srom_fem5g.antswctrllut;
  14129. switch (antswctrllut) {
  14130. case 0:
  14131. wlc_phy_write_table_nphy(
  14132. pi,
  14133. &mimophytbl_info_rev3_volatile
  14134. [idx]);
  14135. break;
  14136. case 1:
  14137. wlc_phy_write_table_nphy(
  14138. pi,
  14139. &mimophytbl_info_rev3_volatile1
  14140. [idx]);
  14141. break;
  14142. case 2:
  14143. wlc_phy_write_table_nphy(
  14144. pi,
  14145. &mimophytbl_info_rev3_volatile2
  14146. [idx]);
  14147. break;
  14148. case 3:
  14149. wlc_phy_write_table_nphy(
  14150. pi,
  14151. &mimophytbl_info_rev3_volatile3
  14152. [idx]);
  14153. break;
  14154. default:
  14155. break;
  14156. }
  14157. } else {
  14158. wlc_phy_write_table_nphy(
  14159. pi,
  14160. &mimophytbl_info_rev3_volatile[idx]);
  14161. }
  14162. }
  14163. } else {
  14164. for (idx = 0; idx < mimophytbl_info_sz_rev0_volatile; idx++)
  14165. wlc_phy_write_table_nphy(pi,
  14166. &mimophytbl_info_rev0_volatile
  14167. [idx]);
  14168. }
  14169. }
  14170. static void
  14171. wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay)
  14172. {
  14173. write_phy_reg(pi, 0x77, holdoff);
  14174. write_phy_reg(pi, 0xb4, delay);
  14175. }
  14176. void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs)
  14177. {
  14178. u16 holdoff, delay;
  14179. if (rifs) {
  14180. holdoff = 0x10;
  14181. delay = 0x258;
  14182. } else {
  14183. holdoff = 0x15;
  14184. delay = 0x320;
  14185. }
  14186. wlc_phy_write_txmacreg_nphy(pi, holdoff, delay);
  14187. if (pi && pi->sh && (pi->sh->_rifs_phy != rifs))
  14188. pi->sh->_rifs_phy = rifs;
  14189. }
  14190. static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi)
  14191. {
  14192. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14193. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14194. pi->phy_5g_pwrgain = true;
  14195. return;
  14196. }
  14197. pi->nphy_txpwrctrl = PHY_TPC_HW_OFF;
  14198. pi->phy_5g_pwrgain = false;
  14199. if ((pi->sh->boardflags2 & BFL2_TXPWRCTRL_EN) &&
  14200. NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4))
  14201. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14202. else if ((pi->sh->sromrev >= 4)
  14203. && (pi->sh->boardflags2 & BFL2_5G_PWRGAIN))
  14204. pi->phy_5g_pwrgain = true;
  14205. }
  14206. static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi)
  14207. {
  14208. u16 bw40po, cddpo, stbcpo, bwduppo;
  14209. uint band_num;
  14210. struct phy_shim_info *shim = pi->sh->physhim;
  14211. if (pi->sh->sromrev >= 9)
  14212. return;
  14213. bw40po = (u16) wlapi_getintvar(shim, BRCMS_SROM_BW40PO);
  14214. pi->bw402gpo = bw40po & 0xf;
  14215. pi->bw405gpo = (bw40po & 0xf0) >> 4;
  14216. pi->bw405glpo = (bw40po & 0xf00) >> 8;
  14217. pi->bw405ghpo = (bw40po & 0xf000) >> 12;
  14218. cddpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_CDDPO);
  14219. pi->cdd2gpo = cddpo & 0xf;
  14220. pi->cdd5gpo = (cddpo & 0xf0) >> 4;
  14221. pi->cdd5glpo = (cddpo & 0xf00) >> 8;
  14222. pi->cdd5ghpo = (cddpo & 0xf000) >> 12;
  14223. stbcpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_STBCPO);
  14224. pi->stbc2gpo = stbcpo & 0xf;
  14225. pi->stbc5gpo = (stbcpo & 0xf0) >> 4;
  14226. pi->stbc5glpo = (stbcpo & 0xf00) >> 8;
  14227. pi->stbc5ghpo = (stbcpo & 0xf000) >> 12;
  14228. bwduppo = (u16) wlapi_getintvar(shim, BRCMS_SROM_BWDUPPO);
  14229. pi->bwdup2gpo = bwduppo & 0xf;
  14230. pi->bwdup5gpo = (bwduppo & 0xf0) >> 4;
  14231. pi->bwdup5glpo = (bwduppo & 0xf00) >> 8;
  14232. pi->bwdup5ghpo = (bwduppo & 0xf000) >> 12;
  14233. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  14234. band_num++) {
  14235. switch (band_num) {
  14236. case 0:
  14237. pi->nphy_txpid2g[PHY_CORE_0] =
  14238. (u8) wlapi_getintvar(shim,
  14239. BRCMS_SROM_TXPID2GA0);
  14240. pi->nphy_txpid2g[PHY_CORE_1] =
  14241. (u8) wlapi_getintvar(shim,
  14242. BRCMS_SROM_TXPID2GA1);
  14243. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_2g =
  14244. (s8) wlapi_getintvar(shim,
  14245. BRCMS_SROM_MAXP2GA0);
  14246. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_2g =
  14247. (s8) wlapi_getintvar(shim,
  14248. BRCMS_SROM_MAXP2GA1);
  14249. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_a1 =
  14250. (s16) wlapi_getintvar(shim,
  14251. BRCMS_SROM_PA2GW0A0);
  14252. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_a1 =
  14253. (s16) wlapi_getintvar(shim,
  14254. BRCMS_SROM_PA2GW0A1);
  14255. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b0 =
  14256. (s16) wlapi_getintvar(shim,
  14257. BRCMS_SROM_PA2GW1A0);
  14258. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b0 =
  14259. (s16) wlapi_getintvar(shim,
  14260. BRCMS_SROM_PA2GW1A1);
  14261. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b1 =
  14262. (s16) wlapi_getintvar(shim,
  14263. BRCMS_SROM_PA2GW2A0);
  14264. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b1 =
  14265. (s16) wlapi_getintvar(shim,
  14266. BRCMS_SROM_PA2GW2A1);
  14267. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_2g =
  14268. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA0);
  14269. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_2g =
  14270. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA1);
  14271. pi->cck2gpo = (u16) wlapi_getintvar(shim,
  14272. BRCMS_SROM_CCK2GPO);
  14273. pi->ofdm2gpo =
  14274. (u32) wlapi_getintvar(shim,
  14275. BRCMS_SROM_OFDM2GPO);
  14276. pi->mcs2gpo[0] =
  14277. (u16) wlapi_getintvar(shim,
  14278. BRCMS_SROM_MCS2GPO0);
  14279. pi->mcs2gpo[1] =
  14280. (u16) wlapi_getintvar(shim,
  14281. BRCMS_SROM_MCS2GPO1);
  14282. pi->mcs2gpo[2] =
  14283. (u16) wlapi_getintvar(shim,
  14284. BRCMS_SROM_MCS2GPO2);
  14285. pi->mcs2gpo[3] =
  14286. (u16) wlapi_getintvar(shim,
  14287. BRCMS_SROM_MCS2GPO3);
  14288. pi->mcs2gpo[4] =
  14289. (u16) wlapi_getintvar(shim,
  14290. BRCMS_SROM_MCS2GPO4);
  14291. pi->mcs2gpo[5] =
  14292. (u16) wlapi_getintvar(shim,
  14293. BRCMS_SROM_MCS2GPO5);
  14294. pi->mcs2gpo[6] =
  14295. (u16) wlapi_getintvar(shim,
  14296. BRCMS_SROM_MCS2GPO6);
  14297. pi->mcs2gpo[7] =
  14298. (u16) wlapi_getintvar(shim,
  14299. BRCMS_SROM_MCS2GPO7);
  14300. break;
  14301. case 1:
  14302. pi->nphy_txpid5g[PHY_CORE_0] =
  14303. (u8) wlapi_getintvar(shim,
  14304. BRCMS_SROM_TXPID5GA0);
  14305. pi->nphy_txpid5g[PHY_CORE_1] =
  14306. (u8) wlapi_getintvar(shim,
  14307. BRCMS_SROM_TXPID5GA1);
  14308. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_5gm =
  14309. (s8) wlapi_getintvar(shim, BRCMS_SROM_MAXP5GA0);
  14310. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_5gm =
  14311. (s8) wlapi_getintvar(shim,
  14312. BRCMS_SROM_MAXP5GA1);
  14313. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_a1 =
  14314. (s16) wlapi_getintvar(shim,
  14315. BRCMS_SROM_PA5GW0A0);
  14316. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_a1 =
  14317. (s16) wlapi_getintvar(shim,
  14318. BRCMS_SROM_PA5GW0A1);
  14319. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b0 =
  14320. (s16) wlapi_getintvar(shim,
  14321. BRCMS_SROM_PA5GW1A0);
  14322. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b0 =
  14323. (s16) wlapi_getintvar(shim,
  14324. BRCMS_SROM_PA5GW1A1);
  14325. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b1 =
  14326. (s16) wlapi_getintvar(shim,
  14327. BRCMS_SROM_PA5GW2A0);
  14328. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b1 =
  14329. (s16) wlapi_getintvar(shim,
  14330. BRCMS_SROM_PA5GW2A1);
  14331. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_5gm =
  14332. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA0);
  14333. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_5gm =
  14334. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA1);
  14335. pi->ofdm5gpo =
  14336. (u32) wlapi_getintvar(shim,
  14337. BRCMS_SROM_OFDM5GPO);
  14338. pi->mcs5gpo[0] =
  14339. (u16) wlapi_getintvar(shim,
  14340. BRCMS_SROM_MCS5GPO0);
  14341. pi->mcs5gpo[1] =
  14342. (u16) wlapi_getintvar(shim,
  14343. BRCMS_SROM_MCS5GPO1);
  14344. pi->mcs5gpo[2] =
  14345. (u16) wlapi_getintvar(shim,
  14346. BRCMS_SROM_MCS5GPO2);
  14347. pi->mcs5gpo[3] =
  14348. (u16) wlapi_getintvar(shim,
  14349. BRCMS_SROM_MCS5GPO3);
  14350. pi->mcs5gpo[4] =
  14351. (u16) wlapi_getintvar(shim,
  14352. BRCMS_SROM_MCS5GPO4);
  14353. pi->mcs5gpo[5] =
  14354. (u16) wlapi_getintvar(shim,
  14355. BRCMS_SROM_MCS5GPO5);
  14356. pi->mcs5gpo[6] =
  14357. (u16) wlapi_getintvar(shim,
  14358. BRCMS_SROM_MCS5GPO6);
  14359. pi->mcs5gpo[7] =
  14360. (u16) wlapi_getintvar(shim,
  14361. BRCMS_SROM_MCS5GPO7);
  14362. break;
  14363. case 2:
  14364. pi->nphy_txpid5gl[0] =
  14365. (u8) wlapi_getintvar(shim,
  14366. BRCMS_SROM_TXPID5GLA0);
  14367. pi->nphy_txpid5gl[1] =
  14368. (u8) wlapi_getintvar(shim,
  14369. BRCMS_SROM_TXPID5GLA1);
  14370. pi->nphy_pwrctrl_info[0].max_pwr_5gl =
  14371. (s8) wlapi_getintvar(shim,
  14372. BRCMS_SROM_MAXP5GLA0);
  14373. pi->nphy_pwrctrl_info[1].max_pwr_5gl =
  14374. (s8) wlapi_getintvar(shim,
  14375. BRCMS_SROM_MAXP5GLA1);
  14376. pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1 =
  14377. (s16) wlapi_getintvar(shim,
  14378. BRCMS_SROM_PA5GLW0A0);
  14379. pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1 =
  14380. (s16) wlapi_getintvar(shim,
  14381. BRCMS_SROM_PA5GLW0A1);
  14382. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0 =
  14383. (s16) wlapi_getintvar(shim,
  14384. BRCMS_SROM_PA5GLW1A0);
  14385. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0 =
  14386. (s16) wlapi_getintvar(shim,
  14387. BRCMS_SROM_PA5GLW1A1);
  14388. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1 =
  14389. (s16) wlapi_getintvar(shim,
  14390. BRCMS_SROM_PA5GLW2A0);
  14391. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1 =
  14392. (s16) wlapi_getintvar(shim,
  14393. BRCMS_SROM_PA5GLW2A1);
  14394. pi->nphy_pwrctrl_info[0].idle_targ_5gl = 0;
  14395. pi->nphy_pwrctrl_info[1].idle_targ_5gl = 0;
  14396. pi->ofdm5glpo =
  14397. (u32) wlapi_getintvar(shim,
  14398. BRCMS_SROM_OFDM5GLPO);
  14399. pi->mcs5glpo[0] =
  14400. (u16) wlapi_getintvar(shim,
  14401. BRCMS_SROM_MCS5GLPO0);
  14402. pi->mcs5glpo[1] =
  14403. (u16) wlapi_getintvar(shim,
  14404. BRCMS_SROM_MCS5GLPO1);
  14405. pi->mcs5glpo[2] =
  14406. (u16) wlapi_getintvar(shim,
  14407. BRCMS_SROM_MCS5GLPO2);
  14408. pi->mcs5glpo[3] =
  14409. (u16) wlapi_getintvar(shim,
  14410. BRCMS_SROM_MCS5GLPO3);
  14411. pi->mcs5glpo[4] =
  14412. (u16) wlapi_getintvar(shim,
  14413. BRCMS_SROM_MCS5GLPO4);
  14414. pi->mcs5glpo[5] =
  14415. (u16) wlapi_getintvar(shim,
  14416. BRCMS_SROM_MCS5GLPO5);
  14417. pi->mcs5glpo[6] =
  14418. (u16) wlapi_getintvar(shim,
  14419. BRCMS_SROM_MCS5GLPO6);
  14420. pi->mcs5glpo[7] =
  14421. (u16) wlapi_getintvar(shim,
  14422. BRCMS_SROM_MCS5GLPO7);
  14423. break;
  14424. case 3:
  14425. pi->nphy_txpid5gh[0] =
  14426. (u8) wlapi_getintvar(shim,
  14427. BRCMS_SROM_TXPID5GHA0);
  14428. pi->nphy_txpid5gh[1] =
  14429. (u8) wlapi_getintvar(shim,
  14430. BRCMS_SROM_TXPID5GHA1);
  14431. pi->nphy_pwrctrl_info[0].max_pwr_5gh =
  14432. (s8) wlapi_getintvar(shim,
  14433. BRCMS_SROM_MAXP5GHA0);
  14434. pi->nphy_pwrctrl_info[1].max_pwr_5gh =
  14435. (s8) wlapi_getintvar(shim,
  14436. BRCMS_SROM_MAXP5GHA1);
  14437. pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1 =
  14438. (s16) wlapi_getintvar(shim,
  14439. BRCMS_SROM_PA5GHW0A0);
  14440. pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1 =
  14441. (s16) wlapi_getintvar(shim,
  14442. BRCMS_SROM_PA5GHW0A1);
  14443. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0 =
  14444. (s16) wlapi_getintvar(shim,
  14445. BRCMS_SROM_PA5GHW1A0);
  14446. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0 =
  14447. (s16) wlapi_getintvar(shim,
  14448. BRCMS_SROM_PA5GHW1A1);
  14449. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1 =
  14450. (s16) wlapi_getintvar(shim,
  14451. BRCMS_SROM_PA5GHW2A0);
  14452. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1 =
  14453. (s16) wlapi_getintvar(shim,
  14454. BRCMS_SROM_PA5GHW2A1);
  14455. pi->nphy_pwrctrl_info[0].idle_targ_5gh = 0;
  14456. pi->nphy_pwrctrl_info[1].idle_targ_5gh = 0;
  14457. pi->ofdm5ghpo =
  14458. (u32) wlapi_getintvar(shim,
  14459. BRCMS_SROM_OFDM5GHPO);
  14460. pi->mcs5ghpo[0] =
  14461. (u16) wlapi_getintvar(shim,
  14462. BRCMS_SROM_MCS5GHPO0);
  14463. pi->mcs5ghpo[1] =
  14464. (u16) wlapi_getintvar(shim,
  14465. BRCMS_SROM_MCS5GHPO1);
  14466. pi->mcs5ghpo[2] =
  14467. (u16) wlapi_getintvar(shim,
  14468. BRCMS_SROM_MCS5GHPO2);
  14469. pi->mcs5ghpo[3] =
  14470. (u16) wlapi_getintvar(shim,
  14471. BRCMS_SROM_MCS5GHPO3);
  14472. pi->mcs5ghpo[4] =
  14473. (u16) wlapi_getintvar(shim,
  14474. BRCMS_SROM_MCS5GHPO4);
  14475. pi->mcs5ghpo[5] =
  14476. (u16) wlapi_getintvar(shim,
  14477. BRCMS_SROM_MCS5GHPO5);
  14478. pi->mcs5ghpo[6] =
  14479. (u16) wlapi_getintvar(shim,
  14480. BRCMS_SROM_MCS5GHPO6);
  14481. pi->mcs5ghpo[7] =
  14482. (u16) wlapi_getintvar(shim,
  14483. BRCMS_SROM_MCS5GHPO7);
  14484. break;
  14485. }
  14486. }
  14487. wlc_phy_txpwr_apply_nphy(pi);
  14488. }
  14489. static bool wlc_phy_txpwr_srom_read_nphy(struct brcms_phy *pi)
  14490. {
  14491. struct phy_shim_info *shim = pi->sh->physhim;
  14492. pi->antswitch = (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWITCH);
  14493. pi->aa2g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA2G);
  14494. pi->aa5g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA5G);
  14495. pi->srom_fem2g.tssipos = (u8) wlapi_getintvar(shim,
  14496. BRCMS_SROM_TSSIPOS2G);
  14497. pi->srom_fem2g.extpagain = (u8) wlapi_getintvar(shim,
  14498. BRCMS_SROM_EXTPAGAIN2G);
  14499. pi->srom_fem2g.pdetrange = (u8) wlapi_getintvar(shim,
  14500. BRCMS_SROM_PDETRANGE2G);
  14501. pi->srom_fem2g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO2G);
  14502. pi->srom_fem2g.antswctrllut =
  14503. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14504. pi->srom_fem5g.tssipos = (u8) wlapi_getintvar(shim,
  14505. BRCMS_SROM_TSSIPOS5G);
  14506. pi->srom_fem5g.extpagain = (u8) wlapi_getintvar(shim,
  14507. BRCMS_SROM_EXTPAGAIN5G);
  14508. pi->srom_fem5g.pdetrange = (u8) wlapi_getintvar(shim,
  14509. BRCMS_SROM_PDETRANGE5G);
  14510. pi->srom_fem5g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO5G);
  14511. if (wlapi_getvar(shim, BRCMS_SROM_ANTSWCTL5G))
  14512. pi->srom_fem5g.antswctrllut =
  14513. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL5G);
  14514. else
  14515. pi->srom_fem5g.antswctrllut =
  14516. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14517. wlc_phy_txpower_ipa_upd(pi);
  14518. pi->phy_txcore_disable_temp =
  14519. (s16) wlapi_getintvar(shim, BRCMS_SROM_TEMPTHRESH);
  14520. if (pi->phy_txcore_disable_temp == 0)
  14521. pi->phy_txcore_disable_temp = PHY_CHAIN_TX_DISABLE_TEMP;
  14522. pi->phy_tempsense_offset = (s8) wlapi_getintvar(shim,
  14523. BRCMS_SROM_TEMPOFFSET);
  14524. if (pi->phy_tempsense_offset != 0) {
  14525. if (pi->phy_tempsense_offset >
  14526. (NPHY_SROM_TEMPSHIFT + NPHY_SROM_MAXTEMPOFFSET))
  14527. pi->phy_tempsense_offset = NPHY_SROM_MAXTEMPOFFSET;
  14528. else if (pi->phy_tempsense_offset < (NPHY_SROM_TEMPSHIFT +
  14529. NPHY_SROM_MINTEMPOFFSET))
  14530. pi->phy_tempsense_offset = NPHY_SROM_MINTEMPOFFSET;
  14531. else
  14532. pi->phy_tempsense_offset -= NPHY_SROM_TEMPSHIFT;
  14533. }
  14534. pi->phy_txcore_enable_temp =
  14535. pi->phy_txcore_disable_temp - PHY_HYSTERESIS_DELTATEMP;
  14536. pi->phycal_tempdelta =
  14537. (u8) wlapi_getintvar(shim, BRCMS_SROM_PHYCAL_TEMPDELTA);
  14538. if (pi->phycal_tempdelta > NPHY_CAL_MAXTEMPDELTA)
  14539. pi->phycal_tempdelta = 0;
  14540. wlc_phy_txpwr_srom_read_ppr_nphy(pi);
  14541. return true;
  14542. }
  14543. bool wlc_phy_attach_nphy(struct brcms_phy *pi)
  14544. {
  14545. uint i;
  14546. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 6))
  14547. pi->phyhang_avoid = true;
  14548. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14549. pi->nphy_gband_spurwar_en = true;
  14550. if (pi->sh->boardflags2 & BFL2_SPUR_WAR)
  14551. pi->nphy_aband_spurwar_en = true;
  14552. }
  14553. if (NREV_GE(pi->pubpi.phy_rev, 6) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14554. if (pi->sh->boardflags2 & BFL2_2G_SPUR_WAR)
  14555. pi->nphy_gband_spurwar2_en = true;
  14556. }
  14557. pi->n_preamble_override = AUTO;
  14558. if (NREV_IS(pi->pubpi.phy_rev, 3) || NREV_IS(pi->pubpi.phy_rev, 4))
  14559. pi->n_preamble_override = BRCMS_N_PREAMBLE_MIXEDMODE;
  14560. pi->nphy_txrx_chain = AUTO;
  14561. pi->phy_scraminit = AUTO;
  14562. pi->nphy_rxcalparams = 0x010100B5;
  14563. pi->nphy_perical = PHY_PERICAL_MPHASE;
  14564. pi->mphase_cal_phase_id = MPHASE_CAL_STATE_IDLE;
  14565. pi->mphase_txcal_numcmds = MPHASE_TXCAL_NUMCMDS;
  14566. pi->nphy_gain_boost = true;
  14567. pi->nphy_elna_gain_config = false;
  14568. pi->radio_is_on = false;
  14569. for (i = 0; i < pi->pubpi.phy_corenum; i++)
  14570. pi->nphy_txpwrindex[i].index = AUTO;
  14571. wlc_phy_txpwrctrl_config_nphy(pi);
  14572. if (pi->nphy_txpwrctrl == PHY_TPC_HW_ON)
  14573. pi->hwpwrctrl_capable = true;
  14574. pi->pi_fptr.init = wlc_phy_init_nphy;
  14575. pi->pi_fptr.calinit = wlc_phy_cal_init_nphy;
  14576. pi->pi_fptr.chanset = wlc_phy_chanspec_set_nphy;
  14577. pi->pi_fptr.txpwrrecalc = wlc_phy_txpower_recalc_target_nphy;
  14578. if (!wlc_phy_txpwr_srom_read_nphy(pi))
  14579. return false;
  14580. return true;
  14581. }
  14582. static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn)
  14583. {
  14584. s32 rfpwr_offset = 0;
  14585. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  14586. if ((pi->pubpi.radiorev == 3) ||
  14587. (pi->pubpi.radiorev == 4) ||
  14588. (pi->pubpi.radiorev == 6))
  14589. rfpwr_offset = (s16)
  14590. nphy_papd_padgain_dlt_2g_2057rev3n4
  14591. [pad_gn];
  14592. else if (pi->pubpi.radiorev == 5)
  14593. rfpwr_offset = (s16)
  14594. nphy_papd_padgain_dlt_2g_2057rev5
  14595. [pad_gn];
  14596. else if ((pi->pubpi.radiorev == 7)
  14597. || (pi->pubpi.radiorev ==
  14598. 8))
  14599. rfpwr_offset = (s16)
  14600. nphy_papd_padgain_dlt_2g_2057rev7
  14601. [pad_gn];
  14602. } else {
  14603. if ((pi->pubpi.radiorev == 3) ||
  14604. (pi->pubpi.radiorev == 4) ||
  14605. (pi->pubpi.radiorev == 6))
  14606. rfpwr_offset = (s16)
  14607. nphy_papd_pgagain_dlt_5g_2057
  14608. [pga_gn];
  14609. else if ((pi->pubpi.radiorev == 7)
  14610. || (pi->pubpi.radiorev ==
  14611. 8))
  14612. rfpwr_offset = (s16)
  14613. nphy_papd_pgagain_dlt_5g_2057rev7
  14614. [pga_gn];
  14615. }
  14616. return rfpwr_offset;
  14617. }
  14618. static void wlc_phy_update_mimoconfig_nphy(struct brcms_phy *pi, s32 preamble)
  14619. {
  14620. bool gf_preamble = false;
  14621. u16 val;
  14622. if (preamble == BRCMS_N_PREAMBLE_GF)
  14623. gf_preamble = true;
  14624. val = read_phy_reg(pi, 0xed);
  14625. val |= RX_GF_MM_AUTO;
  14626. val &= ~RX_GF_OR_MM;
  14627. if (gf_preamble)
  14628. val |= RX_GF_OR_MM;
  14629. write_phy_reg(pi, 0xed, val);
  14630. }
  14631. static void wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  14632. {
  14633. int j, type;
  14634. u16 addr_offset[] = { 0x186, 0x195, 0x2c5};
  14635. for (type = 0; type < 3; type++) {
  14636. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14637. write_phy_reg(pi, addr_offset[type] + j,
  14638. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  14639. }
  14640. if (pi->bw == WL_CHANSPEC_BW_40) {
  14641. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14642. write_phy_reg(pi, 0x186 + j,
  14643. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14644. } else {
  14645. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  14646. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14647. write_phy_reg(pi, 0x186 + j,
  14648. NPHY_IPA_REV4_txdigi_filtcoeffs[5][j]);
  14649. }
  14650. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  14651. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14652. write_phy_reg(pi, 0x2c5 + j,
  14653. NPHY_IPA_REV4_txdigi_filtcoeffs[6][j]);
  14654. }
  14655. }
  14656. }
  14657. static void wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy *pi)
  14658. {
  14659. int j;
  14660. if (pi->bw == WL_CHANSPEC_BW_40) {
  14661. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14662. write_phy_reg(pi, 0x195 + j,
  14663. NPHY_IPA_REV4_txdigi_filtcoeffs[4][j]);
  14664. } else {
  14665. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14666. write_phy_reg(pi, 0x186 + j,
  14667. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14668. }
  14669. }
  14670. static void
  14671. wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, u8 *events, u8 *dlys,
  14672. u8 len)
  14673. {
  14674. u32 t1_offset, t2_offset;
  14675. u8 ctr;
  14676. u8 end_event =
  14677. NREV_GE(pi->pubpi.phy_rev,
  14678. 3) ? NPHY_REV3_RFSEQ_CMD_END : NPHY_RFSEQ_CMD_END;
  14679. u8 end_dly = 1;
  14680. if (pi->phyhang_avoid)
  14681. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14682. t1_offset = cmd << 4;
  14683. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t1_offset, 8,
  14684. events);
  14685. t2_offset = t1_offset + 0x080;
  14686. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t2_offset, 8,
  14687. dlys);
  14688. for (ctr = len; ctr < 16; ctr++) {
  14689. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14690. t1_offset + ctr, 8, &end_event);
  14691. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14692. t2_offset + ctr, 8, &end_dly);
  14693. }
  14694. if (pi->phyhang_avoid)
  14695. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  14696. }
  14697. static u16 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy *pi, u16 offset)
  14698. {
  14699. u16 lpf_bw_ctl_val = 0;
  14700. u16 rx2tx_lpf_rc_lut_offset = 0;
  14701. if (offset == 0) {
  14702. if (CHSPEC_IS40(pi->radio_chanspec))
  14703. rx2tx_lpf_rc_lut_offset = 0x159;
  14704. else
  14705. rx2tx_lpf_rc_lut_offset = 0x154;
  14706. } else {
  14707. rx2tx_lpf_rc_lut_offset = offset;
  14708. }
  14709. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14710. (u32) rx2tx_lpf_rc_lut_offset, 16,
  14711. &lpf_bw_ctl_val);
  14712. lpf_bw_ctl_val = lpf_bw_ctl_val & 0x7;
  14713. return lpf_bw_ctl_val;
  14714. }
  14715. static void
  14716. wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value,
  14717. u8 core_mask, u8 off, u8 override_id)
  14718. {
  14719. u8 core_num;
  14720. u16 addr = 0, en_addr = 0, val_addr = 0, en_mask = 0, val_mask = 0;
  14721. u8 val_shift = 0;
  14722. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14723. en_mask = field;
  14724. for (core_num = 0; core_num < 2; core_num++) {
  14725. if (override_id == NPHY_REV7_RFCTRLOVERRIDE_ID0) {
  14726. switch (field) {
  14727. case (0x1 << 2):
  14728. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14729. val_addr = (core_num == 0) ? 0x7a :
  14730. 0x7d;
  14731. val_mask = (0x1 << 1);
  14732. val_shift = 1;
  14733. break;
  14734. case (0x1 << 3):
  14735. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14736. val_addr = (core_num == 0) ? 0x7a :
  14737. 0x7d;
  14738. val_mask = (0x1 << 2);
  14739. val_shift = 2;
  14740. break;
  14741. case (0x1 << 4):
  14742. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14743. val_addr = (core_num == 0) ? 0x7a :
  14744. 0x7d;
  14745. val_mask = (0x1 << 4);
  14746. val_shift = 4;
  14747. break;
  14748. case (0x1 << 5):
  14749. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14750. val_addr = (core_num == 0) ? 0x7a :
  14751. 0x7d;
  14752. val_mask = (0x1 << 5);
  14753. val_shift = 5;
  14754. break;
  14755. case (0x1 << 6):
  14756. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14757. val_addr = (core_num == 0) ? 0x7a :
  14758. 0x7d;
  14759. val_mask = (0x1 << 6);
  14760. val_shift = 6;
  14761. break;
  14762. case (0x1 << 7):
  14763. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14764. val_addr = (core_num == 0) ? 0x7a :
  14765. 0x7d;
  14766. val_mask = (0x1 << 7);
  14767. val_shift = 7;
  14768. break;
  14769. case (0x1 << 10):
  14770. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14771. val_addr = (core_num == 0) ? 0xf8 :
  14772. 0xfa;
  14773. val_mask = (0x7 << 4);
  14774. val_shift = 4;
  14775. break;
  14776. case (0x1 << 11):
  14777. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14778. val_addr = (core_num == 0) ? 0x7b :
  14779. 0x7e;
  14780. val_mask = (0xffff << 0);
  14781. val_shift = 0;
  14782. break;
  14783. case (0x1 << 12):
  14784. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14785. val_addr = (core_num == 0) ? 0x7c :
  14786. 0x7f;
  14787. val_mask = (0xffff << 0);
  14788. val_shift = 0;
  14789. break;
  14790. case (0x3 << 13):
  14791. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14792. val_addr = (core_num == 0) ? 0x348 :
  14793. 0x349;
  14794. val_mask = (0xff << 0);
  14795. val_shift = 0;
  14796. break;
  14797. case (0x1 << 13):
  14798. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14799. val_addr = (core_num == 0) ? 0x348 :
  14800. 0x349;
  14801. val_mask = (0xf << 0);
  14802. val_shift = 0;
  14803. break;
  14804. default:
  14805. addr = 0xffff;
  14806. break;
  14807. }
  14808. } else if (override_id ==
  14809. NPHY_REV7_RFCTRLOVERRIDE_ID1) {
  14810. switch (field) {
  14811. case (0x1 << 1):
  14812. en_addr = (core_num == 0) ? 0x342 :
  14813. 0x343;
  14814. val_addr = (core_num == 0) ? 0x340 :
  14815. 0x341;
  14816. val_mask = (0x1 << 1);
  14817. val_shift = 1;
  14818. break;
  14819. case (0x1 << 3):
  14820. en_addr = (core_num == 0) ? 0x342 :
  14821. 0x343;
  14822. val_addr = (core_num == 0) ? 0x340 :
  14823. 0x341;
  14824. val_mask = (0x1 << 3);
  14825. val_shift = 3;
  14826. break;
  14827. case (0x1 << 5):
  14828. en_addr = (core_num == 0) ? 0x342 :
  14829. 0x343;
  14830. val_addr = (core_num == 0) ? 0x340 :
  14831. 0x341;
  14832. val_mask = (0x1 << 5);
  14833. val_shift = 5;
  14834. break;
  14835. case (0x1 << 4):
  14836. en_addr = (core_num == 0) ? 0x342 :
  14837. 0x343;
  14838. val_addr = (core_num == 0) ? 0x340 :
  14839. 0x341;
  14840. val_mask = (0x1 << 4);
  14841. val_shift = 4;
  14842. break;
  14843. case (0x1 << 2):
  14844. en_addr = (core_num == 0) ? 0x342 :
  14845. 0x343;
  14846. val_addr = (core_num == 0) ? 0x340 :
  14847. 0x341;
  14848. val_mask = (0x1 << 2);
  14849. val_shift = 2;
  14850. break;
  14851. case (0x1 << 7):
  14852. en_addr = (core_num == 0) ? 0x342 :
  14853. 0x343;
  14854. val_addr = (core_num == 0) ? 0x340 :
  14855. 0x341;
  14856. val_mask = (0x7 << 8);
  14857. val_shift = 8;
  14858. break;
  14859. case (0x1 << 11):
  14860. en_addr = (core_num == 0) ? 0x342 :
  14861. 0x343;
  14862. val_addr = (core_num == 0) ? 0x340 :
  14863. 0x341;
  14864. val_mask = (0x1 << 14);
  14865. val_shift = 14;
  14866. break;
  14867. case (0x1 << 10):
  14868. en_addr = (core_num == 0) ? 0x342 :
  14869. 0x343;
  14870. val_addr = (core_num == 0) ? 0x340 :
  14871. 0x341;
  14872. val_mask = (0x1 << 13);
  14873. val_shift = 13;
  14874. break;
  14875. case (0x1 << 9):
  14876. en_addr = (core_num == 0) ? 0x342 :
  14877. 0x343;
  14878. val_addr = (core_num == 0) ? 0x340 :
  14879. 0x341;
  14880. val_mask = (0x1 << 12);
  14881. val_shift = 12;
  14882. break;
  14883. case (0x1 << 8):
  14884. en_addr = (core_num == 0) ? 0x342 :
  14885. 0x343;
  14886. val_addr = (core_num == 0) ? 0x340 :
  14887. 0x341;
  14888. val_mask = (0x1 << 11);
  14889. val_shift = 11;
  14890. break;
  14891. case (0x1 << 6):
  14892. en_addr = (core_num == 0) ? 0x342 :
  14893. 0x343;
  14894. val_addr = (core_num == 0) ? 0x340 :
  14895. 0x341;
  14896. val_mask = (0x1 << 6);
  14897. val_shift = 6;
  14898. break;
  14899. case (0x1 << 0):
  14900. en_addr = (core_num == 0) ? 0x342 :
  14901. 0x343;
  14902. val_addr = (core_num == 0) ? 0x340 :
  14903. 0x341;
  14904. val_mask = (0x1 << 0);
  14905. val_shift = 0;
  14906. break;
  14907. default:
  14908. addr = 0xffff;
  14909. break;
  14910. }
  14911. } else if (override_id ==
  14912. NPHY_REV7_RFCTRLOVERRIDE_ID2) {
  14913. switch (field) {
  14914. case (0x1 << 3):
  14915. en_addr = (core_num == 0) ? 0x346 :
  14916. 0x347;
  14917. val_addr = (core_num == 0) ? 0x344 :
  14918. 0x345;
  14919. val_mask = (0x1 << 3);
  14920. val_shift = 3;
  14921. break;
  14922. case (0x1 << 1):
  14923. en_addr = (core_num == 0) ? 0x346 :
  14924. 0x347;
  14925. val_addr = (core_num == 0) ? 0x344 :
  14926. 0x345;
  14927. val_mask = (0x1 << 1);
  14928. val_shift = 1;
  14929. break;
  14930. case (0x1 << 0):
  14931. en_addr = (core_num == 0) ? 0x346 :
  14932. 0x347;
  14933. val_addr = (core_num == 0) ? 0x344 :
  14934. 0x345;
  14935. val_mask = (0x1 << 0);
  14936. val_shift = 0;
  14937. break;
  14938. case (0x1 << 2):
  14939. en_addr = (core_num == 0) ? 0x346 :
  14940. 0x347;
  14941. val_addr = (core_num == 0) ? 0x344 :
  14942. 0x345;
  14943. val_mask = (0x1 << 2);
  14944. val_shift = 2;
  14945. break;
  14946. case (0x1 << 4):
  14947. en_addr = (core_num == 0) ? 0x346 :
  14948. 0x347;
  14949. val_addr = (core_num == 0) ? 0x344 :
  14950. 0x345;
  14951. val_mask = (0x1 << 4);
  14952. val_shift = 4;
  14953. break;
  14954. default:
  14955. addr = 0xffff;
  14956. break;
  14957. }
  14958. }
  14959. if (off) {
  14960. and_phy_reg(pi, en_addr, ~en_mask);
  14961. and_phy_reg(pi, val_addr, ~val_mask);
  14962. } else {
  14963. if ((core_mask == 0)
  14964. || (core_mask & (1 << core_num))) {
  14965. or_phy_reg(pi, en_addr, en_mask);
  14966. if (addr != 0xffff)
  14967. mod_phy_reg(pi, val_addr,
  14968. val_mask,
  14969. (value <<
  14970. val_shift));
  14971. }
  14972. }
  14973. }
  14974. }
  14975. }
  14976. static void wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy *pi)
  14977. {
  14978. uint core;
  14979. int ctr;
  14980. s16 gain_delta[2];
  14981. u8 curr_channel;
  14982. u16 minmax_gain[2];
  14983. u16 regval[4];
  14984. if (pi->phyhang_avoid)
  14985. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14986. if (pi->nphy_gain_boost) {
  14987. if ((CHSPEC_IS2G(pi->radio_chanspec))) {
  14988. gain_delta[0] = 6;
  14989. gain_delta[1] = 6;
  14990. } else {
  14991. curr_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  14992. gain_delta[0] =
  14993. (s16)
  14994. PHY_HW_ROUND(((nphy_lnagain_est0[0] *
  14995. curr_channel) +
  14996. nphy_lnagain_est0[1]), 13);
  14997. gain_delta[1] =
  14998. (s16)
  14999. PHY_HW_ROUND(((nphy_lnagain_est1[0] *
  15000. curr_channel) +
  15001. nphy_lnagain_est1[1]), 13);
  15002. }
  15003. } else {
  15004. gain_delta[0] = 0;
  15005. gain_delta[1] = 0;
  15006. }
  15007. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  15008. if (pi->nphy_elna_gain_config) {
  15009. regval[0] = nphy_def_lnagains[2] + gain_delta[core];
  15010. regval[1] = nphy_def_lnagains[3] + gain_delta[core];
  15011. regval[2] = nphy_def_lnagains[3] + gain_delta[core];
  15012. regval[3] = nphy_def_lnagains[3] + gain_delta[core];
  15013. } else {
  15014. for (ctr = 0; ctr < 4; ctr++)
  15015. regval[ctr] =
  15016. nphy_def_lnagains[ctr] +
  15017. gain_delta[core];
  15018. }
  15019. wlc_phy_table_write_nphy(pi, core, 4, 8, 16, regval);
  15020. minmax_gain[core] =
  15021. (u16) (nphy_def_lnagains[2] + gain_delta[core] + 4);
  15022. }
  15023. mod_phy_reg(pi, 0x1e, (0xff << 0), (minmax_gain[0] << 0));
  15024. mod_phy_reg(pi, 0x34, (0xff << 0), (minmax_gain[1] << 0));
  15025. if (pi->phyhang_avoid)
  15026. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  15027. }
  15028. static void
  15029. wlc_phy_war_force_trsw_to_R_cliplo_nphy(struct brcms_phy *pi, u8 core)
  15030. {
  15031. if (core == PHY_CORE_0) {
  15032. write_phy_reg(pi, 0x38, 0x4);
  15033. if (CHSPEC_IS2G(pi->radio_chanspec))
  15034. write_phy_reg(pi, 0x37, 0x0060);
  15035. else
  15036. write_phy_reg(pi, 0x37, 0x1080);
  15037. } else if (core == PHY_CORE_1) {
  15038. write_phy_reg(pi, 0x2ae, 0x4);
  15039. if (CHSPEC_IS2G(pi->radio_chanspec))
  15040. write_phy_reg(pi, 0x2ad, 0x0060);
  15041. else
  15042. write_phy_reg(pi, 0x2ad, 0x1080);
  15043. }
  15044. }
  15045. static void wlc_phy_war_txchain_upd_nphy(struct brcms_phy *pi, u8 txchain)
  15046. {
  15047. u8 txchain0, txchain1;
  15048. txchain0 = txchain & 0x1;
  15049. txchain1 = (txchain & 0x2) >> 1;
  15050. if (!txchain0)
  15051. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  15052. if (!txchain1)
  15053. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  15054. }
  15055. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy *pi)
  15056. {
  15057. s8 lna1_gain_db[] = { 8, 13, 17, 22 };
  15058. s8 lna2_gain_db[] = { -2, 7, 11, 15 };
  15059. s8 tia_gain_db[] = { -4, -1, 2, 5, 5, 5, 5, 5, 5, 5 };
  15060. s8 tia_gainbits[] = {
  15061. 0x0, 0x01, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15062. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15063. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15064. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15065. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3c << 0));
  15066. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3c << 0));
  15067. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x8, 8,
  15068. lna1_gain_db);
  15069. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x8, 8,
  15070. lna1_gain_db);
  15071. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10, 8,
  15072. lna2_gain_db);
  15073. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10, 8,
  15074. lna2_gain_db);
  15075. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15076. tia_gain_db);
  15077. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15078. tia_gain_db);
  15079. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15080. tia_gainbits);
  15081. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15082. tia_gainbits);
  15083. write_phy_reg(pi, 0x37, 0x74);
  15084. write_phy_reg(pi, 0x2ad, 0x74);
  15085. write_phy_reg(pi, 0x38, 0x18);
  15086. write_phy_reg(pi, 0x2ae, 0x18);
  15087. write_phy_reg(pi, 0x2b, 0xe8);
  15088. write_phy_reg(pi, 0x41, 0xe8);
  15089. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15090. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x12 << 0));
  15091. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x12 << 0));
  15092. } else {
  15093. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x10 << 0));
  15094. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x10 << 0));
  15095. }
  15096. }
  15097. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy *pi)
  15098. {
  15099. u16 currband;
  15100. s8 lna1G_gain_db_rev7[] = { 9, 14, 19, 24 };
  15101. s8 *lna1_gain_db = NULL;
  15102. s8 *lna1_gain_db_2 = NULL;
  15103. s8 *lna2_gain_db = NULL;
  15104. s8 tiaA_gain_db_rev7[] = { -9, -6, -3, 0, 3, 3, 3, 3, 3, 3 };
  15105. s8 *tia_gain_db;
  15106. s8 tiaA_gainbits_rev7[] = { 0, 1, 2, 3, 4, 4, 4, 4, 4, 4 };
  15107. s8 *tia_gainbits;
  15108. u16 rfseqA_init_gain_rev7[] = { 0x624f, 0x624f };
  15109. u16 *rfseq_init_gain;
  15110. u16 init_gaincode;
  15111. u16 clip1hi_gaincode;
  15112. u16 clip1md_gaincode = 0;
  15113. u16 clip1md_gaincode_B;
  15114. u16 clip1lo_gaincode;
  15115. u16 clip1lo_gaincode_B;
  15116. u8 crsminl_th = 0;
  15117. u8 crsminu_th;
  15118. u16 nbclip_th = 0;
  15119. u8 w1clip_th;
  15120. u16 freq;
  15121. s8 nvar_baseline_offset0 = 0, nvar_baseline_offset1 = 0;
  15122. u8 chg_nbclip_th = 0;
  15123. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15124. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15125. currband = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15126. if (currband == 0) {
  15127. lna1_gain_db = lna1G_gain_db_rev7;
  15128. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15129. lna1_gain_db);
  15130. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15131. lna1_gain_db);
  15132. mod_phy_reg(pi, 0x283, (0xff << 0), (0x40 << 0));
  15133. if (CHSPEC_IS40(pi->radio_chanspec)) {
  15134. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3e << 0));
  15135. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3e << 0));
  15136. }
  15137. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15138. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15139. mod_phy_reg(pi, 0x300, (0x3f << 0), (13 << 0));
  15140. mod_phy_reg(pi, 0x301, (0x3f << 0), (13 << 0));
  15141. }
  15142. } else {
  15143. init_gaincode = 0x9e;
  15144. clip1hi_gaincode = 0x9e;
  15145. clip1md_gaincode_B = 0x24;
  15146. clip1lo_gaincode = 0x8a;
  15147. clip1lo_gaincode_B = 8;
  15148. rfseq_init_gain = rfseqA_init_gain_rev7;
  15149. tia_gain_db = tiaA_gain_db_rev7;
  15150. tia_gainbits = tiaA_gainbits_rev7;
  15151. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  15152. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15153. w1clip_th = 25;
  15154. clip1md_gaincode = 0x82;
  15155. if ((freq <= 5080) || (freq == 5825)) {
  15156. s8 lna1A_gain_db_rev7[] = { 11, 16, 20, 24 };
  15157. s8 lna1A_gain_db_2_rev7[] = {
  15158. 11, 17, 22, 25};
  15159. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15160. crsminu_th = 0x3e;
  15161. lna1_gain_db = lna1A_gain_db_rev7;
  15162. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15163. lna2_gain_db = lna2A_gain_db_rev7;
  15164. } else if ((freq >= 5500) && (freq <= 5700)) {
  15165. s8 lna1A_gain_db_rev7[] = { 11, 17, 21, 25 };
  15166. s8 lna1A_gain_db_2_rev7[] = {
  15167. 12, 18, 22, 26};
  15168. s8 lna2A_gain_db_rev7[] = { 1, 8, 12, 16 };
  15169. crsminu_th = 0x45;
  15170. clip1md_gaincode_B = 0x14;
  15171. nbclip_th = 0xff;
  15172. chg_nbclip_th = 1;
  15173. lna1_gain_db = lna1A_gain_db_rev7;
  15174. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15175. lna2_gain_db = lna2A_gain_db_rev7;
  15176. } else {
  15177. s8 lna1A_gain_db_rev7[] = { 12, 18, 22, 26 };
  15178. s8 lna1A_gain_db_2_rev7[] = {
  15179. 12, 18, 22, 26};
  15180. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15181. crsminu_th = 0x41;
  15182. lna1_gain_db = lna1A_gain_db_rev7;
  15183. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15184. lna2_gain_db = lna2A_gain_db_rev7;
  15185. }
  15186. if (freq <= 4920) {
  15187. nvar_baseline_offset0 = 5;
  15188. nvar_baseline_offset1 = 5;
  15189. } else if ((freq > 4920) && (freq <= 5320)) {
  15190. nvar_baseline_offset0 = 3;
  15191. nvar_baseline_offset1 = 5;
  15192. } else if ((freq > 5320) && (freq <= 5700)) {
  15193. nvar_baseline_offset0 = 3;
  15194. nvar_baseline_offset1 = 2;
  15195. } else {
  15196. nvar_baseline_offset0 = 4;
  15197. nvar_baseline_offset1 = 0;
  15198. }
  15199. } else {
  15200. crsminu_th = 0x3a;
  15201. crsminl_th = 0x3a;
  15202. w1clip_th = 20;
  15203. if ((freq >= 4920) && (freq <= 5320)) {
  15204. nvar_baseline_offset0 = 4;
  15205. nvar_baseline_offset1 = 5;
  15206. } else if ((freq > 5320) && (freq <= 5550)) {
  15207. nvar_baseline_offset0 = 4;
  15208. nvar_baseline_offset1 = 2;
  15209. } else {
  15210. nvar_baseline_offset0 = 5;
  15211. nvar_baseline_offset1 = 3;
  15212. }
  15213. }
  15214. write_phy_reg(pi, 0x20, init_gaincode);
  15215. write_phy_reg(pi, 0x2a7, init_gaincode);
  15216. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15217. pi->pubpi.phy_corenum, 0x106, 16,
  15218. rfseq_init_gain);
  15219. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15220. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15221. write_phy_reg(pi, 0x36, clip1md_gaincode_B);
  15222. write_phy_reg(pi, 0x2ac, clip1md_gaincode_B);
  15223. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15224. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15225. write_phy_reg(pi, 0x38, clip1lo_gaincode_B);
  15226. write_phy_reg(pi, 0x2ae, clip1lo_gaincode_B);
  15227. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15228. tia_gain_db);
  15229. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15230. tia_gain_db);
  15231. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15232. tia_gainbits);
  15233. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15234. tia_gainbits);
  15235. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15236. if (chg_nbclip_th == 1) {
  15237. write_phy_reg(pi, 0x2b, nbclip_th);
  15238. write_phy_reg(pi, 0x41, nbclip_th);
  15239. }
  15240. mod_phy_reg(pi, 0x300, (0x3f << 0), (w1clip_th << 0));
  15241. mod_phy_reg(pi, 0x301, (0x3f << 0), (w1clip_th << 0));
  15242. mod_phy_reg(pi, 0x2e4,
  15243. (0x3f << 0), (nvar_baseline_offset0 << 0));
  15244. mod_phy_reg(pi, 0x2e4,
  15245. (0x3f << 6), (nvar_baseline_offset1 << 6));
  15246. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15247. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15248. lna1_gain_db);
  15249. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15250. lna1_gain_db_2);
  15251. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15252. 8, lna2_gain_db);
  15253. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15254. 8, lna2_gain_db);
  15255. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15256. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15257. } else {
  15258. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15259. }
  15260. }
  15261. }
  15262. static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi)
  15263. {
  15264. u16 w1th, hpf_code, currband;
  15265. int ctr;
  15266. u8 rfseq_updategainu_events[] = {
  15267. NPHY_RFSEQ_CMD_RX_GAIN,
  15268. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15269. NPHY_RFSEQ_CMD_SET_HPF_BW
  15270. };
  15271. u8 rfseq_updategainu_dlys[] = { 10, 30, 1 };
  15272. s8 lna1G_gain_db[] = { 7, 11, 16, 23 };
  15273. s8 lna1G_gain_db_rev4[] = { 8, 12, 17, 25 };
  15274. s8 lna1G_gain_db_rev5[] = { 9, 13, 18, 26 };
  15275. s8 lna1G_gain_db_rev6[] = { 8, 13, 18, 25 };
  15276. s8 lna1G_gain_db_rev6_224B0[] = { 10, 14, 19, 27 };
  15277. s8 lna1A_gain_db[] = { 7, 11, 17, 23 };
  15278. s8 lna1A_gain_db_rev4[] = { 8, 12, 18, 23 };
  15279. s8 lna1A_gain_db_rev5[] = { 6, 10, 16, 21 };
  15280. s8 lna1A_gain_db_rev6[] = { 6, 10, 16, 21 };
  15281. s8 *lna1_gain_db = NULL;
  15282. s8 lna2G_gain_db[] = { -5, 6, 10, 14 };
  15283. s8 lna2G_gain_db_rev5[] = { -3, 7, 11, 16 };
  15284. s8 lna2G_gain_db_rev6[] = { -5, 6, 10, 14 };
  15285. s8 lna2G_gain_db_rev6_224B0[] = { -5, 6, 10, 15 };
  15286. s8 lna2A_gain_db[] = { -6, 2, 6, 10 };
  15287. s8 lna2A_gain_db_rev4[] = { -5, 2, 6, 10 };
  15288. s8 lna2A_gain_db_rev5[] = { -7, 0, 4, 8 };
  15289. s8 lna2A_gain_db_rev6[] = { -7, 0, 4, 8 };
  15290. s8 *lna2_gain_db = NULL;
  15291. s8 tiaG_gain_db[] = {
  15292. 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A };
  15293. s8 tiaA_gain_db[] = {
  15294. 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13 };
  15295. s8 tiaA_gain_db_rev4[] = {
  15296. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15297. s8 tiaA_gain_db_rev5[] = {
  15298. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15299. s8 tiaA_gain_db_rev6[] = {
  15300. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15301. s8 *tia_gain_db;
  15302. s8 tiaG_gainbits[] = {
  15303. 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15304. s8 tiaA_gainbits[] = {
  15305. 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06 };
  15306. s8 tiaA_gainbits_rev4[] = {
  15307. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15308. s8 tiaA_gainbits_rev5[] = {
  15309. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15310. s8 tiaA_gainbits_rev6[] = {
  15311. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15312. s8 *tia_gainbits;
  15313. s8 lpf_gain_db[] = { 0x00, 0x06, 0x0c, 0x12, 0x12, 0x12 };
  15314. s8 lpf_gainbits[] = { 0x00, 0x01, 0x02, 0x03, 0x03, 0x03 };
  15315. u16 rfseqG_init_gain[] = { 0x613f, 0x613f, 0x613f, 0x613f };
  15316. u16 rfseqG_init_gain_rev4[] = { 0x513f, 0x513f, 0x513f, 0x513f };
  15317. u16 rfseqG_init_gain_rev5[] = { 0x413f, 0x413f, 0x413f, 0x413f };
  15318. u16 rfseqG_init_gain_rev5_elna[] = {
  15319. 0x013f, 0x013f, 0x013f, 0x013f };
  15320. u16 rfseqG_init_gain_rev6[] = { 0x513f, 0x513f };
  15321. u16 rfseqG_init_gain_rev6_224B0[] = { 0x413f, 0x413f };
  15322. u16 rfseqG_init_gain_rev6_elna[] = { 0x113f, 0x113f };
  15323. u16 rfseqA_init_gain[] = { 0x516f, 0x516f, 0x516f, 0x516f };
  15324. u16 rfseqA_init_gain_rev4[] = { 0x614f, 0x614f, 0x614f, 0x614f };
  15325. u16 rfseqA_init_gain_rev4_elna[] = {
  15326. 0x314f, 0x314f, 0x314f, 0x314f };
  15327. u16 rfseqA_init_gain_rev5[] = { 0x714f, 0x714f, 0x714f, 0x714f };
  15328. u16 rfseqA_init_gain_rev6[] = { 0x714f, 0x714f };
  15329. u16 *rfseq_init_gain;
  15330. u16 initG_gaincode = 0x627e;
  15331. u16 initG_gaincode_rev4 = 0x527e;
  15332. u16 initG_gaincode_rev5 = 0x427e;
  15333. u16 initG_gaincode_rev5_elna = 0x027e;
  15334. u16 initG_gaincode_rev6 = 0x527e;
  15335. u16 initG_gaincode_rev6_224B0 = 0x427e;
  15336. u16 initG_gaincode_rev6_elna = 0x127e;
  15337. u16 initA_gaincode = 0x52de;
  15338. u16 initA_gaincode_rev4 = 0x629e;
  15339. u16 initA_gaincode_rev4_elna = 0x329e;
  15340. u16 initA_gaincode_rev5 = 0x729e;
  15341. u16 initA_gaincode_rev6 = 0x729e;
  15342. u16 init_gaincode;
  15343. u16 clip1hiG_gaincode = 0x107e;
  15344. u16 clip1hiG_gaincode_rev4 = 0x007e;
  15345. u16 clip1hiG_gaincode_rev5 = 0x1076;
  15346. u16 clip1hiG_gaincode_rev6 = 0x007e;
  15347. u16 clip1hiA_gaincode = 0x00de;
  15348. u16 clip1hiA_gaincode_rev4 = 0x029e;
  15349. u16 clip1hiA_gaincode_rev5 = 0x029e;
  15350. u16 clip1hiA_gaincode_rev6 = 0x029e;
  15351. u16 clip1hi_gaincode;
  15352. u16 clip1mdG_gaincode = 0x0066;
  15353. u16 clip1mdA_gaincode = 0x00ca;
  15354. u16 clip1mdA_gaincode_rev4 = 0x1084;
  15355. u16 clip1mdA_gaincode_rev5 = 0x2084;
  15356. u16 clip1mdA_gaincode_rev6 = 0x2084;
  15357. u16 clip1md_gaincode = 0;
  15358. u16 clip1loG_gaincode = 0x0074;
  15359. u16 clip1loG_gaincode_rev5[] = {
  15360. 0x0062, 0x0064, 0x006a, 0x106a, 0x106c, 0x1074, 0x107c, 0x207c
  15361. };
  15362. u16 clip1loG_gaincode_rev6[] = {
  15363. 0x106a, 0x106c, 0x1074, 0x107c, 0x007e, 0x107e, 0x207e, 0x307e
  15364. };
  15365. u16 clip1loG_gaincode_rev6_224B0 = 0x1074;
  15366. u16 clip1loA_gaincode = 0x00cc;
  15367. u16 clip1loA_gaincode_rev4 = 0x0086;
  15368. u16 clip1loA_gaincode_rev5 = 0x2086;
  15369. u16 clip1loA_gaincode_rev6 = 0x2086;
  15370. u16 clip1lo_gaincode;
  15371. u8 crsminG_th = 0x18;
  15372. u8 crsminG_th_rev5 = 0x18;
  15373. u8 crsminG_th_rev6 = 0x18;
  15374. u8 crsminA_th = 0x1e;
  15375. u8 crsminA_th_rev4 = 0x24;
  15376. u8 crsminA_th_rev5 = 0x24;
  15377. u8 crsminA_th_rev6 = 0x24;
  15378. u8 crsmin_th;
  15379. u8 crsminlG_th = 0x18;
  15380. u8 crsminlG_th_rev5 = 0x18;
  15381. u8 crsminlG_th_rev6 = 0x18;
  15382. u8 crsminlA_th = 0x1e;
  15383. u8 crsminlA_th_rev4 = 0x24;
  15384. u8 crsminlA_th_rev5 = 0x24;
  15385. u8 crsminlA_th_rev6 = 0x24;
  15386. u8 crsminl_th = 0;
  15387. u8 crsminuG_th = 0x18;
  15388. u8 crsminuG_th_rev5 = 0x18;
  15389. u8 crsminuG_th_rev6 = 0x18;
  15390. u8 crsminuA_th = 0x1e;
  15391. u8 crsminuA_th_rev4 = 0x24;
  15392. u8 crsminuA_th_rev5 = 0x24;
  15393. u8 crsminuA_th_rev6 = 0x24;
  15394. u8 crsminuA_th_rev6_224B0 = 0x2d;
  15395. u8 crsminu_th;
  15396. u16 nbclipG_th = 0x20d;
  15397. u16 nbclipG_th_rev4 = 0x1a1;
  15398. u16 nbclipG_th_rev5 = 0x1d0;
  15399. u16 nbclipG_th_rev6 = 0x1d0;
  15400. u16 nbclipA_th = 0x1a1;
  15401. u16 nbclipA_th_rev4 = 0x107;
  15402. u16 nbclipA_th_rev5 = 0x0a9;
  15403. u16 nbclipA_th_rev6 = 0x0f0;
  15404. u16 nbclip_th = 0;
  15405. u8 w1clipG_th = 5;
  15406. u8 w1clipG_th_rev5 = 9;
  15407. u8 w1clipG_th_rev6 = 5;
  15408. u8 w1clipA_th = 25, w1clip_th;
  15409. u8 rssi_gain_default = 0x50;
  15410. u8 rssiG_gain_rev6_224B0 = 0x50;
  15411. u8 rssiA_gain_rev5 = 0x90;
  15412. u8 rssiA_gain_rev6 = 0x90;
  15413. u8 rssi_gain;
  15414. u16 regval[21];
  15415. u8 triso;
  15416. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.triso :
  15417. pi->srom_fem2g.triso;
  15418. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15419. if (pi->pubpi.radiorev == 5) {
  15420. wlc_phy_workarounds_nphy_gainctrl_2057_rev5(pi);
  15421. } else if (pi->pubpi.radiorev == 7) {
  15422. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15423. mod_phy_reg(pi, 0x283, (0xff << 0), (0x44 << 0));
  15424. mod_phy_reg(pi, 0x280, (0xff << 0), (0x44 << 0));
  15425. } else if ((pi->pubpi.radiorev == 3)
  15426. || (pi->pubpi.radiorev == 8)) {
  15427. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15428. if (pi->pubpi.radiorev == 8) {
  15429. mod_phy_reg(pi, 0x283,
  15430. (0xff << 0), (0x44 << 0));
  15431. mod_phy_reg(pi, 0x280,
  15432. (0xff << 0), (0x44 << 0));
  15433. }
  15434. } else {
  15435. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15436. }
  15437. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  15438. mod_phy_reg(pi, 0xa0, (0x1 << 6), (1 << 6));
  15439. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15440. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15441. currband =
  15442. read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15443. if (currband == 0) {
  15444. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15445. if (pi->pubpi.radiorev == 11) {
  15446. lna1_gain_db = lna1G_gain_db_rev6_224B0;
  15447. lna2_gain_db = lna2G_gain_db_rev6_224B0;
  15448. rfseq_init_gain =
  15449. rfseqG_init_gain_rev6_224B0;
  15450. init_gaincode =
  15451. initG_gaincode_rev6_224B0;
  15452. clip1hi_gaincode =
  15453. clip1hiG_gaincode_rev6;
  15454. clip1lo_gaincode =
  15455. clip1loG_gaincode_rev6_224B0;
  15456. nbclip_th = nbclipG_th_rev6;
  15457. w1clip_th = w1clipG_th_rev6;
  15458. crsmin_th = crsminG_th_rev6;
  15459. crsminl_th = crsminlG_th_rev6;
  15460. crsminu_th = crsminuG_th_rev6;
  15461. rssi_gain = rssiG_gain_rev6_224B0;
  15462. } else {
  15463. lna1_gain_db = lna1G_gain_db_rev6;
  15464. lna2_gain_db = lna2G_gain_db_rev6;
  15465. if (pi->sh->boardflags & BFL_EXTLNA) {
  15466. rfseq_init_gain =
  15467. rfseqG_init_gain_rev6_elna;
  15468. init_gaincode =
  15469. initG_gaincode_rev6_elna;
  15470. } else {
  15471. rfseq_init_gain =
  15472. rfseqG_init_gain_rev6;
  15473. init_gaincode =
  15474. initG_gaincode_rev6;
  15475. }
  15476. clip1hi_gaincode =
  15477. clip1hiG_gaincode_rev6;
  15478. switch (triso) {
  15479. case 0:
  15480. clip1lo_gaincode =
  15481. clip1loG_gaincode_rev6
  15482. [0];
  15483. break;
  15484. case 1:
  15485. clip1lo_gaincode =
  15486. clip1loG_gaincode_rev6
  15487. [1];
  15488. break;
  15489. case 2:
  15490. clip1lo_gaincode =
  15491. clip1loG_gaincode_rev6
  15492. [2];
  15493. break;
  15494. case 3:
  15495. default:
  15496. clip1lo_gaincode =
  15497. clip1loG_gaincode_rev6
  15498. [3];
  15499. break;
  15500. case 4:
  15501. clip1lo_gaincode =
  15502. clip1loG_gaincode_rev6
  15503. [4];
  15504. break;
  15505. case 5:
  15506. clip1lo_gaincode =
  15507. clip1loG_gaincode_rev6
  15508. [5];
  15509. break;
  15510. case 6:
  15511. clip1lo_gaincode =
  15512. clip1loG_gaincode_rev6
  15513. [6];
  15514. break;
  15515. case 7:
  15516. clip1lo_gaincode =
  15517. clip1loG_gaincode_rev6
  15518. [7];
  15519. break;
  15520. }
  15521. nbclip_th = nbclipG_th_rev6;
  15522. w1clip_th = w1clipG_th_rev6;
  15523. crsmin_th = crsminG_th_rev6;
  15524. crsminl_th = crsminlG_th_rev6;
  15525. crsminu_th = crsminuG_th_rev6;
  15526. rssi_gain = rssi_gain_default;
  15527. }
  15528. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15529. lna1_gain_db = lna1G_gain_db_rev5;
  15530. lna2_gain_db = lna2G_gain_db_rev5;
  15531. if (pi->sh->boardflags & BFL_EXTLNA) {
  15532. rfseq_init_gain =
  15533. rfseqG_init_gain_rev5_elna;
  15534. init_gaincode =
  15535. initG_gaincode_rev5_elna;
  15536. } else {
  15537. rfseq_init_gain = rfseqG_init_gain_rev5;
  15538. init_gaincode = initG_gaincode_rev5;
  15539. }
  15540. clip1hi_gaincode = clip1hiG_gaincode_rev5;
  15541. switch (triso) {
  15542. case 0:
  15543. clip1lo_gaincode =
  15544. clip1loG_gaincode_rev5[0];
  15545. break;
  15546. case 1:
  15547. clip1lo_gaincode =
  15548. clip1loG_gaincode_rev5[1];
  15549. break;
  15550. case 2:
  15551. clip1lo_gaincode =
  15552. clip1loG_gaincode_rev5[2];
  15553. break;
  15554. case 3:
  15555. clip1lo_gaincode =
  15556. clip1loG_gaincode_rev5[3];
  15557. break;
  15558. case 4:
  15559. clip1lo_gaincode =
  15560. clip1loG_gaincode_rev5[4];
  15561. break;
  15562. case 5:
  15563. clip1lo_gaincode =
  15564. clip1loG_gaincode_rev5[5];
  15565. break;
  15566. case 6:
  15567. clip1lo_gaincode =
  15568. clip1loG_gaincode_rev5[6];
  15569. break;
  15570. case 7:
  15571. clip1lo_gaincode =
  15572. clip1loG_gaincode_rev5[7];
  15573. break;
  15574. default:
  15575. clip1lo_gaincode =
  15576. clip1loG_gaincode_rev5[3];
  15577. break;
  15578. }
  15579. nbclip_th = nbclipG_th_rev5;
  15580. w1clip_th = w1clipG_th_rev5;
  15581. crsmin_th = crsminG_th_rev5;
  15582. crsminl_th = crsminlG_th_rev5;
  15583. crsminu_th = crsminuG_th_rev5;
  15584. rssi_gain = rssi_gain_default;
  15585. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15586. lna1_gain_db = lna1G_gain_db_rev4;
  15587. lna2_gain_db = lna2G_gain_db;
  15588. rfseq_init_gain = rfseqG_init_gain_rev4;
  15589. init_gaincode = initG_gaincode_rev4;
  15590. clip1hi_gaincode = clip1hiG_gaincode_rev4;
  15591. clip1lo_gaincode = clip1loG_gaincode;
  15592. nbclip_th = nbclipG_th_rev4;
  15593. w1clip_th = w1clipG_th;
  15594. crsmin_th = crsminG_th;
  15595. crsminl_th = crsminlG_th;
  15596. crsminu_th = crsminuG_th;
  15597. rssi_gain = rssi_gain_default;
  15598. } else {
  15599. lna1_gain_db = lna1G_gain_db;
  15600. lna2_gain_db = lna2G_gain_db;
  15601. rfseq_init_gain = rfseqG_init_gain;
  15602. init_gaincode = initG_gaincode;
  15603. clip1hi_gaincode = clip1hiG_gaincode;
  15604. clip1lo_gaincode = clip1loG_gaincode;
  15605. nbclip_th = nbclipG_th;
  15606. w1clip_th = w1clipG_th;
  15607. crsmin_th = crsminG_th;
  15608. crsminl_th = crsminlG_th;
  15609. crsminu_th = crsminuG_th;
  15610. rssi_gain = rssi_gain_default;
  15611. }
  15612. tia_gain_db = tiaG_gain_db;
  15613. tia_gainbits = tiaG_gainbits;
  15614. clip1md_gaincode = clip1mdG_gaincode;
  15615. } else {
  15616. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15617. lna1_gain_db = lna1A_gain_db_rev6;
  15618. lna2_gain_db = lna2A_gain_db_rev6;
  15619. tia_gain_db = tiaA_gain_db_rev6;
  15620. tia_gainbits = tiaA_gainbits_rev6;
  15621. rfseq_init_gain = rfseqA_init_gain_rev6;
  15622. init_gaincode = initA_gaincode_rev6;
  15623. clip1hi_gaincode = clip1hiA_gaincode_rev6;
  15624. clip1md_gaincode = clip1mdA_gaincode_rev6;
  15625. clip1lo_gaincode = clip1loA_gaincode_rev6;
  15626. crsmin_th = crsminA_th_rev6;
  15627. crsminl_th = crsminlA_th_rev6;
  15628. if ((pi->pubpi.radiorev == 11) &&
  15629. (CHSPEC_IS40(pi->radio_chanspec) == 0))
  15630. crsminu_th = crsminuA_th_rev6_224B0;
  15631. else
  15632. crsminu_th = crsminuA_th_rev6;
  15633. nbclip_th = nbclipA_th_rev6;
  15634. rssi_gain = rssiA_gain_rev6;
  15635. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15636. lna1_gain_db = lna1A_gain_db_rev5;
  15637. lna2_gain_db = lna2A_gain_db_rev5;
  15638. tia_gain_db = tiaA_gain_db_rev5;
  15639. tia_gainbits = tiaA_gainbits_rev5;
  15640. rfseq_init_gain = rfseqA_init_gain_rev5;
  15641. init_gaincode = initA_gaincode_rev5;
  15642. clip1hi_gaincode = clip1hiA_gaincode_rev5;
  15643. clip1md_gaincode = clip1mdA_gaincode_rev5;
  15644. clip1lo_gaincode = clip1loA_gaincode_rev5;
  15645. crsmin_th = crsminA_th_rev5;
  15646. crsminl_th = crsminlA_th_rev5;
  15647. crsminu_th = crsminuA_th_rev5;
  15648. nbclip_th = nbclipA_th_rev5;
  15649. rssi_gain = rssiA_gain_rev5;
  15650. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15651. lna1_gain_db = lna1A_gain_db_rev4;
  15652. lna2_gain_db = lna2A_gain_db_rev4;
  15653. tia_gain_db = tiaA_gain_db_rev4;
  15654. tia_gainbits = tiaA_gainbits_rev4;
  15655. if (pi->sh->boardflags & BFL_EXTLNA_5GHz) {
  15656. rfseq_init_gain =
  15657. rfseqA_init_gain_rev4_elna;
  15658. init_gaincode =
  15659. initA_gaincode_rev4_elna;
  15660. } else {
  15661. rfseq_init_gain = rfseqA_init_gain_rev4;
  15662. init_gaincode = initA_gaincode_rev4;
  15663. }
  15664. clip1hi_gaincode = clip1hiA_gaincode_rev4;
  15665. clip1md_gaincode = clip1mdA_gaincode_rev4;
  15666. clip1lo_gaincode = clip1loA_gaincode_rev4;
  15667. crsmin_th = crsminA_th_rev4;
  15668. crsminl_th = crsminlA_th_rev4;
  15669. crsminu_th = crsminuA_th_rev4;
  15670. nbclip_th = nbclipA_th_rev4;
  15671. rssi_gain = rssi_gain_default;
  15672. } else {
  15673. lna1_gain_db = lna1A_gain_db;
  15674. lna2_gain_db = lna2A_gain_db;
  15675. tia_gain_db = tiaA_gain_db;
  15676. tia_gainbits = tiaA_gainbits;
  15677. rfseq_init_gain = rfseqA_init_gain;
  15678. init_gaincode = initA_gaincode;
  15679. clip1hi_gaincode = clip1hiA_gaincode;
  15680. clip1md_gaincode = clip1mdA_gaincode;
  15681. clip1lo_gaincode = clip1loA_gaincode;
  15682. crsmin_th = crsminA_th;
  15683. crsminl_th = crsminlA_th;
  15684. crsminu_th = crsminuA_th;
  15685. nbclip_th = nbclipA_th;
  15686. rssi_gain = rssi_gain_default;
  15687. }
  15688. w1clip_th = w1clipA_th;
  15689. }
  15690. write_radio_reg(pi,
  15691. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15692. RADIO_2056_RX0), 0x17);
  15693. write_radio_reg(pi,
  15694. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15695. RADIO_2056_RX1), 0x17);
  15696. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX0),
  15697. 0xf0);
  15698. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX1),
  15699. 0xf0);
  15700. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX0),
  15701. 0x0);
  15702. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX1),
  15703. 0x0);
  15704. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX0),
  15705. rssi_gain);
  15706. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX1),
  15707. rssi_gain);
  15708. write_radio_reg(pi,
  15709. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15710. RADIO_2056_RX0), 0x17);
  15711. write_radio_reg(pi,
  15712. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15713. RADIO_2056_RX1), 0x17);
  15714. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX0),
  15715. 0xFF);
  15716. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX1),
  15717. 0xFF);
  15718. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8,
  15719. 8, lna1_gain_db);
  15720. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8,
  15721. 8, lna1_gain_db);
  15722. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15723. 8, lna2_gain_db);
  15724. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15725. 8, lna2_gain_db);
  15726. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20,
  15727. 8, tia_gain_db);
  15728. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20,
  15729. 8, tia_gain_db);
  15730. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20,
  15731. 8, tia_gainbits);
  15732. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20,
  15733. 8, tia_gainbits);
  15734. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 6, 0x40,
  15735. 8, &lpf_gain_db);
  15736. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 6, 0x40,
  15737. 8, &lpf_gain_db);
  15738. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 6, 0x40,
  15739. 8, &lpf_gainbits);
  15740. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 6, 0x40,
  15741. 8, &lpf_gainbits);
  15742. write_phy_reg(pi, 0x20, init_gaincode);
  15743. write_phy_reg(pi, 0x2a7, init_gaincode);
  15744. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15745. pi->pubpi.phy_corenum, 0x106, 16,
  15746. rfseq_init_gain);
  15747. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15748. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15749. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15750. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15751. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15752. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15753. mod_phy_reg(pi, 0x27d, (0xff << 0), (crsmin_th << 0));
  15754. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15755. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15756. write_phy_reg(pi, 0x2b, nbclip_th);
  15757. write_phy_reg(pi, 0x41, nbclip_th);
  15758. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1clip_th << 0));
  15759. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1clip_th << 0));
  15760. write_phy_reg(pi, 0x150, 0x809c);
  15761. } else {
  15762. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15763. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15764. write_phy_reg(pi, 0x2b, 0x84);
  15765. write_phy_reg(pi, 0x41, 0x84);
  15766. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15767. write_phy_reg(pi, 0x6b, 0x2b);
  15768. write_phy_reg(pi, 0x6c, 0x2b);
  15769. write_phy_reg(pi, 0x6d, 0x9);
  15770. write_phy_reg(pi, 0x6e, 0x9);
  15771. }
  15772. w1th = NPHY_RSSICAL_W1_TARGET - 4;
  15773. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1th << 0));
  15774. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1th << 0));
  15775. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15776. mod_phy_reg(pi, 0x1c, (0x1f << 0), (0x1 << 0));
  15777. mod_phy_reg(pi, 0x32, (0x1f << 0), (0x1 << 0));
  15778. mod_phy_reg(pi, 0x1d, (0x1f << 0), (0x1 << 0));
  15779. mod_phy_reg(pi, 0x33, (0x1f << 0), (0x1 << 0));
  15780. }
  15781. write_phy_reg(pi, 0x150, 0x809c);
  15782. if (pi->nphy_gain_boost)
  15783. if ((CHSPEC_IS2G(pi->radio_chanspec)) &&
  15784. (CHSPEC_IS40(pi->radio_chanspec)))
  15785. hpf_code = 4;
  15786. else
  15787. hpf_code = 5;
  15788. else if (CHSPEC_IS40(pi->radio_chanspec))
  15789. hpf_code = 6;
  15790. else
  15791. hpf_code = 7;
  15792. mod_phy_reg(pi, 0x20, (0x1f << 7), (hpf_code << 7));
  15793. mod_phy_reg(pi, 0x36, (0x1f << 7), (hpf_code << 7));
  15794. for (ctr = 0; ctr < 4; ctr++)
  15795. regval[ctr] = (hpf_code << 8) | 0x7c;
  15796. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15797. wlc_phy_adjust_lnagaintbl_nphy(pi);
  15798. if (pi->nphy_elna_gain_config) {
  15799. regval[0] = 0;
  15800. regval[1] = 1;
  15801. regval[2] = 1;
  15802. regval[3] = 1;
  15803. wlc_phy_table_write_nphy(pi, 2, 4, 8, 16, regval);
  15804. wlc_phy_table_write_nphy(pi, 3, 4, 8, 16, regval);
  15805. for (ctr = 0; ctr < 4; ctr++)
  15806. regval[ctr] = (hpf_code << 8) | 0x74;
  15807. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15808. }
  15809. if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  15810. for (ctr = 0; ctr < 21; ctr++)
  15811. regval[ctr] = 3 * ctr;
  15812. wlc_phy_table_write_nphy(pi, 0, 21, 32, 16, regval);
  15813. wlc_phy_table_write_nphy(pi, 1, 21, 32, 16, regval);
  15814. for (ctr = 0; ctr < 21; ctr++)
  15815. regval[ctr] = (u16) ctr;
  15816. wlc_phy_table_write_nphy(pi, 2, 21, 32, 16, regval);
  15817. wlc_phy_table_write_nphy(pi, 3, 21, 32, 16, regval);
  15818. }
  15819. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_UPDATEGAINU,
  15820. rfseq_updategainu_events,
  15821. rfseq_updategainu_dlys,
  15822. sizeof(rfseq_updategainu_events) /
  15823. sizeof(rfseq_updategainu_events[0]));
  15824. mod_phy_reg(pi, 0x153, (0xff << 8), (90 << 8));
  15825. if (CHSPEC_IS2G(pi->radio_chanspec))
  15826. mod_phy_reg(pi,
  15827. (NPHY_TO_BPHY_OFF + BPHY_OPTIONAL_MODES),
  15828. 0x7f, 0x4);
  15829. }
  15830. }
  15831. static void wlc_phy_workarounds_nphy(struct brcms_phy *pi)
  15832. {
  15833. u8 rfseq_rx2tx_events[] = {
  15834. NPHY_RFSEQ_CMD_NOP,
  15835. NPHY_RFSEQ_CMD_RXG_FBW,
  15836. NPHY_RFSEQ_CMD_TR_SWITCH,
  15837. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15838. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15839. NPHY_RFSEQ_CMD_TX_GAIN,
  15840. NPHY_RFSEQ_CMD_EXT_PA
  15841. };
  15842. u8 rfseq_rx2tx_dlys[] = { 8, 6, 6, 2, 4, 60, 1 };
  15843. u8 rfseq_tx2rx_events[] = {
  15844. NPHY_RFSEQ_CMD_NOP,
  15845. NPHY_RFSEQ_CMD_EXT_PA,
  15846. NPHY_RFSEQ_CMD_TX_GAIN,
  15847. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15848. NPHY_RFSEQ_CMD_TR_SWITCH,
  15849. NPHY_RFSEQ_CMD_RXG_FBW,
  15850. NPHY_RFSEQ_CMD_CLR_HIQ_DIS
  15851. };
  15852. u8 rfseq_tx2rx_dlys[] = { 8, 6, 2, 4, 4, 6, 1 };
  15853. u8 rfseq_tx2rx_events_rev3[] = {
  15854. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15855. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15856. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15857. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15858. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15859. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15860. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15861. NPHY_REV3_RFSEQ_CMD_END
  15862. };
  15863. u8 rfseq_tx2rx_dlys_rev3[] = { 8, 4, 2, 2, 4, 4, 6, 1 };
  15864. u8 rfseq_rx2tx_events_rev3[] = {
  15865. NPHY_REV3_RFSEQ_CMD_NOP,
  15866. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15867. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15868. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15869. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15870. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15871. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15872. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15873. NPHY_REV3_RFSEQ_CMD_END
  15874. };
  15875. u8 rfseq_rx2tx_dlys_rev3[] = { 8, 6, 6, 4, 4, 18, 42, 1, 1 };
  15876. u8 rfseq_rx2tx_events_rev3_ipa[] = {
  15877. NPHY_REV3_RFSEQ_CMD_NOP,
  15878. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15879. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15880. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15881. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15882. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15883. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  15884. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15885. NPHY_REV3_RFSEQ_CMD_END
  15886. };
  15887. u8 rfseq_rx2tx_dlys_rev3_ipa[] = { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  15888. u16 rfseq_rx2tx_dacbufpu_rev7[] = { 0x10f, 0x10f };
  15889. s16 alpha0, alpha1, alpha2;
  15890. s16 beta0, beta1, beta2;
  15891. u32 leg_data_weights, ht_data_weights, nss1_data_weights,
  15892. stbc_data_weights;
  15893. u8 chan_freq_range = 0;
  15894. u16 dac_control = 0x0002;
  15895. u16 aux_adc_vmid_rev7_core0[] = { 0x8e, 0x96, 0x96, 0x96 };
  15896. u16 aux_adc_vmid_rev7_core1[] = { 0x8f, 0x9f, 0x9f, 0x96 };
  15897. u16 aux_adc_vmid_rev4[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15898. u16 aux_adc_vmid_rev3[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15899. u16 *aux_adc_vmid;
  15900. u16 aux_adc_gain_rev7[] = { 0x02, 0x02, 0x02, 0x02 };
  15901. u16 aux_adc_gain_rev4[] = { 0x02, 0x02, 0x02, 0x00 };
  15902. u16 aux_adc_gain_rev3[] = { 0x02, 0x02, 0x02, 0x00 };
  15903. u16 *aux_adc_gain;
  15904. u16 sk_adc_vmid[] = { 0xb4, 0xb4, 0xb4, 0x24 };
  15905. u16 sk_adc_gain[] = { 0x02, 0x02, 0x02, 0x02 };
  15906. s32 min_nvar_val = 0x18d;
  15907. s32 min_nvar_offset_6mbps = 20;
  15908. u8 pdetrange;
  15909. u8 triso;
  15910. u16 regval;
  15911. u16 afectrl_adc_ctrl1_rev7 = 0x20;
  15912. u16 afectrl_adc_ctrl2_rev7 = 0x0;
  15913. u16 rfseq_rx2tx_lpf_h_hpc_rev7 = 0x77;
  15914. u16 rfseq_tx2rx_lpf_h_hpc_rev7 = 0x77;
  15915. u16 rfseq_pktgn_lpf_h_hpc_rev7 = 0x77;
  15916. u16 rfseq_htpktgn_lpf_hpc_rev7[] = { 0x77, 0x11, 0x11 };
  15917. u16 rfseq_pktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15918. u16 rfseq_cckpktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15919. u16 ipalvlshift_3p3_war_en = 0;
  15920. u16 rccal_bcap_val, rccal_scap_val;
  15921. u16 rccal_tx20_11b_bcap = 0;
  15922. u16 rccal_tx20_11b_scap = 0;
  15923. u16 rccal_tx20_11n_bcap = 0;
  15924. u16 rccal_tx20_11n_scap = 0;
  15925. u16 rccal_tx40_11n_bcap = 0;
  15926. u16 rccal_tx40_11n_scap = 0;
  15927. u16 rx2tx_lpf_rc_lut_tx20_11b = 0;
  15928. u16 rx2tx_lpf_rc_lut_tx20_11n = 0;
  15929. u16 rx2tx_lpf_rc_lut_tx40_11n = 0;
  15930. u16 tx_lpf_bw_ofdm_20mhz = 0;
  15931. u16 tx_lpf_bw_ofdm_40mhz = 0;
  15932. u16 tx_lpf_bw_11b = 0;
  15933. u16 ipa2g_mainbias, ipa2g_casconv, ipa2g_biasfilt;
  15934. u16 txgm_idac_bleed = 0;
  15935. bool rccal_ovrd = false;
  15936. u16 freq;
  15937. int coreNum;
  15938. if (CHSPEC_IS5G(pi->radio_chanspec))
  15939. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 0);
  15940. else
  15941. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 1);
  15942. if (pi->phyhang_avoid)
  15943. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  15944. or_phy_reg(pi, 0xb1, NPHY_IQFlip_ADC1 | NPHY_IQFlip_ADC2);
  15945. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15946. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  15947. mod_phy_reg(pi, 0x221, (0x1 << 4), (1 << 4));
  15948. mod_phy_reg(pi, 0x160, (0x7f << 0), (32 << 0));
  15949. mod_phy_reg(pi, 0x160, (0x7f << 8), (39 << 8));
  15950. mod_phy_reg(pi, 0x161, (0x7f << 0), (46 << 0));
  15951. mod_phy_reg(pi, 0x161, (0x7f << 8), (51 << 8));
  15952. mod_phy_reg(pi, 0x162, (0x7f << 0), (55 << 0));
  15953. mod_phy_reg(pi, 0x162, (0x7f << 8), (58 << 8));
  15954. mod_phy_reg(pi, 0x163, (0x7f << 0), (60 << 0));
  15955. mod_phy_reg(pi, 0x163, (0x7f << 8), (62 << 8));
  15956. mod_phy_reg(pi, 0x164, (0x7f << 0), (62 << 0));
  15957. mod_phy_reg(pi, 0x164, (0x7f << 8), (63 << 8));
  15958. mod_phy_reg(pi, 0x165, (0x7f << 0), (63 << 0));
  15959. mod_phy_reg(pi, 0x165, (0x7f << 8), (64 << 8));
  15960. mod_phy_reg(pi, 0x166, (0x7f << 0), (64 << 0));
  15961. mod_phy_reg(pi, 0x166, (0x7f << 8), (64 << 8));
  15962. mod_phy_reg(pi, 0x167, (0x7f << 0), (64 << 0));
  15963. mod_phy_reg(pi, 0x167, (0x7f << 8), (64 << 8));
  15964. }
  15965. if (NREV_LE(pi->pubpi.phy_rev, 8)) {
  15966. write_phy_reg(pi, 0x23f, 0x1b0);
  15967. write_phy_reg(pi, 0x240, 0x1b0);
  15968. }
  15969. if (NREV_GE(pi->pubpi.phy_rev, 8))
  15970. mod_phy_reg(pi, 0xbd, (0xff << 0), (114 << 0));
  15971. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  15972. &dac_control);
  15973. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  15974. &dac_control);
  15975. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15976. 1, 0, 32, &leg_data_weights);
  15977. leg_data_weights = leg_data_weights & 0xffffff;
  15978. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15979. 1, 0, 32, &leg_data_weights);
  15980. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15981. 2, 0x15e, 16,
  15982. rfseq_rx2tx_dacbufpu_rev7);
  15983. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x16e, 16,
  15984. rfseq_rx2tx_dacbufpu_rev7);
  15985. if (PHY_IPA(pi))
  15986. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  15987. rfseq_rx2tx_events_rev3_ipa,
  15988. rfseq_rx2tx_dlys_rev3_ipa,
  15989. sizeof
  15990. (rfseq_rx2tx_events_rev3_ipa) /
  15991. sizeof
  15992. (rfseq_rx2tx_events_rev3_ipa
  15993. [0]));
  15994. mod_phy_reg(pi, 0x299, (0x3 << 14), (0x1 << 14));
  15995. mod_phy_reg(pi, 0x29d, (0x3 << 14), (0x1 << 14));
  15996. tx_lpf_bw_ofdm_20mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x154);
  15997. tx_lpf_bw_ofdm_40mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x159);
  15998. tx_lpf_bw_11b = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x152);
  15999. if (PHY_IPA(pi)) {
  16000. if (((pi->pubpi.radiorev == 5)
  16001. && (CHSPEC_IS40(pi->radio_chanspec) == 1))
  16002. || (pi->pubpi.radiorev == 7)
  16003. || (pi->pubpi.radiorev == 8)) {
  16004. rccal_bcap_val =
  16005. read_radio_reg(
  16006. pi,
  16007. RADIO_2057_RCCAL_BCAP_VAL);
  16008. rccal_scap_val =
  16009. read_radio_reg(
  16010. pi,
  16011. RADIO_2057_RCCAL_SCAP_VAL);
  16012. rccal_tx20_11b_bcap = rccal_bcap_val;
  16013. rccal_tx20_11b_scap = rccal_scap_val;
  16014. if ((pi->pubpi.radiorev == 5) &&
  16015. (CHSPEC_IS40(pi->radio_chanspec) == 1)) {
  16016. rccal_tx20_11n_bcap = rccal_bcap_val;
  16017. rccal_tx20_11n_scap = rccal_scap_val;
  16018. rccal_tx40_11n_bcap = 0xc;
  16019. rccal_tx40_11n_scap = 0xc;
  16020. rccal_ovrd = true;
  16021. } else if ((pi->pubpi.radiorev == 7)
  16022. || (pi->pubpi.radiorev == 8)) {
  16023. tx_lpf_bw_ofdm_20mhz = 4;
  16024. tx_lpf_bw_11b = 1;
  16025. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16026. rccal_tx20_11n_bcap = 0xc;
  16027. rccal_tx20_11n_scap = 0xc;
  16028. rccal_tx40_11n_bcap = 0xa;
  16029. rccal_tx40_11n_scap = 0xa;
  16030. } else {
  16031. rccal_tx20_11n_bcap = 0x14;
  16032. rccal_tx20_11n_scap = 0x14;
  16033. rccal_tx40_11n_bcap = 0xf;
  16034. rccal_tx40_11n_scap = 0xf;
  16035. }
  16036. rccal_ovrd = true;
  16037. }
  16038. }
  16039. } else {
  16040. if (pi->pubpi.radiorev == 5) {
  16041. tx_lpf_bw_ofdm_20mhz = 1;
  16042. tx_lpf_bw_ofdm_40mhz = 3;
  16043. rccal_bcap_val =
  16044. read_radio_reg(
  16045. pi,
  16046. RADIO_2057_RCCAL_BCAP_VAL);
  16047. rccal_scap_val =
  16048. read_radio_reg(
  16049. pi,
  16050. RADIO_2057_RCCAL_SCAP_VAL);
  16051. rccal_tx20_11b_bcap = rccal_bcap_val;
  16052. rccal_tx20_11b_scap = rccal_scap_val;
  16053. rccal_tx20_11n_bcap = 0x13;
  16054. rccal_tx20_11n_scap = 0x11;
  16055. rccal_tx40_11n_bcap = 0x13;
  16056. rccal_tx40_11n_scap = 0x11;
  16057. rccal_ovrd = true;
  16058. }
  16059. }
  16060. if (rccal_ovrd) {
  16061. rx2tx_lpf_rc_lut_tx20_11b =
  16062. (rccal_tx20_11b_bcap << 8) |
  16063. (rccal_tx20_11b_scap << 3) |
  16064. tx_lpf_bw_11b;
  16065. rx2tx_lpf_rc_lut_tx20_11n =
  16066. (rccal_tx20_11n_bcap << 8) |
  16067. (rccal_tx20_11n_scap << 3) |
  16068. tx_lpf_bw_ofdm_20mhz;
  16069. rx2tx_lpf_rc_lut_tx40_11n =
  16070. (rccal_tx40_11n_bcap << 8) |
  16071. (rccal_tx40_11n_scap << 3) |
  16072. tx_lpf_bw_ofdm_40mhz;
  16073. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16074. wlc_phy_table_write_nphy(
  16075. pi, NPHY_TBL_ID_RFSEQ,
  16076. 1,
  16077. 0x152 + coreNum * 0x10,
  16078. 16,
  16079. &rx2tx_lpf_rc_lut_tx20_11b);
  16080. wlc_phy_table_write_nphy(
  16081. pi, NPHY_TBL_ID_RFSEQ,
  16082. 1,
  16083. 0x153 + coreNum * 0x10,
  16084. 16,
  16085. &rx2tx_lpf_rc_lut_tx20_11n);
  16086. wlc_phy_table_write_nphy(
  16087. pi, NPHY_TBL_ID_RFSEQ,
  16088. 1,
  16089. 0x154 + coreNum * 0x10,
  16090. 16,
  16091. &rx2tx_lpf_rc_lut_tx20_11n);
  16092. wlc_phy_table_write_nphy(
  16093. pi, NPHY_TBL_ID_RFSEQ,
  16094. 1,
  16095. 0x155 + coreNum * 0x10,
  16096. 16,
  16097. &rx2tx_lpf_rc_lut_tx40_11n);
  16098. wlc_phy_table_write_nphy(
  16099. pi, NPHY_TBL_ID_RFSEQ,
  16100. 1,
  16101. 0x156 + coreNum * 0x10,
  16102. 16,
  16103. &rx2tx_lpf_rc_lut_tx40_11n);
  16104. wlc_phy_table_write_nphy(
  16105. pi, NPHY_TBL_ID_RFSEQ,
  16106. 1,
  16107. 0x157 + coreNum * 0x10,
  16108. 16,
  16109. &rx2tx_lpf_rc_lut_tx40_11n);
  16110. wlc_phy_table_write_nphy(
  16111. pi, NPHY_TBL_ID_RFSEQ,
  16112. 1,
  16113. 0x158 + coreNum * 0x10,
  16114. 16,
  16115. &rx2tx_lpf_rc_lut_tx40_11n);
  16116. wlc_phy_table_write_nphy(
  16117. pi, NPHY_TBL_ID_RFSEQ,
  16118. 1,
  16119. 0x159 + coreNum * 0x10,
  16120. 16,
  16121. &rx2tx_lpf_rc_lut_tx40_11n);
  16122. }
  16123. wlc_phy_rfctrl_override_nphy_rev7(
  16124. pi, (0x1 << 4),
  16125. 1, 0x3, 0,
  16126. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  16127. }
  16128. write_phy_reg(pi, 0x32f, 0x3);
  16129. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  16130. wlc_phy_rfctrl_override_nphy_rev7(
  16131. pi, (0x1 << 2),
  16132. 1, 0x3, 0,
  16133. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16134. if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) ||
  16135. (pi->pubpi.radiorev == 6)) {
  16136. if ((pi->sh->sromrev >= 8)
  16137. && (pi->sh->boardflags2 & BFL2_IPALVLSHIFT_3P3))
  16138. ipalvlshift_3p3_war_en = 1;
  16139. if (ipalvlshift_3p3_war_en) {
  16140. write_radio_reg(pi, RADIO_2057_GPAIO_CONFIG,
  16141. 0x5);
  16142. write_radio_reg(pi, RADIO_2057_GPAIO_SEL1,
  16143. 0x30);
  16144. write_radio_reg(pi, RADIO_2057_GPAIO_SEL0, 0x0);
  16145. or_radio_reg(pi,
  16146. RADIO_2057_RXTXBIAS_CONFIG_CORE0,
  16147. 0x1);
  16148. or_radio_reg(pi,
  16149. RADIO_2057_RXTXBIAS_CONFIG_CORE1,
  16150. 0x1);
  16151. ipa2g_mainbias = 0x1f;
  16152. ipa2g_casconv = 0x6f;
  16153. ipa2g_biasfilt = 0xaa;
  16154. } else {
  16155. ipa2g_mainbias = 0x2b;
  16156. ipa2g_casconv = 0x7f;
  16157. ipa2g_biasfilt = 0xee;
  16158. }
  16159. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16160. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16161. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16162. coreNum, IPA2G_IMAIN,
  16163. ipa2g_mainbias);
  16164. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16165. coreNum, IPA2G_CASCONV,
  16166. ipa2g_casconv);
  16167. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16168. coreNum,
  16169. IPA2G_BIAS_FILTER,
  16170. ipa2g_biasfilt);
  16171. }
  16172. }
  16173. }
  16174. if (PHY_IPA(pi)) {
  16175. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16176. if ((pi->pubpi.radiorev == 3)
  16177. || (pi->pubpi.radiorev == 4)
  16178. || (pi->pubpi.radiorev == 6))
  16179. txgm_idac_bleed = 0x7f;
  16180. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16181. if (txgm_idac_bleed != 0)
  16182. WRITE_RADIO_REG4(
  16183. pi, RADIO_2057,
  16184. CORE, coreNum,
  16185. TXGM_IDAC_BLEED,
  16186. txgm_idac_bleed);
  16187. }
  16188. if (pi->pubpi.radiorev == 5) {
  16189. for (coreNum = 0; coreNum <= 1;
  16190. coreNum++) {
  16191. WRITE_RADIO_REG4(pi, RADIO_2057,
  16192. CORE, coreNum,
  16193. IPA2G_CASCONV,
  16194. 0x13);
  16195. WRITE_RADIO_REG4(pi, RADIO_2057,
  16196. CORE, coreNum,
  16197. IPA2G_IMAIN,
  16198. 0x1f);
  16199. WRITE_RADIO_REG4(
  16200. pi, RADIO_2057,
  16201. CORE, coreNum,
  16202. IPA2G_BIAS_FILTER,
  16203. 0xee);
  16204. WRITE_RADIO_REG4(pi, RADIO_2057,
  16205. CORE, coreNum,
  16206. PAD2G_IDACS,
  16207. 0x8a);
  16208. WRITE_RADIO_REG4(
  16209. pi, RADIO_2057,
  16210. CORE, coreNum,
  16211. PAD_BIAS_FILTER_BWS,
  16212. 0x3e);
  16213. }
  16214. } else if ((pi->pubpi.radiorev == 7)
  16215. || (pi->pubpi.radiorev == 8)) {
  16216. if (CHSPEC_IS40(pi->radio_chanspec) ==
  16217. 0) {
  16218. WRITE_RADIO_REG4(pi, RADIO_2057,
  16219. CORE, 0,
  16220. IPA2G_IMAIN,
  16221. 0x14);
  16222. WRITE_RADIO_REG4(pi, RADIO_2057,
  16223. CORE, 1,
  16224. IPA2G_IMAIN,
  16225. 0x12);
  16226. } else {
  16227. WRITE_RADIO_REG4(pi, RADIO_2057,
  16228. CORE, 0,
  16229. IPA2G_IMAIN,
  16230. 0x16);
  16231. WRITE_RADIO_REG4(pi, RADIO_2057,
  16232. CORE, 1,
  16233. IPA2G_IMAIN,
  16234. 0x16);
  16235. }
  16236. }
  16237. } else {
  16238. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(
  16239. pi->radio_chanspec));
  16240. if (((freq >= 5180) && (freq <= 5230))
  16241. || ((freq >= 5745) && (freq <= 5805))) {
  16242. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16243. 0, IPA5G_BIAS_FILTER,
  16244. 0xff);
  16245. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16246. 1, IPA5G_BIAS_FILTER,
  16247. 0xff);
  16248. }
  16249. }
  16250. } else {
  16251. if (pi->pubpi.radiorev != 5) {
  16252. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16253. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16254. coreNum,
  16255. TXMIX2G_TUNE_BOOST_PU,
  16256. 0x61);
  16257. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16258. coreNum,
  16259. TXGM_IDAC_BLEED, 0x70);
  16260. }
  16261. }
  16262. }
  16263. if (pi->pubpi.radiorev == 4) {
  16264. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16265. 0x05, 16,
  16266. &afectrl_adc_ctrl1_rev7);
  16267. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16268. 0x15, 16,
  16269. &afectrl_adc_ctrl1_rev7);
  16270. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16271. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16272. AFE_VCM_CAL_MASTER, 0x0);
  16273. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16274. AFE_SET_VCM_I, 0x3f);
  16275. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16276. AFE_SET_VCM_Q, 0x3f);
  16277. }
  16278. } else {
  16279. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  16280. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  16281. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  16282. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  16283. mod_phy_reg(pi, 0xa6, (0x1 << 0), 0);
  16284. mod_phy_reg(pi, 0x8f, (0x1 << 0), (0x1 << 0));
  16285. mod_phy_reg(pi, 0xa7, (0x1 << 0), 0);
  16286. mod_phy_reg(pi, 0xa5, (0x1 << 0), (0x1 << 0));
  16287. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16288. 0x05, 16,
  16289. &afectrl_adc_ctrl2_rev7);
  16290. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16291. 0x15, 16,
  16292. &afectrl_adc_ctrl2_rev7);
  16293. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  16294. mod_phy_reg(pi, 0x8f, (0x1 << 2), 0);
  16295. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  16296. mod_phy_reg(pi, 0xa5, (0x1 << 2), 0);
  16297. }
  16298. write_phy_reg(pi, 0x6a, 0x2);
  16299. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 256, 32,
  16300. &min_nvar_offset_6mbps);
  16301. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x138, 16,
  16302. &rfseq_pktgn_lpf_hpc_rev7);
  16303. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x141, 16,
  16304. &rfseq_pktgn_lpf_h_hpc_rev7);
  16305. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 3, 0x133, 16,
  16306. &rfseq_htpktgn_lpf_hpc_rev7);
  16307. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x146, 16,
  16308. &rfseq_cckpktgn_lpf_hpc_rev7);
  16309. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x123, 16,
  16310. &rfseq_tx2rx_lpf_h_hpc_rev7);
  16311. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x12A, 16,
  16312. &rfseq_rx2tx_lpf_h_hpc_rev7);
  16313. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16314. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16315. 32, &min_nvar_val);
  16316. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16317. 127, 32, &min_nvar_val);
  16318. } else {
  16319. min_nvar_val = noise_var_tbl_rev7[3];
  16320. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16321. 32, &min_nvar_val);
  16322. min_nvar_val = noise_var_tbl_rev7[127];
  16323. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16324. 127, 32, &min_nvar_val);
  16325. }
  16326. wlc_phy_workarounds_nphy_gainctrl(pi);
  16327. pdetrange =
  16328. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16329. pdetrange : pi->srom_fem2g.pdetrange;
  16330. if (pdetrange == 0) {
  16331. chan_freq_range =
  16332. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16333. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16334. aux_adc_vmid_rev7_core0[3] = 0x70;
  16335. aux_adc_vmid_rev7_core1[3] = 0x70;
  16336. aux_adc_gain_rev7[3] = 2;
  16337. } else {
  16338. aux_adc_vmid_rev7_core0[3] = 0x80;
  16339. aux_adc_vmid_rev7_core1[3] = 0x80;
  16340. aux_adc_gain_rev7[3] = 3;
  16341. }
  16342. } else if (pdetrange == 1) {
  16343. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16344. aux_adc_vmid_rev7_core0[3] = 0x7c;
  16345. aux_adc_vmid_rev7_core1[3] = 0x7c;
  16346. aux_adc_gain_rev7[3] = 2;
  16347. } else {
  16348. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16349. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16350. aux_adc_gain_rev7[3] = 1;
  16351. }
  16352. } else if (pdetrange == 2) {
  16353. if (pi->pubpi.radioid == BCM2057_ID) {
  16354. if ((pi->pubpi.radiorev == 5)
  16355. || (pi->pubpi.radiorev == 7)
  16356. || (pi->pubpi.radiorev == 8)) {
  16357. if (chan_freq_range ==
  16358. WL_CHAN_FREQ_RANGE_2G) {
  16359. aux_adc_vmid_rev7_core0[3] =
  16360. 0x8c;
  16361. aux_adc_vmid_rev7_core1[3] =
  16362. 0x8c;
  16363. aux_adc_gain_rev7[3] = 0;
  16364. } else {
  16365. aux_adc_vmid_rev7_core0[3] =
  16366. 0x96;
  16367. aux_adc_vmid_rev7_core1[3] =
  16368. 0x96;
  16369. aux_adc_gain_rev7[3] = 0;
  16370. }
  16371. }
  16372. }
  16373. } else if (pdetrange == 3) {
  16374. if (chan_freq_range == WL_CHAN_FREQ_RANGE_2G) {
  16375. aux_adc_vmid_rev7_core0[3] = 0x89;
  16376. aux_adc_vmid_rev7_core1[3] = 0x89;
  16377. aux_adc_gain_rev7[3] = 0;
  16378. }
  16379. } else if (pdetrange == 5) {
  16380. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16381. aux_adc_vmid_rev7_core0[3] = 0x80;
  16382. aux_adc_vmid_rev7_core1[3] = 0x80;
  16383. aux_adc_gain_rev7[3] = 3;
  16384. } else {
  16385. aux_adc_vmid_rev7_core0[3] = 0x70;
  16386. aux_adc_vmid_rev7_core1[3] = 0x70;
  16387. aux_adc_gain_rev7[3] = 2;
  16388. }
  16389. }
  16390. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x08, 16,
  16391. &aux_adc_vmid_rev7_core0);
  16392. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x18, 16,
  16393. &aux_adc_vmid_rev7_core1);
  16394. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x0c, 16,
  16395. &aux_adc_gain_rev7);
  16396. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x1c, 16,
  16397. &aux_adc_gain_rev7);
  16398. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16399. write_phy_reg(pi, 0x23f, 0x1f8);
  16400. write_phy_reg(pi, 0x240, 0x1f8);
  16401. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16402. 1, 0, 32, &leg_data_weights);
  16403. leg_data_weights = leg_data_weights & 0xffffff;
  16404. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16405. 1, 0, 32, &leg_data_weights);
  16406. alpha0 = 293;
  16407. alpha1 = 435;
  16408. alpha2 = 261;
  16409. beta0 = 366;
  16410. beta1 = 205;
  16411. beta2 = 32;
  16412. write_phy_reg(pi, 0x145, alpha0);
  16413. write_phy_reg(pi, 0x146, alpha1);
  16414. write_phy_reg(pi, 0x147, alpha2);
  16415. write_phy_reg(pi, 0x148, beta0);
  16416. write_phy_reg(pi, 0x149, beta1);
  16417. write_phy_reg(pi, 0x14a, beta2);
  16418. write_phy_reg(pi, 0x38, 0xC);
  16419. write_phy_reg(pi, 0x2ae, 0xC);
  16420. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX,
  16421. rfseq_tx2rx_events_rev3,
  16422. rfseq_tx2rx_dlys_rev3,
  16423. sizeof(rfseq_tx2rx_events_rev3) /
  16424. sizeof(rfseq_tx2rx_events_rev3[0]));
  16425. if (PHY_IPA(pi))
  16426. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16427. rfseq_rx2tx_events_rev3_ipa,
  16428. rfseq_rx2tx_dlys_rev3_ipa,
  16429. sizeof
  16430. (rfseq_rx2tx_events_rev3_ipa) /
  16431. sizeof
  16432. (rfseq_rx2tx_events_rev3_ipa
  16433. [0]));
  16434. if ((pi->sh->hw_phyrxchain != 0x3) &&
  16435. (pi->sh->hw_phyrxchain != pi->sh->hw_phytxchain)) {
  16436. if (PHY_IPA(pi)) {
  16437. rfseq_rx2tx_dlys_rev3[5] = 59;
  16438. rfseq_rx2tx_dlys_rev3[6] = 1;
  16439. rfseq_rx2tx_events_rev3[7] =
  16440. NPHY_REV3_RFSEQ_CMD_END;
  16441. }
  16442. wlc_phy_set_rfseq_nphy(
  16443. pi, NPHY_RFSEQ_RX2TX,
  16444. rfseq_rx2tx_events_rev3,
  16445. rfseq_rx2tx_dlys_rev3,
  16446. sizeof(rfseq_rx2tx_events_rev3) /
  16447. sizeof(rfseq_rx2tx_events_rev3[0]));
  16448. }
  16449. if (CHSPEC_IS2G(pi->radio_chanspec))
  16450. write_phy_reg(pi, 0x6a, 0x2);
  16451. else
  16452. write_phy_reg(pi, 0x6a, 0x9c40);
  16453. mod_phy_reg(pi, 0x294, (0xf << 8), (7 << 8));
  16454. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16455. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16456. 32, &min_nvar_val);
  16457. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16458. 127, 32, &min_nvar_val);
  16459. } else {
  16460. min_nvar_val = noise_var_tbl_rev3[3];
  16461. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16462. 32, &min_nvar_val);
  16463. min_nvar_val = noise_var_tbl_rev3[127];
  16464. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16465. 127, 32, &min_nvar_val);
  16466. }
  16467. wlc_phy_workarounds_nphy_gainctrl(pi);
  16468. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  16469. &dac_control);
  16470. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  16471. &dac_control);
  16472. pdetrange =
  16473. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16474. pdetrange : pi->srom_fem2g.pdetrange;
  16475. if (pdetrange == 0) {
  16476. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  16477. aux_adc_vmid = aux_adc_vmid_rev4;
  16478. aux_adc_gain = aux_adc_gain_rev4;
  16479. } else {
  16480. aux_adc_vmid = aux_adc_vmid_rev3;
  16481. aux_adc_gain = aux_adc_gain_rev3;
  16482. }
  16483. chan_freq_range =
  16484. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16485. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16486. switch (chan_freq_range) {
  16487. case WL_CHAN_FREQ_RANGE_5GL:
  16488. aux_adc_vmid[3] = 0x89;
  16489. aux_adc_gain[3] = 0;
  16490. break;
  16491. case WL_CHAN_FREQ_RANGE_5GM:
  16492. aux_adc_vmid[3] = 0x89;
  16493. aux_adc_gain[3] = 0;
  16494. break;
  16495. case WL_CHAN_FREQ_RANGE_5GH:
  16496. aux_adc_vmid[3] = 0x89;
  16497. aux_adc_gain[3] = 0;
  16498. break;
  16499. default:
  16500. break;
  16501. }
  16502. }
  16503. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16504. 0x08, 16, aux_adc_vmid);
  16505. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16506. 0x18, 16, aux_adc_vmid);
  16507. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16508. 0x0c, 16, aux_adc_gain);
  16509. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16510. 0x1c, 16, aux_adc_gain);
  16511. } else if (pdetrange == 1) {
  16512. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16513. 0x08, 16, sk_adc_vmid);
  16514. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16515. 0x18, 16, sk_adc_vmid);
  16516. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16517. 0x0c, 16, sk_adc_gain);
  16518. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16519. 0x1c, 16, sk_adc_gain);
  16520. } else if (pdetrange == 2) {
  16521. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x74 };
  16522. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x04 };
  16523. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16524. chan_freq_range =
  16525. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16526. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16527. bcm_adc_vmid[3] = 0x8e;
  16528. bcm_adc_gain[3] = 0x03;
  16529. } else {
  16530. bcm_adc_vmid[3] = 0x94;
  16531. bcm_adc_gain[3] = 0x03;
  16532. }
  16533. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  16534. bcm_adc_vmid[3] = 0x84;
  16535. bcm_adc_gain[3] = 0x02;
  16536. }
  16537. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16538. 0x08, 16, bcm_adc_vmid);
  16539. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16540. 0x18, 16, bcm_adc_vmid);
  16541. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16542. 0x0c, 16, bcm_adc_gain);
  16543. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16544. 0x1c, 16, bcm_adc_gain);
  16545. } else if (pdetrange == 3) {
  16546. chan_freq_range =
  16547. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16548. if ((NREV_GE(pi->pubpi.phy_rev, 4))
  16549. && (chan_freq_range == WL_CHAN_FREQ_RANGE_2G)) {
  16550. u16 auxadc_vmid[] = {
  16551. 0xa2, 0xb4, 0xb4, 0x270
  16552. };
  16553. u16 auxadc_gain[] = {
  16554. 0x02, 0x02, 0x02, 0x00
  16555. };
  16556. wlc_phy_table_write_nphy(pi,
  16557. NPHY_TBL_ID_AFECTRL, 4,
  16558. 0x08, 16, auxadc_vmid);
  16559. wlc_phy_table_write_nphy(pi,
  16560. NPHY_TBL_ID_AFECTRL, 4,
  16561. 0x18, 16, auxadc_vmid);
  16562. wlc_phy_table_write_nphy(pi,
  16563. NPHY_TBL_ID_AFECTRL, 4,
  16564. 0x0c, 16, auxadc_gain);
  16565. wlc_phy_table_write_nphy(pi,
  16566. NPHY_TBL_ID_AFECTRL, 4,
  16567. 0x1c, 16, auxadc_gain);
  16568. }
  16569. } else if ((pdetrange == 4) || (pdetrange == 5)) {
  16570. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x0 };
  16571. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x0 };
  16572. u16 Vmid[2], Av[2];
  16573. chan_freq_range =
  16574. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16575. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16576. Vmid[0] = (pdetrange == 4) ? 0x8e : 0x89;
  16577. Vmid[1] = (pdetrange == 4) ? 0x96 : 0x89;
  16578. Av[0] = (pdetrange == 4) ? 2 : 0;
  16579. Av[1] = (pdetrange == 4) ? 2 : 0;
  16580. } else {
  16581. Vmid[0] = (pdetrange == 4) ? 0x89 : 0x74;
  16582. Vmid[1] = (pdetrange == 4) ? 0x8b : 0x70;
  16583. Av[0] = (pdetrange == 4) ? 2 : 0;
  16584. Av[1] = (pdetrange == 4) ? 2 : 0;
  16585. }
  16586. bcm_adc_vmid[3] = Vmid[0];
  16587. bcm_adc_gain[3] = Av[0];
  16588. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16589. 0x08, 16, bcm_adc_vmid);
  16590. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16591. 0x0c, 16, bcm_adc_gain);
  16592. bcm_adc_vmid[3] = Vmid[1];
  16593. bcm_adc_gain[3] = Av[1];
  16594. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16595. 0x18, 16, bcm_adc_vmid);
  16596. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16597. 0x1c, 16, bcm_adc_gain);
  16598. }
  16599. write_radio_reg(pi,
  16600. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX0),
  16601. 0x0);
  16602. write_radio_reg(pi,
  16603. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX1),
  16604. 0x0);
  16605. write_radio_reg(pi,
  16606. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX0),
  16607. 0x6);
  16608. write_radio_reg(pi,
  16609. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX1),
  16610. 0x6);
  16611. write_radio_reg(pi,
  16612. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX0),
  16613. 0x7);
  16614. write_radio_reg(pi,
  16615. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX1),
  16616. 0x7);
  16617. write_radio_reg(pi,
  16618. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX0),
  16619. 0x88);
  16620. write_radio_reg(pi,
  16621. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX1),
  16622. 0x88);
  16623. write_radio_reg(pi,
  16624. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX0),
  16625. 0x0);
  16626. write_radio_reg(pi,
  16627. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX1),
  16628. 0x0);
  16629. write_radio_reg(pi,
  16630. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX0),
  16631. 0x0);
  16632. write_radio_reg(pi,
  16633. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX1),
  16634. 0x0);
  16635. triso =
  16636. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16637. triso : pi->srom_fem2g.triso;
  16638. if (triso == 7) {
  16639. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  16640. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  16641. }
  16642. wlc_phy_war_txchain_upd_nphy(pi, pi->sh->hw_phytxchain);
  16643. if (((pi->sh->boardflags2 & BFL2_APLL_WAR) &&
  16644. (CHSPEC_IS5G(pi->radio_chanspec))) ||
  16645. (((pi->sh->boardflags2 & BFL2_GPLL_WAR) ||
  16646. (pi->sh->boardflags2 & BFL2_GPLL_WAR2)) &&
  16647. (CHSPEC_IS2G(pi->radio_chanspec)))) {
  16648. nss1_data_weights = 0x00088888;
  16649. ht_data_weights = 0x00088888;
  16650. stbc_data_weights = 0x00088888;
  16651. } else {
  16652. nss1_data_weights = 0x88888888;
  16653. ht_data_weights = 0x88888888;
  16654. stbc_data_weights = 0x88888888;
  16655. }
  16656. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16657. 1, 1, 32, &nss1_data_weights);
  16658. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16659. 1, 2, 32, &ht_data_weights);
  16660. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16661. 1, 3, 32, &stbc_data_weights);
  16662. if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  16663. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  16664. write_radio_reg(pi,
  16665. RADIO_2056_TX_GMBB_IDAC |
  16666. RADIO_2056_TX0, 0x70);
  16667. write_radio_reg(pi,
  16668. RADIO_2056_TX_GMBB_IDAC |
  16669. RADIO_2056_TX1, 0x70);
  16670. }
  16671. }
  16672. if (!pi->edcrs_threshold_lock) {
  16673. write_phy_reg(pi, 0x224, 0x3eb);
  16674. write_phy_reg(pi, 0x225, 0x3eb);
  16675. write_phy_reg(pi, 0x226, 0x341);
  16676. write_phy_reg(pi, 0x227, 0x341);
  16677. write_phy_reg(pi, 0x228, 0x42b);
  16678. write_phy_reg(pi, 0x229, 0x42b);
  16679. write_phy_reg(pi, 0x22a, 0x381);
  16680. write_phy_reg(pi, 0x22b, 0x381);
  16681. write_phy_reg(pi, 0x22c, 0x42b);
  16682. write_phy_reg(pi, 0x22d, 0x42b);
  16683. write_phy_reg(pi, 0x22e, 0x381);
  16684. write_phy_reg(pi, 0x22f, 0x381);
  16685. }
  16686. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16687. if (pi->sh->boardflags2 & BFL2_SINGLEANT_CCK)
  16688. wlapi_bmac_mhf(pi->sh->physhim, MHF4,
  16689. MHF4_BPHY_TXCORE0,
  16690. MHF4_BPHY_TXCORE0, BRCM_BAND_ALL);
  16691. }
  16692. } else {
  16693. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD ||
  16694. (pi->sh->boardtype == 0x8b)) {
  16695. uint i;
  16696. u8 war_dlys[] = { 1, 6, 6, 2, 4, 20, 1 };
  16697. for (i = 0; i < ARRAY_SIZE(rfseq_rx2tx_dlys); i++)
  16698. rfseq_rx2tx_dlys[i] = war_dlys[i];
  16699. }
  16700. if (CHSPEC_IS5G(pi->radio_chanspec) && pi->phy_5g_pwrgain) {
  16701. and_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0xf7);
  16702. and_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0xf7);
  16703. } else {
  16704. or_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0x8);
  16705. or_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0x8);
  16706. }
  16707. regval = 0x000a;
  16708. wlc_phy_table_write_nphy(pi, 8, 1, 0, 16, &regval);
  16709. wlc_phy_table_write_nphy(pi, 8, 1, 0x10, 16, &regval);
  16710. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16711. regval = 0xcdaa;
  16712. wlc_phy_table_write_nphy(pi, 8, 1, 0x02, 16, &regval);
  16713. wlc_phy_table_write_nphy(pi, 8, 1, 0x12, 16, &regval);
  16714. }
  16715. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16716. regval = 0x0000;
  16717. wlc_phy_table_write_nphy(pi, 8, 1, 0x08, 16, &regval);
  16718. wlc_phy_table_write_nphy(pi, 8, 1, 0x18, 16, &regval);
  16719. regval = 0x7aab;
  16720. wlc_phy_table_write_nphy(pi, 8, 1, 0x07, 16, &regval);
  16721. wlc_phy_table_write_nphy(pi, 8, 1, 0x17, 16, &regval);
  16722. regval = 0x0800;
  16723. wlc_phy_table_write_nphy(pi, 8, 1, 0x06, 16, &regval);
  16724. wlc_phy_table_write_nphy(pi, 8, 1, 0x16, 16, &regval);
  16725. }
  16726. write_phy_reg(pi, 0xf8, 0x02d8);
  16727. write_phy_reg(pi, 0xf9, 0x0301);
  16728. write_phy_reg(pi, 0xfa, 0x02d8);
  16729. write_phy_reg(pi, 0xfb, 0x0301);
  16730. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX, rfseq_rx2tx_events,
  16731. rfseq_rx2tx_dlys,
  16732. sizeof(rfseq_rx2tx_events) /
  16733. sizeof(rfseq_rx2tx_events[0]));
  16734. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX, rfseq_tx2rx_events,
  16735. rfseq_tx2rx_dlys,
  16736. sizeof(rfseq_tx2rx_events) /
  16737. sizeof(rfseq_tx2rx_events[0]));
  16738. wlc_phy_workarounds_nphy_gainctrl(pi);
  16739. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16740. if (read_phy_reg(pi, 0xa0) & NPHY_MLenable)
  16741. wlapi_bmac_mhf(pi->sh->physhim, MHF3,
  16742. MHF3_NPHY_MLADV_WAR,
  16743. MHF3_NPHY_MLADV_WAR,
  16744. BRCM_BAND_ALL);
  16745. } else if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  16746. write_phy_reg(pi, 0x1e3, 0x0);
  16747. write_phy_reg(pi, 0x1e4, 0x0);
  16748. }
  16749. if (NREV_LT(pi->pubpi.phy_rev, 2))
  16750. mod_phy_reg(pi, 0x90, (0x1 << 7), 0);
  16751. alpha0 = 293;
  16752. alpha1 = 435;
  16753. alpha2 = 261;
  16754. beta0 = 366;
  16755. beta1 = 205;
  16756. beta2 = 32;
  16757. write_phy_reg(pi, 0x145, alpha0);
  16758. write_phy_reg(pi, 0x146, alpha1);
  16759. write_phy_reg(pi, 0x147, alpha2);
  16760. write_phy_reg(pi, 0x148, beta0);
  16761. write_phy_reg(pi, 0x149, beta1);
  16762. write_phy_reg(pi, 0x14a, beta2);
  16763. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16764. mod_phy_reg(pi, 0x142, (0xf << 12), 0);
  16765. write_phy_reg(pi, 0x192, 0xb5);
  16766. write_phy_reg(pi, 0x193, 0xa4);
  16767. write_phy_reg(pi, 0x194, 0x0);
  16768. }
  16769. if (NREV_IS(pi->pubpi.phy_rev, 2))
  16770. mod_phy_reg(pi, 0x221,
  16771. NPHY_FORCESIG_DECODEGATEDCLKS,
  16772. NPHY_FORCESIG_DECODEGATEDCLKS);
  16773. }
  16774. if (pi->phyhang_avoid)
  16775. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  16776. }
  16777. static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  16778. {
  16779. int j, type = 2;
  16780. u16 addr_offset = 0x2c5;
  16781. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  16782. write_phy_reg(pi, addr_offset + j,
  16783. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  16784. }
  16785. static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals)
  16786. {
  16787. if (write == 0) {
  16788. vals[0] = read_phy_reg(pi, 0x2c);
  16789. vals[1] = read_phy_reg(pi, 0x42);
  16790. } else {
  16791. write_phy_reg(pi, 0x2c, vals[0]);
  16792. write_phy_reg(pi, 0x42, vals[1]);
  16793. }
  16794. }
  16795. static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi)
  16796. {
  16797. u8 core;
  16798. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  16799. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16800. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16801. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16802. TX_SSI_MASTER, 0x5);
  16803. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16804. TX_SSI_MUX, 0xe);
  16805. if (pi->pubpi.radiorev != 5)
  16806. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16807. core, TSSIA, 0);
  16808. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16809. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16810. core, TSSIG, 0x1);
  16811. else
  16812. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16813. core, TSSIG, 0x31);
  16814. } else {
  16815. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16816. TX_SSI_MASTER, 0x9);
  16817. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16818. TX_SSI_MUX, 0xc);
  16819. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16820. TSSIG, 0);
  16821. if (pi->pubpi.radiorev != 5) {
  16822. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16823. WRITE_RADIO_REG3(pi, RADIO_2057,
  16824. TX, core,
  16825. TSSIA, 0x1);
  16826. else
  16827. WRITE_RADIO_REG3(pi, RADIO_2057,
  16828. TX, core,
  16829. TSSIA, 0x31);
  16830. }
  16831. }
  16832. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  16833. 0);
  16834. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  16835. 0);
  16836. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  16837. 0x3);
  16838. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  16839. 0x0);
  16840. }
  16841. } else {
  16842. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR31,
  16843. (CHSPEC_IS2G(pi->radio_chanspec)) ? 0x128 :
  16844. 0x80);
  16845. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR30, 0x0);
  16846. WRITE_RADIO_SYN(pi, RADIO_2056, GPIO_MASTER1, 0x29);
  16847. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16848. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_VCM_HG,
  16849. 0x0);
  16850. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_IDAC,
  16851. 0x0);
  16852. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_VCM,
  16853. 0x3);
  16854. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TX_AMP_DET,
  16855. 0x0);
  16856. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC1,
  16857. 0x8);
  16858. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC2,
  16859. 0x0);
  16860. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC3,
  16861. 0x0);
  16862. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16863. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16864. TX_SSI_MASTER, 0x5);
  16865. if (pi->pubpi.radiorev != 5)
  16866. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16867. core, TSSIA, 0x0);
  16868. if (NREV_GE(pi->pubpi.phy_rev, 5))
  16869. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16870. core, TSSIG, 0x31);
  16871. else
  16872. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16873. core, TSSIG, 0x11);
  16874. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16875. TX_SSI_MUX, 0xe);
  16876. } else {
  16877. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16878. TX_SSI_MASTER, 0x9);
  16879. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16880. TSSIA, 0x31);
  16881. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16882. TSSIG, 0x0);
  16883. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16884. TX_SSI_MUX, 0xc);
  16885. }
  16886. }
  16887. }
  16888. }
  16889. static void
  16890. wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value,
  16891. u8 core_mask, u8 off)
  16892. {
  16893. u8 core_num;
  16894. u16 addr = 0, mask = 0, en_addr = 0, val_addr = 0, en_mask =
  16895. 0, val_mask = 0;
  16896. u8 shift = 0, val_shift = 0;
  16897. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  16898. en_mask = field;
  16899. for (core_num = 0; core_num < 2; core_num++) {
  16900. switch (field) {
  16901. case (0x1 << 1):
  16902. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16903. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16904. val_mask = (0x1 << 0);
  16905. val_shift = 0;
  16906. break;
  16907. case (0x1 << 2):
  16908. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16909. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16910. val_mask = (0x1 << 1);
  16911. val_shift = 1;
  16912. break;
  16913. case (0x1 << 3):
  16914. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16915. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16916. val_mask = (0x1 << 2);
  16917. val_shift = 2;
  16918. break;
  16919. case (0x1 << 4):
  16920. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16921. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16922. val_mask = (0x1 << 4);
  16923. val_shift = 4;
  16924. break;
  16925. case (0x1 << 5):
  16926. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16927. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16928. val_mask = (0x1 << 5);
  16929. val_shift = 5;
  16930. break;
  16931. case (0x1 << 6):
  16932. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16933. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16934. val_mask = (0x1 << 6);
  16935. val_shift = 6;
  16936. break;
  16937. case (0x1 << 7):
  16938. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16939. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16940. val_mask = (0x1 << 7);
  16941. val_shift = 7;
  16942. break;
  16943. case (0x1 << 8):
  16944. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16945. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16946. val_mask = (0x7 << 8);
  16947. val_shift = 8;
  16948. break;
  16949. case (0x1 << 11):
  16950. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16951. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16952. val_mask = (0x7 << 13);
  16953. val_shift = 13;
  16954. break;
  16955. case (0x1 << 9):
  16956. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16957. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16958. val_mask = (0x7 << 0);
  16959. val_shift = 0;
  16960. break;
  16961. case (0x1 << 10):
  16962. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16963. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16964. val_mask = (0x7 << 4);
  16965. val_shift = 4;
  16966. break;
  16967. case (0x1 << 12):
  16968. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16969. val_addr = (core_num == 0) ? 0x7b : 0x7e;
  16970. val_mask = (0xffff << 0);
  16971. val_shift = 0;
  16972. break;
  16973. case (0x1 << 13):
  16974. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16975. val_addr = (core_num == 0) ? 0x7c : 0x7f;
  16976. val_mask = (0xffff << 0);
  16977. val_shift = 0;
  16978. break;
  16979. case (0x1 << 14):
  16980. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16981. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16982. val_mask = (0x3 << 6);
  16983. val_shift = 6;
  16984. break;
  16985. case (0x1 << 0):
  16986. en_addr = (core_num == 0) ? 0xe5 : 0xe6;
  16987. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16988. val_mask = (0x1 << 15);
  16989. val_shift = 15;
  16990. break;
  16991. default:
  16992. addr = 0xffff;
  16993. break;
  16994. }
  16995. if (off) {
  16996. and_phy_reg(pi, en_addr, ~en_mask);
  16997. and_phy_reg(pi, val_addr, ~val_mask);
  16998. } else {
  16999. if ((core_mask == 0)
  17000. || (core_mask & (1 << core_num))) {
  17001. or_phy_reg(pi, en_addr, en_mask);
  17002. if (addr != 0xffff)
  17003. mod_phy_reg(pi, val_addr,
  17004. val_mask,
  17005. (value <<
  17006. val_shift));
  17007. }
  17008. }
  17009. }
  17010. } else {
  17011. if (off) {
  17012. and_phy_reg(pi, 0xec, ~field);
  17013. value = 0x0;
  17014. } else {
  17015. or_phy_reg(pi, 0xec, field);
  17016. }
  17017. for (core_num = 0; core_num < 2; core_num++) {
  17018. switch (field) {
  17019. case (0x1 << 1):
  17020. case (0x1 << 9):
  17021. case (0x1 << 12):
  17022. case (0x1 << 13):
  17023. case (0x1 << 14):
  17024. addr = 0x78;
  17025. core_mask = 0x1;
  17026. break;
  17027. case (0x1 << 2):
  17028. case (0x1 << 3):
  17029. case (0x1 << 4):
  17030. case (0x1 << 5):
  17031. case (0x1 << 6):
  17032. case (0x1 << 7):
  17033. case (0x1 << 8):
  17034. addr = (core_num == 0) ? 0x7a : 0x7d;
  17035. break;
  17036. case (0x1 << 10):
  17037. addr = (core_num == 0) ? 0x7b : 0x7e;
  17038. break;
  17039. case (0x1 << 11):
  17040. addr = (core_num == 0) ? 0x7c : 0x7f;
  17041. break;
  17042. default:
  17043. addr = 0xffff;
  17044. }
  17045. switch (field) {
  17046. case (0x1 << 1):
  17047. mask = (0x7 << 3);
  17048. shift = 3;
  17049. break;
  17050. case (0x1 << 9):
  17051. mask = (0x1 << 2);
  17052. shift = 2;
  17053. break;
  17054. case (0x1 << 12):
  17055. mask = (0x1 << 8);
  17056. shift = 8;
  17057. break;
  17058. case (0x1 << 13):
  17059. mask = (0x1 << 9);
  17060. shift = 9;
  17061. break;
  17062. case (0x1 << 14):
  17063. mask = (0xf << 12);
  17064. shift = 12;
  17065. break;
  17066. case (0x1 << 2):
  17067. mask = (0x1 << 0);
  17068. shift = 0;
  17069. break;
  17070. case (0x1 << 3):
  17071. mask = (0x1 << 1);
  17072. shift = 1;
  17073. break;
  17074. case (0x1 << 4):
  17075. mask = (0x1 << 2);
  17076. shift = 2;
  17077. break;
  17078. case (0x1 << 5):
  17079. mask = (0x3 << 4);
  17080. shift = 4;
  17081. break;
  17082. case (0x1 << 6):
  17083. mask = (0x3 << 6);
  17084. shift = 6;
  17085. break;
  17086. case (0x1 << 7):
  17087. mask = (0x1 << 8);
  17088. shift = 8;
  17089. break;
  17090. case (0x1 << 8):
  17091. mask = (0x1 << 9);
  17092. shift = 9;
  17093. break;
  17094. case (0x1 << 10):
  17095. mask = 0x1fff;
  17096. shift = 0x0;
  17097. break;
  17098. case (0x1 << 11):
  17099. mask = 0x1fff;
  17100. shift = 0x0;
  17101. break;
  17102. default:
  17103. mask = 0x0;
  17104. shift = 0x0;
  17105. break;
  17106. }
  17107. if ((addr != 0xffff) && (core_mask & (1 << core_num)))
  17108. mod_phy_reg(pi, addr, mask, (value << shift));
  17109. }
  17110. or_phy_reg(pi, 0xec, (0x1 << 0));
  17111. or_phy_reg(pi, 0x78, (0x1 << 0));
  17112. udelay(1);
  17113. and_phy_reg(pi, 0xec, ~(0x1 << 0));
  17114. }
  17115. }
  17116. static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi)
  17117. {
  17118. s32 rssi_buf[4];
  17119. s32 int_val;
  17120. if (SCAN_RM_IN_PROGRESS(pi) || PLT_INPROG_PHY(pi) || PHY_MUTED(pi))
  17121. return;
  17122. if (PHY_IPA(pi))
  17123. wlc_phy_ipa_internal_tssi_setup_nphy(pi);
  17124. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17125. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17126. 0, 0x3, 0,
  17127. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17128. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17129. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 0);
  17130. wlc_phy_stopplayback_nphy(pi);
  17131. wlc_phy_tx_tone_nphy(pi, 4000, 0, 0, 0, false);
  17132. udelay(20);
  17133. int_val =
  17134. wlc_phy_poll_rssi_nphy(pi, (u8) NPHY_RSSI_SEL_TSSI_2G, rssi_buf,
  17135. 1);
  17136. wlc_phy_stopplayback_nphy(pi);
  17137. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, 0);
  17138. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17139. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17140. 0, 0x3, 1,
  17141. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17142. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17143. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 1);
  17144. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17145. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17146. (u8) ((int_val >> 24) & 0xff);
  17147. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17148. (u8) ((int_val >> 24) & 0xff);
  17149. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17150. (u8) ((int_val >> 8) & 0xff);
  17151. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17152. (u8) ((int_val >> 8) & 0xff);
  17153. } else {
  17154. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17155. (u8) ((int_val >> 24) & 0xff);
  17156. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17157. (u8) ((int_val >> 8) & 0xff);
  17158. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17159. (u8) ((int_val >> 16) & 0xff);
  17160. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17161. (u8) ((int_val) & 0xff);
  17162. }
  17163. }
  17164. static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi)
  17165. {
  17166. u8 idx, idx2, i, delta_ind;
  17167. for (idx = TXP_FIRST_CCK; idx <= TXP_LAST_CCK; idx++)
  17168. pi->adj_pwr_tbl_nphy[idx] = pi->tx_power_offset[idx];
  17169. for (i = 0; i < 4; i++) {
  17170. idx2 = 0;
  17171. delta_ind = 0;
  17172. switch (i) {
  17173. case 0:
  17174. if (CHSPEC_IS40(pi->radio_chanspec)
  17175. && NPHY_IS_SROM_REINTERPRET) {
  17176. idx = TXP_FIRST_MCS_40_SISO;
  17177. } else {
  17178. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17179. TXP_FIRST_OFDM_40_SISO : TXP_FIRST_OFDM;
  17180. delta_ind = 1;
  17181. }
  17182. break;
  17183. case 1:
  17184. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17185. TXP_FIRST_MCS_40_CDD : TXP_FIRST_MCS_20_CDD;
  17186. break;
  17187. case 2:
  17188. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17189. TXP_FIRST_MCS_40_STBC : TXP_FIRST_MCS_20_STBC;
  17190. break;
  17191. case 3:
  17192. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17193. TXP_FIRST_MCS_40_SDM : TXP_FIRST_MCS_20_SDM;
  17194. break;
  17195. }
  17196. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17197. pi->tx_power_offset[idx];
  17198. idx = idx + delta_ind;
  17199. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17200. pi->tx_power_offset[idx];
  17201. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17202. pi->tx_power_offset[idx];
  17203. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17204. pi->tx_power_offset[idx++];
  17205. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17206. pi->tx_power_offset[idx++];
  17207. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17208. pi->tx_power_offset[idx];
  17209. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17210. pi->tx_power_offset[idx];
  17211. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17212. pi->tx_power_offset[idx++];
  17213. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17214. pi->tx_power_offset[idx++];
  17215. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17216. pi->tx_power_offset[idx];
  17217. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17218. pi->tx_power_offset[idx];
  17219. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17220. pi->tx_power_offset[idx++];
  17221. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17222. pi->tx_power_offset[idx];
  17223. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17224. pi->tx_power_offset[idx++];
  17225. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17226. pi->tx_power_offset[idx];
  17227. idx = idx + 1 - delta_ind;
  17228. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17229. pi->tx_power_offset[idx];
  17230. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17231. pi->tx_power_offset[idx];
  17232. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17233. pi->tx_power_offset[idx];
  17234. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17235. pi->tx_power_offset[idx];
  17236. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17237. pi->tx_power_offset[idx];
  17238. }
  17239. }
  17240. static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi)
  17241. {
  17242. u32 idx;
  17243. s16 a1[2], b0[2], b1[2];
  17244. s8 target_pwr_qtrdbm[2];
  17245. s32 num, den, pwr_est;
  17246. u8 chan_freq_range;
  17247. u8 idle_tssi[2];
  17248. u32 tbl_id, tbl_len, tbl_offset;
  17249. u32 regval[64];
  17250. u8 core;
  17251. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17252. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17253. (void)R_REG(&pi->regs->maccontrol);
  17254. udelay(1);
  17255. }
  17256. if (pi->phyhang_avoid)
  17257. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17258. or_phy_reg(pi, 0x122, (0x1 << 0));
  17259. if (NREV_GE(pi->pubpi.phy_rev, 3))
  17260. and_phy_reg(pi, 0x1e7, (u16) (~(0x1 << 15)));
  17261. else
  17262. or_phy_reg(pi, 0x1e7, (0x1 << 15));
  17263. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17264. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17265. if (pi->sh->sromrev < 4) {
  17266. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17267. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17268. target_pwr_qtrdbm[0] = 13 * 4;
  17269. target_pwr_qtrdbm[1] = 13 * 4;
  17270. a1[0] = -424;
  17271. a1[1] = -424;
  17272. b0[0] = 5612;
  17273. b0[1] = 5612;
  17274. b1[1] = -1393;
  17275. b1[0] = -1393;
  17276. } else {
  17277. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  17278. switch (chan_freq_range) {
  17279. case WL_CHAN_FREQ_RANGE_2G:
  17280. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17281. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17282. target_pwr_qtrdbm[0] =
  17283. pi->nphy_pwrctrl_info[0].max_pwr_2g;
  17284. target_pwr_qtrdbm[1] =
  17285. pi->nphy_pwrctrl_info[1].max_pwr_2g;
  17286. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_a1;
  17287. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_a1;
  17288. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b0;
  17289. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b0;
  17290. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b1;
  17291. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b1;
  17292. break;
  17293. case WL_CHAN_FREQ_RANGE_5GL:
  17294. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17295. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17296. target_pwr_qtrdbm[0] =
  17297. pi->nphy_pwrctrl_info[0].max_pwr_5gl;
  17298. target_pwr_qtrdbm[1] =
  17299. pi->nphy_pwrctrl_info[1].max_pwr_5gl;
  17300. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1;
  17301. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1;
  17302. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0;
  17303. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0;
  17304. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1;
  17305. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1;
  17306. break;
  17307. case WL_CHAN_FREQ_RANGE_5GM:
  17308. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17309. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17310. target_pwr_qtrdbm[0] =
  17311. pi->nphy_pwrctrl_info[0].max_pwr_5gm;
  17312. target_pwr_qtrdbm[1] =
  17313. pi->nphy_pwrctrl_info[1].max_pwr_5gm;
  17314. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_a1;
  17315. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_a1;
  17316. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b0;
  17317. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b0;
  17318. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b1;
  17319. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b1;
  17320. break;
  17321. case WL_CHAN_FREQ_RANGE_5GH:
  17322. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17323. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17324. target_pwr_qtrdbm[0] =
  17325. pi->nphy_pwrctrl_info[0].max_pwr_5gh;
  17326. target_pwr_qtrdbm[1] =
  17327. pi->nphy_pwrctrl_info[1].max_pwr_5gh;
  17328. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1;
  17329. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1;
  17330. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0;
  17331. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0;
  17332. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1;
  17333. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1;
  17334. break;
  17335. default:
  17336. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17337. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17338. target_pwr_qtrdbm[0] = 13 * 4;
  17339. target_pwr_qtrdbm[1] = 13 * 4;
  17340. a1[0] = -424;
  17341. a1[1] = -424;
  17342. b0[0] = 5612;
  17343. b0[1] = 5612;
  17344. b1[1] = -1393;
  17345. b1[0] = -1393;
  17346. break;
  17347. }
  17348. }
  17349. target_pwr_qtrdbm[0] = (s8) pi->tx_power_max;
  17350. target_pwr_qtrdbm[1] = (s8) pi->tx_power_max;
  17351. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17352. if (pi->srom_fem2g.tssipos)
  17353. or_phy_reg(pi, 0x1e9, (0x1 << 14));
  17354. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17355. for (core = 0; core <= 1; core++) {
  17356. if (PHY_IPA(pi)) {
  17357. if (CHSPEC_IS2G(pi->radio_chanspec))
  17358. WRITE_RADIO_REG3(pi, RADIO_2057,
  17359. TX, core,
  17360. TX_SSI_MUX,
  17361. 0xe);
  17362. else
  17363. WRITE_RADIO_REG3(pi, RADIO_2057,
  17364. TX, core,
  17365. TX_SSI_MUX,
  17366. 0xc);
  17367. }
  17368. }
  17369. } else {
  17370. if (PHY_IPA(pi)) {
  17371. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17372. RADIO_2056_TX0,
  17373. (CHSPEC_IS5G
  17374. (pi->radio_chanspec)) ?
  17375. 0xc : 0xe);
  17376. write_radio_reg(pi,
  17377. RADIO_2056_TX_TX_SSI_MUX |
  17378. RADIO_2056_TX1,
  17379. (CHSPEC_IS5G
  17380. (pi->radio_chanspec)) ?
  17381. 0xc : 0xe);
  17382. } else {
  17383. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17384. RADIO_2056_TX0, 0x11);
  17385. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17386. RADIO_2056_TX1, 0x11);
  17387. }
  17388. }
  17389. }
  17390. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17391. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17392. (void)R_REG(&pi->regs->maccontrol);
  17393. udelay(1);
  17394. }
  17395. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17396. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17397. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17398. else
  17399. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17400. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17401. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17402. mod_phy_reg(pi, 0x222, (0xff << 0),
  17403. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17404. else if (NREV_GT(pi->pubpi.phy_rev, 1))
  17405. mod_phy_reg(pi, 0x222, (0xff << 0),
  17406. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17407. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17408. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17409. write_phy_reg(pi, 0x1e8, (0x3 << 8) | (240 << 0));
  17410. write_phy_reg(pi, 0x1e9,
  17411. (1 << 15) | (idle_tssi[0] << 0) | (idle_tssi[1] << 8));
  17412. write_phy_reg(pi, 0x1ea,
  17413. (target_pwr_qtrdbm[0] << 0) |
  17414. (target_pwr_qtrdbm[1] << 8));
  17415. tbl_len = 64;
  17416. tbl_offset = 0;
  17417. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  17418. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  17419. for (idx = 0; idx < tbl_len; idx++) {
  17420. num = 8 *
  17421. (16 * b0[tbl_id - 26] + b1[tbl_id - 26] * idx);
  17422. den = 32768 + a1[tbl_id - 26] * idx;
  17423. pwr_est = max(((4 * num + den / 2) / den), -8);
  17424. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  17425. if (idx <=
  17426. (uint) (31 - idle_tssi[tbl_id - 26] + 1))
  17427. pwr_est =
  17428. max(pwr_est,
  17429. target_pwr_qtrdbm
  17430. [tbl_id - 26] + 1);
  17431. }
  17432. regval[idx] = (u32) pwr_est;
  17433. }
  17434. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  17435. regval);
  17436. }
  17437. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  17438. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64, 8,
  17439. pi->adj_pwr_tbl_nphy);
  17440. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64, 8,
  17441. pi->adj_pwr_tbl_nphy);
  17442. if (pi->phyhang_avoid)
  17443. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17444. }
  17445. static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi)
  17446. {
  17447. u32 *tx_pwrctrl_tbl = NULL;
  17448. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17449. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17450. if ((pi->pubpi.radiorev == 4)
  17451. || (pi->pubpi.radiorev == 6))
  17452. tx_pwrctrl_tbl =
  17453. nphy_tpc_txgain_ipa_2g_2057rev4n6;
  17454. else if (pi->pubpi.radiorev == 3)
  17455. tx_pwrctrl_tbl =
  17456. nphy_tpc_txgain_ipa_2g_2057rev3;
  17457. else if (pi->pubpi.radiorev == 5)
  17458. tx_pwrctrl_tbl =
  17459. nphy_tpc_txgain_ipa_2g_2057rev5;
  17460. else if ((pi->pubpi.radiorev == 7)
  17461. || (pi->pubpi.radiorev == 8))
  17462. tx_pwrctrl_tbl =
  17463. nphy_tpc_txgain_ipa_2g_2057rev7;
  17464. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17465. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev6;
  17466. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17467. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17468. } else {
  17469. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa;
  17470. }
  17471. } else {
  17472. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17473. if ((pi->pubpi.radiorev == 3) ||
  17474. (pi->pubpi.radiorev == 4) ||
  17475. (pi->pubpi.radiorev == 6))
  17476. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g_2057;
  17477. else if ((pi->pubpi.radiorev == 7)
  17478. || (pi->pubpi.radiorev == 8))
  17479. tx_pwrctrl_tbl =
  17480. nphy_tpc_txgain_ipa_5g_2057rev7;
  17481. } else {
  17482. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g;
  17483. }
  17484. }
  17485. return tx_pwrctrl_tbl;
  17486. }
  17487. static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi)
  17488. {
  17489. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17490. if (pi->nphy_rssical_chanspec_2G == 0)
  17491. return;
  17492. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17493. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17494. RADIO_2057_VCM_MASK,
  17495. pi->rssical_cache.
  17496. rssical_radio_regs_2G[0]);
  17497. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17498. RADIO_2057_VCM_MASK,
  17499. pi->rssical_cache.
  17500. rssical_radio_regs_2G[1]);
  17501. } else {
  17502. mod_radio_reg(pi,
  17503. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17504. RADIO_2056_VCM_MASK,
  17505. pi->rssical_cache.
  17506. rssical_radio_regs_2G[0]);
  17507. mod_radio_reg(pi,
  17508. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17509. RADIO_2056_VCM_MASK,
  17510. pi->rssical_cache.
  17511. rssical_radio_regs_2G[1]);
  17512. }
  17513. write_phy_reg(pi, 0x1a6,
  17514. pi->rssical_cache.rssical_phyregs_2G[0]);
  17515. write_phy_reg(pi, 0x1ac,
  17516. pi->rssical_cache.rssical_phyregs_2G[1]);
  17517. write_phy_reg(pi, 0x1b2,
  17518. pi->rssical_cache.rssical_phyregs_2G[2]);
  17519. write_phy_reg(pi, 0x1b8,
  17520. pi->rssical_cache.rssical_phyregs_2G[3]);
  17521. write_phy_reg(pi, 0x1a4,
  17522. pi->rssical_cache.rssical_phyregs_2G[4]);
  17523. write_phy_reg(pi, 0x1aa,
  17524. pi->rssical_cache.rssical_phyregs_2G[5]);
  17525. write_phy_reg(pi, 0x1b0,
  17526. pi->rssical_cache.rssical_phyregs_2G[6]);
  17527. write_phy_reg(pi, 0x1b6,
  17528. pi->rssical_cache.rssical_phyregs_2G[7]);
  17529. write_phy_reg(pi, 0x1a5,
  17530. pi->rssical_cache.rssical_phyregs_2G[8]);
  17531. write_phy_reg(pi, 0x1ab,
  17532. pi->rssical_cache.rssical_phyregs_2G[9]);
  17533. write_phy_reg(pi, 0x1b1,
  17534. pi->rssical_cache.rssical_phyregs_2G[10]);
  17535. write_phy_reg(pi, 0x1b7,
  17536. pi->rssical_cache.rssical_phyregs_2G[11]);
  17537. } else {
  17538. if (pi->nphy_rssical_chanspec_5G == 0)
  17539. return;
  17540. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17541. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17542. RADIO_2057_VCM_MASK,
  17543. pi->rssical_cache.
  17544. rssical_radio_regs_5G[0]);
  17545. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17546. RADIO_2057_VCM_MASK,
  17547. pi->rssical_cache.
  17548. rssical_radio_regs_5G[1]);
  17549. } else {
  17550. mod_radio_reg(pi,
  17551. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17552. RADIO_2056_VCM_MASK,
  17553. pi->rssical_cache.
  17554. rssical_radio_regs_5G[0]);
  17555. mod_radio_reg(pi,
  17556. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17557. RADIO_2056_VCM_MASK,
  17558. pi->rssical_cache.
  17559. rssical_radio_regs_5G[1]);
  17560. }
  17561. write_phy_reg(pi, 0x1a6,
  17562. pi->rssical_cache.rssical_phyregs_5G[0]);
  17563. write_phy_reg(pi, 0x1ac,
  17564. pi->rssical_cache.rssical_phyregs_5G[1]);
  17565. write_phy_reg(pi, 0x1b2,
  17566. pi->rssical_cache.rssical_phyregs_5G[2]);
  17567. write_phy_reg(pi, 0x1b8,
  17568. pi->rssical_cache.rssical_phyregs_5G[3]);
  17569. write_phy_reg(pi, 0x1a4,
  17570. pi->rssical_cache.rssical_phyregs_5G[4]);
  17571. write_phy_reg(pi, 0x1aa,
  17572. pi->rssical_cache.rssical_phyregs_5G[5]);
  17573. write_phy_reg(pi, 0x1b0,
  17574. pi->rssical_cache.rssical_phyregs_5G[6]);
  17575. write_phy_reg(pi, 0x1b6,
  17576. pi->rssical_cache.rssical_phyregs_5G[7]);
  17577. write_phy_reg(pi, 0x1a5,
  17578. pi->rssical_cache.rssical_phyregs_5G[8]);
  17579. write_phy_reg(pi, 0x1ab,
  17580. pi->rssical_cache.rssical_phyregs_5G[9]);
  17581. write_phy_reg(pi, 0x1b1,
  17582. pi->rssical_cache.rssical_phyregs_5G[10]);
  17583. write_phy_reg(pi, 0x1b7,
  17584. pi->rssical_cache.rssical_phyregs_5G[11]);
  17585. }
  17586. }
  17587. static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi)
  17588. {
  17589. u16 txcal_gain[2];
  17590. pi->nphy_txcal_pwr_idx[0] = pi->nphy_cal_orig_pwr_idx[0];
  17591. pi->nphy_txcal_pwr_idx[1] = pi->nphy_cal_orig_pwr_idx[0];
  17592. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17593. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17594. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17595. txcal_gain);
  17596. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17597. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F40;
  17598. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F40;
  17599. } else {
  17600. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F60;
  17601. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F60;
  17602. }
  17603. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17604. txcal_gain);
  17605. }
  17606. static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi)
  17607. {
  17608. bool save_bbmult = false;
  17609. u8 txcal_index_2057_rev5n7 = 0;
  17610. u8 txcal_index_2057_rev3n4n6 = 10;
  17611. if (pi->use_int_tx_iqlo_cal_nphy) {
  17612. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17613. if ((pi->pubpi.radiorev == 3) ||
  17614. (pi->pubpi.radiorev == 4) ||
  17615. (pi->pubpi.radiorev == 6)) {
  17616. pi->nphy_txcal_pwr_idx[0] =
  17617. txcal_index_2057_rev3n4n6;
  17618. pi->nphy_txcal_pwr_idx[1] =
  17619. txcal_index_2057_rev3n4n6;
  17620. wlc_phy_txpwr_index_nphy(
  17621. pi, 3,
  17622. txcal_index_2057_rev3n4n6,
  17623. false);
  17624. } else {
  17625. pi->nphy_txcal_pwr_idx[0] =
  17626. txcal_index_2057_rev5n7;
  17627. pi->nphy_txcal_pwr_idx[1] =
  17628. txcal_index_2057_rev5n7;
  17629. wlc_phy_txpwr_index_nphy(
  17630. pi, 3,
  17631. txcal_index_2057_rev5n7,
  17632. false);
  17633. }
  17634. save_bbmult = true;
  17635. } else if (NREV_LT(pi->pubpi.phy_rev, 5)) {
  17636. wlc_phy_cal_txgainctrl_nphy(pi, 11, false);
  17637. if (pi->sh->hw_phytxchain != 3) {
  17638. pi->nphy_txcal_pwr_idx[1] =
  17639. pi->nphy_txcal_pwr_idx[0];
  17640. wlc_phy_txpwr_index_nphy(pi, 3,
  17641. pi->
  17642. nphy_txcal_pwr_idx[0],
  17643. true);
  17644. save_bbmult = true;
  17645. }
  17646. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17647. if (PHY_IPA(pi)) {
  17648. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17649. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17650. false);
  17651. } else {
  17652. pi->nphy_txcal_pwr_idx[0] = 80;
  17653. pi->nphy_txcal_pwr_idx[1] = 80;
  17654. wlc_phy_txpwr_index_nphy(pi, 3, 80,
  17655. false);
  17656. save_bbmult = true;
  17657. }
  17658. } else {
  17659. wlc_phy_internal_cal_txgain_nphy(pi);
  17660. save_bbmult = true;
  17661. }
  17662. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17663. if (PHY_IPA(pi)) {
  17664. if (CHSPEC_IS2G(pi->radio_chanspec))
  17665. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17666. false);
  17667. else
  17668. wlc_phy_cal_txgainctrl_nphy(pi, 14,
  17669. false);
  17670. } else {
  17671. wlc_phy_internal_cal_txgain_nphy(pi);
  17672. save_bbmult = true;
  17673. }
  17674. }
  17675. } else {
  17676. wlc_phy_cal_txgainctrl_nphy(pi, 10, false);
  17677. }
  17678. if (save_bbmult)
  17679. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  17680. &pi->nphy_txcal_bbmult);
  17681. }
  17682. static void
  17683. wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value,
  17684. u8 core_code)
  17685. {
  17686. u16 mask;
  17687. u16 val;
  17688. u8 core;
  17689. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17690. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17691. if (core_code == RADIO_MIMO_CORESEL_CORE1
  17692. && core == PHY_CORE_1)
  17693. continue;
  17694. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  17695. && core == PHY_CORE_0)
  17696. continue;
  17697. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  17698. mask = (0x1 << 10);
  17699. val = 1 << 10;
  17700. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17701. 0x92, mask, val);
  17702. }
  17703. if (field == NPHY_RfctrlIntc_override_OFF) {
  17704. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17705. 0x92, 0);
  17706. wlc_phy_force_rfseq_nphy(pi,
  17707. NPHY_RFSEQ_RESET2RX);
  17708. } else if (field == NPHY_RfctrlIntc_override_TRSW) {
  17709. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17710. mask = (0x1 << 6) | (0x1 << 7);
  17711. val = value << 6;
  17712. mod_phy_reg(pi,
  17713. (core ==
  17714. PHY_CORE_0) ? 0x91 : 0x92,
  17715. mask, val);
  17716. or_phy_reg(pi,
  17717. (core ==
  17718. PHY_CORE_0) ? 0x91 : 0x92,
  17719. (0x1 << 10));
  17720. and_phy_reg(pi, 0x2ff, (u16)
  17721. ~(0x3 << 14));
  17722. or_phy_reg(pi, 0x2ff, (0x1 << 13));
  17723. or_phy_reg(pi, 0x2ff, (0x1 << 0));
  17724. } else {
  17725. mask = (0x1 << 6) |
  17726. (0x1 << 7) |
  17727. (0x1 << 8) | (0x1 << 9);
  17728. val = value << 6;
  17729. mod_phy_reg(pi,
  17730. (core ==
  17731. PHY_CORE_0) ? 0x91 : 0x92,
  17732. mask, val);
  17733. mask = (0x1 << 0);
  17734. val = 1 << 0;
  17735. mod_phy_reg(pi,
  17736. (core ==
  17737. PHY_CORE_0) ? 0xe7 : 0xec,
  17738. mask, val);
  17739. mask = (core == PHY_CORE_0) ?
  17740. (0x1 << 0) : (0x1 << 1);
  17741. val = 1 << ((core == PHY_CORE_0) ?
  17742. 0 : 1);
  17743. mod_phy_reg(pi, 0x78, mask, val);
  17744. SPINWAIT(((read_phy_reg(pi, 0x78) & val)
  17745. != 0), 10000);
  17746. if (WARN(read_phy_reg(pi, 0x78) & val,
  17747. "HW error: override failed"))
  17748. return;
  17749. mask = (0x1 << 0);
  17750. val = 0 << 0;
  17751. mod_phy_reg(pi,
  17752. (core ==
  17753. PHY_CORE_0) ? 0xe7 : 0xec,
  17754. mask, val);
  17755. }
  17756. } else if (field == NPHY_RfctrlIntc_override_PA) {
  17757. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17758. mask = (0x1 << 4) | (0x1 << 5);
  17759. if (CHSPEC_IS5G(pi->radio_chanspec))
  17760. val = value << 5;
  17761. else
  17762. val = value << 4;
  17763. mod_phy_reg(pi,
  17764. (core ==
  17765. PHY_CORE_0) ? 0x91 : 0x92,
  17766. mask, val);
  17767. or_phy_reg(pi,
  17768. (core ==
  17769. PHY_CORE_0) ? 0x91 : 0x92,
  17770. (0x1 << 12));
  17771. } else {
  17772. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17773. mask = (0x1 << 5);
  17774. val = value << 5;
  17775. } else {
  17776. mask = (0x1 << 4);
  17777. val = value << 4;
  17778. }
  17779. mod_phy_reg(pi,
  17780. (core ==
  17781. PHY_CORE_0) ? 0x91 : 0x92,
  17782. mask, val);
  17783. }
  17784. } else if (field ==
  17785. NPHY_RfctrlIntc_override_EXT_LNA_PU) {
  17786. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17787. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17788. mask = (0x1 << 0);
  17789. val = value << 0;
  17790. mod_phy_reg(pi,
  17791. (core ==
  17792. PHY_CORE_0) ? 0x91
  17793. : 0x92, mask, val);
  17794. mask = (0x1 << 2);
  17795. mod_phy_reg(pi,
  17796. (core ==
  17797. PHY_CORE_0) ? 0x91
  17798. : 0x92, mask, 0);
  17799. } else {
  17800. mask = (0x1 << 2);
  17801. val = value << 2;
  17802. mod_phy_reg(pi,
  17803. (core ==
  17804. PHY_CORE_0) ? 0x91
  17805. : 0x92, mask, val);
  17806. mask = (0x1 << 0);
  17807. mod_phy_reg(pi,
  17808. (core ==
  17809. PHY_CORE_0) ? 0x91
  17810. : 0x92, mask, 0);
  17811. }
  17812. mask = (0x1 << 11);
  17813. val = 1 << 11;
  17814. mod_phy_reg(pi,
  17815. (core ==
  17816. PHY_CORE_0) ? 0x91 : 0x92,
  17817. mask, val);
  17818. } else {
  17819. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17820. mask = (0x1 << 0);
  17821. val = value << 0;
  17822. } else {
  17823. mask = (0x1 << 2);
  17824. val = value << 2;
  17825. }
  17826. mod_phy_reg(pi,
  17827. (core ==
  17828. PHY_CORE_0) ? 0x91 : 0x92,
  17829. mask, val);
  17830. }
  17831. } else if (field ==
  17832. NPHY_RfctrlIntc_override_EXT_LNA_GAIN) {
  17833. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17834. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17835. mask = (0x1 << 1);
  17836. val = value << 1;
  17837. mod_phy_reg(pi,
  17838. (core ==
  17839. PHY_CORE_0) ? 0x91
  17840. : 0x92, mask, val);
  17841. mask = (0x1 << 3);
  17842. mod_phy_reg(pi,
  17843. (core ==
  17844. PHY_CORE_0) ? 0x91
  17845. : 0x92, mask, 0);
  17846. } else {
  17847. mask = (0x1 << 3);
  17848. val = value << 3;
  17849. mod_phy_reg(pi,
  17850. (core ==
  17851. PHY_CORE_0) ? 0x91
  17852. : 0x92, mask, val);
  17853. mask = (0x1 << 1);
  17854. mod_phy_reg(pi,
  17855. (core ==
  17856. PHY_CORE_0) ? 0x91
  17857. : 0x92, mask, 0);
  17858. }
  17859. mask = (0x1 << 11);
  17860. val = 1 << 11;
  17861. mod_phy_reg(pi,
  17862. (core ==
  17863. PHY_CORE_0) ? 0x91 : 0x92,
  17864. mask, val);
  17865. } else {
  17866. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17867. mask = (0x1 << 1);
  17868. val = value << 1;
  17869. } else {
  17870. mask = (0x1 << 3);
  17871. val = value << 3;
  17872. }
  17873. mod_phy_reg(pi,
  17874. (core ==
  17875. PHY_CORE_0) ? 0x91 : 0x92,
  17876. mask, val);
  17877. }
  17878. }
  17879. }
  17880. }
  17881. }
  17882. void
  17883. wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower,
  17884. bool debug)
  17885. {
  17886. int gainctrl_loopidx;
  17887. uint core;
  17888. u16 m0m1, curr_m0m1;
  17889. s32 delta_power;
  17890. s32 txpwrindex;
  17891. s32 qdBm_power[2];
  17892. u16 orig_BBConfig;
  17893. u16 phy_saveregs[4];
  17894. u32 freq_test;
  17895. u16 ampl_test = 250;
  17896. uint stepsize;
  17897. bool phyhang_avoid_state = false;
  17898. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17899. stepsize = 2;
  17900. else
  17901. stepsize = 1;
  17902. if (CHSPEC_IS40(pi->radio_chanspec))
  17903. freq_test = 5000;
  17904. else
  17905. freq_test = 2500;
  17906. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17907. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17908. if (pi->phyhang_avoid)
  17909. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17910. phyhang_avoid_state = pi->phyhang_avoid;
  17911. pi->phyhang_avoid = false;
  17912. phy_saveregs[0] = read_phy_reg(pi, 0x91);
  17913. phy_saveregs[1] = read_phy_reg(pi, 0x92);
  17914. phy_saveregs[2] = read_phy_reg(pi, 0xe7);
  17915. phy_saveregs[3] = read_phy_reg(pi, 0xec);
  17916. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 1,
  17917. RADIO_MIMO_CORESEL_CORE1 |
  17918. RADIO_MIMO_CORESEL_CORE2);
  17919. if (!debug) {
  17920. wlc_phy_rfctrlintc_override_nphy(pi,
  17921. NPHY_RfctrlIntc_override_TRSW,
  17922. 0x2, RADIO_MIMO_CORESEL_CORE1);
  17923. wlc_phy_rfctrlintc_override_nphy(pi,
  17924. NPHY_RfctrlIntc_override_TRSW,
  17925. 0x8, RADIO_MIMO_CORESEL_CORE2);
  17926. } else {
  17927. wlc_phy_rfctrlintc_override_nphy(pi,
  17928. NPHY_RfctrlIntc_override_TRSW,
  17929. 0x1, RADIO_MIMO_CORESEL_CORE1);
  17930. wlc_phy_rfctrlintc_override_nphy(pi,
  17931. NPHY_RfctrlIntc_override_TRSW,
  17932. 0x7, RADIO_MIMO_CORESEL_CORE2);
  17933. }
  17934. orig_BBConfig = read_phy_reg(pi, 0x01);
  17935. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  17936. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  17937. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17938. txpwrindex = (s32) pi->nphy_cal_orig_pwr_idx[core];
  17939. for (gainctrl_loopidx = 0; gainctrl_loopidx < 2;
  17940. gainctrl_loopidx++) {
  17941. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17942. false);
  17943. if (core == PHY_CORE_0)
  17944. curr_m0m1 = m0m1 & 0xff00;
  17945. else
  17946. curr_m0m1 = m0m1 & 0x00ff;
  17947. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &curr_m0m1);
  17948. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &curr_m0m1);
  17949. udelay(50);
  17950. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17951. NPHY_CAL_TSSISAMPS);
  17952. pi->nphy_bb_mult_save = 0;
  17953. wlc_phy_stopplayback_nphy(pi);
  17954. delta_power = (dBm_targetpower * 4) - qdBm_power[core];
  17955. txpwrindex -= stepsize * delta_power;
  17956. if (txpwrindex < 0)
  17957. txpwrindex = 0;
  17958. else if (txpwrindex > 127)
  17959. txpwrindex = 127;
  17960. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17961. if (NREV_IS(pi->pubpi.phy_rev, 4) &&
  17962. (pi->srom_fem5g.extpagain == 3)) {
  17963. if (txpwrindex < 30)
  17964. txpwrindex = 30;
  17965. }
  17966. } else {
  17967. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  17968. (pi->srom_fem2g.extpagain == 3)) {
  17969. if (txpwrindex < 50)
  17970. txpwrindex = 50;
  17971. }
  17972. }
  17973. wlc_phy_txpwr_index_nphy(pi, (1 << core),
  17974. (u8) txpwrindex, true);
  17975. }
  17976. pi->nphy_txcal_pwr_idx[core] = (u8) txpwrindex;
  17977. if (debug) {
  17978. u16 radio_gain;
  17979. u16 dbg_m0m1;
  17980. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17981. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17982. false);
  17983. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17984. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &dbg_m0m1);
  17985. udelay(100);
  17986. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17987. NPHY_CAL_TSSISAMPS);
  17988. wlc_phy_table_read_nphy(pi, 7, 1, (0x110 + core), 16,
  17989. &radio_gain);
  17990. mdelay(4000);
  17991. pi->nphy_bb_mult_save = 0;
  17992. wlc_phy_stopplayback_nphy(pi);
  17993. }
  17994. }
  17995. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_txcal_pwr_idx[0], true);
  17996. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_txcal_pwr_idx[1], true);
  17997. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &pi->nphy_txcal_bbmult);
  17998. write_phy_reg(pi, 0x01, orig_BBConfig);
  17999. write_phy_reg(pi, 0x91, phy_saveregs[0]);
  18000. write_phy_reg(pi, 0x92, phy_saveregs[1]);
  18001. write_phy_reg(pi, 0xe7, phy_saveregs[2]);
  18002. write_phy_reg(pi, 0xec, phy_saveregs[3]);
  18003. pi->phyhang_avoid = phyhang_avoid_state;
  18004. if (pi->phyhang_avoid)
  18005. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18006. }
  18007. static void wlc_phy_savecal_nphy(struct brcms_phy *pi)
  18008. {
  18009. void *tbl_ptr;
  18010. int coreNum;
  18011. u16 *txcal_radio_regs = NULL;
  18012. if (pi->phyhang_avoid)
  18013. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18014. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18015. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  18016. &pi->calibration_cache.
  18017. rxcal_coeffs_2G);
  18018. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18019. txcal_radio_regs =
  18020. pi->calibration_cache.txcal_radio_regs_2G;
  18021. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18022. pi->calibration_cache.txcal_radio_regs_2G[0] =
  18023. read_radio_reg(pi,
  18024. RADIO_2056_TX_LOFT_FINE_I |
  18025. RADIO_2056_TX0);
  18026. pi->calibration_cache.txcal_radio_regs_2G[1] =
  18027. read_radio_reg(pi,
  18028. RADIO_2056_TX_LOFT_FINE_Q |
  18029. RADIO_2056_TX0);
  18030. pi->calibration_cache.txcal_radio_regs_2G[2] =
  18031. read_radio_reg(pi,
  18032. RADIO_2056_TX_LOFT_FINE_I |
  18033. RADIO_2056_TX1);
  18034. pi->calibration_cache.txcal_radio_regs_2G[3] =
  18035. read_radio_reg(pi,
  18036. RADIO_2056_TX_LOFT_FINE_Q |
  18037. RADIO_2056_TX1);
  18038. pi->calibration_cache.txcal_radio_regs_2G[4] =
  18039. read_radio_reg(pi,
  18040. RADIO_2056_TX_LOFT_COARSE_I |
  18041. RADIO_2056_TX0);
  18042. pi->calibration_cache.txcal_radio_regs_2G[5] =
  18043. read_radio_reg(pi,
  18044. RADIO_2056_TX_LOFT_COARSE_Q |
  18045. RADIO_2056_TX0);
  18046. pi->calibration_cache.txcal_radio_regs_2G[6] =
  18047. read_radio_reg(pi,
  18048. RADIO_2056_TX_LOFT_COARSE_I |
  18049. RADIO_2056_TX1);
  18050. pi->calibration_cache.txcal_radio_regs_2G[7] =
  18051. read_radio_reg(pi,
  18052. RADIO_2056_TX_LOFT_COARSE_Q |
  18053. RADIO_2056_TX1);
  18054. } else {
  18055. pi->calibration_cache.txcal_radio_regs_2G[0] =
  18056. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18057. pi->calibration_cache.txcal_radio_regs_2G[1] =
  18058. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18059. pi->calibration_cache.txcal_radio_regs_2G[2] =
  18060. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18061. pi->calibration_cache.txcal_radio_regs_2G[3] =
  18062. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18063. }
  18064. pi->nphy_iqcal_chanspec_2G = pi->radio_chanspec;
  18065. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18066. } else {
  18067. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  18068. &pi->calibration_cache.
  18069. rxcal_coeffs_5G);
  18070. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18071. txcal_radio_regs =
  18072. pi->calibration_cache.txcal_radio_regs_5G;
  18073. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18074. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18075. read_radio_reg(pi,
  18076. RADIO_2056_TX_LOFT_FINE_I |
  18077. RADIO_2056_TX0);
  18078. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18079. read_radio_reg(pi,
  18080. RADIO_2056_TX_LOFT_FINE_Q |
  18081. RADIO_2056_TX0);
  18082. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18083. read_radio_reg(pi,
  18084. RADIO_2056_TX_LOFT_FINE_I |
  18085. RADIO_2056_TX1);
  18086. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18087. read_radio_reg(pi,
  18088. RADIO_2056_TX_LOFT_FINE_Q |
  18089. RADIO_2056_TX1);
  18090. pi->calibration_cache.txcal_radio_regs_5G[4] =
  18091. read_radio_reg(pi,
  18092. RADIO_2056_TX_LOFT_COARSE_I |
  18093. RADIO_2056_TX0);
  18094. pi->calibration_cache.txcal_radio_regs_5G[5] =
  18095. read_radio_reg(pi,
  18096. RADIO_2056_TX_LOFT_COARSE_Q |
  18097. RADIO_2056_TX0);
  18098. pi->calibration_cache.txcal_radio_regs_5G[6] =
  18099. read_radio_reg(pi,
  18100. RADIO_2056_TX_LOFT_COARSE_I |
  18101. RADIO_2056_TX1);
  18102. pi->calibration_cache.txcal_radio_regs_5G[7] =
  18103. read_radio_reg(pi,
  18104. RADIO_2056_TX_LOFT_COARSE_Q |
  18105. RADIO_2056_TX1);
  18106. } else {
  18107. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18108. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18109. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18110. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18111. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18112. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18113. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18114. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18115. }
  18116. pi->nphy_iqcal_chanspec_5G = pi->radio_chanspec;
  18117. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18118. }
  18119. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18120. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18121. txcal_radio_regs[2 * coreNum] =
  18122. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18123. LOFT_FINE_I);
  18124. txcal_radio_regs[2 * coreNum + 1] =
  18125. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18126. LOFT_FINE_Q);
  18127. txcal_radio_regs[2 * coreNum + 4] =
  18128. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18129. LOFT_COARSE_I);
  18130. txcal_radio_regs[2 * coreNum + 5] =
  18131. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18132. LOFT_COARSE_Q);
  18133. }
  18134. }
  18135. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 8, 80, 16, tbl_ptr);
  18136. if (pi->phyhang_avoid)
  18137. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18138. }
  18139. static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi)
  18140. {
  18141. struct nphy_iq_comp tx_comp;
  18142. wlc_phy_table_read_nphy(pi, 15, 4, 0x50, 16, &tx_comp);
  18143. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0);
  18144. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0);
  18145. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 4, tx_comp.a1);
  18146. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 6, tx_comp.b1);
  18147. }
  18148. static void wlc_phy_restorecal_nphy(struct brcms_phy *pi)
  18149. {
  18150. u16 *loft_comp;
  18151. u16 txcal_coeffs_bphy[4];
  18152. u16 *tbl_ptr;
  18153. int coreNum;
  18154. u16 *txcal_radio_regs = NULL;
  18155. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18156. if (pi->nphy_iqcal_chanspec_2G == 0)
  18157. return;
  18158. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18159. loft_comp = &pi->calibration_cache.txcal_coeffs_2G[5];
  18160. } else {
  18161. if (pi->nphy_iqcal_chanspec_5G == 0)
  18162. return;
  18163. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18164. loft_comp = &pi->calibration_cache.txcal_coeffs_5G[5];
  18165. }
  18166. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80, 16, tbl_ptr);
  18167. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18168. txcal_coeffs_bphy[0] = tbl_ptr[0];
  18169. txcal_coeffs_bphy[1] = tbl_ptr[1];
  18170. txcal_coeffs_bphy[2] = tbl_ptr[2];
  18171. txcal_coeffs_bphy[3] = tbl_ptr[3];
  18172. } else {
  18173. txcal_coeffs_bphy[0] = 0;
  18174. txcal_coeffs_bphy[1] = 0;
  18175. txcal_coeffs_bphy[2] = 0;
  18176. txcal_coeffs_bphy[3] = 0;
  18177. }
  18178. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88, 16,
  18179. txcal_coeffs_bphy);
  18180. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85, 16, loft_comp);
  18181. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93, 16, loft_comp);
  18182. if (NREV_LT(pi->pubpi.phy_rev, 2))
  18183. wlc_phy_tx_iq_war_nphy(pi);
  18184. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18185. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18186. txcal_radio_regs =
  18187. pi->calibration_cache.txcal_radio_regs_2G;
  18188. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18189. write_radio_reg(pi,
  18190. RADIO_2056_TX_LOFT_FINE_I |
  18191. RADIO_2056_TX0,
  18192. pi->calibration_cache.
  18193. txcal_radio_regs_2G[0]);
  18194. write_radio_reg(pi,
  18195. RADIO_2056_TX_LOFT_FINE_Q |
  18196. RADIO_2056_TX0,
  18197. pi->calibration_cache.
  18198. txcal_radio_regs_2G[1]);
  18199. write_radio_reg(pi,
  18200. RADIO_2056_TX_LOFT_FINE_I |
  18201. RADIO_2056_TX1,
  18202. pi->calibration_cache.
  18203. txcal_radio_regs_2G[2]);
  18204. write_radio_reg(pi,
  18205. RADIO_2056_TX_LOFT_FINE_Q |
  18206. RADIO_2056_TX1,
  18207. pi->calibration_cache.
  18208. txcal_radio_regs_2G[3]);
  18209. write_radio_reg(pi,
  18210. RADIO_2056_TX_LOFT_COARSE_I |
  18211. RADIO_2056_TX0,
  18212. pi->calibration_cache.
  18213. txcal_radio_regs_2G[4]);
  18214. write_radio_reg(pi,
  18215. RADIO_2056_TX_LOFT_COARSE_Q |
  18216. RADIO_2056_TX0,
  18217. pi->calibration_cache.
  18218. txcal_radio_regs_2G[5]);
  18219. write_radio_reg(pi,
  18220. RADIO_2056_TX_LOFT_COARSE_I |
  18221. RADIO_2056_TX1,
  18222. pi->calibration_cache.
  18223. txcal_radio_regs_2G[6]);
  18224. write_radio_reg(pi,
  18225. RADIO_2056_TX_LOFT_COARSE_Q |
  18226. RADIO_2056_TX1,
  18227. pi->calibration_cache.
  18228. txcal_radio_regs_2G[7]);
  18229. } else {
  18230. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18231. pi->calibration_cache.
  18232. txcal_radio_regs_2G[0]);
  18233. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18234. pi->calibration_cache.
  18235. txcal_radio_regs_2G[1]);
  18236. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18237. pi->calibration_cache.
  18238. txcal_radio_regs_2G[2]);
  18239. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18240. pi->calibration_cache.
  18241. txcal_radio_regs_2G[3]);
  18242. }
  18243. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18244. &pi->calibration_cache.
  18245. rxcal_coeffs_2G);
  18246. } else {
  18247. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18248. txcal_radio_regs =
  18249. pi->calibration_cache.txcal_radio_regs_5G;
  18250. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18251. write_radio_reg(pi,
  18252. RADIO_2056_TX_LOFT_FINE_I |
  18253. RADIO_2056_TX0,
  18254. pi->calibration_cache.
  18255. txcal_radio_regs_5G[0]);
  18256. write_radio_reg(pi,
  18257. RADIO_2056_TX_LOFT_FINE_Q |
  18258. RADIO_2056_TX0,
  18259. pi->calibration_cache.
  18260. txcal_radio_regs_5G[1]);
  18261. write_radio_reg(pi,
  18262. RADIO_2056_TX_LOFT_FINE_I |
  18263. RADIO_2056_TX1,
  18264. pi->calibration_cache.
  18265. txcal_radio_regs_5G[2]);
  18266. write_radio_reg(pi,
  18267. RADIO_2056_TX_LOFT_FINE_Q |
  18268. RADIO_2056_TX1,
  18269. pi->calibration_cache.
  18270. txcal_radio_regs_5G[3]);
  18271. write_radio_reg(pi,
  18272. RADIO_2056_TX_LOFT_COARSE_I |
  18273. RADIO_2056_TX0,
  18274. pi->calibration_cache.
  18275. txcal_radio_regs_5G[4]);
  18276. write_radio_reg(pi,
  18277. RADIO_2056_TX_LOFT_COARSE_Q |
  18278. RADIO_2056_TX0,
  18279. pi->calibration_cache.
  18280. txcal_radio_regs_5G[5]);
  18281. write_radio_reg(pi,
  18282. RADIO_2056_TX_LOFT_COARSE_I |
  18283. RADIO_2056_TX1,
  18284. pi->calibration_cache.
  18285. txcal_radio_regs_5G[6]);
  18286. write_radio_reg(pi,
  18287. RADIO_2056_TX_LOFT_COARSE_Q |
  18288. RADIO_2056_TX1,
  18289. pi->calibration_cache.
  18290. txcal_radio_regs_5G[7]);
  18291. } else {
  18292. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18293. pi->calibration_cache.
  18294. txcal_radio_regs_5G[0]);
  18295. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18296. pi->calibration_cache.
  18297. txcal_radio_regs_5G[1]);
  18298. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18299. pi->calibration_cache.
  18300. txcal_radio_regs_5G[2]);
  18301. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18302. pi->calibration_cache.
  18303. txcal_radio_regs_5G[3]);
  18304. }
  18305. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18306. &pi->calibration_cache.
  18307. rxcal_coeffs_5G);
  18308. }
  18309. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18310. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18311. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18312. LOFT_FINE_I,
  18313. txcal_radio_regs[2 * coreNum]);
  18314. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18315. LOFT_FINE_Q,
  18316. txcal_radio_regs[2 * coreNum + 1]);
  18317. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18318. LOFT_COARSE_I,
  18319. txcal_radio_regs[2 * coreNum + 4]);
  18320. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18321. LOFT_COARSE_Q,
  18322. txcal_radio_regs[2 * coreNum + 5]);
  18323. }
  18324. }
  18325. }
  18326. static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi)
  18327. {
  18328. u32 idx;
  18329. u16 iqloCalbuf[7];
  18330. u32 iqcomp, locomp, curr_locomp;
  18331. s8 locomp_i, locomp_q;
  18332. s8 curr_locomp_i, curr_locomp_q;
  18333. u32 tbl_id, tbl_len, tbl_offset;
  18334. u32 regval[128];
  18335. if (pi->phyhang_avoid)
  18336. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18337. wlc_phy_table_read_nphy(pi, 15, 7, 80, 16, iqloCalbuf);
  18338. tbl_len = 128;
  18339. tbl_offset = 320;
  18340. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18341. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18342. iqcomp =
  18343. (tbl_id ==
  18344. 26) ? (((u32) (iqloCalbuf[0] & 0x3ff)) << 10) |
  18345. (iqloCalbuf[1] & 0x3ff)
  18346. : (((u32) (iqloCalbuf[2] & 0x3ff)) << 10) |
  18347. (iqloCalbuf[3] & 0x3ff);
  18348. for (idx = 0; idx < tbl_len; idx++)
  18349. regval[idx] = iqcomp;
  18350. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18351. regval);
  18352. }
  18353. tbl_offset = 448;
  18354. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18355. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18356. locomp =
  18357. (u32) ((tbl_id == 26) ? iqloCalbuf[5] : iqloCalbuf[6]);
  18358. locomp_i = (s8) ((locomp >> 8) & 0xff);
  18359. locomp_q = (s8) ((locomp) & 0xff);
  18360. for (idx = 0; idx < tbl_len; idx++) {
  18361. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18362. curr_locomp_i = locomp_i;
  18363. curr_locomp_q = locomp_q;
  18364. } else {
  18365. curr_locomp_i = (s8) ((locomp_i *
  18366. nphy_tpc_loscale[idx] +
  18367. 128) >> 8);
  18368. curr_locomp_q =
  18369. (s8) ((locomp_q *
  18370. nphy_tpc_loscale[idx] +
  18371. 128) >> 8);
  18372. }
  18373. curr_locomp = (u32) ((curr_locomp_i & 0xff) << 8);
  18374. curr_locomp |= (u32) (curr_locomp_q & 0xff);
  18375. regval[idx] = curr_locomp;
  18376. }
  18377. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18378. regval);
  18379. }
  18380. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18381. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX1, 0xFFFF);
  18382. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX2, 0xFFFF);
  18383. }
  18384. if (pi->phyhang_avoid)
  18385. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18386. }
  18387. static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi)
  18388. {
  18389. u8 tx_lpf_bw = 0;
  18390. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18391. if (CHSPEC_IS40(pi->radio_chanspec))
  18392. tx_lpf_bw = 3;
  18393. else
  18394. tx_lpf_bw = 1;
  18395. if (PHY_IPA(pi)) {
  18396. if (CHSPEC_IS40(pi->radio_chanspec))
  18397. tx_lpf_bw = 5;
  18398. else
  18399. tx_lpf_bw = 4;
  18400. }
  18401. write_phy_reg(pi, 0xe8,
  18402. (tx_lpf_bw << 0) |
  18403. (tx_lpf_bw << 3) |
  18404. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18405. if (PHY_IPA(pi)) {
  18406. if (CHSPEC_IS40(pi->radio_chanspec))
  18407. tx_lpf_bw = 4;
  18408. else
  18409. tx_lpf_bw = 1;
  18410. write_phy_reg(pi, 0xe9,
  18411. (tx_lpf_bw << 0) |
  18412. (tx_lpf_bw << 3) |
  18413. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18414. }
  18415. }
  18416. }
  18417. static void
  18418. wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr)
  18419. {
  18420. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18421. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18422. CHSPEC_IS40(pi->radio_chanspec)) {
  18423. if (!pi->nphy_anarxlpf_adjusted) {
  18424. write_radio_reg(pi,
  18425. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18426. RADIO_2056_RX0),
  18427. ((pi->nphy_rccal_value +
  18428. reduction_factr) | 0x80));
  18429. pi->nphy_anarxlpf_adjusted = true;
  18430. }
  18431. } else {
  18432. if (pi->nphy_anarxlpf_adjusted) {
  18433. write_radio_reg(pi,
  18434. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18435. RADIO_2056_RX0),
  18436. (pi->nphy_rccal_value | 0x80));
  18437. pi->nphy_anarxlpf_adjusted = false;
  18438. }
  18439. }
  18440. }
  18441. }
  18442. static void
  18443. wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones,
  18444. int *tone_id_buf, u32 *noise_var_buf)
  18445. {
  18446. int i;
  18447. u32 offset;
  18448. int tone_id;
  18449. int tbllen =
  18450. CHSPEC_IS40(pi->radio_chanspec) ?
  18451. NPHY_NOISEVAR_TBLLEN40 : NPHY_NOISEVAR_TBLLEN20;
  18452. if (pi->nphy_noisevars_adjusted) {
  18453. for (i = 0; i < pi->nphy_saved_noisevars.bufcount; i++) {
  18454. tone_id = pi->nphy_saved_noisevars.tone_id[i];
  18455. offset = (tone_id >= 0) ?
  18456. ((tone_id *
  18457. 2) + 1) : (tbllen + (tone_id * 2) + 1);
  18458. wlc_phy_table_write_nphy(
  18459. pi, NPHY_TBL_ID_NOISEVAR, 1,
  18460. offset, 32,
  18461. &pi->nphy_saved_noisevars.min_noise_vars[i]);
  18462. }
  18463. pi->nphy_saved_noisevars.bufcount = 0;
  18464. pi->nphy_noisevars_adjusted = false;
  18465. }
  18466. if ((noise_var_buf != NULL) && (tone_id_buf != NULL)) {
  18467. pi->nphy_saved_noisevars.bufcount = 0;
  18468. for (i = 0; i < ntones; i++) {
  18469. tone_id = tone_id_buf[i];
  18470. offset = (tone_id >= 0) ?
  18471. ((tone_id * 2) + 1) :
  18472. (tbllen + (tone_id * 2) + 1);
  18473. pi->nphy_saved_noisevars.tone_id[i] = tone_id;
  18474. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18475. offset, 32,
  18476. &pi->nphy_saved_noisevars.
  18477. min_noise_vars[i]);
  18478. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18479. offset, 32, &noise_var_buf[i]);
  18480. pi->nphy_saved_noisevars.bufcount++;
  18481. }
  18482. pi->nphy_noisevars_adjusted = true;
  18483. }
  18484. }
  18485. static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr)
  18486. {
  18487. u16 regval;
  18488. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18489. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18490. CHSPEC_IS40(pi->radio_chanspec)) {
  18491. if (!pi->nphy_crsminpwr_adjusted) {
  18492. regval = read_phy_reg(pi, 0x27d);
  18493. pi->nphy_crsminpwr[0] = regval & 0xff;
  18494. regval &= 0xff00;
  18495. regval |= (u16) minpwr;
  18496. write_phy_reg(pi, 0x27d, regval);
  18497. regval = read_phy_reg(pi, 0x280);
  18498. pi->nphy_crsminpwr[1] = regval & 0xff;
  18499. regval &= 0xff00;
  18500. regval |= (u16) minpwr;
  18501. write_phy_reg(pi, 0x280, regval);
  18502. regval = read_phy_reg(pi, 0x283);
  18503. pi->nphy_crsminpwr[2] = regval & 0xff;
  18504. regval &= 0xff00;
  18505. regval |= (u16) minpwr;
  18506. write_phy_reg(pi, 0x283, regval);
  18507. pi->nphy_crsminpwr_adjusted = true;
  18508. }
  18509. } else {
  18510. if (pi->nphy_crsminpwr_adjusted) {
  18511. regval = read_phy_reg(pi, 0x27d);
  18512. regval &= 0xff00;
  18513. regval |= pi->nphy_crsminpwr[0];
  18514. write_phy_reg(pi, 0x27d, regval);
  18515. regval = read_phy_reg(pi, 0x280);
  18516. regval &= 0xff00;
  18517. regval |= pi->nphy_crsminpwr[1];
  18518. write_phy_reg(pi, 0x280, regval);
  18519. regval = read_phy_reg(pi, 0x283);
  18520. regval &= 0xff00;
  18521. regval |= pi->nphy_crsminpwr[2];
  18522. write_phy_reg(pi, 0x283, regval);
  18523. pi->nphy_crsminpwr_adjusted = false;
  18524. }
  18525. }
  18526. }
  18527. }
  18528. static void wlc_phy_spurwar_nphy(struct brcms_phy *pi)
  18529. {
  18530. u16 cur_channel = 0;
  18531. int nphy_adj_tone_id_buf[] = { 57, 58 };
  18532. u32 nphy_adj_noise_var_buf[] = { 0x3ff, 0x3ff };
  18533. bool isAdjustNoiseVar = false;
  18534. uint numTonesAdjust = 0;
  18535. u32 tempval = 0;
  18536. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18537. if (pi->phyhang_avoid)
  18538. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18539. cur_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  18540. if (pi->nphy_gband_spurwar_en) {
  18541. wlc_phy_adjust_rx_analpfbw_nphy(
  18542. pi,
  18543. NPHY_ANARXLPFBW_REDUCTIONFACT);
  18544. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18545. if ((cur_channel == 11)
  18546. && CHSPEC_IS40(pi->radio_chanspec))
  18547. wlc_phy_adjust_min_noisevar_nphy(
  18548. pi, 2,
  18549. nphy_adj_tone_id_buf,
  18550. nphy_adj_noise_var_buf);
  18551. else
  18552. wlc_phy_adjust_min_noisevar_nphy(pi, 0,
  18553. NULL,
  18554. NULL);
  18555. }
  18556. wlc_phy_adjust_crsminpwr_nphy(pi,
  18557. NPHY_ADJUSTED_MINCRSPOWER);
  18558. }
  18559. if ((pi->nphy_gband_spurwar2_en)
  18560. && CHSPEC_IS2G(pi->radio_chanspec)) {
  18561. if (CHSPEC_IS40(pi->radio_chanspec)) {
  18562. switch (cur_channel) {
  18563. case 3:
  18564. nphy_adj_tone_id_buf[0] = 57;
  18565. nphy_adj_tone_id_buf[1] = 58;
  18566. nphy_adj_noise_var_buf[0] = 0x22f;
  18567. nphy_adj_noise_var_buf[1] = 0x25f;
  18568. isAdjustNoiseVar = true;
  18569. break;
  18570. case 4:
  18571. nphy_adj_tone_id_buf[0] = 41;
  18572. nphy_adj_tone_id_buf[1] = 42;
  18573. nphy_adj_noise_var_buf[0] = 0x22f;
  18574. nphy_adj_noise_var_buf[1] = 0x25f;
  18575. isAdjustNoiseVar = true;
  18576. break;
  18577. case 5:
  18578. nphy_adj_tone_id_buf[0] = 25;
  18579. nphy_adj_tone_id_buf[1] = 26;
  18580. nphy_adj_noise_var_buf[0] = 0x24f;
  18581. nphy_adj_noise_var_buf[1] = 0x25f;
  18582. isAdjustNoiseVar = true;
  18583. break;
  18584. case 6:
  18585. nphy_adj_tone_id_buf[0] = 9;
  18586. nphy_adj_tone_id_buf[1] = 10;
  18587. nphy_adj_noise_var_buf[0] = 0x22f;
  18588. nphy_adj_noise_var_buf[1] = 0x24f;
  18589. isAdjustNoiseVar = true;
  18590. break;
  18591. case 7:
  18592. nphy_adj_tone_id_buf[0] = 121;
  18593. nphy_adj_tone_id_buf[1] = 122;
  18594. nphy_adj_noise_var_buf[0] = 0x18f;
  18595. nphy_adj_noise_var_buf[1] = 0x24f;
  18596. isAdjustNoiseVar = true;
  18597. break;
  18598. case 8:
  18599. nphy_adj_tone_id_buf[0] = 105;
  18600. nphy_adj_tone_id_buf[1] = 106;
  18601. nphy_adj_noise_var_buf[0] = 0x22f;
  18602. nphy_adj_noise_var_buf[1] = 0x25f;
  18603. isAdjustNoiseVar = true;
  18604. break;
  18605. case 9:
  18606. nphy_adj_tone_id_buf[0] = 89;
  18607. nphy_adj_tone_id_buf[1] = 90;
  18608. nphy_adj_noise_var_buf[0] = 0x22f;
  18609. nphy_adj_noise_var_buf[1] = 0x24f;
  18610. isAdjustNoiseVar = true;
  18611. break;
  18612. case 10:
  18613. nphy_adj_tone_id_buf[0] = 73;
  18614. nphy_adj_tone_id_buf[1] = 74;
  18615. nphy_adj_noise_var_buf[0] = 0x22f;
  18616. nphy_adj_noise_var_buf[1] = 0x24f;
  18617. isAdjustNoiseVar = true;
  18618. break;
  18619. default:
  18620. isAdjustNoiseVar = false;
  18621. break;
  18622. }
  18623. }
  18624. if (isAdjustNoiseVar) {
  18625. numTonesAdjust = sizeof(nphy_adj_tone_id_buf) /
  18626. sizeof(nphy_adj_tone_id_buf[0]);
  18627. wlc_phy_adjust_min_noisevar_nphy(
  18628. pi,
  18629. numTonesAdjust,
  18630. nphy_adj_tone_id_buf,
  18631. nphy_adj_noise_var_buf);
  18632. tempval = 0;
  18633. } else {
  18634. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18635. NULL);
  18636. }
  18637. }
  18638. if ((pi->nphy_aband_spurwar_en) &&
  18639. (CHSPEC_IS5G(pi->radio_chanspec))) {
  18640. switch (cur_channel) {
  18641. case 54:
  18642. nphy_adj_tone_id_buf[0] = 32;
  18643. nphy_adj_noise_var_buf[0] = 0x25f;
  18644. break;
  18645. case 38:
  18646. case 102:
  18647. case 118:
  18648. nphy_adj_tone_id_buf[0] = 0;
  18649. nphy_adj_noise_var_buf[0] = 0x0;
  18650. break;
  18651. case 134:
  18652. nphy_adj_tone_id_buf[0] = 32;
  18653. nphy_adj_noise_var_buf[0] = 0x21f;
  18654. break;
  18655. case 151:
  18656. nphy_adj_tone_id_buf[0] = 16;
  18657. nphy_adj_noise_var_buf[0] = 0x23f;
  18658. break;
  18659. case 153:
  18660. case 161:
  18661. nphy_adj_tone_id_buf[0] = 48;
  18662. nphy_adj_noise_var_buf[0] = 0x23f;
  18663. break;
  18664. default:
  18665. nphy_adj_tone_id_buf[0] = 0;
  18666. nphy_adj_noise_var_buf[0] = 0x0;
  18667. break;
  18668. }
  18669. if (nphy_adj_tone_id_buf[0]
  18670. && nphy_adj_noise_var_buf[0])
  18671. wlc_phy_adjust_min_noisevar_nphy(
  18672. pi, 1,
  18673. nphy_adj_tone_id_buf,
  18674. nphy_adj_noise_var_buf);
  18675. else
  18676. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18677. NULL);
  18678. }
  18679. if (pi->phyhang_avoid)
  18680. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18681. }
  18682. }
  18683. void wlc_phy_init_nphy(struct brcms_phy *pi)
  18684. {
  18685. u16 val;
  18686. u16 clip1_ths[2];
  18687. struct nphy_txgains target_gain;
  18688. u8 tx_pwr_ctrl_state;
  18689. bool do_nphy_cal = false;
  18690. uint core;
  18691. uint origidx, intr_val;
  18692. struct d11regs __iomem *regs;
  18693. u32 d11_clk_ctl_st;
  18694. bool do_rssi_cal = false;
  18695. core = 0;
  18696. if (!(pi->measure_hold & PHY_HOLD_FOR_SCAN))
  18697. pi->measure_hold |= PHY_HOLD_FOR_NOT_ASSOC;
  18698. if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) &&
  18699. ((pi->sh->chippkg == BCM4717_PKG_ID) ||
  18700. (pi->sh->chippkg == BCM4718_PKG_ID))) {
  18701. if ((pi->sh->boardflags & BFL_EXTLNA) &&
  18702. (CHSPEC_IS2G(pi->radio_chanspec)))
  18703. ai_corereg(pi->sh->sih, SI_CC_IDX,
  18704. offsetof(struct chipcregs, chipcontrol),
  18705. 0x40, 0x40);
  18706. }
  18707. if ((pi->nphy_gband_spurwar2_en) && CHSPEC_IS2G(pi->radio_chanspec) &&
  18708. CHSPEC_IS40(pi->radio_chanspec)) {
  18709. regs = (struct d11regs __iomem *)
  18710. ai_switch_core(pi->sh->sih,
  18711. D11_CORE_ID, &origidx,
  18712. &intr_val);
  18713. d11_clk_ctl_st = R_REG(&regs->clk_ctl_st);
  18714. AND_REG(&regs->clk_ctl_st,
  18715. ~(CCS_FORCEHT | CCS_HTAREQ));
  18716. W_REG(&regs->clk_ctl_st, d11_clk_ctl_st);
  18717. ai_restore_core(pi->sh->sih, origidx, intr_val);
  18718. }
  18719. pi->use_int_tx_iqlo_cal_nphy =
  18720. (PHY_IPA(pi) ||
  18721. (NREV_GE(pi->pubpi.phy_rev, 7) ||
  18722. (NREV_GE(pi->pubpi.phy_rev, 5)
  18723. && pi->sh->boardflags2 & BFL2_INTERNDET_TXIQCAL)));
  18724. pi->internal_tx_iqlo_cal_tapoff_intpa_nphy = false;
  18725. pi->nphy_deaf_count = 0;
  18726. wlc_phy_tbl_init_nphy(pi);
  18727. pi->nphy_crsminpwr_adjusted = false;
  18728. pi->nphy_noisevars_adjusted = false;
  18729. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18730. write_phy_reg(pi, 0xe7, 0);
  18731. write_phy_reg(pi, 0xec, 0);
  18732. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18733. write_phy_reg(pi, 0x342, 0);
  18734. write_phy_reg(pi, 0x343, 0);
  18735. write_phy_reg(pi, 0x346, 0);
  18736. write_phy_reg(pi, 0x347, 0);
  18737. }
  18738. write_phy_reg(pi, 0xe5, 0);
  18739. write_phy_reg(pi, 0xe6, 0);
  18740. } else {
  18741. write_phy_reg(pi, 0xec, 0);
  18742. }
  18743. write_phy_reg(pi, 0x91, 0);
  18744. write_phy_reg(pi, 0x92, 0);
  18745. if (NREV_LT(pi->pubpi.phy_rev, 6)) {
  18746. write_phy_reg(pi, 0x93, 0);
  18747. write_phy_reg(pi, 0x94, 0);
  18748. }
  18749. and_phy_reg(pi, 0xa1, ~3);
  18750. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18751. write_phy_reg(pi, 0x8f, 0);
  18752. write_phy_reg(pi, 0xa5, 0);
  18753. } else {
  18754. write_phy_reg(pi, 0xa5, 0);
  18755. }
  18756. if (NREV_IS(pi->pubpi.phy_rev, 2))
  18757. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  18758. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  18759. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  18760. write_phy_reg(pi, 0x203, 32);
  18761. write_phy_reg(pi, 0x201, 32);
  18762. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD)
  18763. write_phy_reg(pi, 0x20d, 160);
  18764. else
  18765. write_phy_reg(pi, 0x20d, 184);
  18766. write_phy_reg(pi, 0x13a, 200);
  18767. write_phy_reg(pi, 0x70, 80);
  18768. write_phy_reg(pi, 0x1ff, 48);
  18769. if (NREV_LT(pi->pubpi.phy_rev, 8))
  18770. wlc_phy_update_mimoconfig_nphy(pi, pi->n_preamble_override);
  18771. wlc_phy_stf_chain_upd_nphy(pi);
  18772. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18773. write_phy_reg(pi, 0x180, 0xaa8);
  18774. write_phy_reg(pi, 0x181, 0x9a4);
  18775. }
  18776. if (PHY_IPA(pi)) {
  18777. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  18778. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  18779. 0x29b, (0x1 << 0), (1) << 0);
  18780. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x298 :
  18781. 0x29c, (0x1ff << 7),
  18782. (pi->nphy_papd_epsilon_offset[core]) << 7);
  18783. }
  18784. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  18785. } else if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  18786. wlc_phy_extpa_set_tx_digi_filts_nphy(pi);
  18787. }
  18788. wlc_phy_workarounds_nphy(pi);
  18789. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18790. val = read_phy_reg(pi, 0x01);
  18791. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18792. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18793. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18794. wlapi_bmac_macphyclk_set(pi->sh->physhim, ON);
  18795. wlc_phy_pa_override_nphy(pi, OFF);
  18796. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  18797. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18798. wlc_phy_pa_override_nphy(pi, ON);
  18799. wlc_phy_classifier_nphy(pi, 0, 0);
  18800. wlc_phy_clip_det_nphy(pi, 0, clip1_ths);
  18801. if (CHSPEC_IS2G(pi->radio_chanspec))
  18802. wlc_phy_bphy_init_nphy(pi);
  18803. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  18804. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  18805. wlc_phy_txpwr_fixpower_nphy(pi);
  18806. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  18807. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  18808. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18809. u32 *tx_pwrctrl_tbl = NULL;
  18810. u16 idx;
  18811. s16 pga_gn = 0;
  18812. s16 pad_gn = 0;
  18813. s32 rfpwr_offset;
  18814. if (PHY_IPA(pi)) {
  18815. tx_pwrctrl_tbl = wlc_phy_get_ipa_gaintbl_nphy(pi);
  18816. } else {
  18817. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  18818. if (NREV_IS(pi->pubpi.phy_rev, 3))
  18819. tx_pwrctrl_tbl =
  18820. nphy_tpc_5GHz_txgain_rev3;
  18821. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  18822. tx_pwrctrl_tbl =
  18823. (pi->srom_fem5g.extpagain ==
  18824. 3) ?
  18825. nphy_tpc_5GHz_txgain_HiPwrEPA :
  18826. nphy_tpc_5GHz_txgain_rev4;
  18827. else
  18828. tx_pwrctrl_tbl =
  18829. nphy_tpc_5GHz_txgain_rev5;
  18830. } else {
  18831. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18832. if (pi->pubpi.radiorev == 5)
  18833. tx_pwrctrl_tbl =
  18834. nphy_tpc_txgain_epa_2057rev5;
  18835. else if (pi->pubpi.radiorev == 3)
  18836. tx_pwrctrl_tbl =
  18837. nphy_tpc_txgain_epa_2057rev3;
  18838. } else {
  18839. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  18840. (pi->srom_fem2g.extpagain == 3))
  18841. tx_pwrctrl_tbl =
  18842. nphy_tpc_txgain_HiPwrEPA;
  18843. else
  18844. tx_pwrctrl_tbl =
  18845. nphy_tpc_txgain_rev3;
  18846. }
  18847. }
  18848. }
  18849. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18850. 192, 32, tx_pwrctrl_tbl);
  18851. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18852. 192, 32, tx_pwrctrl_tbl);
  18853. pi->nphy_gmval = (u16) ((*tx_pwrctrl_tbl >> 16) & 0x7000);
  18854. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18855. for (idx = 0; idx < 128; idx++) {
  18856. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18857. pad_gn = (tx_pwrctrl_tbl[idx] >> 19) & 0x1f;
  18858. rfpwr_offset = get_rf_pwr_offset(pi, pga_gn,
  18859. pad_gn);
  18860. wlc_phy_table_write_nphy(
  18861. pi,
  18862. NPHY_TBL_ID_CORE1TXPWRCTL,
  18863. 1, 576 + idx, 32,
  18864. &rfpwr_offset);
  18865. wlc_phy_table_write_nphy(
  18866. pi,
  18867. NPHY_TBL_ID_CORE2TXPWRCTL,
  18868. 1, 576 + idx, 32,
  18869. &rfpwr_offset);
  18870. }
  18871. } else {
  18872. for (idx = 0; idx < 128; idx++) {
  18873. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18874. if (CHSPEC_IS2G(pi->radio_chanspec))
  18875. rfpwr_offset = (s16)
  18876. nphy_papd_pga_gain_delta_ipa_2g
  18877. [pga_gn];
  18878. else
  18879. rfpwr_offset = (s16)
  18880. nphy_papd_pga_gain_delta_ipa_5g
  18881. [pga_gn];
  18882. wlc_phy_table_write_nphy(
  18883. pi,
  18884. NPHY_TBL_ID_CORE1TXPWRCTL,
  18885. 1, 576 + idx, 32,
  18886. &rfpwr_offset);
  18887. wlc_phy_table_write_nphy(
  18888. pi,
  18889. NPHY_TBL_ID_CORE2TXPWRCTL,
  18890. 1, 576 + idx, 32,
  18891. &rfpwr_offset);
  18892. }
  18893. }
  18894. } else {
  18895. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18896. 192, 32, nphy_tpc_txgain);
  18897. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18898. 192, 32, nphy_tpc_txgain);
  18899. }
  18900. if (pi->sh->phyrxchain != 0x3)
  18901. wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
  18902. pi->sh->phyrxchain);
  18903. if (PHY_PERICAL_MPHASE_PENDING(pi))
  18904. wlc_phy_cal_perical_mphase_restart(pi);
  18905. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18906. do_rssi_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18907. (pi->nphy_rssical_chanspec_2G == 0) :
  18908. (pi->nphy_rssical_chanspec_5G == 0);
  18909. if (do_rssi_cal)
  18910. wlc_phy_rssi_cal_nphy(pi);
  18911. else
  18912. wlc_phy_restore_rssical_nphy(pi);
  18913. } else {
  18914. wlc_phy_rssi_cal_nphy(pi);
  18915. }
  18916. if (!SCAN_RM_IN_PROGRESS(pi))
  18917. do_nphy_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18918. (pi->nphy_iqcal_chanspec_2G == 0) :
  18919. (pi->nphy_iqcal_chanspec_5G == 0);
  18920. if (!pi->do_initcal)
  18921. do_nphy_cal = false;
  18922. if (do_nphy_cal) {
  18923. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  18924. if (pi->antsel_type == ANTSEL_2x3)
  18925. wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
  18926. true);
  18927. if (pi->nphy_perical != PHY_PERICAL_MPHASE) {
  18928. wlc_phy_rssi_cal_nphy(pi);
  18929. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18930. pi->nphy_cal_orig_pwr_idx[0] =
  18931. pi->nphy_txpwrindex[PHY_CORE_0]
  18932. .
  18933. index_internal;
  18934. pi->nphy_cal_orig_pwr_idx[1] =
  18935. pi->nphy_txpwrindex[PHY_CORE_1]
  18936. .
  18937. index_internal;
  18938. wlc_phy_precal_txgain_nphy(pi);
  18939. target_gain =
  18940. wlc_phy_get_tx_gain_nphy(pi);
  18941. }
  18942. if (wlc_phy_cal_txiqlo_nphy
  18943. (pi, target_gain, true,
  18944. false) == 0) {
  18945. if (wlc_phy_cal_rxiq_nphy
  18946. (pi, target_gain, 2,
  18947. false) == 0)
  18948. wlc_phy_savecal_nphy(pi);
  18949. }
  18950. } else if (pi->mphase_cal_phase_id ==
  18951. MPHASE_CAL_STATE_IDLE) {
  18952. wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
  18953. PHY_PERICAL_PHYINIT);
  18954. }
  18955. } else {
  18956. wlc_phy_restorecal_nphy(pi);
  18957. }
  18958. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  18959. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  18960. wlc_phy_nphy_tkip_rifs_war(pi, pi->sh->_rifs_phy);
  18961. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6))
  18962. write_phy_reg(pi, 0x70, 50);
  18963. wlc_phy_txlpfbw_nphy(pi);
  18964. wlc_phy_spurwar_nphy(pi);
  18965. }
  18966. static void wlc_phy_resetcca_nphy(struct brcms_phy *pi)
  18967. {
  18968. u16 val;
  18969. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18970. val = read_phy_reg(pi, 0x01);
  18971. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18972. udelay(1);
  18973. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18974. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18975. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18976. }
  18977. void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en)
  18978. {
  18979. u16 rfctrlintc_override_val;
  18980. if (!en) {
  18981. pi->rfctrlIntc1_save = read_phy_reg(pi, 0x91);
  18982. pi->rfctrlIntc2_save = read_phy_reg(pi, 0x92);
  18983. if (NREV_GE(pi->pubpi.phy_rev, 7))
  18984. rfctrlintc_override_val = 0x1480;
  18985. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  18986. rfctrlintc_override_val =
  18987. CHSPEC_IS5G(pi->radio_chanspec) ? 0x600 : 0x480;
  18988. else
  18989. rfctrlintc_override_val =
  18990. CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  18991. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  18992. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  18993. } else {
  18994. write_phy_reg(pi, 0x91, pi->rfctrlIntc1_save);
  18995. write_phy_reg(pi, 0x92, pi->rfctrlIntc2_save);
  18996. }
  18997. }
  18998. void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi)
  18999. {
  19000. u16 txrx_chain =
  19001. (NPHY_RfseqCoreActv_TxRxChain0 | NPHY_RfseqCoreActv_TxRxChain1);
  19002. bool CoreActv_override = false;
  19003. if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN0) {
  19004. txrx_chain = NPHY_RfseqCoreActv_TxRxChain0;
  19005. CoreActv_override = true;
  19006. if (NREV_LE(pi->pubpi.phy_rev, 2))
  19007. and_phy_reg(pi, 0xa0, ~0x20);
  19008. } else if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN1) {
  19009. txrx_chain = NPHY_RfseqCoreActv_TxRxChain1;
  19010. CoreActv_override = true;
  19011. if (NREV_LE(pi->pubpi.phy_rev, 2))
  19012. or_phy_reg(pi, 0xa0, 0x20);
  19013. }
  19014. mod_phy_reg(pi, 0xa2, ((0xf << 0) | (0xf << 4)), txrx_chain);
  19015. if (CoreActv_override) {
  19016. pi->nphy_perical = PHY_PERICAL_DISABLE;
  19017. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  19018. } else {
  19019. pi->nphy_perical = PHY_PERICAL_MPHASE;
  19020. and_phy_reg(pi, 0xa1, ~NPHY_RfseqMode_CoreActv_override);
  19021. }
  19022. }
  19023. void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
  19024. {
  19025. u16 regval;
  19026. u16 tbl_buf[16];
  19027. uint i;
  19028. struct brcms_phy *pi = (struct brcms_phy *) pih;
  19029. u16 tbl_opcode;
  19030. bool suspend;
  19031. pi->sh->phyrxchain = rxcore_bitmask;
  19032. if (!pi->sh->clk)
  19033. return;
  19034. suspend = (0 == (R_REG(&pi->regs->maccontrol) & MCTL_EN_MAC));
  19035. if (!suspend)
  19036. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  19037. if (pi->phyhang_avoid)
  19038. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  19039. regval = read_phy_reg(pi, 0xa2);
  19040. regval &= ~(0xf << 4);
  19041. regval |= ((u16) (rxcore_bitmask & 0x3)) << 4;
  19042. write_phy_reg(pi, 0xa2, regval);
  19043. if ((rxcore_bitmask & 0x3) != 0x3) {
  19044. write_phy_reg(pi, 0x20e, 1);
  19045. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19046. if (pi->rx2tx_biasentry == -1) {
  19047. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19048. ARRAY_SIZE(tbl_buf), 80,
  19049. 16, tbl_buf);
  19050. for (i = 0; i < ARRAY_SIZE(tbl_buf); i++) {
  19051. if (tbl_buf[i] ==
  19052. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS) {
  19053. pi->rx2tx_biasentry = (u8) i;
  19054. tbl_opcode =
  19055. NPHY_REV3_RFSEQ_CMD_NOP;
  19056. wlc_phy_table_write_nphy(
  19057. pi,
  19058. NPHY_TBL_ID_RFSEQ,
  19059. 1, i,
  19060. 16,
  19061. &tbl_opcode);
  19062. break;
  19063. } else if (tbl_buf[i] ==
  19064. NPHY_REV3_RFSEQ_CMD_END)
  19065. break;
  19066. }
  19067. }
  19068. }
  19069. } else {
  19070. write_phy_reg(pi, 0x20e, 30);
  19071. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19072. if (pi->rx2tx_biasentry != -1) {
  19073. tbl_opcode = NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS;
  19074. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19075. 1, pi->rx2tx_biasentry,
  19076. 16, &tbl_opcode);
  19077. pi->rx2tx_biasentry = -1;
  19078. }
  19079. }
  19080. }
  19081. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  19082. if (pi->phyhang_avoid)
  19083. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  19084. if (!suspend)
  19085. wlapi_enable_mac(pi->sh->physhim);
  19086. }
  19087. u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
  19088. {
  19089. u16 regval, rxen_bits;
  19090. struct brcms_phy *pi = (struct brcms_phy *) pih;
  19091. regval = read_phy_reg(pi, 0xa2);
  19092. rxen_bits = (regval >> 4) & 0xf;
  19093. return (u8) rxen_bits;
  19094. }
  19095. bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi)
  19096. {
  19097. return PHY_IPA(pi);
  19098. }
  19099. void wlc_phy_cal_init_nphy(struct brcms_phy *pi)
  19100. {
  19101. }
  19102. static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi)
  19103. {
  19104. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19105. and_phy_reg(pi, 0x78, RFCC_OE_POR_FORCE);
  19106. or_phy_reg(pi, 0x78, ~RFCC_OE_POR_FORCE);
  19107. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU);
  19108. }
  19109. static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
  19110. {
  19111. struct radio_20xx_regs *regs_2057_ptr = NULL;
  19112. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19113. regs_2057_ptr = regs_2057_rev4;
  19114. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19115. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19116. switch (pi->pubpi.radiorev) {
  19117. case 5:
  19118. if (pi->pubpi.radiover == 0x0)
  19119. regs_2057_ptr = regs_2057_rev5;
  19120. else if (pi->pubpi.radiover == 0x1)
  19121. regs_2057_ptr = regs_2057_rev5v1;
  19122. else
  19123. break;
  19124. case 7:
  19125. regs_2057_ptr = regs_2057_rev7;
  19126. break;
  19127. case 8:
  19128. regs_2057_ptr = regs_2057_rev8;
  19129. break;
  19130. default:
  19131. break;
  19132. }
  19133. }
  19134. wlc_phy_init_radio_regs_allbands(pi, regs_2057_ptr);
  19135. }
  19136. static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi)
  19137. {
  19138. u16 rcal_reg = 0;
  19139. int i;
  19140. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19141. if (pi->pubpi.radiorev == 5) {
  19142. and_phy_reg(pi, 0x342, ~(0x1 << 1));
  19143. udelay(10);
  19144. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x1);
  19145. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19146. 0x1);
  19147. }
  19148. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x1);
  19149. udelay(10);
  19150. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x3, 0x3);
  19151. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19152. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS);
  19153. if (rcal_reg & 0x1)
  19154. break;
  19155. udelay(100);
  19156. }
  19157. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19158. "HW error: radio calib2"))
  19159. return 0;
  19160. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x2, 0x0);
  19161. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS) & 0x3e;
  19162. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x0);
  19163. if (pi->pubpi.radiorev == 5) {
  19164. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x0);
  19165. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19166. 0x0);
  19167. }
  19168. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19169. mod_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x3c,
  19170. rcal_reg);
  19171. mod_radio_reg(pi, RADIO_2057_BANDGAP_RCAL_TRIM, 0xf0,
  19172. rcal_reg << 2);
  19173. }
  19174. } else if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19175. u16 savereg;
  19176. savereg =
  19177. read_radio_reg(
  19178. pi,
  19179. RADIO_2056_SYN_PLL_MAST2 |
  19180. RADIO_2056_SYN);
  19181. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19182. savereg | 0x7);
  19183. udelay(10);
  19184. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19185. 0x1);
  19186. udelay(10);
  19187. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19188. 0x9);
  19189. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19190. rcal_reg = read_radio_reg(
  19191. pi,
  19192. RADIO_2056_SYN_RCAL_CODE_OUT |
  19193. RADIO_2056_SYN);
  19194. if (rcal_reg & 0x80)
  19195. break;
  19196. udelay(100);
  19197. }
  19198. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19199. "HW error: radio calib3"))
  19200. return 0;
  19201. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19202. 0x1);
  19203. rcal_reg =
  19204. read_radio_reg(pi,
  19205. RADIO_2056_SYN_RCAL_CODE_OUT |
  19206. RADIO_2056_SYN);
  19207. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19208. 0x0);
  19209. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19210. savereg);
  19211. return rcal_reg & 0x1f;
  19212. }
  19213. return rcal_reg & 0x3e;
  19214. }
  19215. static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi)
  19216. {
  19217. u16 rccal_valid;
  19218. int i;
  19219. bool chip43226_6362A0;
  19220. chip43226_6362A0 = ((pi->pubpi.radiorev == 3)
  19221. || (pi->pubpi.radiorev == 4)
  19222. || (pi->pubpi.radiorev == 6));
  19223. rccal_valid = 0;
  19224. if (chip43226_6362A0) {
  19225. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x61);
  19226. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xc0);
  19227. } else {
  19228. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x61);
  19229. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xe9);
  19230. }
  19231. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19232. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19233. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19234. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19235. if (rccal_valid & 0x2)
  19236. break;
  19237. udelay(500);
  19238. }
  19239. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19240. rccal_valid = 0;
  19241. if (chip43226_6362A0) {
  19242. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x69);
  19243. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19244. } else {
  19245. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x69);
  19246. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xd5);
  19247. }
  19248. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19249. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19250. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19251. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19252. if (rccal_valid & 0x2)
  19253. break;
  19254. udelay(500);
  19255. }
  19256. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19257. rccal_valid = 0;
  19258. if (chip43226_6362A0) {
  19259. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x73);
  19260. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x28);
  19261. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19262. } else {
  19263. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x73);
  19264. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19265. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0x99);
  19266. }
  19267. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19268. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19269. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19270. if (rccal_valid & 0x2)
  19271. break;
  19272. udelay(500);
  19273. }
  19274. if (WARN(!(rccal_valid & 0x2), "HW error: radio calib4"))
  19275. return 0;
  19276. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19277. return rccal_valid;
  19278. }
  19279. static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi)
  19280. {
  19281. mod_radio_reg(pi, RADIO_2057_XTALPUOVR_PINCTRL, 0x1, 0x1);
  19282. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x78);
  19283. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x80);
  19284. mdelay(2);
  19285. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x0);
  19286. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x0);
  19287. if (pi->phy_init_por) {
  19288. wlc_phy_radio205x_rcal(pi);
  19289. wlc_phy_radio2057_rccal(pi);
  19290. }
  19291. mod_radio_reg(pi, RADIO_2057_RFPLL_MASTER, 0x8, 0x0);
  19292. }
  19293. static void wlc_phy_radio_init_2056(struct brcms_phy *pi)
  19294. {
  19295. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19296. const struct radio_regs *regs_TX_2056_ptr = NULL;
  19297. const struct radio_regs *regs_RX_2056_ptr = NULL;
  19298. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19299. regs_SYN_2056_ptr = regs_SYN_2056;
  19300. regs_TX_2056_ptr = regs_TX_2056;
  19301. regs_RX_2056_ptr = regs_RX_2056;
  19302. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19303. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19304. regs_TX_2056_ptr = regs_TX_2056_A1;
  19305. regs_RX_2056_ptr = regs_RX_2056_A1;
  19306. } else {
  19307. switch (pi->pubpi.radiorev) {
  19308. case 5:
  19309. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19310. regs_TX_2056_ptr = regs_TX_2056_rev5;
  19311. regs_RX_2056_ptr = regs_RX_2056_rev5;
  19312. break;
  19313. case 6:
  19314. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19315. regs_TX_2056_ptr = regs_TX_2056_rev6;
  19316. regs_RX_2056_ptr = regs_RX_2056_rev6;
  19317. break;
  19318. case 7:
  19319. case 9:
  19320. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19321. regs_TX_2056_ptr = regs_TX_2056_rev7;
  19322. regs_RX_2056_ptr = regs_RX_2056_rev7;
  19323. break;
  19324. case 8:
  19325. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19326. regs_TX_2056_ptr = regs_TX_2056_rev8;
  19327. regs_RX_2056_ptr = regs_RX_2056_rev8;
  19328. break;
  19329. case 11:
  19330. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19331. regs_TX_2056_ptr = regs_TX_2056_rev11;
  19332. regs_RX_2056_ptr = regs_RX_2056_rev11;
  19333. break;
  19334. default:
  19335. break;
  19336. }
  19337. }
  19338. wlc_phy_init_radio_regs(pi, regs_SYN_2056_ptr, (u16) RADIO_2056_SYN);
  19339. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX0);
  19340. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX1);
  19341. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX0);
  19342. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX1);
  19343. }
  19344. static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi)
  19345. {
  19346. mod_radio_reg(pi, RADIO_2056_SYN_COM_CTRL, 0xb, 0xb);
  19347. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x2);
  19348. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x2);
  19349. udelay(1000);
  19350. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x0);
  19351. if ((pi->sh->boardflags2 & BFL2_LEGACY)
  19352. || (pi->sh->boardflags2 & BFL2_XTALBUFOUTEN))
  19353. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xf4, 0x0);
  19354. else
  19355. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xfc, 0x0);
  19356. mod_radio_reg(pi, RADIO_2056_SYN_RCCAL_CTRL0, 0x1, 0x0);
  19357. if (pi->phy_init_por)
  19358. wlc_phy_radio205x_rcal(pi);
  19359. }
  19360. static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi)
  19361. {
  19362. and_phy_reg(pi, 0x78, ~RFCC_POR_FORCE);
  19363. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU | RFCC_OE_POR_FORCE);
  19364. or_phy_reg(pi, 0x78, RFCC_POR_FORCE);
  19365. }
  19366. static void wlc_phy_radio_init_2055(struct brcms_phy *pi)
  19367. {
  19368. wlc_phy_init_radio_regs(pi, regs_2055, RADIO_DEFAULT_CORE);
  19369. }
  19370. static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi)
  19371. {
  19372. and_radio_reg(pi, RADIO_2055_MASTER_CNTRL1,
  19373. ~(RADIO_2055_JTAGCTRL_MASK | RADIO_2055_JTAGSYNC_MASK));
  19374. if (((pi->sh->sromrev >= 4)
  19375. && !(pi->sh->boardflags2 & BFL2_RXBB_INT_REG_DIS))
  19376. || ((pi->sh->sromrev < 4))) {
  19377. and_radio_reg(pi, RADIO_2055_CORE1_RXBB_REGULATOR, 0x7F);
  19378. and_radio_reg(pi, RADIO_2055_CORE2_RXBB_REGULATOR, 0x7F);
  19379. }
  19380. mod_radio_reg(pi, RADIO_2055_RRCCAL_N_OPT_SEL, 0x3F, 0x2C);
  19381. write_radio_reg(pi, RADIO_2055_CAL_MISC, 0x3C);
  19382. and_radio_reg(pi, RADIO_2055_CAL_MISC,
  19383. ~(RADIO_2055_RRCAL_START | RADIO_2055_RRCAL_RST_N));
  19384. or_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL, RADIO_2055_CAL_LPO_ENABLE);
  19385. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_RST_N);
  19386. udelay(1000);
  19387. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_START);
  19388. SPINWAIT(((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19389. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE), 2000);
  19390. if (WARN((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19391. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE,
  19392. "HW error: radio calibration1\n"))
  19393. return;
  19394. and_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL,
  19395. ~(RADIO_2055_CAL_LPO_ENABLE));
  19396. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
  19397. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_LPF, 9);
  19398. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_LPF, 9);
  19399. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_MIDAC_HIPAS, 0x83);
  19400. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_MIDAC_HIPAS, 0x83);
  19401. mod_radio_reg(pi, RADIO_2055_CORE1_LNA_GAINBST,
  19402. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19403. mod_radio_reg(pi, RADIO_2055_CORE2_LNA_GAINBST,
  19404. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19405. if (pi->nphy_gain_boost) {
  19406. and_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19407. ~(RADIO_2055_GAINBST_DISABLE));
  19408. and_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19409. ~(RADIO_2055_GAINBST_DISABLE));
  19410. } else {
  19411. or_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19412. RADIO_2055_GAINBST_DISABLE);
  19413. or_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19414. RADIO_2055_GAINBST_DISABLE);
  19415. }
  19416. udelay(2);
  19417. }
  19418. void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
  19419. {
  19420. if (on) {
  19421. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19422. if (!pi->radio_is_on) {
  19423. wlc_phy_radio_preinit_205x(pi);
  19424. wlc_phy_radio_init_2057(pi);
  19425. wlc_phy_radio_postinit_2057(pi);
  19426. }
  19427. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19428. pi->radio_chanspec);
  19429. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19430. wlc_phy_radio_preinit_205x(pi);
  19431. wlc_phy_radio_init_2056(pi);
  19432. wlc_phy_radio_postinit_2056(pi);
  19433. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19434. pi->radio_chanspec);
  19435. } else {
  19436. wlc_phy_radio_preinit_2055(pi);
  19437. wlc_phy_radio_init_2055(pi);
  19438. wlc_phy_radio_postinit_2055(pi);
  19439. }
  19440. pi->radio_is_on = true;
  19441. } else {
  19442. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19443. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  19444. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19445. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x0);
  19446. write_radio_reg(pi,
  19447. RADIO_2056_TX_PADA_BOOST_TUNE |
  19448. RADIO_2056_TX0, 0);
  19449. write_radio_reg(pi,
  19450. RADIO_2056_TX_PADG_BOOST_TUNE |
  19451. RADIO_2056_TX0, 0);
  19452. write_radio_reg(pi,
  19453. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19454. RADIO_2056_TX0, 0);
  19455. write_radio_reg(pi,
  19456. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19457. RADIO_2056_TX0, 0);
  19458. mod_radio_reg(pi,
  19459. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19460. RADIO_2056_TX0, 0xf0, 0);
  19461. write_radio_reg(pi,
  19462. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19463. RADIO_2056_TX0, 0);
  19464. write_radio_reg(pi,
  19465. RADIO_2056_TX_PADA_BOOST_TUNE |
  19466. RADIO_2056_TX1, 0);
  19467. write_radio_reg(pi,
  19468. RADIO_2056_TX_PADG_BOOST_TUNE |
  19469. RADIO_2056_TX1, 0);
  19470. write_radio_reg(pi,
  19471. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19472. RADIO_2056_TX1, 0);
  19473. write_radio_reg(pi,
  19474. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19475. RADIO_2056_TX1, 0);
  19476. mod_radio_reg(pi,
  19477. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19478. RADIO_2056_TX1, 0xf0, 0);
  19479. write_radio_reg(pi,
  19480. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19481. RADIO_2056_TX1, 0);
  19482. pi->radio_is_on = false;
  19483. }
  19484. if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  19485. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19486. pi->radio_is_on = false;
  19487. }
  19488. }
  19489. }
  19490. static bool
  19491. wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f,
  19492. const struct chan_info_nphy_radio2057 **t0,
  19493. const struct chan_info_nphy_radio205x **t1,
  19494. const struct chan_info_nphy_radio2057_rev5 **t2,
  19495. const struct chan_info_nphy_2055 **t3)
  19496. {
  19497. uint i;
  19498. const struct chan_info_nphy_radio2057 *chan_info_tbl_p_0 = NULL;
  19499. const struct chan_info_nphy_radio205x *chan_info_tbl_p_1 = NULL;
  19500. const struct chan_info_nphy_radio2057_rev5 *chan_info_tbl_p_2 = NULL;
  19501. u32 tbl_len = 0;
  19502. int freq = 0;
  19503. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19504. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19505. chan_info_tbl_p_0 = chan_info_nphyrev7_2057_rev4;
  19506. tbl_len = ARRAY_SIZE(chan_info_nphyrev7_2057_rev4);
  19507. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19508. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19509. switch (pi->pubpi.radiorev) {
  19510. case 5:
  19511. if (pi->pubpi.radiover == 0x0) {
  19512. chan_info_tbl_p_2 =
  19513. chan_info_nphyrev8_2057_rev5;
  19514. tbl_len = ARRAY_SIZE(
  19515. chan_info_nphyrev8_2057_rev5);
  19516. } else if (pi->pubpi.radiover == 0x1) {
  19517. chan_info_tbl_p_2 =
  19518. chan_info_nphyrev9_2057_rev5v1;
  19519. tbl_len = ARRAY_SIZE(
  19520. chan_info_nphyrev9_2057_rev5v1);
  19521. }
  19522. break;
  19523. case 7:
  19524. chan_info_tbl_p_0 =
  19525. chan_info_nphyrev8_2057_rev7;
  19526. tbl_len = ARRAY_SIZE(
  19527. chan_info_nphyrev8_2057_rev7);
  19528. break;
  19529. case 8:
  19530. chan_info_tbl_p_0 =
  19531. chan_info_nphyrev8_2057_rev8;
  19532. tbl_len = ARRAY_SIZE(
  19533. chan_info_nphyrev8_2057_rev8);
  19534. break;
  19535. default:
  19536. break;
  19537. }
  19538. } else if (NREV_IS(pi->pubpi.phy_rev, 16)) {
  19539. chan_info_tbl_p_0 = chan_info_nphyrev8_2057_rev8;
  19540. tbl_len = ARRAY_SIZE(chan_info_nphyrev8_2057_rev8);
  19541. } else {
  19542. goto fail;
  19543. }
  19544. for (i = 0; i < tbl_len; i++) {
  19545. if (pi->pubpi.radiorev == 5) {
  19546. if (chan_info_tbl_p_2[i].chan == channel)
  19547. break;
  19548. } else {
  19549. if (chan_info_tbl_p_0[i].chan == channel)
  19550. break;
  19551. }
  19552. }
  19553. if (i >= tbl_len)
  19554. goto fail;
  19555. if (pi->pubpi.radiorev == 5) {
  19556. *t2 = &chan_info_tbl_p_2[i];
  19557. freq = chan_info_tbl_p_2[i].freq;
  19558. } else {
  19559. *t0 = &chan_info_tbl_p_0[i];
  19560. freq = chan_info_tbl_p_0[i].freq;
  19561. }
  19562. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19563. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19564. chan_info_tbl_p_1 = chan_info_nphyrev3_2056;
  19565. tbl_len = ARRAY_SIZE(chan_info_nphyrev3_2056);
  19566. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19567. chan_info_tbl_p_1 = chan_info_nphyrev4_2056_A1;
  19568. tbl_len = ARRAY_SIZE(chan_info_nphyrev4_2056_A1);
  19569. } else if (NREV_IS(pi->pubpi.phy_rev, 5)
  19570. || NREV_IS(pi->pubpi.phy_rev, 6)) {
  19571. switch (pi->pubpi.radiorev) {
  19572. case 5:
  19573. chan_info_tbl_p_1 = chan_info_nphyrev5_2056v5;
  19574. tbl_len = ARRAY_SIZE(chan_info_nphyrev5_2056v5);
  19575. break;
  19576. case 6:
  19577. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v6;
  19578. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v6);
  19579. break;
  19580. case 7:
  19581. case 9:
  19582. chan_info_tbl_p_1 = chan_info_nphyrev5n6_2056v7;
  19583. tbl_len =
  19584. ARRAY_SIZE(chan_info_nphyrev5n6_2056v7);
  19585. break;
  19586. case 8:
  19587. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v8;
  19588. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v8);
  19589. break;
  19590. case 11:
  19591. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v11;
  19592. tbl_len = ARRAY_SIZE(
  19593. chan_info_nphyrev6_2056v11);
  19594. break;
  19595. default:
  19596. break;
  19597. }
  19598. }
  19599. for (i = 0; i < tbl_len; i++) {
  19600. if (chan_info_tbl_p_1[i].chan == channel)
  19601. break;
  19602. }
  19603. if (i >= tbl_len)
  19604. goto fail;
  19605. *t1 = &chan_info_tbl_p_1[i];
  19606. freq = chan_info_tbl_p_1[i].freq;
  19607. } else {
  19608. for (i = 0; i < ARRAY_SIZE(chan_info_nphy_2055); i++)
  19609. if (chan_info_nphy_2055[i].chan == channel)
  19610. break;
  19611. if (i >= ARRAY_SIZE(chan_info_nphy_2055))
  19612. goto fail;
  19613. *t3 = &chan_info_nphy_2055[i];
  19614. freq = chan_info_nphy_2055[i].freq;
  19615. }
  19616. *f = freq;
  19617. return true;
  19618. fail:
  19619. *f = WL_CHAN_FREQ_RANGE_2G;
  19620. return false;
  19621. }
  19622. u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel)
  19623. {
  19624. int freq;
  19625. const struct chan_info_nphy_radio2057 *t0 = NULL;
  19626. const struct chan_info_nphy_radio205x *t1 = NULL;
  19627. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  19628. const struct chan_info_nphy_2055 *t3 = NULL;
  19629. if (channel == 0)
  19630. channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  19631. wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
  19632. if (CHSPEC_IS2G(pi->radio_chanspec))
  19633. return WL_CHAN_FREQ_RANGE_2G;
  19634. if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
  19635. return WL_CHAN_FREQ_RANGE_5GL;
  19636. else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
  19637. return WL_CHAN_FREQ_RANGE_5GM;
  19638. else
  19639. return WL_CHAN_FREQ_RANGE_5GH;
  19640. }
  19641. static void
  19642. wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi,
  19643. const struct chan_info_nphy_2055 *ci)
  19644. {
  19645. write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref);
  19646. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0);
  19647. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1);
  19648. write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail);
  19649. BRCMS_PHY_WAR_PR51571(pi);
  19650. write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1);
  19651. write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2);
  19652. write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1);
  19653. write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1);
  19654. BRCMS_PHY_WAR_PR51571(pi);
  19655. write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2);
  19656. write_radio_reg(pi, RADIO_2055_LGBUF_CEN_BUF, ci->RF_lgbuf_cen_buf);
  19657. write_radio_reg(pi, RADIO_2055_LGEN_TUNE1, ci->RF_lgen_tune1);
  19658. write_radio_reg(pi, RADIO_2055_LGEN_TUNE2, ci->RF_lgen_tune2);
  19659. BRCMS_PHY_WAR_PR51571(pi);
  19660. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_A_TUNE,
  19661. ci->RF_core1_lgbuf_a_tune);
  19662. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_G_TUNE,
  19663. ci->RF_core1_lgbuf_g_tune);
  19664. write_radio_reg(pi, RADIO_2055_CORE1_RXRF_REG1, ci->RF_core1_rxrf_reg1);
  19665. write_radio_reg(pi, RADIO_2055_CORE1_TX_PGA_PAD_TN,
  19666. ci->RF_core1_tx_pga_pad_tn);
  19667. BRCMS_PHY_WAR_PR51571(pi);
  19668. write_radio_reg(pi, RADIO_2055_CORE1_TX_MX_BGTRIM,
  19669. ci->RF_core1_tx_mx_bgtrim);
  19670. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_A_TUNE,
  19671. ci->RF_core2_lgbuf_a_tune);
  19672. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_G_TUNE,
  19673. ci->RF_core2_lgbuf_g_tune);
  19674. write_radio_reg(pi, RADIO_2055_CORE2_RXRF_REG1, ci->RF_core2_rxrf_reg1);
  19675. BRCMS_PHY_WAR_PR51571(pi);
  19676. write_radio_reg(pi, RADIO_2055_CORE2_TX_PGA_PAD_TN,
  19677. ci->RF_core2_tx_pga_pad_tn);
  19678. write_radio_reg(pi, RADIO_2055_CORE2_TX_MX_BGTRIM,
  19679. ci->RF_core2_tx_mx_bgtrim);
  19680. udelay(50);
  19681. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x05);
  19682. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x45);
  19683. BRCMS_PHY_WAR_PR51571(pi);
  19684. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x65);
  19685. udelay(300);
  19686. }
  19687. static void
  19688. wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi,
  19689. const struct chan_info_nphy_radio205x *ci)
  19690. {
  19691. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19692. write_radio_reg(pi,
  19693. RADIO_2056_SYN_PLL_VCOCAL1 | RADIO_2056_SYN,
  19694. ci->RF_SYN_pll_vcocal1);
  19695. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL2 | RADIO_2056_SYN,
  19696. ci->RF_SYN_pll_vcocal2);
  19697. write_radio_reg(pi, RADIO_2056_SYN_PLL_REFDIV | RADIO_2056_SYN,
  19698. ci->RF_SYN_pll_refdiv);
  19699. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD2 | RADIO_2056_SYN,
  19700. ci->RF_SYN_pll_mmd2);
  19701. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD1 | RADIO_2056_SYN,
  19702. ci->RF_SYN_pll_mmd1);
  19703. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19704. ci->RF_SYN_pll_loopfilter1);
  19705. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19706. ci->RF_SYN_pll_loopfilter2);
  19707. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER3 | RADIO_2056_SYN,
  19708. ci->RF_SYN_pll_loopfilter3);
  19709. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19710. ci->RF_SYN_pll_loopfilter4);
  19711. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER5 | RADIO_2056_SYN,
  19712. ci->RF_SYN_pll_loopfilter5);
  19713. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR27 | RADIO_2056_SYN,
  19714. ci->RF_SYN_reserved_addr27);
  19715. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR28 | RADIO_2056_SYN,
  19716. ci->RF_SYN_reserved_addr28);
  19717. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR29 | RADIO_2056_SYN,
  19718. ci->RF_SYN_reserved_addr29);
  19719. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_VCOBUF1 | RADIO_2056_SYN,
  19720. ci->RF_SYN_logen_VCOBUF1);
  19721. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_MIXER2 | RADIO_2056_SYN,
  19722. ci->RF_SYN_logen_MIXER2);
  19723. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF3 | RADIO_2056_SYN,
  19724. ci->RF_SYN_logen_BUF3);
  19725. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF4 | RADIO_2056_SYN,
  19726. ci->RF_SYN_logen_BUF4);
  19727. write_radio_reg(pi,
  19728. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX0,
  19729. ci->RF_RX0_lnaa_tune);
  19730. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX0,
  19731. ci->RF_RX0_lnag_tune);
  19732. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX0,
  19733. ci->RF_TX0_intpaa_boost_tune);
  19734. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX0,
  19735. ci->RF_TX0_intpag_boost_tune);
  19736. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX0,
  19737. ci->RF_TX0_pada_boost_tune);
  19738. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX0,
  19739. ci->RF_TX0_padg_boost_tune);
  19740. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX0,
  19741. ci->RF_TX0_pgaa_boost_tune);
  19742. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX0,
  19743. ci->RF_TX0_pgag_boost_tune);
  19744. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX0,
  19745. ci->RF_TX0_mixa_boost_tune);
  19746. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX0,
  19747. ci->RF_TX0_mixg_boost_tune);
  19748. write_radio_reg(pi,
  19749. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX1,
  19750. ci->RF_RX1_lnaa_tune);
  19751. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX1,
  19752. ci->RF_RX1_lnag_tune);
  19753. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX1,
  19754. ci->RF_TX1_intpaa_boost_tune);
  19755. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX1,
  19756. ci->RF_TX1_intpag_boost_tune);
  19757. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX1,
  19758. ci->RF_TX1_pada_boost_tune);
  19759. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX1,
  19760. ci->RF_TX1_padg_boost_tune);
  19761. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX1,
  19762. ci->RF_TX1_pgaa_boost_tune);
  19763. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX1,
  19764. ci->RF_TX1_pgag_boost_tune);
  19765. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX1,
  19766. ci->RF_TX1_mixa_boost_tune);
  19767. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX1,
  19768. ci->RF_TX1_mixg_boost_tune);
  19769. if (NREV_IS(pi->pubpi.phy_rev, 3))
  19770. regs_SYN_2056_ptr = regs_SYN_2056;
  19771. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  19772. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19773. else {
  19774. switch (pi->pubpi.radiorev) {
  19775. case 5:
  19776. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19777. break;
  19778. case 6:
  19779. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19780. break;
  19781. case 7:
  19782. case 9:
  19783. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19784. break;
  19785. case 8:
  19786. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19787. break;
  19788. case 11:
  19789. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19790. break;
  19791. }
  19792. }
  19793. if (CHSPEC_IS2G(pi->radio_chanspec))
  19794. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19795. RADIO_2056_SYN,
  19796. (u16) regs_SYN_2056_ptr[0x49 - 2].init_g);
  19797. else
  19798. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19799. RADIO_2056_SYN,
  19800. (u16) regs_SYN_2056_ptr[0x49 - 2].init_a);
  19801. if (pi->sh->boardflags2 & BFL2_GPLL_WAR) {
  19802. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19803. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19804. RADIO_2056_SYN, 0x1f);
  19805. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19806. RADIO_2056_SYN, 0x1f);
  19807. write_radio_reg(pi,
  19808. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19809. RADIO_2056_SYN, 0xb);
  19810. write_radio_reg(pi,
  19811. RADIO_2056_SYN_PLL_CP2 |
  19812. RADIO_2056_SYN, 0x14);
  19813. }
  19814. }
  19815. if ((pi->sh->boardflags2 & BFL2_GPLL_WAR2) &&
  19816. (CHSPEC_IS2G(pi->radio_chanspec))) {
  19817. write_radio_reg(pi,
  19818. RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19819. 0x1f);
  19820. write_radio_reg(pi,
  19821. RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19822. 0x1f);
  19823. write_radio_reg(pi,
  19824. RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19825. 0xb);
  19826. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 | RADIO_2056_SYN,
  19827. 0x20);
  19828. }
  19829. if (pi->sh->boardflags2 & BFL2_APLL_WAR) {
  19830. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  19831. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19832. RADIO_2056_SYN, 0x1f);
  19833. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19834. RADIO_2056_SYN, 0x1f);
  19835. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19836. RADIO_2056_SYN, 0x5);
  19837. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19838. RADIO_2056_SYN, 0xc);
  19839. }
  19840. }
  19841. if (PHY_IPA(pi) && CHSPEC_IS2G(pi->radio_chanspec)) {
  19842. u16 pag_boost_tune;
  19843. u16 padg_boost_tune;
  19844. u16 pgag_boost_tune;
  19845. u16 mixg_boost_tune;
  19846. u16 bias, cascbias;
  19847. uint core;
  19848. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19849. if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  19850. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19851. PADG_IDAC, 0xcc);
  19852. bias = 0x25;
  19853. cascbias = 0x20;
  19854. if ((pi->sh->chip ==
  19855. BCM43224_CHIP_ID)
  19856. || (pi->sh->chip ==
  19857. BCM43225_CHIP_ID)) {
  19858. if (pi->sh->chippkg ==
  19859. BCM43224_FAB_SMIC) {
  19860. bias = 0x2a;
  19861. cascbias = 0x38;
  19862. }
  19863. }
  19864. pag_boost_tune = 0x4;
  19865. pgag_boost_tune = 0x03;
  19866. padg_boost_tune = 0x77;
  19867. mixg_boost_tune = 0x65;
  19868. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19869. INTPAG_IMAIN_STAT, bias);
  19870. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19871. INTPAG_IAUX_STAT, bias);
  19872. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19873. INTPAG_CASCBIAS, cascbias);
  19874. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19875. INTPAG_BOOST_TUNE,
  19876. pag_boost_tune);
  19877. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19878. PGAG_BOOST_TUNE,
  19879. pgag_boost_tune);
  19880. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19881. PADG_BOOST_TUNE,
  19882. padg_boost_tune);
  19883. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19884. MIXG_BOOST_TUNE,
  19885. mixg_boost_tune);
  19886. } else {
  19887. bias = (pi->bw == WL_CHANSPEC_BW_40) ?
  19888. 0x40 : 0x20;
  19889. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19890. INTPAG_IMAIN_STAT, bias);
  19891. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19892. INTPAG_IAUX_STAT, bias);
  19893. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19894. INTPAG_CASCBIAS, 0x30);
  19895. }
  19896. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, PA_SPARE1,
  19897. 0xee);
  19898. }
  19899. }
  19900. if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6)
  19901. && CHSPEC_IS5G(pi->radio_chanspec)) {
  19902. u16 paa_boost_tune;
  19903. u16 pada_boost_tune;
  19904. u16 pgaa_boost_tune;
  19905. u16 mixa_boost_tune;
  19906. u16 freq, pabias, cascbias;
  19907. uint core;
  19908. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  19909. if (freq < 5150) {
  19910. paa_boost_tune = 0xa;
  19911. pada_boost_tune = 0x77;
  19912. pgaa_boost_tune = 0xf;
  19913. mixa_boost_tune = 0xf;
  19914. } else if (freq < 5340) {
  19915. paa_boost_tune = 0x8;
  19916. pada_boost_tune = 0x77;
  19917. pgaa_boost_tune = 0xfb;
  19918. mixa_boost_tune = 0xf;
  19919. } else if (freq < 5650) {
  19920. paa_boost_tune = 0x0;
  19921. pada_boost_tune = 0x77;
  19922. pgaa_boost_tune = 0xb;
  19923. mixa_boost_tune = 0xf;
  19924. } else {
  19925. paa_boost_tune = 0x0;
  19926. pada_boost_tune = 0x77;
  19927. if (freq != 5825)
  19928. pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
  19929. else
  19930. pgaa_boost_tune = 6;
  19931. mixa_boost_tune = 0xf;
  19932. }
  19933. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19934. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19935. INTPAA_BOOST_TUNE, paa_boost_tune);
  19936. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19937. PADA_BOOST_TUNE, pada_boost_tune);
  19938. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19939. PGAA_BOOST_TUNE, pgaa_boost_tune);
  19940. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19941. MIXA_BOOST_TUNE, mixa_boost_tune);
  19942. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19943. TXSPARE1, 0x30);
  19944. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19945. PA_SPARE2, 0xee);
  19946. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19947. PADA_CASCBIAS, 0x3);
  19948. cascbias = 0x30;
  19949. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  19950. (pi->sh->chip == BCM43225_CHIP_ID)) {
  19951. if (pi->sh->chippkg == BCM43224_FAB_SMIC)
  19952. cascbias = 0x35;
  19953. }
  19954. pabias = (pi->phy_pabias == 0) ? 0x30 : pi->phy_pabias;
  19955. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19956. INTPAA_IAUX_STAT, pabias);
  19957. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19958. INTPAA_IMAIN_STAT, pabias);
  19959. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19960. INTPAA_CASCBIAS, cascbias);
  19961. }
  19962. }
  19963. udelay(50);
  19964. wlc_phy_radio205x_vcocal_nphy(pi);
  19965. }
  19966. void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi)
  19967. {
  19968. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19969. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x0);
  19970. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04, 0x0);
  19971. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04,
  19972. (1 << 2));
  19973. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x01);
  19974. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19975. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL12, 0x0);
  19976. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19977. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x18);
  19978. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19979. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x39);
  19980. }
  19981. udelay(300);
  19982. }
  19983. static void
  19984. wlc_phy_chanspec_radio2057_setup(
  19985. struct brcms_phy *pi,
  19986. const struct chan_info_nphy_radio2057 *ci,
  19987. const struct chan_info_nphy_radio2057_rev5 *
  19988. ci2)
  19989. {
  19990. int coreNum;
  19991. u16 txmix2g_tune_boost_pu = 0;
  19992. u16 pad2g_tune_pus = 0;
  19993. if (pi->pubpi.radiorev == 5) {
  19994. write_radio_reg(pi,
  19995. RADIO_2057_VCOCAL_COUNTVAL0,
  19996. ci2->RF_vcocal_countval0);
  19997. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19998. ci2->RF_vcocal_countval1);
  19999. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  20000. ci2->RF_rfpll_refmaster_sparextalsize);
  20001. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20002. ci2->RF_rfpll_loopfilter_r1);
  20003. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20004. ci2->RF_rfpll_loopfilter_c2);
  20005. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20006. ci2->RF_rfpll_loopfilter_c1);
  20007. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC,
  20008. ci2->RF_cp_kpd_idac);
  20009. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci2->RF_rfpll_mmd0);
  20010. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci2->RF_rfpll_mmd1);
  20011. write_radio_reg(pi,
  20012. RADIO_2057_VCOBUF_TUNE, ci2->RF_vcobuf_tune);
  20013. write_radio_reg(pi,
  20014. RADIO_2057_LOGEN_MX2G_TUNE,
  20015. ci2->RF_logen_mx2g_tune);
  20016. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  20017. ci2->RF_logen_indbuf2g_tune);
  20018. write_radio_reg(pi,
  20019. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  20020. ci2->RF_txmix2g_tune_boost_pu_core0);
  20021. write_radio_reg(pi,
  20022. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  20023. ci2->RF_pad2g_tune_pus_core0);
  20024. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  20025. ci2->RF_lna2g_tune_core0);
  20026. write_radio_reg(pi,
  20027. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  20028. ci2->RF_txmix2g_tune_boost_pu_core1);
  20029. write_radio_reg(pi,
  20030. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  20031. ci2->RF_pad2g_tune_pus_core1);
  20032. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  20033. ci2->RF_lna2g_tune_core1);
  20034. } else {
  20035. write_radio_reg(pi,
  20036. RADIO_2057_VCOCAL_COUNTVAL0,
  20037. ci->RF_vcocal_countval0);
  20038. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  20039. ci->RF_vcocal_countval1);
  20040. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  20041. ci->RF_rfpll_refmaster_sparextalsize);
  20042. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20043. ci->RF_rfpll_loopfilter_r1);
  20044. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20045. ci->RF_rfpll_loopfilter_c2);
  20046. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20047. ci->RF_rfpll_loopfilter_c1);
  20048. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, ci->RF_cp_kpd_idac);
  20049. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci->RF_rfpll_mmd0);
  20050. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci->RF_rfpll_mmd1);
  20051. write_radio_reg(pi, RADIO_2057_VCOBUF_TUNE, ci->RF_vcobuf_tune);
  20052. write_radio_reg(pi,
  20053. RADIO_2057_LOGEN_MX2G_TUNE,
  20054. ci->RF_logen_mx2g_tune);
  20055. write_radio_reg(pi, RADIO_2057_LOGEN_MX5G_TUNE,
  20056. ci->RF_logen_mx5g_tune);
  20057. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  20058. ci->RF_logen_indbuf2g_tune);
  20059. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF5G_TUNE,
  20060. ci->RF_logen_indbuf5g_tune);
  20061. write_radio_reg(pi,
  20062. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  20063. ci->RF_txmix2g_tune_boost_pu_core0);
  20064. write_radio_reg(pi,
  20065. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  20066. ci->RF_pad2g_tune_pus_core0);
  20067. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE0,
  20068. ci->RF_pga_boost_tune_core0);
  20069. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE0,
  20070. ci->RF_txmix5g_boost_tune_core0);
  20071. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE0,
  20072. ci->RF_pad5g_tune_misc_pus_core0);
  20073. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  20074. ci->RF_lna2g_tune_core0);
  20075. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE0,
  20076. ci->RF_lna5g_tune_core0);
  20077. write_radio_reg(pi,
  20078. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  20079. ci->RF_txmix2g_tune_boost_pu_core1);
  20080. write_radio_reg(pi,
  20081. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  20082. ci->RF_pad2g_tune_pus_core1);
  20083. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE1,
  20084. ci->RF_pga_boost_tune_core1);
  20085. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE1,
  20086. ci->RF_txmix5g_boost_tune_core1);
  20087. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE1,
  20088. ci->RF_pad5g_tune_misc_pus_core1);
  20089. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  20090. ci->RF_lna2g_tune_core1);
  20091. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE1,
  20092. ci->RF_lna5g_tune_core1);
  20093. }
  20094. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  20095. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20096. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20097. 0x3f);
  20098. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20099. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20100. 0x8);
  20101. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20102. 0x8);
  20103. } else {
  20104. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20105. 0x1f);
  20106. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20107. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20108. 0x8);
  20109. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20110. 0x8);
  20111. }
  20112. } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) ||
  20113. (pi->pubpi.radiorev == 8)) {
  20114. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20115. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20116. 0x1b);
  20117. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x30);
  20118. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20119. 0xa);
  20120. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20121. 0xa);
  20122. } else {
  20123. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20124. 0x1f);
  20125. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20126. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20127. 0x8);
  20128. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20129. 0x8);
  20130. }
  20131. }
  20132. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20133. if (PHY_IPA(pi)) {
  20134. if (pi->pubpi.radiorev == 3)
  20135. txmix2g_tune_boost_pu = 0x6b;
  20136. if (pi->pubpi.radiorev == 5)
  20137. pad2g_tune_pus = 0x73;
  20138. } else {
  20139. if (pi->pubpi.radiorev != 5) {
  20140. pad2g_tune_pus = 0x3;
  20141. txmix2g_tune_boost_pu = 0x61;
  20142. }
  20143. }
  20144. for (coreNum = 0; coreNum <= 1; coreNum++) {
  20145. if (txmix2g_tune_boost_pu != 0)
  20146. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20147. TXMIX2G_TUNE_BOOST_PU,
  20148. txmix2g_tune_boost_pu);
  20149. if (pad2g_tune_pus != 0)
  20150. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20151. PAD2G_TUNE_PUS,
  20152. pad2g_tune_pus);
  20153. }
  20154. }
  20155. udelay(50);
  20156. wlc_phy_radio205x_vcocal_nphy(pi);
  20157. }
  20158. static void
  20159. wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec,
  20160. const struct nphy_sfo_cfg *ci)
  20161. {
  20162. u16 val;
  20163. val = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  20164. if (CHSPEC_IS5G(chanspec) && !val) {
  20165. val = R_REG(&pi->regs->psm_phy_hdr_param);
  20166. W_REG(&pi->regs->psm_phy_hdr_param,
  20167. (val | MAC_PHY_FORCE_CLK));
  20168. or_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20169. (BBCFG_RESETCCA | BBCFG_RESETRX));
  20170. W_REG(&pi->regs->psm_phy_hdr_param, val);
  20171. or_phy_reg(pi, 0x09, NPHY_BandControl_currentBand);
  20172. } else if (!CHSPEC_IS5G(chanspec) && val) {
  20173. and_phy_reg(pi, 0x09, ~NPHY_BandControl_currentBand);
  20174. val = R_REG(&pi->regs->psm_phy_hdr_param);
  20175. W_REG(&pi->regs->psm_phy_hdr_param,
  20176. (val | MAC_PHY_FORCE_CLK));
  20177. and_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20178. (u16) (~(BBCFG_RESETCCA | BBCFG_RESETRX)));
  20179. W_REG(&pi->regs->psm_phy_hdr_param, val);
  20180. }
  20181. write_phy_reg(pi, 0x1ce, ci->PHY_BW1a);
  20182. write_phy_reg(pi, 0x1cf, ci->PHY_BW2);
  20183. write_phy_reg(pi, 0x1d0, ci->PHY_BW3);
  20184. write_phy_reg(pi, 0x1d1, ci->PHY_BW4);
  20185. write_phy_reg(pi, 0x1d2, ci->PHY_BW5);
  20186. write_phy_reg(pi, 0x1d3, ci->PHY_BW6);
  20187. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  20188. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en, 0);
  20189. or_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, 0x800);
  20190. } else {
  20191. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en,
  20192. NPHY_ClassifierCtrl_ofdm_en);
  20193. if (CHSPEC_IS2G(chanspec))
  20194. and_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, ~0x840);
  20195. }
  20196. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF)
  20197. wlc_phy_txpwr_fixpower_nphy(pi);
  20198. if (NREV_LT(pi->pubpi.phy_rev, 3))
  20199. wlc_phy_adjust_lnagaintbl_nphy(pi);
  20200. wlc_phy_txlpfbw_nphy(pi);
  20201. if (NREV_GE(pi->pubpi.phy_rev, 3)
  20202. && (pi->phy_spuravoid != SPURAVOID_DISABLE)) {
  20203. u8 spuravoid = 0;
  20204. val = CHSPEC_CHANNEL(chanspec);
  20205. if (!CHSPEC_IS40(pi->radio_chanspec)) {
  20206. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20207. if ((val == 13) || (val == 14) || (val == 153))
  20208. spuravoid = 1;
  20209. } else if (((val >= 5) && (val <= 8)) || (val == 13)
  20210. || (val == 14)) {
  20211. spuravoid = 1;
  20212. }
  20213. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20214. if (val == 54)
  20215. spuravoid = 1;
  20216. } else {
  20217. if (pi->nphy_aband_spurwar_en &&
  20218. ((val == 38) || (val == 102)
  20219. || (val == 118)))
  20220. spuravoid = 1;
  20221. }
  20222. if (pi->phy_spuravoid == SPURAVOID_FORCEON)
  20223. spuravoid = 1;
  20224. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, false);
  20225. si_pmu_spuravoid(pi->sh->sih, spuravoid);
  20226. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, true);
  20227. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  20228. (pi->sh->chip == BCM43225_CHIP_ID)) {
  20229. if (spuravoid == 1) {
  20230. W_REG(&pi->regs->tsf_clk_frac_l,
  20231. 0x5341);
  20232. W_REG(&pi->regs->tsf_clk_frac_h,
  20233. 0x8);
  20234. } else {
  20235. W_REG(&pi->regs->tsf_clk_frac_l,
  20236. 0x8889);
  20237. W_REG(&pi->regs->tsf_clk_frac_h,
  20238. 0x8);
  20239. }
  20240. }
  20241. wlapi_bmac_core_phypll_reset(pi->sh->physhim);
  20242. mod_phy_reg(pi, 0x01, (0x1 << 15),
  20243. ((spuravoid > 0) ? (0x1 << 15) : 0));
  20244. wlc_phy_resetcca_nphy(pi);
  20245. pi->phy_isspuravoid = (spuravoid > 0);
  20246. }
  20247. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20248. write_phy_reg(pi, 0x17e, 0x3830);
  20249. wlc_phy_spurwar_nphy(pi);
  20250. }
  20251. void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec)
  20252. {
  20253. int freq;
  20254. const struct chan_info_nphy_radio2057 *t0 = NULL;
  20255. const struct chan_info_nphy_radio205x *t1 = NULL;
  20256. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  20257. const struct chan_info_nphy_2055 *t3 = NULL;
  20258. if (!wlc_phy_chan2freq_nphy
  20259. (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
  20260. return;
  20261. wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
  20262. if (CHSPEC_BW(chanspec) != pi->bw)
  20263. wlapi_bmac_bw_set(pi->sh->physhim, CHSPEC_BW(chanspec));
  20264. if (CHSPEC_IS40(chanspec)) {
  20265. if (CHSPEC_SB_UPPER(chanspec)) {
  20266. or_phy_reg(pi, 0xa0, BPHY_BAND_SEL_UP20);
  20267. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20268. or_phy_reg(pi, 0x310, PRIM_SEL_UP20);
  20269. } else {
  20270. and_phy_reg(pi, 0xa0, ~BPHY_BAND_SEL_UP20);
  20271. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20272. and_phy_reg(pi, 0x310,
  20273. (~PRIM_SEL_UP20 & 0xffff));
  20274. }
  20275. }
  20276. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20277. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20278. if ((pi->pubpi.radiorev <= 4)
  20279. || (pi->pubpi.radiorev == 6)) {
  20280. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE0,
  20281. 0x2,
  20282. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20283. : 0));
  20284. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE1,
  20285. 0x2,
  20286. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20287. : 0));
  20288. }
  20289. wlc_phy_chanspec_radio2057_setup(pi, t0, t2);
  20290. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20291. (pi->pubpi.radiorev == 5) ?
  20292. (const struct nphy_sfo_cfg *)&(t2->PHY_BW1a) :
  20293. (const struct nphy_sfo_cfg *)&(t0->PHY_BW1a));
  20294. } else {
  20295. mod_radio_reg(pi,
  20296. RADIO_2056_SYN_COM_CTRL | RADIO_2056_SYN,
  20297. 0x4,
  20298. (CHSPEC_IS5G(chanspec) ? (0x1 << 2) : 0));
  20299. wlc_phy_chanspec_radio2056_setup(pi, t1);
  20300. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20301. (const struct nphy_sfo_cfg *) &(t1->PHY_BW1a));
  20302. }
  20303. } else {
  20304. mod_radio_reg(pi, RADIO_2055_MASTER_CNTRL1, 0x70,
  20305. (CHSPEC_IS5G(chanspec) ? (0x02 << 4)
  20306. : (0x05 << 4)));
  20307. wlc_phy_chanspec_radio2055_setup(pi, t3);
  20308. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20309. (const struct nphy_sfo_cfg *)
  20310. &(t3->PHY_BW1a));
  20311. }
  20312. }
  20313. void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
  20314. {
  20315. struct brcms_phy *pi = (struct brcms_phy *) ppi;
  20316. u16 mask = 0xfc00;
  20317. u32 mc = 0;
  20318. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20319. return;
  20320. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20321. u16 v0 = 0x211, v1 = 0x222, v2 = 0x144, v3 = 0x188;
  20322. if (lut_init == false)
  20323. return;
  20324. if (pi->srom_fem2g.antswctrllut == 0) {
  20325. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20326. 1, 0x02, 16, &v0);
  20327. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20328. 1, 0x03, 16, &v1);
  20329. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20330. 1, 0x08, 16, &v2);
  20331. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20332. 1, 0x0C, 16, &v3);
  20333. }
  20334. if (pi->srom_fem5g.antswctrllut == 0) {
  20335. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20336. 1, 0x12, 16, &v0);
  20337. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20338. 1, 0x13, 16, &v1);
  20339. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20340. 1, 0x18, 16, &v2);
  20341. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20342. 1, 0x1C, 16, &v3);
  20343. }
  20344. } else {
  20345. write_phy_reg(pi, 0xc8, 0x0);
  20346. write_phy_reg(pi, 0xc9, 0x0);
  20347. ai_gpiocontrol(pi->sh->sih, mask, mask, GPIO_DRV_PRIORITY);
  20348. mc = R_REG(&pi->regs->maccontrol);
  20349. mc &= ~MCTL_GPOUT_SEL_MASK;
  20350. W_REG(&pi->regs->maccontrol, mc);
  20351. OR_REG(&pi->regs->psm_gpio_oe, mask);
  20352. AND_REG(&pi->regs->psm_gpio_out, ~mask);
  20353. if (lut_init) {
  20354. write_phy_reg(pi, 0xf8, 0x02d8);
  20355. write_phy_reg(pi, 0xf9, 0x0301);
  20356. write_phy_reg(pi, 0xfa, 0x02d8);
  20357. write_phy_reg(pi, 0xfb, 0x0301);
  20358. }
  20359. }
  20360. }
  20361. u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val)
  20362. {
  20363. u16 curr_ctl, new_ctl;
  20364. bool suspended = false;
  20365. if (D11REV_IS(pi->sh->corerev, 16)) {
  20366. suspended =
  20367. (R_REG(&pi->regs->maccontrol) & MCTL_EN_MAC) ?
  20368. false : true;
  20369. if (!suspended)
  20370. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  20371. }
  20372. curr_ctl = read_phy_reg(pi, 0xb0) & (0x7 << 0);
  20373. new_ctl = (curr_ctl & (~mask)) | (val & mask);
  20374. mod_phy_reg(pi, 0xb0, (0x7 << 0), new_ctl);
  20375. if (D11REV_IS(pi->sh->corerev, 16) && !suspended)
  20376. wlapi_enable_mac(pi->sh->physhim);
  20377. return new_ctl;
  20378. }
  20379. void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd)
  20380. {
  20381. u16 trigger_mask, status_mask;
  20382. u16 orig_RfseqCoreActv;
  20383. switch (cmd) {
  20384. case NPHY_RFSEQ_RX2TX:
  20385. trigger_mask = NPHY_RfseqTrigger_rx2tx;
  20386. status_mask = NPHY_RfseqStatus_rx2tx;
  20387. break;
  20388. case NPHY_RFSEQ_TX2RX:
  20389. trigger_mask = NPHY_RfseqTrigger_tx2rx;
  20390. status_mask = NPHY_RfseqStatus_tx2rx;
  20391. break;
  20392. case NPHY_RFSEQ_RESET2RX:
  20393. trigger_mask = NPHY_RfseqTrigger_reset2rx;
  20394. status_mask = NPHY_RfseqStatus_reset2rx;
  20395. break;
  20396. case NPHY_RFSEQ_UPDATEGAINH:
  20397. trigger_mask = NPHY_RfseqTrigger_updategainh;
  20398. status_mask = NPHY_RfseqStatus_updategainh;
  20399. break;
  20400. case NPHY_RFSEQ_UPDATEGAINL:
  20401. trigger_mask = NPHY_RfseqTrigger_updategainl;
  20402. status_mask = NPHY_RfseqStatus_updategainl;
  20403. break;
  20404. case NPHY_RFSEQ_UPDATEGAINU:
  20405. trigger_mask = NPHY_RfseqTrigger_updategainu;
  20406. status_mask = NPHY_RfseqStatus_updategainu;
  20407. break;
  20408. default:
  20409. return;
  20410. }
  20411. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  20412. or_phy_reg(pi, 0xa1,
  20413. (NPHY_RfseqMode_CoreActv_override |
  20414. NPHY_RfseqMode_Trigger_override));
  20415. or_phy_reg(pi, 0xa3, trigger_mask);
  20416. SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000);
  20417. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  20418. WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf");
  20419. }
  20420. static void
  20421. wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value,
  20422. u8 core_mask, u8 off)
  20423. {
  20424. u16 rfmxgain = 0, lpfgain = 0;
  20425. u16 tgain = 0;
  20426. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20427. switch (cmd) {
  20428. case NPHY_REV7_RfctrlOverride_cmd_rxrf_pu:
  20429. wlc_phy_rfctrl_override_nphy_rev7(
  20430. pi, (0x1 << 5),
  20431. value, core_mask, off,
  20432. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20433. wlc_phy_rfctrl_override_nphy_rev7(
  20434. pi, (0x1 << 4), value,
  20435. core_mask, off,
  20436. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20437. wlc_phy_rfctrl_override_nphy_rev7(
  20438. pi, (0x1 << 3), value,
  20439. core_mask, off,
  20440. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20441. break;
  20442. case NPHY_REV7_RfctrlOverride_cmd_rx_pu:
  20443. wlc_phy_rfctrl_override_nphy_rev7(
  20444. pi, (0x1 << 2),
  20445. value, core_mask, off,
  20446. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20447. wlc_phy_rfctrl_override_nphy_rev7(
  20448. pi, (0x1 << 1), value,
  20449. core_mask, off,
  20450. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20451. wlc_phy_rfctrl_override_nphy_rev7(
  20452. pi, (0x1 << 0), value,
  20453. core_mask, off,
  20454. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20455. wlc_phy_rfctrl_override_nphy_rev7(
  20456. pi, (0x1 << 1), value,
  20457. core_mask, off,
  20458. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20459. wlc_phy_rfctrl_override_nphy_rev7(
  20460. pi, (0x1 << 11), 0,
  20461. core_mask, off,
  20462. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20463. break;
  20464. case NPHY_REV7_RfctrlOverride_cmd_tx_pu:
  20465. wlc_phy_rfctrl_override_nphy_rev7(
  20466. pi, (0x1 << 2),
  20467. value, core_mask, off,
  20468. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20469. wlc_phy_rfctrl_override_nphy_rev7(
  20470. pi, (0x1 << 1), value,
  20471. core_mask, off,
  20472. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20473. wlc_phy_rfctrl_override_nphy_rev7(
  20474. pi, (0x1 << 0), value,
  20475. core_mask, off,
  20476. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20477. wlc_phy_rfctrl_override_nphy_rev7(
  20478. pi, (0x1 << 2), value,
  20479. core_mask, off,
  20480. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20481. wlc_phy_rfctrl_override_nphy_rev7(
  20482. pi, (0x1 << 11), 1,
  20483. core_mask, off,
  20484. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20485. break;
  20486. case NPHY_REV7_RfctrlOverride_cmd_rxgain:
  20487. rfmxgain = value & 0x000ff;
  20488. lpfgain = value & 0x0ff00;
  20489. lpfgain = lpfgain >> 8;
  20490. wlc_phy_rfctrl_override_nphy_rev7(
  20491. pi, (0x1 << 11),
  20492. rfmxgain, core_mask,
  20493. off,
  20494. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20495. wlc_phy_rfctrl_override_nphy_rev7(
  20496. pi, (0x3 << 13),
  20497. lpfgain, core_mask,
  20498. off,
  20499. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20500. break;
  20501. case NPHY_REV7_RfctrlOverride_cmd_txgain:
  20502. tgain = value & 0x7fff;
  20503. lpfgain = value & 0x8000;
  20504. lpfgain = lpfgain >> 14;
  20505. wlc_phy_rfctrl_override_nphy_rev7(
  20506. pi, (0x1 << 12),
  20507. tgain, core_mask, off,
  20508. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20509. wlc_phy_rfctrl_override_nphy_rev7(
  20510. pi, (0x1 << 13),
  20511. lpfgain, core_mask,
  20512. off,
  20513. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20514. break;
  20515. }
  20516. }
  20517. }
  20518. static void
  20519. wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset,
  20520. u8 coresel, u8 rail, u8 rssi_type)
  20521. {
  20522. u16 valuetostuff;
  20523. offset = (offset > NPHY_RSSICAL_MAXREAD) ?
  20524. NPHY_RSSICAL_MAXREAD : offset;
  20525. offset = (offset < (-NPHY_RSSICAL_MAXREAD - 1)) ?
  20526. -NPHY_RSSICAL_MAXREAD - 1 : offset;
  20527. valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f);
  20528. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20529. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20530. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20531. write_phy_reg(pi, 0x1a6, valuetostuff);
  20532. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20533. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20534. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20535. write_phy_reg(pi, 0x1ac, valuetostuff);
  20536. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20537. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20538. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20539. write_phy_reg(pi, 0x1b2, valuetostuff);
  20540. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20541. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20542. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20543. write_phy_reg(pi, 0x1b8, valuetostuff);
  20544. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20545. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20546. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20547. write_phy_reg(pi, 0x1a4, valuetostuff);
  20548. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20549. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20550. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20551. write_phy_reg(pi, 0x1aa, valuetostuff);
  20552. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20553. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20554. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20555. write_phy_reg(pi, 0x1b0, valuetostuff);
  20556. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20557. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20558. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20559. write_phy_reg(pi, 0x1b6, valuetostuff);
  20560. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20561. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20562. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20563. write_phy_reg(pi, 0x1a5, valuetostuff);
  20564. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20565. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20566. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20567. write_phy_reg(pi, 0x1ab, valuetostuff);
  20568. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20569. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20570. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20571. write_phy_reg(pi, 0x1b1, valuetostuff);
  20572. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20573. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20574. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20575. write_phy_reg(pi, 0x1b7, valuetostuff);
  20576. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20577. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20578. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20579. write_phy_reg(pi, 0x1a7, valuetostuff);
  20580. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20581. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20582. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20583. write_phy_reg(pi, 0x1ad, valuetostuff);
  20584. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20585. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20586. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20587. write_phy_reg(pi, 0x1b3, valuetostuff);
  20588. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20589. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20590. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20591. write_phy_reg(pi, 0x1b9, valuetostuff);
  20592. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20593. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20594. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20595. write_phy_reg(pi, 0x1a8, valuetostuff);
  20596. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20597. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20598. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20599. write_phy_reg(pi, 0x1ae, valuetostuff);
  20600. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20601. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20602. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20603. write_phy_reg(pi, 0x1b4, valuetostuff);
  20604. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20605. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20606. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20607. write_phy_reg(pi, 0x1ba, valuetostuff);
  20608. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20609. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20610. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20611. write_phy_reg(pi, 0x1a9, valuetostuff);
  20612. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20613. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20614. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20615. write_phy_reg(pi, 0x1b5, valuetostuff);
  20616. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20617. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20618. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20619. write_phy_reg(pi, 0x1af, valuetostuff);
  20620. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20621. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20622. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20623. write_phy_reg(pi, 0x1bb, valuetostuff);
  20624. }
  20625. static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core)
  20626. {
  20627. if (PHY_IPA(pi)) {
  20628. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20629. write_radio_reg(pi,
  20630. ((core == PHY_CORE_0) ?
  20631. RADIO_2057_TX0_TX_SSI_MUX :
  20632. RADIO_2057_TX1_TX_SSI_MUX),
  20633. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20634. 0xc : 0xe));
  20635. else
  20636. write_radio_reg(pi,
  20637. RADIO_2056_TX_TX_SSI_MUX |
  20638. ((core == PHY_CORE_0) ?
  20639. RADIO_2056_TX0 : RADIO_2056_TX1),
  20640. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20641. 0xc : 0xe));
  20642. } else {
  20643. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20644. write_radio_reg(pi,
  20645. ((core == PHY_CORE_0) ?
  20646. RADIO_2057_TX0_TX_SSI_MUX :
  20647. RADIO_2057_TX1_TX_SSI_MUX),
  20648. 0x11);
  20649. if (pi->pubpi.radioid == BCM2057_ID)
  20650. write_radio_reg(pi,
  20651. RADIO_2057_IQTEST_SEL_PU, 0x1);
  20652. } else {
  20653. write_radio_reg(pi,
  20654. RADIO_2056_TX_TX_SSI_MUX |
  20655. ((core == PHY_CORE_0) ?
  20656. RADIO_2056_TX0 : RADIO_2056_TX1),
  20657. 0x11);
  20658. }
  20659. }
  20660. }
  20661. void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type)
  20662. {
  20663. u16 mask, val;
  20664. u16 afectrlovr_rssi_val, rfctrlcmd_rxen_val, rfctrlcmd_coresel_val,
  20665. startseq;
  20666. u16 rfctrlovr_rssi_val, rfctrlovr_rxen_val, rfctrlovr_coresel_val,
  20667. rfctrlovr_trigger_val;
  20668. u16 afectrlovr_rssi_mask, rfctrlcmd_mask, rfctrlovr_mask;
  20669. u16 rfctrlcmd_val, rfctrlovr_val;
  20670. u8 core;
  20671. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20672. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20673. mod_phy_reg(pi, 0x8f, (0x1 << 9), 0);
  20674. mod_phy_reg(pi, 0xa5, (0x1 << 9), 0);
  20675. mod_phy_reg(pi, 0xa6, (0x3 << 8), 0);
  20676. mod_phy_reg(pi, 0xa7, (0x3 << 8), 0);
  20677. mod_phy_reg(pi, 0xe5, (0x1 << 5), 0);
  20678. mod_phy_reg(pi, 0xe6, (0x1 << 5), 0);
  20679. mask = (0x1 << 2) |
  20680. (0x1 << 3) | (0x1 << 4) | (0x1 << 5);
  20681. mod_phy_reg(pi, 0xf9, mask, 0);
  20682. mod_phy_reg(pi, 0xfb, mask, 0);
  20683. } else {
  20684. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20685. if (core_code == RADIO_MIMO_CORESEL_CORE1
  20686. && core == PHY_CORE_1)
  20687. continue;
  20688. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  20689. && core == PHY_CORE_0)
  20690. continue;
  20691. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20692. 0x8f : 0xa5, (0x1 << 9), 1 << 9);
  20693. if (rssi_type == NPHY_RSSI_SEL_W1 ||
  20694. rssi_type == NPHY_RSSI_SEL_W2 ||
  20695. rssi_type == NPHY_RSSI_SEL_NB) {
  20696. mod_phy_reg(pi,
  20697. (core ==
  20698. PHY_CORE_0) ? 0xa6 : 0xa7,
  20699. (0x3 << 8), 0);
  20700. mask = (0x1 << 2) |
  20701. (0x1 << 3) |
  20702. (0x1 << 4) | (0x1 << 5);
  20703. mod_phy_reg(pi,
  20704. (core ==
  20705. PHY_CORE_0) ? 0xf9 : 0xfb,
  20706. mask, 0);
  20707. if (rssi_type == NPHY_RSSI_SEL_W1) {
  20708. if (CHSPEC_IS5G(
  20709. pi->radio_chanspec)) {
  20710. mask = (0x1 << 2);
  20711. val = 1 << 2;
  20712. } else {
  20713. mask = (0x1 << 3);
  20714. val = 1 << 3;
  20715. }
  20716. } else if (rssi_type ==
  20717. NPHY_RSSI_SEL_W2) {
  20718. mask = (0x1 << 4);
  20719. val = 1 << 4;
  20720. } else {
  20721. mask = (0x1 << 5);
  20722. val = 1 << 5;
  20723. }
  20724. mod_phy_reg(pi,
  20725. (core ==
  20726. PHY_CORE_0) ? 0xf9 : 0xfb,
  20727. mask, val);
  20728. mask = (0x1 << 5);
  20729. val = 1 << 5;
  20730. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20731. 0xe5 : 0xe6, mask, val);
  20732. } else {
  20733. if (rssi_type == NPHY_RSSI_SEL_TBD) {
  20734. mask = (0x3 << 8);
  20735. val = 1 << 8;
  20736. mod_phy_reg(pi,
  20737. (core ==
  20738. PHY_CORE_0) ? 0xa6
  20739. : 0xa7, mask, val);
  20740. mask = (0x3 << 10);
  20741. val = 1 << 10;
  20742. mod_phy_reg(pi,
  20743. (core ==
  20744. PHY_CORE_0) ? 0xa6
  20745. : 0xa7, mask, val);
  20746. } else if (rssi_type ==
  20747. NPHY_RSSI_SEL_IQ) {
  20748. mask = (0x3 << 8);
  20749. val = 2 << 8;
  20750. mod_phy_reg(pi,
  20751. (core ==
  20752. PHY_CORE_0) ? 0xa6
  20753. : 0xa7, mask, val);
  20754. mask = (0x3 << 10);
  20755. val = 2 << 10;
  20756. mod_phy_reg(pi,
  20757. (core ==
  20758. PHY_CORE_0) ? 0xa6
  20759. : 0xa7, mask, val);
  20760. } else {
  20761. mask = (0x3 << 8);
  20762. val = 3 << 8;
  20763. mod_phy_reg(pi,
  20764. (core ==
  20765. PHY_CORE_0) ? 0xa6
  20766. : 0xa7, mask, val);
  20767. mask = (0x3 << 10);
  20768. val = 3 << 10;
  20769. mod_phy_reg(pi,
  20770. (core ==
  20771. PHY_CORE_0) ? 0xa6
  20772. : 0xa7, mask, val);
  20773. brcms_phy_wr_tx_mux(pi, core);
  20774. afectrlovr_rssi_val = 1 << 9;
  20775. mod_phy_reg(pi,
  20776. (core ==
  20777. PHY_CORE_0) ? 0x8f
  20778. : 0xa5, (0x1 << 9),
  20779. afectrlovr_rssi_val);
  20780. }
  20781. }
  20782. }
  20783. }
  20784. } else {
  20785. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20786. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20787. (rssi_type == NPHY_RSSI_SEL_NB))
  20788. val = 0x0;
  20789. else if (rssi_type == NPHY_RSSI_SEL_TBD)
  20790. val = 0x1;
  20791. else if (rssi_type == NPHY_RSSI_SEL_IQ)
  20792. val = 0x2;
  20793. else
  20794. val = 0x3;
  20795. mask = ((0x3 << 12) | (0x3 << 14));
  20796. val = (val << 12) | (val << 14);
  20797. mod_phy_reg(pi, 0xa6, mask, val);
  20798. mod_phy_reg(pi, 0xa7, mask, val);
  20799. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20800. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20801. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20802. if (rssi_type == NPHY_RSSI_SEL_W1)
  20803. val = 0x1;
  20804. if (rssi_type == NPHY_RSSI_SEL_W2)
  20805. val = 0x2;
  20806. if (rssi_type == NPHY_RSSI_SEL_NB)
  20807. val = 0x3;
  20808. mask = (0x3 << 4);
  20809. val = (val << 4);
  20810. mod_phy_reg(pi, 0x7a, mask, val);
  20811. mod_phy_reg(pi, 0x7d, mask, val);
  20812. }
  20813. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20814. afectrlovr_rssi_val = 0;
  20815. rfctrlcmd_rxen_val = 0;
  20816. rfctrlcmd_coresel_val = 0;
  20817. rfctrlovr_rssi_val = 0;
  20818. rfctrlovr_rxen_val = 0;
  20819. rfctrlovr_coresel_val = 0;
  20820. rfctrlovr_trigger_val = 0;
  20821. startseq = 0;
  20822. } else {
  20823. afectrlovr_rssi_val = 1;
  20824. rfctrlcmd_rxen_val = 1;
  20825. rfctrlcmd_coresel_val = core_code;
  20826. rfctrlovr_rssi_val = 1;
  20827. rfctrlovr_rxen_val = 1;
  20828. rfctrlovr_coresel_val = 1;
  20829. rfctrlovr_trigger_val = 1;
  20830. startseq = 1;
  20831. }
  20832. afectrlovr_rssi_mask = ((0x1 << 12) | (0x1 << 13));
  20833. afectrlovr_rssi_val = (afectrlovr_rssi_val <<
  20834. 12) | (afectrlovr_rssi_val << 13);
  20835. mod_phy_reg(pi, 0xa5, afectrlovr_rssi_mask,
  20836. afectrlovr_rssi_val);
  20837. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20838. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20839. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20840. rfctrlcmd_mask = ((0x1 << 8) | (0x7 << 3));
  20841. rfctrlcmd_val = (rfctrlcmd_rxen_val << 8) |
  20842. (rfctrlcmd_coresel_val << 3);
  20843. rfctrlovr_mask = ((0x1 << 5) |
  20844. (0x1 << 12) |
  20845. (0x1 << 1) | (0x1 << 0));
  20846. rfctrlovr_val = (rfctrlovr_rssi_val <<
  20847. 5) |
  20848. (rfctrlovr_rxen_val << 12) |
  20849. (rfctrlovr_coresel_val << 1) |
  20850. (rfctrlovr_trigger_val << 0);
  20851. mod_phy_reg(pi, 0x78, rfctrlcmd_mask, rfctrlcmd_val);
  20852. mod_phy_reg(pi, 0xec, rfctrlovr_mask, rfctrlovr_val);
  20853. mod_phy_reg(pi, 0x78, (0x1 << 0), (startseq << 0));
  20854. udelay(20);
  20855. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  20856. }
  20857. }
  20858. }
  20859. int
  20860. wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf,
  20861. u8 nsamps)
  20862. {
  20863. s16 rssi0, rssi1;
  20864. u16 afectrlCore1_save = 0;
  20865. u16 afectrlCore2_save = 0;
  20866. u16 afectrlOverride1_save = 0;
  20867. u16 afectrlOverride2_save = 0;
  20868. u16 rfctrlOverrideAux0_save = 0;
  20869. u16 rfctrlOverrideAux1_save = 0;
  20870. u16 rfctrlMiscReg1_save = 0;
  20871. u16 rfctrlMiscReg2_save = 0;
  20872. u16 rfctrlcmd_save = 0;
  20873. u16 rfctrloverride_save = 0;
  20874. u16 rfctrlrssiothers1_save = 0;
  20875. u16 rfctrlrssiothers2_save = 0;
  20876. s8 tmp_buf[4];
  20877. u8 ctr = 0, samp = 0;
  20878. s32 rssi_out_val;
  20879. u16 gpiosel_orig;
  20880. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20881. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20882. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20883. rfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  20884. rfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  20885. afectrlOverride1_save = read_phy_reg(pi, 0x8f);
  20886. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20887. rfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  20888. rfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  20889. } else {
  20890. afectrlOverride1_save = read_phy_reg(pi, 0xa5);
  20891. rfctrlcmd_save = read_phy_reg(pi, 0x78);
  20892. rfctrloverride_save = read_phy_reg(pi, 0xec);
  20893. rfctrlrssiothers1_save = read_phy_reg(pi, 0x7a);
  20894. rfctrlrssiothers2_save = read_phy_reg(pi, 0x7d);
  20895. }
  20896. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  20897. gpiosel_orig = read_phy_reg(pi, 0xca);
  20898. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20899. write_phy_reg(pi, 0xca, 5);
  20900. for (ctr = 0; ctr < 4; ctr++)
  20901. rssi_buf[ctr] = 0;
  20902. for (samp = 0; samp < nsamps; samp++) {
  20903. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  20904. rssi0 = read_phy_reg(pi, 0x1c9);
  20905. rssi1 = read_phy_reg(pi, 0x1ca);
  20906. } else {
  20907. rssi0 = read_phy_reg(pi, 0x219);
  20908. rssi1 = read_phy_reg(pi, 0x21a);
  20909. }
  20910. ctr = 0;
  20911. tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2;
  20912. tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2;
  20913. tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2;
  20914. tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2;
  20915. for (ctr = 0; ctr < 4; ctr++)
  20916. rssi_buf[ctr] += tmp_buf[ctr];
  20917. }
  20918. rssi_out_val = rssi_buf[3] & 0xff;
  20919. rssi_out_val |= (rssi_buf[2] & 0xff) << 8;
  20920. rssi_out_val |= (rssi_buf[1] & 0xff) << 16;
  20921. rssi_out_val |= (rssi_buf[0] & 0xff) << 24;
  20922. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20923. write_phy_reg(pi, 0xca, gpiosel_orig);
  20924. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20925. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20926. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20927. write_phy_reg(pi, 0xf9, rfctrlMiscReg1_save);
  20928. write_phy_reg(pi, 0xfb, rfctrlMiscReg2_save);
  20929. write_phy_reg(pi, 0x8f, afectrlOverride1_save);
  20930. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20931. write_phy_reg(pi, 0xe5, rfctrlOverrideAux0_save);
  20932. write_phy_reg(pi, 0xe6, rfctrlOverrideAux1_save);
  20933. } else {
  20934. write_phy_reg(pi, 0xa5, afectrlOverride1_save);
  20935. write_phy_reg(pi, 0x78, rfctrlcmd_save);
  20936. write_phy_reg(pi, 0xec, rfctrloverride_save);
  20937. write_phy_reg(pi, 0x7a, rfctrlrssiothers1_save);
  20938. write_phy_reg(pi, 0x7d, rfctrlrssiothers2_save);
  20939. }
  20940. return rssi_out_val;
  20941. }
  20942. s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi)
  20943. {
  20944. u16 core1_txrf_iqcal1_save, core1_txrf_iqcal2_save;
  20945. u16 core2_txrf_iqcal1_save, core2_txrf_iqcal2_save;
  20946. u16 pwrdet_rxtx_core1_save;
  20947. u16 pwrdet_rxtx_core2_save;
  20948. u16 afectrlCore1_save;
  20949. u16 afectrlCore2_save;
  20950. u16 afectrlOverride_save;
  20951. u16 afectrlOverride2_save;
  20952. u16 pd_pll_ts_save;
  20953. u16 gpioSel_save;
  20954. s32 radio_temp[4];
  20955. s32 radio_temp2[4];
  20956. u16 syn_tempprocsense_save;
  20957. s16 offset = 0;
  20958. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20959. u16 auxADC_Vmid, auxADC_Av, auxADC_Vmid_save, auxADC_Av_save;
  20960. u16 auxADC_rssi_ctrlL_save, auxADC_rssi_ctrlH_save;
  20961. u16 auxADC_rssi_ctrlL, auxADC_rssi_ctrlH;
  20962. s32 auxADC_Vl;
  20963. u16 RfctrlOverride5_save, RfctrlOverride6_save;
  20964. u16 RfctrlMiscReg5_save, RfctrlMiscReg6_save;
  20965. u16 RSSIMultCoef0QPowerDet_save;
  20966. u16 tempsense_Rcal;
  20967. syn_tempprocsense_save =
  20968. read_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG);
  20969. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20970. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20971. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20972. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20973. RSSIMultCoef0QPowerDet_save = read_phy_reg(pi, 0x1ae);
  20974. RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  20975. RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  20976. RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  20977. RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  20978. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20979. &auxADC_Vmid_save);
  20980. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20981. &auxADC_Av_save);
  20982. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20983. &auxADC_rssi_ctrlL_save);
  20984. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20985. &auxADC_rssi_ctrlH_save);
  20986. write_phy_reg(pi, 0x1ae, 0x0);
  20987. auxADC_rssi_ctrlL = 0x0;
  20988. auxADC_rssi_ctrlH = 0x20;
  20989. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20990. &auxADC_rssi_ctrlL);
  20991. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20992. &auxADC_rssi_ctrlH);
  20993. tempsense_Rcal = syn_tempprocsense_save & 0x1c;
  20994. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20995. tempsense_Rcal | 0x01);
  20996. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  20997. 1, 0, 0,
  20998. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20999. mod_phy_reg(pi, 0xa6, (0x1 << 7), 0);
  21000. mod_phy_reg(pi, 0xa7, (0x1 << 7), 0);
  21001. mod_phy_reg(pi, 0x8f, (0x1 << 7), (0x1 << 7));
  21002. mod_phy_reg(pi, 0xa5, (0x1 << 7), (0x1 << 7));
  21003. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  21004. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  21005. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  21006. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  21007. udelay(5);
  21008. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  21009. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  21010. mod_phy_reg(pi, 0xa6, (0x1 << 3), 0);
  21011. mod_phy_reg(pi, 0xa7, (0x1 << 3), 0);
  21012. mod_phy_reg(pi, 0x8f, (0x1 << 3), (0x1 << 3));
  21013. mod_phy_reg(pi, 0xa5, (0x1 << 3), (0x1 << 3));
  21014. mod_phy_reg(pi, 0xa6, (0x1 << 6), 0);
  21015. mod_phy_reg(pi, 0xa7, (0x1 << 6), 0);
  21016. mod_phy_reg(pi, 0x8f, (0x1 << 6), (0x1 << 6));
  21017. mod_phy_reg(pi, 0xa5, (0x1 << 6), (0x1 << 6));
  21018. auxADC_Vmid = 0xA3;
  21019. auxADC_Av = 0x0;
  21020. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21021. &auxADC_Vmid);
  21022. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21023. &auxADC_Av);
  21024. udelay(3);
  21025. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21026. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21027. tempsense_Rcal | 0x03);
  21028. udelay(5);
  21029. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21030. auxADC_Av = 0x7;
  21031. if (radio_temp[1] + radio_temp2[1] < -30) {
  21032. auxADC_Vmid = 0x45;
  21033. auxADC_Vl = 263;
  21034. } else if (radio_temp[1] + radio_temp2[1] < -9) {
  21035. auxADC_Vmid = 0x200;
  21036. auxADC_Vl = 467;
  21037. } else if (radio_temp[1] + radio_temp2[1] < 11) {
  21038. auxADC_Vmid = 0x266;
  21039. auxADC_Vl = 634;
  21040. } else {
  21041. auxADC_Vmid = 0x2D5;
  21042. auxADC_Vl = 816;
  21043. }
  21044. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21045. &auxADC_Vmid);
  21046. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21047. &auxADC_Av);
  21048. udelay(3);
  21049. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21050. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21051. tempsense_Rcal | 0x01);
  21052. udelay(5);
  21053. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21054. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21055. syn_tempprocsense_save);
  21056. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21057. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21058. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21059. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21060. write_phy_reg(pi, 0x1ae, RSSIMultCoef0QPowerDet_save);
  21061. write_phy_reg(pi, 0x346, RfctrlOverride5_save);
  21062. write_phy_reg(pi, 0x347, RfctrlOverride6_save);
  21063. write_phy_reg(pi, 0x344, RfctrlMiscReg5_save);
  21064. write_phy_reg(pi, 0x345, RfctrlMiscReg5_save);
  21065. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21066. &auxADC_Vmid_save);
  21067. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21068. &auxADC_Av_save);
  21069. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  21070. &auxADC_rssi_ctrlL_save);
  21071. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  21072. &auxADC_rssi_ctrlH_save);
  21073. radio_temp[0] = (179 * (radio_temp[1] + radio_temp2[1])
  21074. + 82 * (auxADC_Vl) - 28861 +
  21075. 128) / 256;
  21076. offset = (s16) pi->phy_tempsense_offset;
  21077. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21078. syn_tempprocsense_save =
  21079. read_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE);
  21080. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21081. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21082. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  21083. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21084. gpioSel_save = read_phy_reg(pi, 0xca);
  21085. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21086. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21087. if (NREV_LT(pi->pubpi.phy_rev, 7))
  21088. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x05);
  21089. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21090. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21091. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x01);
  21092. else
  21093. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21094. radio_temp[0] =
  21095. (126 * (radio_temp[1] + radio_temp2[1]) + 3987) / 64;
  21096. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE,
  21097. syn_tempprocsense_save);
  21098. write_phy_reg(pi, 0xca, gpioSel_save);
  21099. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21100. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21101. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21102. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21103. offset = (s16) pi->phy_tempsense_offset;
  21104. } else {
  21105. pwrdet_rxtx_core1_save =
  21106. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  21107. pwrdet_rxtx_core2_save =
  21108. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  21109. core1_txrf_iqcal1_save =
  21110. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  21111. core1_txrf_iqcal2_save =
  21112. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  21113. core2_txrf_iqcal1_save =
  21114. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  21115. core2_txrf_iqcal2_save =
  21116. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  21117. pd_pll_ts_save = read_radio_reg(pi, RADIO_2055_PD_PLL_TS);
  21118. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21119. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21120. afectrlOverride_save = read_phy_reg(pi, 0xa5);
  21121. gpioSel_save = read_phy_reg(pi, 0xca);
  21122. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x01);
  21123. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x01);
  21124. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x08);
  21125. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x08);
  21126. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  21127. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  21128. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, 0x00);
  21129. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21130. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21131. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21132. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21133. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21134. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21135. radio_temp[0] = (radio_temp[0] + radio_temp2[0]);
  21136. radio_temp[1] = (radio_temp[1] + radio_temp2[1]);
  21137. radio_temp[2] = (radio_temp[2] + radio_temp2[2]);
  21138. radio_temp[3] = (radio_temp[3] + radio_temp2[3]);
  21139. radio_temp[0] =
  21140. (radio_temp[0] + radio_temp[1] + radio_temp[2] +
  21141. radio_temp[3]);
  21142. radio_temp[0] =
  21143. (radio_temp[0] +
  21144. (8 * 32)) * (950 - 350) / 63 + (350 * 8);
  21145. radio_temp[0] = (radio_temp[0] - (8 * 420)) / 38;
  21146. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  21147. pwrdet_rxtx_core1_save);
  21148. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  21149. pwrdet_rxtx_core2_save);
  21150. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  21151. core1_txrf_iqcal1_save);
  21152. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  21153. core2_txrf_iqcal1_save);
  21154. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  21155. core1_txrf_iqcal2_save);
  21156. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  21157. core2_txrf_iqcal2_save);
  21158. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, pd_pll_ts_save);
  21159. write_phy_reg(pi, 0xca, gpioSel_save);
  21160. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21161. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21162. write_phy_reg(pi, 0xa5, afectrlOverride_save);
  21163. }
  21164. return (s16) radio_temp[0] + offset;
  21165. }
  21166. static void
  21167. wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf)
  21168. {
  21169. u8 core;
  21170. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21171. if (rssi_type == NPHY_RSSI_SEL_NB) {
  21172. if (core == PHY_CORE_0) {
  21173. mod_radio_reg(pi,
  21174. RADIO_2055_CORE1_B0_NBRSSI_VCM,
  21175. RADIO_2055_NBRSSI_VCM_I_MASK,
  21176. vcm_buf[2 *
  21177. core] <<
  21178. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21179. mod_radio_reg(pi,
  21180. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21181. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21182. vcm_buf[2 * core +
  21183. 1] <<
  21184. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21185. } else {
  21186. mod_radio_reg(pi,
  21187. RADIO_2055_CORE2_B0_NBRSSI_VCM,
  21188. RADIO_2055_NBRSSI_VCM_I_MASK,
  21189. vcm_buf[2 *
  21190. core] <<
  21191. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21192. mod_radio_reg(pi,
  21193. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21194. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21195. vcm_buf[2 * core +
  21196. 1] <<
  21197. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21198. }
  21199. } else {
  21200. if (core == PHY_CORE_0)
  21201. mod_radio_reg(pi,
  21202. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21203. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21204. vcm_buf[2 *
  21205. core] <<
  21206. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21207. else
  21208. mod_radio_reg(pi,
  21209. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21210. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21211. vcm_buf[2 *
  21212. core] <<
  21213. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21214. }
  21215. }
  21216. }
  21217. static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi)
  21218. {
  21219. u16 classif_state;
  21220. u16 clip_state[2];
  21221. u16 clip_off[] = { 0xffff, 0xffff };
  21222. s32 target_code;
  21223. u8 vcm, min_vcm;
  21224. u8 vcm_final = 0;
  21225. u8 result_idx;
  21226. s32 poll_results[8][4] = {
  21227. {0, 0, 0, 0},
  21228. {0, 0, 0, 0},
  21229. {0, 0, 0, 0},
  21230. {0, 0, 0, 0},
  21231. {0, 0, 0, 0},
  21232. {0, 0, 0, 0},
  21233. {0, 0, 0, 0},
  21234. {0, 0, 0, 0}
  21235. };
  21236. s32 poll_result_core[4] = { 0, 0, 0, 0 };
  21237. s32 min_d = NPHY_RSSICAL_MAXD, curr_d;
  21238. s32 fine_digital_offset[4];
  21239. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21240. s32 min_poll;
  21241. u8 vcm_level_max;
  21242. u8 core;
  21243. u8 wb_cnt;
  21244. u8 rssi_type;
  21245. u16 NPHY_Rfctrlintc1_save, NPHY_Rfctrlintc2_save;
  21246. u16 NPHY_AfectrlOverride1_save, NPHY_AfectrlOverride2_save;
  21247. u16 NPHY_AfectrlCore1_save, NPHY_AfectrlCore2_save;
  21248. u16 NPHY_RfctrlOverride0_save, NPHY_RfctrlOverride1_save;
  21249. u16 NPHY_RfctrlOverrideAux0_save, NPHY_RfctrlOverrideAux1_save;
  21250. u16 NPHY_RfctrlCmd_save;
  21251. u16 NPHY_RfctrlMiscReg1_save, NPHY_RfctrlMiscReg2_save;
  21252. u16 NPHY_RfctrlRSSIOTHERS1_save, NPHY_RfctrlRSSIOTHERS2_save;
  21253. u8 rxcore_state;
  21254. u16 NPHY_REV7_RfctrlOverride3_save, NPHY_REV7_RfctrlOverride4_save;
  21255. u16 NPHY_REV7_RfctrlOverride5_save, NPHY_REV7_RfctrlOverride6_save;
  21256. u16 NPHY_REV7_RfctrlMiscReg3_save, NPHY_REV7_RfctrlMiscReg4_save;
  21257. u16 NPHY_REV7_RfctrlMiscReg5_save, NPHY_REV7_RfctrlMiscReg6_save;
  21258. NPHY_REV7_RfctrlOverride3_save =
  21259. NPHY_REV7_RfctrlOverride4_save =
  21260. NPHY_REV7_RfctrlOverride5_save =
  21261. NPHY_REV7_RfctrlOverride6_save =
  21262. NPHY_REV7_RfctrlMiscReg3_save =
  21263. NPHY_REV7_RfctrlMiscReg4_save =
  21264. NPHY_REV7_RfctrlMiscReg5_save =
  21265. NPHY_REV7_RfctrlMiscReg6_save = 0;
  21266. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21267. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21268. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21269. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21270. NPHY_Rfctrlintc1_save = read_phy_reg(pi, 0x91);
  21271. NPHY_Rfctrlintc2_save = read_phy_reg(pi, 0x92);
  21272. NPHY_AfectrlOverride1_save = read_phy_reg(pi, 0x8f);
  21273. NPHY_AfectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21274. NPHY_AfectrlCore1_save = read_phy_reg(pi, 0xa6);
  21275. NPHY_AfectrlCore2_save = read_phy_reg(pi, 0xa7);
  21276. NPHY_RfctrlOverride0_save = read_phy_reg(pi, 0xe7);
  21277. NPHY_RfctrlOverride1_save = read_phy_reg(pi, 0xec);
  21278. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21279. NPHY_REV7_RfctrlOverride3_save = read_phy_reg(pi, 0x342);
  21280. NPHY_REV7_RfctrlOverride4_save = read_phy_reg(pi, 0x343);
  21281. NPHY_REV7_RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  21282. NPHY_REV7_RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  21283. }
  21284. NPHY_RfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  21285. NPHY_RfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  21286. NPHY_RfctrlCmd_save = read_phy_reg(pi, 0x78);
  21287. NPHY_RfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  21288. NPHY_RfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  21289. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21290. NPHY_REV7_RfctrlMiscReg3_save = read_phy_reg(pi, 0x340);
  21291. NPHY_REV7_RfctrlMiscReg4_save = read_phy_reg(pi, 0x341);
  21292. NPHY_REV7_RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  21293. NPHY_REV7_RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  21294. }
  21295. NPHY_RfctrlRSSIOTHERS1_save = read_phy_reg(pi, 0x7a);
  21296. NPHY_RfctrlRSSIOTHERS2_save = read_phy_reg(pi, 0x7d);
  21297. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_OFF, 0,
  21298. RADIO_MIMO_CORESEL_ALLRXTX);
  21299. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_TRSW, 1,
  21300. RADIO_MIMO_CORESEL_ALLRXTX);
  21301. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21302. wlc_phy_rfctrl_override_1tomany_nphy(
  21303. pi,
  21304. NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,
  21305. 0, 0, 0);
  21306. else
  21307. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0, 0);
  21308. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21309. wlc_phy_rfctrl_override_1tomany_nphy(
  21310. pi,
  21311. NPHY_REV7_RfctrlOverride_cmd_rx_pu,
  21312. 1, 0, 0);
  21313. else
  21314. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0, 0);
  21315. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21316. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  21317. 1, 0, 0,
  21318. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21319. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 6), 1, 0, 0,
  21320. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21321. } else {
  21322. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 7), 1, 0, 0);
  21323. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 6), 1, 0, 0);
  21324. }
  21325. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21326. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21327. wlc_phy_rfctrl_override_nphy_rev7(
  21328. pi, (0x1 << 5),
  21329. 0, 0, 0,
  21330. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21331. wlc_phy_rfctrl_override_nphy_rev7(
  21332. pi, (0x1 << 4), 1, 0,
  21333. 0,
  21334. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21335. } else {
  21336. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 0, 0, 0);
  21337. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 1, 0, 0);
  21338. }
  21339. } else {
  21340. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21341. wlc_phy_rfctrl_override_nphy_rev7(
  21342. pi, (0x1 << 4),
  21343. 0, 0, 0,
  21344. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21345. wlc_phy_rfctrl_override_nphy_rev7(
  21346. pi, (0x1 << 5), 1, 0,
  21347. 0,
  21348. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21349. } else {
  21350. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 0, 0, 0);
  21351. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 1, 0, 0);
  21352. }
  21353. }
  21354. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  21355. (struct brcms_phy_pub *) pi);
  21356. vcm_level_max = 8;
  21357. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21358. if ((rxcore_state & (1 << core)) == 0)
  21359. continue;
  21360. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21361. core ==
  21362. PHY_CORE_0 ?
  21363. RADIO_MIMO_CORESEL_CORE1 :
  21364. RADIO_MIMO_CORESEL_CORE2,
  21365. NPHY_RAIL_I, NPHY_RSSI_SEL_NB);
  21366. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21367. core ==
  21368. PHY_CORE_0 ?
  21369. RADIO_MIMO_CORESEL_CORE1 :
  21370. RADIO_MIMO_CORESEL_CORE2,
  21371. NPHY_RAIL_Q, NPHY_RSSI_SEL_NB);
  21372. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21373. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21374. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21375. RADIO_2057_NB_MASTER_CORE0 :
  21376. RADIO_2057_NB_MASTER_CORE1,
  21377. RADIO_2057_VCM_MASK, vcm);
  21378. else
  21379. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21380. ((core ==
  21381. PHY_CORE_0) ? RADIO_2056_RX0 :
  21382. RADIO_2056_RX1),
  21383. RADIO_2056_VCM_MASK,
  21384. vcm << RADIO_2056_RSSI_VCM_SHIFT);
  21385. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_NB,
  21386. &poll_results[vcm][0],
  21387. NPHY_RSSICAL_NPOLL);
  21388. }
  21389. for (result_idx = 0; result_idx < 4; result_idx++) {
  21390. if ((core == result_idx / 2) &&
  21391. (result_idx % 2 == 0)) {
  21392. min_d = NPHY_RSSICAL_MAXD;
  21393. min_vcm = 0;
  21394. min_poll =
  21395. NPHY_RSSICAL_MAXREAD *
  21396. NPHY_RSSICAL_NPOLL + 1;
  21397. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21398. curr_d =
  21399. poll_results[vcm][result_idx] *
  21400. poll_results[vcm][result_idx] +
  21401. poll_results[vcm][result_idx +
  21402. 1] *
  21403. poll_results[vcm][result_idx +
  21404. 1];
  21405. if (curr_d < min_d) {
  21406. min_d = curr_d;
  21407. min_vcm = vcm;
  21408. }
  21409. if (poll_results[vcm][result_idx] <
  21410. min_poll)
  21411. min_poll =
  21412. poll_results[vcm]
  21413. [result_idx];
  21414. }
  21415. vcm_final = min_vcm;
  21416. poll_results_min[result_idx] = min_poll;
  21417. }
  21418. }
  21419. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21420. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21421. RADIO_2057_NB_MASTER_CORE0 :
  21422. RADIO_2057_NB_MASTER_CORE1,
  21423. RADIO_2057_VCM_MASK, vcm_final);
  21424. else
  21425. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21426. ((core ==
  21427. PHY_CORE_0) ? RADIO_2056_RX0 :
  21428. RADIO_2056_RX1), RADIO_2056_VCM_MASK,
  21429. vcm_final << RADIO_2056_RSSI_VCM_SHIFT);
  21430. for (result_idx = 0; result_idx < 4; result_idx++) {
  21431. if (core == result_idx / 2) {
  21432. fine_digital_offset[result_idx] =
  21433. (NPHY_RSSICAL_NB_TARGET *
  21434. NPHY_RSSICAL_NPOLL) -
  21435. poll_results[vcm_final][result_idx];
  21436. if (fine_digital_offset[result_idx] < 0) {
  21437. fine_digital_offset[result_idx] =
  21438. abs(fine_digital_offset
  21439. [result_idx]);
  21440. fine_digital_offset[result_idx] +=
  21441. (NPHY_RSSICAL_NPOLL / 2);
  21442. fine_digital_offset[result_idx] /=
  21443. NPHY_RSSICAL_NPOLL;
  21444. fine_digital_offset[result_idx] =
  21445. -fine_digital_offset[
  21446. result_idx];
  21447. } else {
  21448. fine_digital_offset[result_idx] +=
  21449. (NPHY_RSSICAL_NPOLL / 2);
  21450. fine_digital_offset[result_idx] /=
  21451. NPHY_RSSICAL_NPOLL;
  21452. }
  21453. if (poll_results_min[result_idx] ==
  21454. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21455. fine_digital_offset[result_idx] =
  21456. (NPHY_RSSICAL_NB_TARGET -
  21457. NPHY_RSSICAL_MAXREAD - 1);
  21458. wlc_phy_scale_offset_rssi_nphy(
  21459. pi, 0x0,
  21460. (s8)
  21461. fine_digital_offset
  21462. [result_idx],
  21463. (result_idx / 2 == 0) ?
  21464. RADIO_MIMO_CORESEL_CORE1 :
  21465. RADIO_MIMO_CORESEL_CORE2,
  21466. (result_idx % 2 == 0) ?
  21467. NPHY_RAIL_I : NPHY_RAIL_Q,
  21468. NPHY_RSSI_SEL_NB);
  21469. }
  21470. }
  21471. }
  21472. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21473. if ((rxcore_state & (1 << core)) == 0)
  21474. continue;
  21475. for (wb_cnt = 0; wb_cnt < 2; wb_cnt++) {
  21476. if (wb_cnt == 0) {
  21477. rssi_type = NPHY_RSSI_SEL_W1;
  21478. target_code = NPHY_RSSICAL_W1_TARGET_REV3;
  21479. } else {
  21480. rssi_type = NPHY_RSSI_SEL_W2;
  21481. target_code = NPHY_RSSICAL_W2_TARGET_REV3;
  21482. }
  21483. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21484. core ==
  21485. PHY_CORE_0 ?
  21486. RADIO_MIMO_CORESEL_CORE1
  21487. :
  21488. RADIO_MIMO_CORESEL_CORE2,
  21489. NPHY_RAIL_I, rssi_type);
  21490. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21491. core ==
  21492. PHY_CORE_0 ?
  21493. RADIO_MIMO_CORESEL_CORE1
  21494. :
  21495. RADIO_MIMO_CORESEL_CORE2,
  21496. NPHY_RAIL_Q, rssi_type);
  21497. wlc_phy_poll_rssi_nphy(pi, rssi_type, poll_result_core,
  21498. NPHY_RSSICAL_NPOLL);
  21499. for (result_idx = 0; result_idx < 4; result_idx++) {
  21500. if (core == result_idx / 2) {
  21501. fine_digital_offset[result_idx] =
  21502. (target_code *
  21503. NPHY_RSSICAL_NPOLL) -
  21504. poll_result_core[result_idx];
  21505. if (fine_digital_offset[result_idx] <
  21506. 0) {
  21507. fine_digital_offset[result_idx]
  21508. = abs(
  21509. fine_digital_offset
  21510. [result_idx]);
  21511. fine_digital_offset[result_idx]
  21512. += (NPHY_RSSICAL_NPOLL
  21513. / 2);
  21514. fine_digital_offset[result_idx]
  21515. /= NPHY_RSSICAL_NPOLL;
  21516. fine_digital_offset[result_idx]
  21517. = -fine_digital_offset
  21518. [result_idx];
  21519. } else {
  21520. fine_digital_offset[result_idx]
  21521. += (NPHY_RSSICAL_NPOLL
  21522. / 2);
  21523. fine_digital_offset[result_idx]
  21524. /= NPHY_RSSICAL_NPOLL;
  21525. }
  21526. wlc_phy_scale_offset_rssi_nphy(
  21527. pi, 0x0,
  21528. (s8)
  21529. fine_digital_offset
  21530. [core *
  21531. 2],
  21532. (core == PHY_CORE_0) ?
  21533. RADIO_MIMO_CORESEL_CORE1 :
  21534. RADIO_MIMO_CORESEL_CORE2,
  21535. (result_idx % 2 == 0) ?
  21536. NPHY_RAIL_I :
  21537. NPHY_RAIL_Q,
  21538. rssi_type);
  21539. }
  21540. }
  21541. }
  21542. }
  21543. write_phy_reg(pi, 0x91, NPHY_Rfctrlintc1_save);
  21544. write_phy_reg(pi, 0x92, NPHY_Rfctrlintc2_save);
  21545. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  21546. mod_phy_reg(pi, 0xe7, (0x1 << 0), 1 << 0);
  21547. mod_phy_reg(pi, 0x78, (0x1 << 0), 1 << 0);
  21548. mod_phy_reg(pi, 0xe7, (0x1 << 0), 0);
  21549. mod_phy_reg(pi, 0xec, (0x1 << 0), 1 << 0);
  21550. mod_phy_reg(pi, 0x78, (0x1 << 1), 1 << 1);
  21551. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  21552. write_phy_reg(pi, 0x8f, NPHY_AfectrlOverride1_save);
  21553. write_phy_reg(pi, 0xa5, NPHY_AfectrlOverride2_save);
  21554. write_phy_reg(pi, 0xa6, NPHY_AfectrlCore1_save);
  21555. write_phy_reg(pi, 0xa7, NPHY_AfectrlCore2_save);
  21556. write_phy_reg(pi, 0xe7, NPHY_RfctrlOverride0_save);
  21557. write_phy_reg(pi, 0xec, NPHY_RfctrlOverride1_save);
  21558. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21559. write_phy_reg(pi, 0x342, NPHY_REV7_RfctrlOverride3_save);
  21560. write_phy_reg(pi, 0x343, NPHY_REV7_RfctrlOverride4_save);
  21561. write_phy_reg(pi, 0x346, NPHY_REV7_RfctrlOverride5_save);
  21562. write_phy_reg(pi, 0x347, NPHY_REV7_RfctrlOverride6_save);
  21563. }
  21564. write_phy_reg(pi, 0xe5, NPHY_RfctrlOverrideAux0_save);
  21565. write_phy_reg(pi, 0xe6, NPHY_RfctrlOverrideAux1_save);
  21566. write_phy_reg(pi, 0x78, NPHY_RfctrlCmd_save);
  21567. write_phy_reg(pi, 0xf9, NPHY_RfctrlMiscReg1_save);
  21568. write_phy_reg(pi, 0xfb, NPHY_RfctrlMiscReg2_save);
  21569. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21570. write_phy_reg(pi, 0x340, NPHY_REV7_RfctrlMiscReg3_save);
  21571. write_phy_reg(pi, 0x341, NPHY_REV7_RfctrlMiscReg4_save);
  21572. write_phy_reg(pi, 0x344, NPHY_REV7_RfctrlMiscReg5_save);
  21573. write_phy_reg(pi, 0x345, NPHY_REV7_RfctrlMiscReg6_save);
  21574. }
  21575. write_phy_reg(pi, 0x7a, NPHY_RfctrlRSSIOTHERS1_save);
  21576. write_phy_reg(pi, 0x7d, NPHY_RfctrlRSSIOTHERS2_save);
  21577. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  21578. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21579. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21580. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21581. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21582. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21583. } else {
  21584. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21585. read_radio_reg(pi,
  21586. RADIO_2056_RX_RSSI_MISC |
  21587. RADIO_2056_RX0);
  21588. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21589. read_radio_reg(pi,
  21590. RADIO_2056_RX_RSSI_MISC |
  21591. RADIO_2056_RX1);
  21592. }
  21593. pi->rssical_cache.rssical_phyregs_2G[0] =
  21594. read_phy_reg(pi, 0x1a6);
  21595. pi->rssical_cache.rssical_phyregs_2G[1] =
  21596. read_phy_reg(pi, 0x1ac);
  21597. pi->rssical_cache.rssical_phyregs_2G[2] =
  21598. read_phy_reg(pi, 0x1b2);
  21599. pi->rssical_cache.rssical_phyregs_2G[3] =
  21600. read_phy_reg(pi, 0x1b8);
  21601. pi->rssical_cache.rssical_phyregs_2G[4] =
  21602. read_phy_reg(pi, 0x1a4);
  21603. pi->rssical_cache.rssical_phyregs_2G[5] =
  21604. read_phy_reg(pi, 0x1aa);
  21605. pi->rssical_cache.rssical_phyregs_2G[6] =
  21606. read_phy_reg(pi, 0x1b0);
  21607. pi->rssical_cache.rssical_phyregs_2G[7] =
  21608. read_phy_reg(pi, 0x1b6);
  21609. pi->rssical_cache.rssical_phyregs_2G[8] =
  21610. read_phy_reg(pi, 0x1a5);
  21611. pi->rssical_cache.rssical_phyregs_2G[9] =
  21612. read_phy_reg(pi, 0x1ab);
  21613. pi->rssical_cache.rssical_phyregs_2G[10] =
  21614. read_phy_reg(pi, 0x1b1);
  21615. pi->rssical_cache.rssical_phyregs_2G[11] =
  21616. read_phy_reg(pi, 0x1b7);
  21617. pi->nphy_rssical_chanspec_2G = pi->radio_chanspec;
  21618. } else {
  21619. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21620. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21621. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21622. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21623. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21624. } else {
  21625. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21626. read_radio_reg(pi,
  21627. RADIO_2056_RX_RSSI_MISC |
  21628. RADIO_2056_RX0);
  21629. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21630. read_radio_reg(pi,
  21631. RADIO_2056_RX_RSSI_MISC |
  21632. RADIO_2056_RX1);
  21633. }
  21634. pi->rssical_cache.rssical_phyregs_5G[0] =
  21635. read_phy_reg(pi, 0x1a6);
  21636. pi->rssical_cache.rssical_phyregs_5G[1] =
  21637. read_phy_reg(pi, 0x1ac);
  21638. pi->rssical_cache.rssical_phyregs_5G[2] =
  21639. read_phy_reg(pi, 0x1b2);
  21640. pi->rssical_cache.rssical_phyregs_5G[3] =
  21641. read_phy_reg(pi, 0x1b8);
  21642. pi->rssical_cache.rssical_phyregs_5G[4] =
  21643. read_phy_reg(pi, 0x1a4);
  21644. pi->rssical_cache.rssical_phyregs_5G[5] =
  21645. read_phy_reg(pi, 0x1aa);
  21646. pi->rssical_cache.rssical_phyregs_5G[6] =
  21647. read_phy_reg(pi, 0x1b0);
  21648. pi->rssical_cache.rssical_phyregs_5G[7] =
  21649. read_phy_reg(pi, 0x1b6);
  21650. pi->rssical_cache.rssical_phyregs_5G[8] =
  21651. read_phy_reg(pi, 0x1a5);
  21652. pi->rssical_cache.rssical_phyregs_5G[9] =
  21653. read_phy_reg(pi, 0x1ab);
  21654. pi->rssical_cache.rssical_phyregs_5G[10] =
  21655. read_phy_reg(pi, 0x1b1);
  21656. pi->rssical_cache.rssical_phyregs_5G[11] =
  21657. read_phy_reg(pi, 0x1b7);
  21658. pi->nphy_rssical_chanspec_5G = pi->radio_chanspec;
  21659. }
  21660. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21661. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21662. }
  21663. static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
  21664. {
  21665. s32 target_code;
  21666. u16 classif_state;
  21667. u16 clip_state[2];
  21668. u16 rssi_ctrl_state[2], pd_state[2];
  21669. u16 rfctrlintc_state[2], rfpdcorerxtx_state[2];
  21670. u16 rfctrlintc_override_val;
  21671. u16 clip_off[] = { 0xffff, 0xffff };
  21672. u16 rf_pd_val, pd_mask, rssi_ctrl_mask;
  21673. u8 vcm, min_vcm, vcm_tmp[4];
  21674. u8 vcm_final[4] = { 0, 0, 0, 0 };
  21675. u8 result_idx, ctr;
  21676. s32 poll_results[4][4] = {
  21677. {0, 0, 0, 0},
  21678. {0, 0, 0, 0},
  21679. {0, 0, 0, 0},
  21680. {0, 0, 0, 0}
  21681. };
  21682. s32 poll_miniq[4][2] = {
  21683. {0, 0},
  21684. {0, 0},
  21685. {0, 0},
  21686. {0, 0}
  21687. };
  21688. s32 min_d, curr_d;
  21689. s32 fine_digital_offset[4];
  21690. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21691. s32 min_poll;
  21692. switch (rssi_type) {
  21693. case NPHY_RSSI_SEL_NB:
  21694. target_code = NPHY_RSSICAL_NB_TARGET;
  21695. break;
  21696. case NPHY_RSSI_SEL_W1:
  21697. target_code = NPHY_RSSICAL_W1_TARGET;
  21698. break;
  21699. case NPHY_RSSI_SEL_W2:
  21700. target_code = NPHY_RSSICAL_W2_TARGET;
  21701. break;
  21702. default:
  21703. return;
  21704. break;
  21705. }
  21706. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21707. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21708. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21709. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21710. rf_pd_val = (rssi_type == NPHY_RSSI_SEL_NB) ? 0x6 : 0x4;
  21711. rfctrlintc_override_val =
  21712. CHSPEC_IS5G(pi->radio_chanspec) ? 0x140 : 0x110;
  21713. rfctrlintc_state[0] = read_phy_reg(pi, 0x91);
  21714. rfpdcorerxtx_state[0] = read_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX);
  21715. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  21716. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rf_pd_val);
  21717. rfctrlintc_state[1] = read_phy_reg(pi, 0x92);
  21718. rfpdcorerxtx_state[1] = read_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX);
  21719. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  21720. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rf_pd_val);
  21721. pd_mask = RADIO_2055_NBRSSI_PD | RADIO_2055_WBRSSI_G1_PD |
  21722. RADIO_2055_WBRSSI_G2_PD;
  21723. pd_state[0] =
  21724. read_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC) & pd_mask;
  21725. pd_state[1] =
  21726. read_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC) & pd_mask;
  21727. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, 0);
  21728. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, 0);
  21729. rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  21730. RADIO_2055_WBRSSI_G2_SEL;
  21731. rssi_ctrl_state[0] =
  21732. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE1) & rssi_ctrl_mask;
  21733. rssi_ctrl_state[1] =
  21734. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE2) & rssi_ctrl_mask;
  21735. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  21736. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21737. NPHY_RAIL_I, rssi_type);
  21738. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21739. NPHY_RAIL_Q, rssi_type);
  21740. for (vcm = 0; vcm < 4; vcm++) {
  21741. vcm_tmp[0] = vcm_tmp[1] = vcm_tmp[2] = vcm_tmp[3] = vcm;
  21742. if (rssi_type != NPHY_RSSI_SEL_W2)
  21743. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_tmp);
  21744. wlc_phy_poll_rssi_nphy(pi, rssi_type, &poll_results[vcm][0],
  21745. NPHY_RSSICAL_NPOLL);
  21746. if ((rssi_type == NPHY_RSSI_SEL_W1)
  21747. || (rssi_type == NPHY_RSSI_SEL_W2)) {
  21748. for (ctr = 0; ctr < 2; ctr++)
  21749. poll_miniq[vcm][ctr] =
  21750. min(poll_results[vcm][ctr * 2 + 0],
  21751. poll_results[vcm][ctr * 2 + 1]);
  21752. }
  21753. }
  21754. for (result_idx = 0; result_idx < 4; result_idx++) {
  21755. min_d = NPHY_RSSICAL_MAXD;
  21756. min_vcm = 0;
  21757. min_poll = NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL + 1;
  21758. for (vcm = 0; vcm < 4; vcm++) {
  21759. curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ?
  21760. poll_results[vcm][result_idx] :
  21761. poll_miniq[vcm][result_idx / 2]) -
  21762. (target_code * NPHY_RSSICAL_NPOLL));
  21763. if (curr_d < min_d) {
  21764. min_d = curr_d;
  21765. min_vcm = vcm;
  21766. }
  21767. if (poll_results[vcm][result_idx] < min_poll)
  21768. min_poll = poll_results[vcm][result_idx];
  21769. }
  21770. vcm_final[result_idx] = min_vcm;
  21771. poll_results_min[result_idx] = min_poll;
  21772. }
  21773. if (rssi_type != NPHY_RSSI_SEL_W2)
  21774. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_final);
  21775. for (result_idx = 0; result_idx < 4; result_idx++) {
  21776. fine_digital_offset[result_idx] =
  21777. (target_code * NPHY_RSSICAL_NPOLL) -
  21778. poll_results[vcm_final[result_idx]][result_idx];
  21779. if (fine_digital_offset[result_idx] < 0) {
  21780. fine_digital_offset[result_idx] =
  21781. abs(fine_digital_offset[result_idx]);
  21782. fine_digital_offset[result_idx] +=
  21783. (NPHY_RSSICAL_NPOLL / 2);
  21784. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21785. fine_digital_offset[result_idx] =
  21786. -fine_digital_offset[result_idx];
  21787. } else {
  21788. fine_digital_offset[result_idx] +=
  21789. (NPHY_RSSICAL_NPOLL / 2);
  21790. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21791. }
  21792. if (poll_results_min[result_idx] ==
  21793. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21794. fine_digital_offset[result_idx] =
  21795. (target_code - NPHY_RSSICAL_MAXREAD - 1);
  21796. wlc_phy_scale_offset_rssi_nphy(pi, 0x0,
  21797. (s8)
  21798. fine_digital_offset[result_idx],
  21799. (result_idx / 2 ==
  21800. 0) ? RADIO_MIMO_CORESEL_CORE1 :
  21801. RADIO_MIMO_CORESEL_CORE2,
  21802. (result_idx % 2 ==
  21803. 0) ? NPHY_RAIL_I : NPHY_RAIL_Q,
  21804. rssi_type);
  21805. }
  21806. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, pd_state[0]);
  21807. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, pd_state[1]);
  21808. if (rssi_ctrl_state[0] == RADIO_2055_NBRSSI_SEL)
  21809. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21810. NPHY_RSSI_SEL_NB);
  21811. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G1_SEL)
  21812. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21813. NPHY_RSSI_SEL_W1);
  21814. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G2_SEL)
  21815. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21816. NPHY_RSSI_SEL_W2);
  21817. else
  21818. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21819. NPHY_RSSI_SEL_W2);
  21820. if (rssi_ctrl_state[1] == RADIO_2055_NBRSSI_SEL)
  21821. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21822. NPHY_RSSI_SEL_NB);
  21823. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G1_SEL)
  21824. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21825. NPHY_RSSI_SEL_W1);
  21826. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G2_SEL)
  21827. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21828. NPHY_RSSI_SEL_W2);
  21829. else
  21830. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21831. NPHY_RSSI_SEL_W2);
  21832. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, rssi_type);
  21833. write_phy_reg(pi, 0x91, rfctrlintc_state[0]);
  21834. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rfpdcorerxtx_state[0]);
  21835. write_phy_reg(pi, 0x92, rfctrlintc_state[1]);
  21836. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rfpdcorerxtx_state[1]);
  21837. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21838. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21839. wlc_phy_resetcca_nphy(pi);
  21840. }
  21841. void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi)
  21842. {
  21843. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21844. wlc_phy_rssi_cal_nphy_rev3(pi);
  21845. } else {
  21846. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_NB);
  21847. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W1);
  21848. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W2);
  21849. }
  21850. }
  21851. int
  21852. wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh)
  21853. {
  21854. s16 rxpwr, rxpwr0, rxpwr1;
  21855. s16 phyRx0_l, phyRx2_l;
  21856. rxpwr = 0;
  21857. rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK;
  21858. rxpwr1 = (rxh->PhyRxStatus_1 & PRXS1_nphy_PWR1_MASK) >> 8;
  21859. if (rxpwr0 > 127)
  21860. rxpwr0 -= 256;
  21861. if (rxpwr1 > 127)
  21862. rxpwr1 -= 256;
  21863. phyRx0_l = rxh->PhyRxStatus_0 & 0x00ff;
  21864. phyRx2_l = rxh->PhyRxStatus_2 & 0x00ff;
  21865. if (phyRx2_l > 127)
  21866. phyRx2_l -= 256;
  21867. if (((rxpwr0 == 16) || (rxpwr0 == 32))) {
  21868. rxpwr0 = rxpwr1;
  21869. rxpwr1 = phyRx2_l;
  21870. }
  21871. if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MAX)
  21872. rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1;
  21873. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MIN)
  21874. rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1;
  21875. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_AVG)
  21876. rxpwr = (rxpwr0 + rxpwr1) >> 1;
  21877. return rxpwr;
  21878. }
  21879. static void
  21880. wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf,
  21881. u16 num_samps)
  21882. {
  21883. u16 t;
  21884. u32 *data_buf = NULL;
  21885. data_buf = kmalloc(sizeof(u32) * num_samps, GFP_ATOMIC);
  21886. if (data_buf == NULL)
  21887. return;
  21888. if (pi->phyhang_avoid)
  21889. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21890. for (t = 0; t < num_samps; t++)
  21891. data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) |
  21892. (((unsigned int)tone_buf[t].q) & 0x3ff);
  21893. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SAMPLEPLAY, num_samps, 0, 32,
  21894. data_buf);
  21895. kfree(data_buf);
  21896. if (pi->phyhang_avoid)
  21897. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21898. }
  21899. static u16
  21900. wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21901. u8 dac_test_mode)
  21902. {
  21903. u8 phy_bw, is_phybw40;
  21904. u16 num_samps, t, spur;
  21905. s32 theta = 0, rot = 0;
  21906. u32 tbl_len;
  21907. struct cordic_iq *tone_buf = NULL;
  21908. is_phybw40 = CHSPEC_IS40(pi->radio_chanspec);
  21909. phy_bw = (is_phybw40 == 1) ? 40 : 20;
  21910. tbl_len = (phy_bw << 3);
  21911. if (dac_test_mode == 1) {
  21912. spur = read_phy_reg(pi, 0x01);
  21913. spur = (spur >> 15) & 1;
  21914. phy_bw = (spur == 1) ? 82 : 80;
  21915. phy_bw = (is_phybw40 == 1) ? (phy_bw << 1) : phy_bw;
  21916. tbl_len = (phy_bw << 1);
  21917. }
  21918. tone_buf = kmalloc(sizeof(struct cordic_iq) * tbl_len, GFP_ATOMIC);
  21919. if (tone_buf == NULL)
  21920. return 0;
  21921. num_samps = (u16) tbl_len;
  21922. rot = ((f_kHz * 36) / phy_bw) / 100;
  21923. theta = 0;
  21924. for (t = 0; t < num_samps; t++) {
  21925. tone_buf[t] = cordic_calc_iq(theta);
  21926. theta += rot;
  21927. tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val);
  21928. tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val);
  21929. }
  21930. wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps);
  21931. kfree(tone_buf);
  21932. return num_samps;
  21933. }
  21934. static void
  21935. wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops,
  21936. u16 wait, u8 iqmode, u8 dac_test_mode,
  21937. bool modify_bbmult)
  21938. {
  21939. u16 bb_mult;
  21940. u8 phy_bw, sample_cmd;
  21941. u16 orig_RfseqCoreActv;
  21942. u16 lpf_bw_ctl_override3, lpf_bw_ctl_override4, lpf_bw_ctl_miscreg3,
  21943. lpf_bw_ctl_miscreg4;
  21944. if (pi->phyhang_avoid)
  21945. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21946. phy_bw = 20;
  21947. if (CHSPEC_IS40(pi->radio_chanspec))
  21948. phy_bw = 40;
  21949. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21950. lpf_bw_ctl_override3 = read_phy_reg(pi, 0x342) & (0x1 << 7);
  21951. lpf_bw_ctl_override4 = read_phy_reg(pi, 0x343) & (0x1 << 7);
  21952. if (lpf_bw_ctl_override3 | lpf_bw_ctl_override4) {
  21953. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21954. (0x7 << 8);
  21955. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21956. (0x7 << 8);
  21957. } else {
  21958. wlc_phy_rfctrl_override_nphy_rev7(
  21959. pi,
  21960. (0x1 << 7),
  21961. wlc_phy_read_lpf_bw_ctl_nphy
  21962. (pi,
  21963. 0), 0, 0,
  21964. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21965. pi->nphy_sample_play_lpf_bw_ctl_ovr = true;
  21966. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21967. (0x7 << 8);
  21968. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21969. (0x7 << 8);
  21970. }
  21971. }
  21972. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) == 0) {
  21973. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21974. &bb_mult);
  21975. pi->nphy_bb_mult_save =
  21976. BB_MULT_VALID_MASK | (bb_mult & BB_MULT_MASK);
  21977. }
  21978. if (modify_bbmult) {
  21979. bb_mult = (phy_bw == 20) ? 100 : 71;
  21980. bb_mult = (bb_mult << 8) + bb_mult;
  21981. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21982. &bb_mult);
  21983. }
  21984. if (pi->phyhang_avoid)
  21985. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21986. write_phy_reg(pi, 0xc6, num_samps - 1);
  21987. if (loops != 0xffff)
  21988. write_phy_reg(pi, 0xc4, loops - 1);
  21989. else
  21990. write_phy_reg(pi, 0xc4, loops);
  21991. write_phy_reg(pi, 0xc5, wait);
  21992. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  21993. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  21994. if (iqmode) {
  21995. and_phy_reg(pi, 0xc2, 0x7FFF);
  21996. or_phy_reg(pi, 0xc2, 0x8000);
  21997. } else {
  21998. sample_cmd = (dac_test_mode == 1) ? 0x5 : 0x1;
  21999. write_phy_reg(pi, 0xc3, sample_cmd);
  22000. }
  22001. SPINWAIT(((read_phy_reg(pi, 0xa4) & 0x1) == 1), 1000);
  22002. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  22003. }
  22004. int
  22005. wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  22006. u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
  22007. {
  22008. u16 num_samps;
  22009. u16 loops = 0xffff;
  22010. u16 wait = 0;
  22011. num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val,
  22012. dac_test_mode);
  22013. if (num_samps == 0)
  22014. return -EBADE;
  22015. wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode,
  22016. dac_test_mode, modify_bbmult);
  22017. return 0;
  22018. }
  22019. void wlc_phy_stopplayback_nphy(struct brcms_phy *pi)
  22020. {
  22021. u16 playback_status;
  22022. u16 bb_mult;
  22023. if (pi->phyhang_avoid)
  22024. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  22025. playback_status = read_phy_reg(pi, 0xc7);
  22026. if (playback_status & 0x1)
  22027. or_phy_reg(pi, 0xc3, NPHY_sampleCmd_STOP);
  22028. else if (playback_status & 0x2)
  22029. and_phy_reg(pi, 0xc2,
  22030. (u16) ~NPHY_iqloCalCmdGctl_IQLO_CAL_EN);
  22031. and_phy_reg(pi, 0xc3, (u16) ~(0x1 << 2));
  22032. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) != 0) {
  22033. bb_mult = pi->nphy_bb_mult_save & BB_MULT_MASK;
  22034. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  22035. &bb_mult);
  22036. pi->nphy_bb_mult_save = 0;
  22037. }
  22038. if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) {
  22039. if (pi->nphy_sample_play_lpf_bw_ctl_ovr) {
  22040. wlc_phy_rfctrl_override_nphy_rev7(
  22041. pi,
  22042. (0x1 << 7),
  22043. 0, 0, 1,
  22044. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22045. pi->nphy_sample_play_lpf_bw_ctl_ovr = false;
  22046. }
  22047. }
  22048. if (pi->phyhang_avoid)
  22049. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22050. }
  22051. static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi)
  22052. {
  22053. u32 *tx_pwrctrl_tbl = NULL;
  22054. uint phyrev = pi->pubpi.phy_rev;
  22055. if (PHY_IPA(pi)) {
  22056. tx_pwrctrl_tbl =
  22057. wlc_phy_get_ipa_gaintbl_nphy(pi);
  22058. } else {
  22059. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22060. if (NREV_IS(phyrev, 3))
  22061. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev3;
  22062. else if (NREV_IS(phyrev, 4))
  22063. tx_pwrctrl_tbl =
  22064. (pi->srom_fem5g.extpagain == 3) ?
  22065. nphy_tpc_5GHz_txgain_HiPwrEPA :
  22066. nphy_tpc_5GHz_txgain_rev4;
  22067. else
  22068. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev5;
  22069. } else {
  22070. if (NREV_GE(phyrev, 7)) {
  22071. if (pi->pubpi.radiorev == 3)
  22072. tx_pwrctrl_tbl =
  22073. nphy_tpc_txgain_epa_2057rev3;
  22074. else if (pi->pubpi.radiorev == 5)
  22075. tx_pwrctrl_tbl =
  22076. nphy_tpc_txgain_epa_2057rev5;
  22077. } else {
  22078. if (NREV_GE(phyrev, 5) &&
  22079. (pi->srom_fem2g.extpagain == 3))
  22080. tx_pwrctrl_tbl =
  22081. nphy_tpc_txgain_HiPwrEPA;
  22082. else
  22083. tx_pwrctrl_tbl =
  22084. nphy_tpc_txgain_rev3;
  22085. }
  22086. }
  22087. }
  22088. return tx_pwrctrl_tbl;
  22089. }
  22090. struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi)
  22091. {
  22092. u16 base_idx[2], curr_gain[2];
  22093. u8 core_no;
  22094. struct nphy_txgains target_gain;
  22095. u32 *tx_pwrctrl_tbl = NULL;
  22096. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF) {
  22097. if (pi->phyhang_avoid)
  22098. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  22099. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  22100. curr_gain);
  22101. if (pi->phyhang_avoid)
  22102. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22103. for (core_no = 0; core_no < 2; core_no++) {
  22104. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22105. target_gain.ipa[core_no] =
  22106. curr_gain[core_no] & 0x0007;
  22107. target_gain.pad[core_no] =
  22108. ((curr_gain[core_no] & 0x00F8) >> 3);
  22109. target_gain.pga[core_no] =
  22110. ((curr_gain[core_no] & 0x0F00) >> 8);
  22111. target_gain.txgm[core_no] =
  22112. ((curr_gain[core_no] & 0x7000) >> 12);
  22113. target_gain.txlpf[core_no] =
  22114. ((curr_gain[core_no] & 0x8000) >> 15);
  22115. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22116. target_gain.ipa[core_no] =
  22117. curr_gain[core_no] & 0x000F;
  22118. target_gain.pad[core_no] =
  22119. ((curr_gain[core_no] & 0x00F0) >> 4);
  22120. target_gain.pga[core_no] =
  22121. ((curr_gain[core_no] & 0x0F00) >> 8);
  22122. target_gain.txgm[core_no] =
  22123. ((curr_gain[core_no] & 0x7000) >> 12);
  22124. } else {
  22125. target_gain.ipa[core_no] =
  22126. curr_gain[core_no] & 0x0003;
  22127. target_gain.pad[core_no] =
  22128. ((curr_gain[core_no] & 0x000C) >> 2);
  22129. target_gain.pga[core_no] =
  22130. ((curr_gain[core_no] & 0x0070) >> 4);
  22131. target_gain.txgm[core_no] =
  22132. ((curr_gain[core_no] & 0x0380) >> 7);
  22133. }
  22134. }
  22135. } else {
  22136. uint phyrev = pi->pubpi.phy_rev;
  22137. base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f;
  22138. base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f;
  22139. for (core_no = 0; core_no < 2; core_no++) {
  22140. if (NREV_GE(phyrev, 3)) {
  22141. tx_pwrctrl_tbl =
  22142. brcms_phy_get_tx_pwrctrl_tbl(pi);
  22143. if (NREV_GE(phyrev, 7)) {
  22144. target_gain.ipa[core_no] =
  22145. (tx_pwrctrl_tbl
  22146. [base_idx[core_no]]
  22147. >> 16) & 0x7;
  22148. target_gain.pad[core_no] =
  22149. (tx_pwrctrl_tbl
  22150. [base_idx[core_no]]
  22151. >> 19) & 0x1f;
  22152. target_gain.pga[core_no] =
  22153. (tx_pwrctrl_tbl
  22154. [base_idx[core_no]]
  22155. >> 24) & 0xf;
  22156. target_gain.txgm[core_no] =
  22157. (tx_pwrctrl_tbl
  22158. [base_idx[core_no]]
  22159. >> 28) & 0x7;
  22160. target_gain.txlpf[core_no] =
  22161. (tx_pwrctrl_tbl
  22162. [base_idx[core_no]]
  22163. >> 31) & 0x1;
  22164. } else {
  22165. target_gain.ipa[core_no] =
  22166. (tx_pwrctrl_tbl
  22167. [base_idx[core_no]]
  22168. >> 16) & 0xf;
  22169. target_gain.pad[core_no] =
  22170. (tx_pwrctrl_tbl
  22171. [base_idx[core_no]]
  22172. >> 20) & 0xf;
  22173. target_gain.pga[core_no] =
  22174. (tx_pwrctrl_tbl
  22175. [base_idx[core_no]]
  22176. >> 24) & 0xf;
  22177. target_gain.txgm[core_no] =
  22178. (tx_pwrctrl_tbl
  22179. [base_idx[core_no]]
  22180. >> 28) & 0x7;
  22181. }
  22182. } else {
  22183. target_gain.ipa[core_no] =
  22184. (nphy_tpc_txgain[base_idx[core_no]] >>
  22185. 16) & 0x3;
  22186. target_gain.pad[core_no] =
  22187. (nphy_tpc_txgain[base_idx[core_no]] >>
  22188. 18) & 0x3;
  22189. target_gain.pga[core_no] =
  22190. (nphy_tpc_txgain[base_idx[core_no]] >>
  22191. 20) & 0x7;
  22192. target_gain.txgm[core_no] =
  22193. (nphy_tpc_txgain[base_idx[core_no]] >>
  22194. 23) & 0x7;
  22195. }
  22196. }
  22197. }
  22198. return target_gain;
  22199. }
  22200. static void
  22201. wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no,
  22202. struct nphy_txgains target_gain,
  22203. struct nphy_iqcal_params *params)
  22204. {
  22205. u8 k;
  22206. int idx;
  22207. u16 gain_index;
  22208. u8 band_idx = (CHSPEC_IS5G(pi->radio_chanspec) ? 1 : 0);
  22209. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22210. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22211. params->txlpf = target_gain.txlpf[core_no];
  22212. params->txgm = target_gain.txgm[core_no];
  22213. params->pga = target_gain.pga[core_no];
  22214. params->pad = target_gain.pad[core_no];
  22215. params->ipa = target_gain.ipa[core_no];
  22216. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22217. params->cal_gain =
  22218. ((params->txlpf << 15) | (params->txgm << 12) |
  22219. (params->pga << 8) |
  22220. (params->pad << 3) | (params->ipa));
  22221. else
  22222. params->cal_gain =
  22223. ((params->txgm << 12) | (params->pga << 8) |
  22224. (params->pad << 4) | (params->ipa));
  22225. params->ncorr[0] = 0x79;
  22226. params->ncorr[1] = 0x79;
  22227. params->ncorr[2] = 0x79;
  22228. params->ncorr[3] = 0x79;
  22229. params->ncorr[4] = 0x79;
  22230. } else {
  22231. gain_index = ((target_gain.pad[core_no] << 0) |
  22232. (target_gain.pga[core_no] << 4) |
  22233. (target_gain.txgm[core_no] << 8));
  22234. idx = -1;
  22235. for (k = 0; k < NPHY_IQCAL_NUMGAINS; k++) {
  22236. if (tbl_iqcal_gainparams_nphy[band_idx][k][0] ==
  22237. gain_index) {
  22238. idx = k;
  22239. break;
  22240. }
  22241. }
  22242. params->txgm = tbl_iqcal_gainparams_nphy[band_idx][k][1];
  22243. params->pga = tbl_iqcal_gainparams_nphy[band_idx][k][2];
  22244. params->pad = tbl_iqcal_gainparams_nphy[band_idx][k][3];
  22245. params->cal_gain = ((params->txgm << 7) | (params->pga << 4) |
  22246. (params->pad << 2));
  22247. params->ncorr[0] = tbl_iqcal_gainparams_nphy[band_idx][k][4];
  22248. params->ncorr[1] = tbl_iqcal_gainparams_nphy[band_idx][k][5];
  22249. params->ncorr[2] = tbl_iqcal_gainparams_nphy[band_idx][k][6];
  22250. params->ncorr[3] = tbl_iqcal_gainparams_nphy[band_idx][k][7];
  22251. }
  22252. }
  22253. static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi)
  22254. {
  22255. u16 jtag_core, core;
  22256. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22257. for (core = 0; core <= 1; core++) {
  22258. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22259. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22260. TX_SSI_MASTER);
  22261. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22262. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22263. IQCAL_VCM_HG);
  22264. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22265. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22266. IQCAL_IDAC);
  22267. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22268. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22269. TSSI_VCM);
  22270. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] = 0;
  22271. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22272. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22273. TX_SSI_MUX);
  22274. if (pi->pubpi.radiorev != 5)
  22275. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22276. READ_RADIO_REG3(pi, RADIO_2057, TX,
  22277. core,
  22278. TSSIA);
  22279. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22280. READ_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG);
  22281. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22282. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22283. TSSI_MISC1);
  22284. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22285. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22286. TX_SSI_MASTER, 0x0a);
  22287. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22288. IQCAL_VCM_HG, 0x43);
  22289. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22290. IQCAL_IDAC, 0x55);
  22291. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22292. TSSI_VCM, 0x00);
  22293. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22294. TSSIG, 0x00);
  22295. if (pi->use_int_tx_iqlo_cal_nphy) {
  22296. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22297. core, TX_SSI_MUX, 0x4);
  22298. if (!(pi->
  22299. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22300. WRITE_RADIO_REG3(pi, RADIO_2057,
  22301. TX, core,
  22302. TSSIA, 0x31);
  22303. else
  22304. WRITE_RADIO_REG3(pi, RADIO_2057,
  22305. TX, core,
  22306. TSSIA, 0x21);
  22307. }
  22308. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22309. TSSI_MISC1, 0x00);
  22310. } else {
  22311. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22312. TX_SSI_MASTER, 0x06);
  22313. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22314. IQCAL_VCM_HG, 0x43);
  22315. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22316. IQCAL_IDAC, 0x55);
  22317. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22318. TSSI_VCM, 0x00);
  22319. if (pi->pubpi.radiorev != 5)
  22320. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22321. core, TSSIA, 0x00);
  22322. if (pi->use_int_tx_iqlo_cal_nphy) {
  22323. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22324. core, TX_SSI_MUX,
  22325. 0x06);
  22326. if (!(pi->
  22327. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22328. WRITE_RADIO_REG3(pi, RADIO_2057,
  22329. TX, core,
  22330. TSSIG, 0x31);
  22331. else
  22332. WRITE_RADIO_REG3(pi, RADIO_2057,
  22333. TX, core,
  22334. TSSIG, 0x21);
  22335. }
  22336. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22337. TSSI_MISC1, 0x00);
  22338. }
  22339. }
  22340. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22341. for (core = 0; core <= 1; core++) {
  22342. jtag_core =
  22343. (core ==
  22344. PHY_CORE_0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  22345. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22346. read_radio_reg(pi,
  22347. RADIO_2056_TX_TX_SSI_MASTER |
  22348. jtag_core);
  22349. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22350. read_radio_reg(pi,
  22351. RADIO_2056_TX_IQCAL_VCM_HG |
  22352. jtag_core);
  22353. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22354. read_radio_reg(pi,
  22355. RADIO_2056_TX_IQCAL_IDAC |
  22356. jtag_core);
  22357. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22358. read_radio_reg(
  22359. pi,
  22360. RADIO_2056_TX_TSSI_VCM |
  22361. jtag_core);
  22362. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] =
  22363. read_radio_reg(pi,
  22364. RADIO_2056_TX_TX_AMP_DET |
  22365. jtag_core);
  22366. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22367. read_radio_reg(pi,
  22368. RADIO_2056_TX_TX_SSI_MUX |
  22369. jtag_core);
  22370. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22371. read_radio_reg(pi,
  22372. RADIO_2056_TX_TSSIA | jtag_core);
  22373. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22374. read_radio_reg(pi,
  22375. RADIO_2056_TX_TSSIG | jtag_core);
  22376. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22377. read_radio_reg(pi,
  22378. RADIO_2056_TX_TSSI_MISC1 |
  22379. jtag_core);
  22380. pi->tx_rx_cal_radio_saveregs[(core * 11) + 9] =
  22381. read_radio_reg(pi,
  22382. RADIO_2056_TX_TSSI_MISC2 |
  22383. jtag_core);
  22384. pi->tx_rx_cal_radio_saveregs[(core * 11) + 10] =
  22385. read_radio_reg(pi,
  22386. RADIO_2056_TX_TSSI_MISC3 |
  22387. jtag_core);
  22388. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22389. write_radio_reg(pi,
  22390. RADIO_2056_TX_TX_SSI_MASTER |
  22391. jtag_core, 0x0a);
  22392. write_radio_reg(pi,
  22393. RADIO_2056_TX_IQCAL_VCM_HG |
  22394. jtag_core, 0x40);
  22395. write_radio_reg(pi,
  22396. RADIO_2056_TX_IQCAL_IDAC |
  22397. jtag_core, 0x55);
  22398. write_radio_reg(pi,
  22399. RADIO_2056_TX_TSSI_VCM |
  22400. jtag_core, 0x00);
  22401. write_radio_reg(pi,
  22402. RADIO_2056_TX_TX_AMP_DET |
  22403. jtag_core, 0x00);
  22404. if (PHY_IPA(pi)) {
  22405. write_radio_reg(
  22406. pi,
  22407. RADIO_2056_TX_TX_SSI_MUX
  22408. | jtag_core, 0x4);
  22409. write_radio_reg(pi,
  22410. RADIO_2056_TX_TSSIA |
  22411. jtag_core, 0x1);
  22412. } else {
  22413. write_radio_reg(
  22414. pi,
  22415. RADIO_2056_TX_TX_SSI_MUX
  22416. | jtag_core, 0x00);
  22417. write_radio_reg(pi,
  22418. RADIO_2056_TX_TSSIA |
  22419. jtag_core, 0x2f);
  22420. }
  22421. write_radio_reg(pi,
  22422. RADIO_2056_TX_TSSIG | jtag_core,
  22423. 0x00);
  22424. write_radio_reg(pi,
  22425. RADIO_2056_TX_TSSI_MISC1 |
  22426. jtag_core, 0x00);
  22427. write_radio_reg(pi,
  22428. RADIO_2056_TX_TSSI_MISC2 |
  22429. jtag_core, 0x00);
  22430. write_radio_reg(pi,
  22431. RADIO_2056_TX_TSSI_MISC3 |
  22432. jtag_core, 0x00);
  22433. } else {
  22434. write_radio_reg(pi,
  22435. RADIO_2056_TX_TX_SSI_MASTER |
  22436. jtag_core, 0x06);
  22437. write_radio_reg(pi,
  22438. RADIO_2056_TX_IQCAL_VCM_HG |
  22439. jtag_core, 0x40);
  22440. write_radio_reg(pi,
  22441. RADIO_2056_TX_IQCAL_IDAC |
  22442. jtag_core, 0x55);
  22443. write_radio_reg(pi,
  22444. RADIO_2056_TX_TSSI_VCM |
  22445. jtag_core, 0x00);
  22446. write_radio_reg(pi,
  22447. RADIO_2056_TX_TX_AMP_DET |
  22448. jtag_core, 0x00);
  22449. write_radio_reg(pi,
  22450. RADIO_2056_TX_TSSIA | jtag_core,
  22451. 0x00);
  22452. if (PHY_IPA(pi)) {
  22453. write_radio_reg(
  22454. pi,
  22455. RADIO_2056_TX_TX_SSI_MUX
  22456. | jtag_core, 0x06);
  22457. if (NREV_LT(pi->pubpi.phy_rev, 5))
  22458. write_radio_reg(
  22459. pi,
  22460. RADIO_2056_TX_TSSIG
  22461. | jtag_core,
  22462. 0x11);
  22463. else
  22464. write_radio_reg(
  22465. pi,
  22466. RADIO_2056_TX_TSSIG
  22467. | jtag_core,
  22468. 0x1);
  22469. } else {
  22470. write_radio_reg(
  22471. pi,
  22472. RADIO_2056_TX_TX_SSI_MUX
  22473. | jtag_core, 0x00);
  22474. write_radio_reg(pi,
  22475. RADIO_2056_TX_TSSIG |
  22476. jtag_core, 0x20);
  22477. }
  22478. write_radio_reg(pi,
  22479. RADIO_2056_TX_TSSI_MISC1 |
  22480. jtag_core, 0x00);
  22481. write_radio_reg(pi,
  22482. RADIO_2056_TX_TSSI_MISC2 |
  22483. jtag_core, 0x00);
  22484. write_radio_reg(pi,
  22485. RADIO_2056_TX_TSSI_MISC3 |
  22486. jtag_core, 0x00);
  22487. }
  22488. }
  22489. } else {
  22490. pi->tx_rx_cal_radio_saveregs[0] =
  22491. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  22492. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x29);
  22493. pi->tx_rx_cal_radio_saveregs[1] =
  22494. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  22495. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x54);
  22496. pi->tx_rx_cal_radio_saveregs[2] =
  22497. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  22498. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x29);
  22499. pi->tx_rx_cal_radio_saveregs[3] =
  22500. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  22501. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x54);
  22502. pi->tx_rx_cal_radio_saveregs[4] =
  22503. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  22504. pi->tx_rx_cal_radio_saveregs[5] =
  22505. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  22506. if ((read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand) ==
  22507. 0) {
  22508. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  22509. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  22510. } else {
  22511. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x20);
  22512. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x20);
  22513. }
  22514. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  22515. or_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0x20);
  22516. or_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0x20);
  22517. } else {
  22518. and_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0xdf);
  22519. and_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0xdf);
  22520. }
  22521. }
  22522. }
  22523. static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi)
  22524. {
  22525. u16 jtag_core, core;
  22526. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22527. for (core = 0; core <= 1; core++) {
  22528. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22529. TX_SSI_MASTER,
  22530. pi->
  22531. tx_rx_cal_radio_saveregs[(core * 11) +
  22532. 0]);
  22533. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  22534. pi->
  22535. tx_rx_cal_radio_saveregs[(core * 11) +
  22536. 1]);
  22537. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  22538. pi->
  22539. tx_rx_cal_radio_saveregs[(core * 11) +
  22540. 2]);
  22541. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  22542. pi->
  22543. tx_rx_cal_radio_saveregs[(core * 11) +
  22544. 3]);
  22545. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TX_SSI_MUX,
  22546. pi->
  22547. tx_rx_cal_radio_saveregs[(core * 11) +
  22548. 5]);
  22549. if (pi->pubpi.radiorev != 5)
  22550. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22551. TSSIA,
  22552. pi->tx_rx_cal_radio_saveregs
  22553. [(core * 11) + 6]);
  22554. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG,
  22555. pi->
  22556. tx_rx_cal_radio_saveregs[(core * 11) +
  22557. 7]);
  22558. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  22559. pi->
  22560. tx_rx_cal_radio_saveregs[(core * 11) +
  22561. 8]);
  22562. }
  22563. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22564. for (core = 0; core <= 1; core++) {
  22565. jtag_core = (core == PHY_CORE_0) ?
  22566. RADIO_2056_TX0 : RADIO_2056_TX1;
  22567. write_radio_reg(pi,
  22568. RADIO_2056_TX_TX_SSI_MASTER | jtag_core,
  22569. pi->
  22570. tx_rx_cal_radio_saveregs[(core * 11) +
  22571. 0]);
  22572. write_radio_reg(pi,
  22573. RADIO_2056_TX_IQCAL_VCM_HG | jtag_core,
  22574. pi->
  22575. tx_rx_cal_radio_saveregs[(core * 11) +
  22576. 1]);
  22577. write_radio_reg(pi,
  22578. RADIO_2056_TX_IQCAL_IDAC | jtag_core,
  22579. pi->
  22580. tx_rx_cal_radio_saveregs[(core * 11) +
  22581. 2]);
  22582. write_radio_reg(pi, RADIO_2056_TX_TSSI_VCM | jtag_core,
  22583. pi->
  22584. tx_rx_cal_radio_saveregs[(core * 11) +
  22585. 3]);
  22586. write_radio_reg(pi,
  22587. RADIO_2056_TX_TX_AMP_DET | jtag_core,
  22588. pi->
  22589. tx_rx_cal_radio_saveregs[(core * 11) +
  22590. 4]);
  22591. write_radio_reg(pi,
  22592. RADIO_2056_TX_TX_SSI_MUX | jtag_core,
  22593. pi->
  22594. tx_rx_cal_radio_saveregs[(core * 11) +
  22595. 5]);
  22596. write_radio_reg(pi, RADIO_2056_TX_TSSIA | jtag_core,
  22597. pi->
  22598. tx_rx_cal_radio_saveregs[(core * 11) +
  22599. 6]);
  22600. write_radio_reg(pi, RADIO_2056_TX_TSSIG | jtag_core,
  22601. pi->
  22602. tx_rx_cal_radio_saveregs[(core * 11) +
  22603. 7]);
  22604. write_radio_reg(pi,
  22605. RADIO_2056_TX_TSSI_MISC1 | jtag_core,
  22606. pi->
  22607. tx_rx_cal_radio_saveregs[(core * 11) +
  22608. 8]);
  22609. write_radio_reg(pi,
  22610. RADIO_2056_TX_TSSI_MISC2 | jtag_core,
  22611. pi->
  22612. tx_rx_cal_radio_saveregs[(core * 11) +
  22613. 9]);
  22614. write_radio_reg(pi,
  22615. RADIO_2056_TX_TSSI_MISC3 | jtag_core,
  22616. pi->
  22617. tx_rx_cal_radio_saveregs[(core * 11) +
  22618. 10]);
  22619. }
  22620. } else {
  22621. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  22622. pi->tx_rx_cal_radio_saveregs[0]);
  22623. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  22624. pi->tx_rx_cal_radio_saveregs[1]);
  22625. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  22626. pi->tx_rx_cal_radio_saveregs[2]);
  22627. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  22628. pi->tx_rx_cal_radio_saveregs[3]);
  22629. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  22630. pi->tx_rx_cal_radio_saveregs[4]);
  22631. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  22632. pi->tx_rx_cal_radio_saveregs[5]);
  22633. }
  22634. }
  22635. static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi)
  22636. {
  22637. u16 val, mask;
  22638. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22639. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22640. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22641. mask = ((0x3 << 8) | (0x3 << 10));
  22642. val = (0x2 << 8);
  22643. val |= (0x2 << 10);
  22644. mod_phy_reg(pi, 0xa6, mask, val);
  22645. mod_phy_reg(pi, 0xa7, mask, val);
  22646. val = read_phy_reg(pi, 0x8f);
  22647. pi->tx_rx_cal_phy_saveregs[2] = val;
  22648. val |= ((0x1 << 9) | (0x1 << 10));
  22649. write_phy_reg(pi, 0x8f, val);
  22650. val = read_phy_reg(pi, 0xa5);
  22651. pi->tx_rx_cal_phy_saveregs[3] = val;
  22652. val |= ((0x1 << 9) | (0x1 << 10));
  22653. write_phy_reg(pi, 0xa5, val);
  22654. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x01);
  22655. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  22656. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22657. &val);
  22658. pi->tx_rx_cal_phy_saveregs[5] = val;
  22659. val = 0;
  22660. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22661. &val);
  22662. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22663. &val);
  22664. pi->tx_rx_cal_phy_saveregs[6] = val;
  22665. val = 0;
  22666. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22667. &val);
  22668. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0x91);
  22669. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0x92);
  22670. if (!(pi->use_int_tx_iqlo_cal_nphy))
  22671. wlc_phy_rfctrlintc_override_nphy(
  22672. pi,
  22673. NPHY_RfctrlIntc_override_PA,
  22674. 1,
  22675. RADIO_MIMO_CORESEL_CORE1
  22676. |
  22677. RADIO_MIMO_CORESEL_CORE2);
  22678. else
  22679. wlc_phy_rfctrlintc_override_nphy(
  22680. pi,
  22681. NPHY_RfctrlIntc_override_PA,
  22682. 0,
  22683. RADIO_MIMO_CORESEL_CORE1
  22684. |
  22685. RADIO_MIMO_CORESEL_CORE2);
  22686. wlc_phy_rfctrlintc_override_nphy(pi,
  22687. NPHY_RfctrlIntc_override_TRSW,
  22688. 0x2, RADIO_MIMO_CORESEL_CORE1);
  22689. wlc_phy_rfctrlintc_override_nphy(pi,
  22690. NPHY_RfctrlIntc_override_TRSW,
  22691. 0x8, RADIO_MIMO_CORESEL_CORE2);
  22692. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  22693. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  22694. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  22695. 0x29b, (0x1 << 0), (0) << 0);
  22696. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  22697. 0x29b, (0x1 << 0), (0) << 0);
  22698. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22699. || NREV_GE(pi->pubpi.phy_rev, 8))
  22700. wlc_phy_rfctrl_override_nphy_rev7(
  22701. pi, (0x1 << 7),
  22702. wlc_phy_read_lpf_bw_ctl_nphy
  22703. (pi,
  22704. 0), 0, 0,
  22705. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22706. if (pi->use_int_tx_iqlo_cal_nphy
  22707. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22708. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22709. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22710. 1 << 4);
  22711. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22712. mod_radio_reg(
  22713. pi,
  22714. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22715. 1, 0);
  22716. mod_radio_reg(
  22717. pi,
  22718. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22719. 1, 0);
  22720. } else {
  22721. mod_radio_reg(
  22722. pi,
  22723. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22724. 1, 0);
  22725. mod_radio_reg(
  22726. pi,
  22727. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22728. 1, 0);
  22729. }
  22730. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22731. wlc_phy_rfctrl_override_nphy_rev7(
  22732. pi,
  22733. (0x1 << 3), 0,
  22734. 0x3, 0,
  22735. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22736. }
  22737. }
  22738. } else {
  22739. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22740. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22741. mask = ((0x3 << 12) | (0x3 << 14));
  22742. val = (0x2 << 12);
  22743. val |= (0x2 << 14);
  22744. mod_phy_reg(pi, 0xa6, mask, val);
  22745. mod_phy_reg(pi, 0xa7, mask, val);
  22746. val = read_phy_reg(pi, 0xa5);
  22747. pi->tx_rx_cal_phy_saveregs[2] = val;
  22748. val |= ((0x1 << 12) | (0x1 << 13));
  22749. write_phy_reg(pi, 0xa5, val);
  22750. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22751. &val);
  22752. pi->tx_rx_cal_phy_saveregs[3] = val;
  22753. val |= 0x2000;
  22754. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22755. &val);
  22756. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22757. &val);
  22758. pi->tx_rx_cal_phy_saveregs[4] = val;
  22759. val |= 0x2000;
  22760. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22761. &val);
  22762. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x91);
  22763. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x92);
  22764. val = CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  22765. write_phy_reg(pi, 0x91, val);
  22766. write_phy_reg(pi, 0x92, val);
  22767. }
  22768. }
  22769. static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi)
  22770. {
  22771. u16 mask;
  22772. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22773. write_phy_reg(pi, 0xa6, pi->tx_rx_cal_phy_saveregs[0]);
  22774. write_phy_reg(pi, 0xa7, pi->tx_rx_cal_phy_saveregs[1]);
  22775. write_phy_reg(pi, 0x8f, pi->tx_rx_cal_phy_saveregs[2]);
  22776. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[3]);
  22777. write_phy_reg(pi, 0x01, pi->tx_rx_cal_phy_saveregs[4]);
  22778. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22779. &pi->tx_rx_cal_phy_saveregs[5]);
  22780. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22781. &pi->tx_rx_cal_phy_saveregs[6]);
  22782. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[7]);
  22783. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[8]);
  22784. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  22785. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  22786. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22787. || NREV_GE(pi->pubpi.phy_rev, 8))
  22788. wlc_phy_rfctrl_override_nphy_rev7(
  22789. pi, (0x1 << 7), 0, 0,
  22790. 1,
  22791. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22792. wlc_phy_resetcca_nphy(pi);
  22793. if (pi->use_int_tx_iqlo_cal_nphy
  22794. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22795. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22796. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22797. mod_radio_reg(
  22798. pi,
  22799. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22800. 1, 1);
  22801. mod_radio_reg(
  22802. pi,
  22803. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22804. 1, 1);
  22805. } else {
  22806. mod_radio_reg(
  22807. pi,
  22808. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22809. 1, 1);
  22810. mod_radio_reg(
  22811. pi,
  22812. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22813. 1, 1);
  22814. }
  22815. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22816. 0);
  22817. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22818. wlc_phy_rfctrl_override_nphy_rev7(
  22819. pi,
  22820. (0x1 << 3), 0,
  22821. 0x3, 1,
  22822. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22823. }
  22824. }
  22825. } else {
  22826. mask = ((0x3 << 12) | (0x3 << 14));
  22827. mod_phy_reg(pi, 0xa6, mask, pi->tx_rx_cal_phy_saveregs[0]);
  22828. mod_phy_reg(pi, 0xa7, mask, pi->tx_rx_cal_phy_saveregs[1]);
  22829. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[2]);
  22830. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22831. &pi->tx_rx_cal_phy_saveregs[3]);
  22832. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22833. &pi->tx_rx_cal_phy_saveregs[4]);
  22834. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[5]);
  22835. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[6]);
  22836. }
  22837. }
  22838. void
  22839. wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
  22840. {
  22841. u16 tssi_reg;
  22842. s32 temp, pwrindex[2];
  22843. s32 idle_tssi[2];
  22844. s32 rssi_buf[4];
  22845. s32 tssival[2];
  22846. u8 tssi_type;
  22847. tssi_reg = read_phy_reg(pi, 0x1e9);
  22848. temp = (s32) (tssi_reg & 0x3f);
  22849. idle_tssi[0] = (temp <= 31) ? temp : (temp - 64);
  22850. temp = (s32) ((tssi_reg >> 8) & 0x3f);
  22851. idle_tssi[1] = (temp <= 31) ? temp : (temp - 64);
  22852. tssi_type =
  22853. CHSPEC_IS5G(pi->radio_chanspec) ?
  22854. (u8)NPHY_RSSI_SEL_TSSI_5G : (u8)NPHY_RSSI_SEL_TSSI_2G;
  22855. wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
  22856. tssival[0] = rssi_buf[0] / ((s32) num_samps);
  22857. tssival[1] = rssi_buf[2] / ((s32) num_samps);
  22858. pwrindex[0] = idle_tssi[0] - tssival[0] + 64;
  22859. pwrindex[1] = idle_tssi[1] - tssival[1] + 64;
  22860. if (pwrindex[0] < 0)
  22861. pwrindex[0] = 0;
  22862. else if (pwrindex[0] > 63)
  22863. pwrindex[0] = 63;
  22864. if (pwrindex[1] < 0)
  22865. pwrindex[1] = 0;
  22866. else if (pwrindex[1] > 63)
  22867. pwrindex[1] = 63;
  22868. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 1,
  22869. (u32) pwrindex[0], 32, &qdBm_pwrbuf[0]);
  22870. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 1,
  22871. (u32) pwrindex[1], 32, &qdBm_pwrbuf[1]);
  22872. }
  22873. static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core)
  22874. {
  22875. int index;
  22876. u32 bbmult_scale;
  22877. u16 bbmult;
  22878. u16 tblentry;
  22879. struct nphy_txiqcal_ladder ladder_lo[] = {
  22880. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22881. {25, 0}, {25, 1}, {25, 2}, {25, 3}, {25, 4}, {25, 5},
  22882. {25, 6}, {25, 7}, {35, 7}, {50, 7}, {71, 7}, {100, 7}
  22883. };
  22884. struct nphy_txiqcal_ladder ladder_iq[] = {
  22885. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22886. {25, 0}, {35, 0}, {50, 0}, {71, 0}, {100, 0}, {100, 1},
  22887. {100, 2}, {100, 3}, {100, 4}, {100, 5}, {100, 6}, {100, 7}
  22888. };
  22889. bbmult = (core == PHY_CORE_0) ?
  22890. ((pi->nphy_txcal_bbmult >> 8) & 0xff) :
  22891. (pi->nphy_txcal_bbmult & 0xff);
  22892. for (index = 0; index < 18; index++) {
  22893. bbmult_scale = ladder_lo[index].percent * bbmult;
  22894. bbmult_scale /= 100;
  22895. tblentry =
  22896. ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env;
  22897. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16,
  22898. &tblentry);
  22899. bbmult_scale = ladder_iq[index].percent * bbmult;
  22900. bbmult_scale /= 100;
  22901. tblentry =
  22902. ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env;
  22903. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32,
  22904. 16, &tblentry);
  22905. }
  22906. }
  22907. static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core)
  22908. {
  22909. u16 tmp;
  22910. tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee));
  22911. tmp = (tmp & (0x7f << 8)) >> 8;
  22912. return (u8) tmp;
  22913. }
  22914. static void
  22915. wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1)
  22916. {
  22917. mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0);
  22918. if (NREV_GT(pi->pubpi.phy_rev, 1))
  22919. mod_phy_reg(pi, 0x222, (0xff << 0), idx1);
  22920. }
  22921. static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi)
  22922. {
  22923. u16 m0m1;
  22924. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  22925. return m0m1;
  22926. }
  22927. static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1)
  22928. {
  22929. u16 m0m1 = (u16) ((m0 << 8) | m1);
  22930. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m0m1);
  22931. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &m0m1);
  22932. }
  22933. static void
  22934. wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi,
  22935. struct nphy_papd_restore_state *state, u8 core)
  22936. {
  22937. s32 tone_freq;
  22938. u8 off_core;
  22939. u16 mixgain = 0;
  22940. off_core = core ^ 0x1;
  22941. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22942. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22943. || NREV_GE(pi->pubpi.phy_rev, 8))
  22944. wlc_phy_rfctrl_override_nphy_rev7(
  22945. pi, (0x1 << 7),
  22946. wlc_phy_read_lpf_bw_ctl_nphy
  22947. (pi,
  22948. 0), 0, 0,
  22949. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22950. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22951. if (pi->pubpi.radiorev == 5)
  22952. mixgain = (core == 0) ? 0x20 : 0x00;
  22953. else if ((pi->pubpi.radiorev == 7)
  22954. || (pi->pubpi.radiorev == 8))
  22955. mixgain = 0x00;
  22956. else if ((pi->pubpi.radiorev <= 4)
  22957. || (pi->pubpi.radiorev == 6))
  22958. mixgain = 0x00;
  22959. } else {
  22960. if ((pi->pubpi.radiorev == 4) ||
  22961. (pi->pubpi.radiorev == 6))
  22962. mixgain = 0x50;
  22963. else if ((pi->pubpi.radiorev == 3)
  22964. || (pi->pubpi.radiorev == 7)
  22965. || (pi->pubpi.radiorev == 8))
  22966. mixgain = 0x0;
  22967. }
  22968. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11),
  22969. mixgain, (1 << core), 0,
  22970. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22971. wlc_phy_rfctrl_override_1tomany_nphy(
  22972. pi,
  22973. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22974. 1, (1 << core), 0);
  22975. wlc_phy_rfctrl_override_1tomany_nphy(
  22976. pi,
  22977. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22978. 0, (1 << off_core), 0);
  22979. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  22980. 0, 0x3, 0,
  22981. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22982. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1,
  22983. (1 << core), 0,
  22984. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22985. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0,
  22986. (1 << core), 0,
  22987. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22988. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1,
  22989. (1 << core), 0,
  22990. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22991. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0,
  22992. (1 << core), 0,
  22993. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22994. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1,
  22995. (1 << core), 0,
  22996. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22997. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0,
  22998. (1 << core), 0,
  22999. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23000. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1,
  23001. (1 << core), 0,
  23002. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23003. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5),
  23004. 0, (1 << core), 0,
  23005. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23006. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0,
  23007. (1 << core), 0,
  23008. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23009. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  23010. 0xa6 : 0xa7);
  23011. state->afeoverride[core] =
  23012. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  23013. state->afectrl[off_core] =
  23014. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa7 : 0xa6);
  23015. state->afeoverride[off_core] =
  23016. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa5 : 0x8f);
  23017. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  23018. (0x1 << 2), 0);
  23019. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  23020. 0xa5), (0x1 << 2), (0x1 << 2));
  23021. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa7 : 0xa6),
  23022. (0x1 << 2), (0x1 << 2));
  23023. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa5 :
  23024. 0x8f), (0x1 << 2), (0x1 << 2));
  23025. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23026. state->pwrup[core] =
  23027. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23028. TXRXCOUPLE_2G_PWRUP);
  23029. state->atten[core] =
  23030. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23031. TXRXCOUPLE_2G_ATTEN);
  23032. state->pwrup[off_core] =
  23033. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23034. TXRXCOUPLE_2G_PWRUP);
  23035. state->atten[off_core] =
  23036. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23037. TXRXCOUPLE_2G_ATTEN);
  23038. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23039. TXRXCOUPLE_2G_PWRUP, 0xc);
  23040. if ((pi->pubpi.radiorev == 3) ||
  23041. (pi->pubpi.radiorev == 4) ||
  23042. (pi->pubpi.radiorev == 6))
  23043. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23044. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23045. else if (pi->pubpi.radiorev == 5)
  23046. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23047. TXRXCOUPLE_2G_ATTEN,
  23048. (core == 0) ? 0xf7 : 0xf2);
  23049. else if ((pi->pubpi.radiorev == 7)
  23050. || (pi->pubpi.radiorev == 8))
  23051. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23052. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23053. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23054. TXRXCOUPLE_2G_PWRUP, 0x0);
  23055. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23056. TXRXCOUPLE_2G_ATTEN, 0xff);
  23057. } else {
  23058. state->pwrup[core] =
  23059. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23060. TXRXCOUPLE_5G_PWRUP);
  23061. state->atten[core] =
  23062. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23063. TXRXCOUPLE_5G_ATTEN);
  23064. state->pwrup[off_core] =
  23065. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23066. TXRXCOUPLE_5G_PWRUP);
  23067. state->atten[off_core] =
  23068. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23069. TXRXCOUPLE_5G_ATTEN);
  23070. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23071. TXRXCOUPLE_5G_PWRUP, 0xc);
  23072. if ((pi->pubpi.radiorev == 7)
  23073. || (pi->pubpi.radiorev == 8))
  23074. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23075. TXRXCOUPLE_5G_ATTEN, 0xf4);
  23076. else
  23077. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23078. TXRXCOUPLE_5G_ATTEN, 0xf0);
  23079. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23080. TXRXCOUPLE_5G_PWRUP, 0x0);
  23081. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23082. TXRXCOUPLE_5G_ATTEN, 0xff);
  23083. }
  23084. tone_freq = 4000;
  23085. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23086. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23087. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23088. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23089. 0x2a4, (0x1 << 13), (1) << 13);
  23090. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23091. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_OFF) << 0);
  23092. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x2a3 :
  23093. 0x2a4, (0x1 << 13), (0) << 13);
  23094. } else {
  23095. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 0);
  23096. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0, 0);
  23097. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 0);
  23098. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 1, 0x3, 0);
  23099. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0x3, 0);
  23100. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  23101. 0xa6 : 0xa7);
  23102. state->afeoverride[core] =
  23103. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  23104. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  23105. (0x1 << 0) | (0x1 << 1) | (0x1 << 2), 0);
  23106. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  23107. 0xa5),
  23108. (0x1 << 0) |
  23109. (0x1 << 1) |
  23110. (0x1 << 2), (0x1 << 0) | (0x1 << 1) | (0x1 << 2));
  23111. state->vga_master[core] =
  23112. READ_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER);
  23113. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER, 0x2b);
  23114. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23115. state->fbmix[core] =
  23116. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23117. TXFBMIX_G);
  23118. state->intpa_master[core] =
  23119. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23120. INTPAG_MASTER);
  23121. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_G,
  23122. 0x03);
  23123. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23124. INTPAG_MASTER, 0x04);
  23125. } else {
  23126. state->fbmix[core] =
  23127. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23128. TXFBMIX_A);
  23129. state->intpa_master[core] =
  23130. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23131. INTPAA_MASTER);
  23132. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_A,
  23133. 0x03);
  23134. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23135. INTPAA_MASTER, 0x04);
  23136. }
  23137. tone_freq = 4000;
  23138. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23139. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23140. 0x29b, (0x1 << 0), (1) << 0);
  23141. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23142. 0x29b, (0x1 << 0), (0) << 0);
  23143. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23144. }
  23145. }
  23146. static void
  23147. wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi,
  23148. struct nphy_papd_restore_state *state)
  23149. {
  23150. u8 core;
  23151. wlc_phy_stopplayback_nphy(pi);
  23152. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23153. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23154. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23155. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23156. TXRXCOUPLE_2G_PWRUP, 0);
  23157. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23158. TXRXCOUPLE_2G_ATTEN,
  23159. state->atten[core]);
  23160. } else {
  23161. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23162. TXRXCOUPLE_5G_PWRUP, 0);
  23163. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23164. TXRXCOUPLE_5G_ATTEN,
  23165. state->atten[core]);
  23166. }
  23167. }
  23168. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  23169. wlc_phy_rfctrl_override_nphy_rev7(
  23170. pi, (0x1 << 2),
  23171. 1, 0x3, 0,
  23172. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23173. else
  23174. wlc_phy_rfctrl_override_nphy_rev7(
  23175. pi, (0x1 << 2),
  23176. 0, 0x3, 1,
  23177. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23178. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  23179. 0, 0x3, 1,
  23180. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23181. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23182. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23183. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 0, 0x3, 1,
  23184. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23185. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 1, 0x3, 1,
  23186. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23187. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 0, 0x3, 1,
  23188. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23189. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0x3, 1,
  23190. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23191. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12), 0, 0x3, 1,
  23192. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23193. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 1,
  23194. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23195. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23196. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23197. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0x3, 1,
  23198. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23199. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0, 0x3, 1,
  23200. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23201. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1, 0x3, 1,
  23202. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23203. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0, 0x3, 1,
  23204. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23205. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1, 0x3, 1,
  23206. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23207. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0x3, 1,
  23208. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23209. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0, 0x3, 1,
  23210. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23211. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23212. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23213. 0xa6 : 0xa7, state->afectrl[core]);
  23214. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23215. 0xa5, state->afeoverride[core]);
  23216. }
  23217. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23218. (state->mm & 0xff));
  23219. if (NREV_IS(pi->pubpi.phy_rev, 7)
  23220. || NREV_GE(pi->pubpi.phy_rev, 8))
  23221. wlc_phy_rfctrl_override_nphy_rev7(
  23222. pi, (0x1 << 7), 0, 0,
  23223. 1,
  23224. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23225. } else {
  23226. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  23227. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 0x3, 1);
  23228. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 1);
  23229. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 0, 0x3, 1);
  23230. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 0, 0x3, 1);
  23231. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23232. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER,
  23233. state->vga_master[core]);
  23234. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23235. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23236. TXFBMIX_G, state->fbmix[core]);
  23237. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23238. INTPAG_MASTER,
  23239. state->intpa_master[core]);
  23240. } else {
  23241. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23242. TXFBMIX_A, state->fbmix[core]);
  23243. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23244. INTPAA_MASTER,
  23245. state->intpa_master[core]);
  23246. }
  23247. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23248. 0xa6 : 0xa7, state->afectrl[core]);
  23249. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23250. 0xa5, state->afeoverride[core]);
  23251. }
  23252. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23253. (state->mm & 0xff));
  23254. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 1);
  23255. }
  23256. }
  23257. static void
  23258. wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start,
  23259. u32 end)
  23260. {
  23261. u32 *buf, *src, *dst, sz;
  23262. sz = end - start + 1;
  23263. buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
  23264. if (NULL == buf)
  23265. return;
  23266. src = buf;
  23267. dst = buf + NPHY_PAPD_EPS_TBL_SIZE;
  23268. wlc_phy_table_read_nphy(pi,
  23269. (core ==
  23270. PHY_CORE_0 ? NPHY_TBL_ID_EPSILONTBL0 :
  23271. NPHY_TBL_ID_EPSILONTBL1),
  23272. NPHY_PAPD_EPS_TBL_SIZE, 0, 32, src);
  23273. do {
  23274. u32 phy_a1, phy_a2;
  23275. s32 phy_a3, phy_a4, phy_a5, phy_a6, phy_a7;
  23276. phy_a1 = end - min(end, (winsz >> 1));
  23277. phy_a2 = min_t(u32, NPHY_PAPD_EPS_TBL_SIZE - 1,
  23278. end + (winsz >> 1));
  23279. phy_a3 = phy_a2 - phy_a1 + 1;
  23280. phy_a6 = 0;
  23281. phy_a7 = 0;
  23282. do {
  23283. wlc_phy_papd_decode_epsilon(src[phy_a2], &phy_a4,
  23284. &phy_a5);
  23285. phy_a6 += phy_a4;
  23286. phy_a7 += phy_a5;
  23287. } while (phy_a2-- != phy_a1);
  23288. phy_a6 /= phy_a3;
  23289. phy_a7 /= phy_a3;
  23290. dst[end] = ((u32) phy_a7 << 13) | ((u32) phy_a6 & 0x1fff);
  23291. } while (end-- != start);
  23292. wlc_phy_table_write_nphy(pi,
  23293. (core ==
  23294. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0 :
  23295. NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
  23296. kfree(buf);
  23297. }
  23298. static void
  23299. wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains,
  23300. enum phy_cal_mode cal_mode, u8 core)
  23301. {
  23302. u16 phy_a1, phy_a2, phy_a3;
  23303. u16 phy_a4, phy_a5;
  23304. bool phy_a6;
  23305. u8 phy_a7, m[2];
  23306. u32 phy_a8 = 0;
  23307. struct nphy_txgains phy_a9;
  23308. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23309. return;
  23310. phy_a7 = (core == PHY_CORE_0) ? 1 : 0;
  23311. phy_a6 = ((cal_mode == CAL_GCTRL)
  23312. || (cal_mode == CAL_SOFT)) ? true : false;
  23313. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23314. phy_a9 = wlc_phy_get_tx_gain_nphy(pi);
  23315. if (CHSPEC_IS2G(pi->radio_chanspec))
  23316. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23317. (phy_a9.txgm[core] << 12) |
  23318. (phy_a9.pga[core] << 8) |
  23319. (txgains->gains.pad[core] << 3) |
  23320. (phy_a9.ipa[core]));
  23321. else
  23322. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23323. (phy_a9.txgm[core] << 12) |
  23324. (txgains->gains.pga[core] << 8) |
  23325. (phy_a9.pad[core] << 3) | (phy_a9.ipa[core]));
  23326. wlc_phy_rfctrl_override_1tomany_nphy(
  23327. pi,
  23328. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23329. phy_a5, (1 << core), 0);
  23330. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23331. if ((pi->pubpi.radiorev <= 4)
  23332. || (pi->pubpi.radiorev == 6))
  23333. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23334. 60 : 79;
  23335. else
  23336. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23337. 45 : 64;
  23338. } else {
  23339. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23340. }
  23341. m[phy_a7] = 0;
  23342. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23343. phy_a2 = 63;
  23344. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23345. if ((pi->pubpi.radiorev == 4)
  23346. || (pi->pubpi.radiorev == 6)) {
  23347. phy_a1 = 30;
  23348. phy_a3 = 30;
  23349. } else {
  23350. phy_a1 = 25;
  23351. phy_a3 = 25;
  23352. }
  23353. } else {
  23354. if ((pi->pubpi.radiorev == 5)
  23355. || (pi->pubpi.radiorev == 7)
  23356. || (pi->pubpi.radiorev == 8)) {
  23357. phy_a1 = 25;
  23358. phy_a3 = 25;
  23359. } else {
  23360. phy_a1 = 35;
  23361. phy_a3 = 35;
  23362. }
  23363. }
  23364. if (cal_mode == CAL_GCTRL) {
  23365. if ((pi->pubpi.radiorev == 5)
  23366. && (CHSPEC_IS2G(pi->radio_chanspec)))
  23367. phy_a1 = 55;
  23368. else if (((pi->pubpi.radiorev == 7) &&
  23369. (CHSPEC_IS2G(pi->radio_chanspec))) ||
  23370. ((pi->pubpi.radiorev == 8) &&
  23371. (CHSPEC_IS2G(pi->radio_chanspec))))
  23372. phy_a1 = 60;
  23373. else
  23374. phy_a1 = 63;
  23375. } else if ((cal_mode != CAL_FULL) && (cal_mode != CAL_SOFT)) {
  23376. phy_a1 = 35;
  23377. phy_a3 = 35;
  23378. }
  23379. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23380. 0x29b, (0x1 << 0), (1) << 0);
  23381. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23382. 0x29b, (0x1 << 0), (0) << 0);
  23383. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23384. 0x2a4, (0x1 << 13), (1) << 13);
  23385. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23386. 0x2a4, (0x1 << 13), (0) << 13);
  23387. write_phy_reg(pi, 0x2a1, 0x80);
  23388. write_phy_reg(pi, 0x2a2, 0x100);
  23389. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23390. 0x2a4, (0x7 << 4), (11) << 4);
  23391. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23392. 0x2a4, (0x7 << 8), (11) << 8);
  23393. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23394. 0x2a4, (0x7 << 0), (0x3) << 0);
  23395. write_phy_reg(pi, 0x2e5, 0x20);
  23396. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23397. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23398. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23399. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23400. 1, ((core == 0) ? 1 : 2), 0,
  23401. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23402. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23403. 0, ((core == 0) ? 2 : 1), 0,
  23404. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23405. write_phy_reg(pi, 0x2be, 1);
  23406. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23407. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23408. 0, 0x3, 0,
  23409. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23410. wlc_phy_table_write_nphy(pi,
  23411. (core ==
  23412. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23413. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23414. 32, &phy_a8);
  23415. if (cal_mode != CAL_GCTRL) {
  23416. if (CHSPEC_IS5G(pi->radio_chanspec))
  23417. wlc_phy_a1_nphy(pi, core, 5, 0, 35);
  23418. }
  23419. wlc_phy_rfctrl_override_1tomany_nphy(
  23420. pi,
  23421. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23422. phy_a5, (1 << core), 1);
  23423. } else {
  23424. if (txgains) {
  23425. if (txgains->useindex) {
  23426. phy_a4 = 15 - ((txgains->index) >> 3);
  23427. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23428. if (NREV_GE(pi->pubpi.phy_rev, 6))
  23429. phy_a5 = 0x00f7 | (phy_a4 << 8);
  23430. else
  23431. if (NREV_IS(pi->pubpi.phy_rev, 5))
  23432. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23433. else
  23434. phy_a5 = 0x50f7 | (phy_a4 << 8);
  23435. } else {
  23436. phy_a5 = 0x70f7 | (phy_a4 << 8);
  23437. }
  23438. wlc_phy_rfctrl_override_nphy(pi,
  23439. (0x1 << 13),
  23440. phy_a5,
  23441. (1 << core), 0);
  23442. } else {
  23443. wlc_phy_rfctrl_override_nphy(pi,
  23444. (0x1 << 13),
  23445. 0x5bf7,
  23446. (1 << core), 0);
  23447. }
  23448. }
  23449. if (CHSPEC_IS2G(pi->radio_chanspec))
  23450. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
  23451. else
  23452. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23453. m[phy_a7] = 0;
  23454. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23455. phy_a2 = 63;
  23456. if (cal_mode == CAL_FULL) {
  23457. phy_a1 = 25;
  23458. phy_a3 = 25;
  23459. } else if (cal_mode == CAL_SOFT) {
  23460. phy_a1 = 25;
  23461. phy_a3 = 25;
  23462. } else if (cal_mode == CAL_GCTRL) {
  23463. phy_a1 = 63;
  23464. phy_a3 = 25;
  23465. } else {
  23466. phy_a1 = 25;
  23467. phy_a3 = 25;
  23468. }
  23469. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23470. 0x29b, (0x1 << 0), (1) << 0);
  23471. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23472. 0x29b, (0x1 << 0), (0) << 0);
  23473. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23474. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23475. 0x2a4, (0x1 << 13), (1) << 13);
  23476. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23477. 0x2a4, (0x1 << 13), (0) << 13);
  23478. write_phy_reg(pi, 0x2a1, 0x20);
  23479. write_phy_reg(pi, 0x2a2, 0x60);
  23480. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23481. 0x2a4, (0xf << 4), (9) << 4);
  23482. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23483. 0x2a4, (0xf << 8), (9) << 8);
  23484. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23485. 0x2a4, (0xf << 0), (0x2) << 0);
  23486. write_phy_reg(pi, 0x2e5, 0x20);
  23487. } else {
  23488. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23489. 0x2a4, (0x1 << 11), (1) << 11);
  23490. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23491. 0x2a4, (0x1 << 11), (0) << 11);
  23492. write_phy_reg(pi, 0x2a1, 0x80);
  23493. write_phy_reg(pi, 0x2a2, 0x600);
  23494. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23495. 0x2a4, (0x7 << 4), (0) << 4);
  23496. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23497. 0x2a4, (0x7 << 8), (0) << 8);
  23498. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23499. 0x2a4, (0x7 << 0), (0x3) << 0);
  23500. mod_phy_reg(pi, 0x2a0, (0x3f << 8), (0x20) << 8);
  23501. }
  23502. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23503. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23504. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23505. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0x3, 0);
  23506. write_phy_reg(pi, 0x2be, 1);
  23507. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23508. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23509. wlc_phy_table_write_nphy(pi,
  23510. (core ==
  23511. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23512. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23513. 32, &phy_a8);
  23514. if (cal_mode != CAL_GCTRL)
  23515. wlc_phy_a1_nphy(pi, core, 5, 0, 40);
  23516. }
  23517. }
  23518. static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core)
  23519. {
  23520. int phy_a1;
  23521. int phy_a2;
  23522. bool phy_a3;
  23523. struct nphy_ipa_txcalgains phy_a4;
  23524. bool phy_a5 = false;
  23525. bool phy_a6 = true;
  23526. s32 phy_a7, phy_a8;
  23527. u32 phy_a9;
  23528. int phy_a10;
  23529. bool phy_a11 = false;
  23530. int phy_a12;
  23531. u8 phy_a13 = 0;
  23532. u8 phy_a14;
  23533. u8 *phy_a15 = NULL;
  23534. phy_a4.useindex = true;
  23535. phy_a12 = start_gain;
  23536. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23537. phy_a2 = 20;
  23538. phy_a1 = 1;
  23539. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23540. if (pi->pubpi.radiorev == 5) {
  23541. phy_a15 = pad_gain_codes_used_2057rev5;
  23542. phy_a13 =
  23543. sizeof(pad_gain_codes_used_2057rev5) /
  23544. sizeof(pad_gain_codes_used_2057rev5
  23545. [0]) - 1;
  23546. } else if ((pi->pubpi.radiorev == 7)
  23547. || (pi->pubpi.radiorev == 8)) {
  23548. phy_a15 = pad_gain_codes_used_2057rev7;
  23549. phy_a13 =
  23550. sizeof(pad_gain_codes_used_2057rev7) /
  23551. sizeof(pad_gain_codes_used_2057rev7
  23552. [0]) - 1;
  23553. } else {
  23554. phy_a15 = pad_all_gain_codes_2057;
  23555. phy_a13 = sizeof(pad_all_gain_codes_2057) /
  23556. sizeof(pad_all_gain_codes_2057[0]) -
  23557. 1;
  23558. }
  23559. } else {
  23560. phy_a15 = pga_all_gain_codes_2057;
  23561. phy_a13 = sizeof(pga_all_gain_codes_2057) /
  23562. sizeof(pga_all_gain_codes_2057[0]) - 1;
  23563. }
  23564. phy_a14 = 0;
  23565. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23566. if (CHSPEC_IS2G(pi->radio_chanspec))
  23567. phy_a4.gains.pad[core] =
  23568. (u16) phy_a15[phy_a12];
  23569. else
  23570. phy_a4.gains.pga[core] =
  23571. (u16) phy_a15[phy_a12];
  23572. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23573. wlc_phy_table_read_nphy(pi,
  23574. (core ==
  23575. PHY_CORE_0 ?
  23576. NPHY_TBL_ID_EPSILONTBL0 :
  23577. NPHY_TBL_ID_EPSILONTBL1), 1,
  23578. 63, 32, &phy_a9);
  23579. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23580. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23581. (phy_a8 == 4095) || (phy_a8 == -4096));
  23582. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23583. if (!phy_a3)
  23584. phy_a12 -= (u8) phy_a1;
  23585. phy_a11 = true;
  23586. break;
  23587. }
  23588. if (phy_a3)
  23589. phy_a12 += (u8) phy_a1;
  23590. else
  23591. phy_a12 -= (u8) phy_a1;
  23592. if ((phy_a12 < phy_a14) || (phy_a12 > phy_a13)) {
  23593. if (phy_a12 < phy_a14)
  23594. phy_a12 = phy_a14;
  23595. else
  23596. phy_a12 = phy_a13;
  23597. phy_a11 = true;
  23598. break;
  23599. }
  23600. phy_a6 = false;
  23601. phy_a5 = phy_a3;
  23602. }
  23603. } else {
  23604. phy_a2 = 10;
  23605. phy_a1 = 8;
  23606. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23607. phy_a4.index = (u8) phy_a12;
  23608. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23609. wlc_phy_table_read_nphy(pi,
  23610. (core ==
  23611. PHY_CORE_0 ?
  23612. NPHY_TBL_ID_EPSILONTBL0 :
  23613. NPHY_TBL_ID_EPSILONTBL1), 1,
  23614. 63, 32, &phy_a9);
  23615. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23616. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23617. (phy_a8 == 4095) || (phy_a8 == -4096));
  23618. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23619. if (!phy_a3)
  23620. phy_a12 -= (u8) phy_a1;
  23621. phy_a11 = true;
  23622. break;
  23623. }
  23624. if (phy_a3)
  23625. phy_a12 += (u8) phy_a1;
  23626. else
  23627. phy_a12 -= (u8) phy_a1;
  23628. if ((phy_a12 < 0) || (phy_a12 > 127)) {
  23629. if (phy_a12 < 0)
  23630. phy_a12 = 0;
  23631. else
  23632. phy_a12 = 127;
  23633. phy_a11 = true;
  23634. break;
  23635. }
  23636. phy_a6 = false;
  23637. phy_a5 = phy_a3;
  23638. }
  23639. }
  23640. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23641. return (u8) phy_a15[phy_a12];
  23642. else
  23643. return (u8) phy_a12;
  23644. }
  23645. static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal)
  23646. {
  23647. struct nphy_ipa_txcalgains phy_b1[2];
  23648. struct nphy_papd_restore_state phy_b2;
  23649. bool phy_b3;
  23650. u8 phy_b4;
  23651. u8 phy_b5;
  23652. s16 phy_b6, phy_b7, phy_b8;
  23653. u16 phy_b9;
  23654. s16 phy_b10, phy_b11, phy_b12;
  23655. phy_b11 = 0;
  23656. phy_b12 = 0;
  23657. phy_b7 = 0;
  23658. phy_b8 = 0;
  23659. phy_b6 = 0;
  23660. if (pi->nphy_papd_skip == 1)
  23661. return;
  23662. phy_b3 = (0 == (R_REG(&pi->regs->maccontrol) & MCTL_EN_MAC));
  23663. if (!phy_b3)
  23664. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23665. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23666. pi->nphy_force_papd_cal = false;
  23667. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++)
  23668. pi->nphy_papd_tx_gain_at_last_cal[phy_b5] =
  23669. wlc_phy_txpwr_idx_cur_get_nphy(pi, phy_b5);
  23670. pi->nphy_papd_last_cal = pi->sh->now;
  23671. pi->nphy_papd_recal_counter++;
  23672. phy_b4 = pi->nphy_txpwrctrl;
  23673. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23674. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL0, 64, 0, 32,
  23675. nphy_papd_scaltbl);
  23676. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL1, 64, 0, 32,
  23677. nphy_papd_scaltbl);
  23678. phy_b9 = read_phy_reg(pi, 0x01);
  23679. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  23680. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23681. s32 i, val = 0;
  23682. for (i = 0; i < 64; i++)
  23683. wlc_phy_table_write_nphy(pi,
  23684. ((phy_b5 ==
  23685. PHY_CORE_0) ?
  23686. NPHY_TBL_ID_EPSILONTBL0 :
  23687. NPHY_TBL_ID_EPSILONTBL1), 1,
  23688. i, 32, &val);
  23689. }
  23690. wlc_phy_ipa_restore_tx_digi_filts_nphy(pi);
  23691. phy_b2.mm = wlc_phy_ipa_get_bbmult_nphy(pi);
  23692. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23693. wlc_phy_papd_cal_setup_nphy(pi, &phy_b2, phy_b5);
  23694. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23695. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23696. if ((pi->pubpi.radiorev == 3)
  23697. || (pi->pubpi.radiorev == 4)
  23698. || (pi->pubpi.radiorev == 6)) {
  23699. pi->nphy_papd_cal_gain_index[phy_b5] =
  23700. 23;
  23701. } else if (pi->pubpi.radiorev == 5) {
  23702. pi->nphy_papd_cal_gain_index[phy_b5] =
  23703. 0;
  23704. pi->nphy_papd_cal_gain_index[phy_b5] =
  23705. wlc_phy_a3_nphy(
  23706. pi,
  23707. pi->
  23708. nphy_papd_cal_gain_index
  23709. [phy_b5],
  23710. phy_b5);
  23711. } else if ((pi->pubpi.radiorev == 7)
  23712. || (pi->pubpi.radiorev == 8)) {
  23713. pi->nphy_papd_cal_gain_index[phy_b5] =
  23714. 0;
  23715. pi->nphy_papd_cal_gain_index[phy_b5] =
  23716. wlc_phy_a3_nphy(
  23717. pi,
  23718. pi->
  23719. nphy_papd_cal_gain_index
  23720. [phy_b5],
  23721. phy_b5);
  23722. }
  23723. phy_b1[phy_b5].gains.pad[phy_b5] =
  23724. pi->nphy_papd_cal_gain_index[phy_b5];
  23725. } else {
  23726. pi->nphy_papd_cal_gain_index[phy_b5] = 0;
  23727. pi->nphy_papd_cal_gain_index[phy_b5] =
  23728. wlc_phy_a3_nphy(
  23729. pi,
  23730. pi->
  23731. nphy_papd_cal_gain_index
  23732. [phy_b5], phy_b5);
  23733. phy_b1[phy_b5].gains.pga[phy_b5] =
  23734. pi->nphy_papd_cal_gain_index[phy_b5];
  23735. }
  23736. } else {
  23737. phy_b1[phy_b5].useindex = true;
  23738. phy_b1[phy_b5].index = 16;
  23739. phy_b1[phy_b5].index =
  23740. wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index,
  23741. phy_b5);
  23742. pi->nphy_papd_cal_gain_index[phy_b5] =
  23743. 15 - ((phy_b1[phy_b5].index) >> 3);
  23744. }
  23745. switch (pi->nphy_papd_cal_type) {
  23746. case 0:
  23747. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_FULL, phy_b5);
  23748. break;
  23749. case 1:
  23750. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_SOFT, phy_b5);
  23751. break;
  23752. }
  23753. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23754. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23755. }
  23756. if (NREV_LT(pi->pubpi.phy_rev, 7))
  23757. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23758. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23759. int eps_offset = 0;
  23760. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23761. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23762. if (pi->pubpi.radiorev == 3)
  23763. eps_offset = -2;
  23764. else if (pi->pubpi.radiorev == 5)
  23765. eps_offset = 3;
  23766. else
  23767. eps_offset = -1;
  23768. } else {
  23769. eps_offset = 2;
  23770. }
  23771. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23772. phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5];
  23773. phy_b10 = 0;
  23774. if ((pi->pubpi.radiorev == 3) ||
  23775. (pi->pubpi.radiorev == 4) ||
  23776. (pi->pubpi.radiorev == 6)) {
  23777. phy_b12 = -(
  23778. nphy_papd_padgain_dlt_2g_2057rev3n4
  23779. [phy_b8] + 1) / 2;
  23780. phy_b10 = -1;
  23781. } else if (pi->pubpi.radiorev == 5) {
  23782. phy_b12 = -(
  23783. nphy_papd_padgain_dlt_2g_2057rev5
  23784. [phy_b8] + 1) / 2;
  23785. } else if ((pi->pubpi.radiorev == 7) ||
  23786. (pi->pubpi.radiorev == 8)) {
  23787. phy_b12 = -(
  23788. nphy_papd_padgain_dlt_2g_2057rev7
  23789. [phy_b8] + 1) / 2;
  23790. }
  23791. } else {
  23792. phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5];
  23793. if ((pi->pubpi.radiorev == 3) ||
  23794. (pi->pubpi.radiorev == 4) ||
  23795. (pi->pubpi.radiorev == 6))
  23796. phy_b11 =
  23797. -(nphy_papd_pgagain_dlt_5g_2057
  23798. [phy_b7]
  23799. + 1) / 2;
  23800. else if ((pi->pubpi.radiorev == 7)
  23801. || (pi->pubpi.radiorev == 8))
  23802. phy_b11 = -(
  23803. nphy_papd_pgagain_dlt_5g_2057rev7
  23804. [phy_b7] + 1) / 2;
  23805. phy_b10 = -9;
  23806. }
  23807. if (CHSPEC_IS2G(pi->radio_chanspec))
  23808. phy_b6 =
  23809. -60 + 27 + eps_offset + phy_b12 +
  23810. phy_b10;
  23811. else
  23812. phy_b6 =
  23813. -60 + 27 + eps_offset + phy_b11 +
  23814. phy_b10;
  23815. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23816. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23817. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23818. } else {
  23819. if (NREV_LT(pi->pubpi.phy_rev, 5))
  23820. eps_offset = 4;
  23821. else
  23822. eps_offset = 2;
  23823. phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3);
  23824. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23825. phy_b11 =
  23826. -(nphy_papd_pga_gain_delta_ipa_2g[
  23827. phy_b7] +
  23828. 1) / 2;
  23829. phy_b10 = 0;
  23830. } else {
  23831. phy_b11 =
  23832. -(nphy_papd_pga_gain_delta_ipa_5g[
  23833. phy_b7] +
  23834. 1) / 2;
  23835. phy_b10 = -9;
  23836. }
  23837. phy_b6 = -60 + 27 + eps_offset + phy_b11 + phy_b10;
  23838. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23839. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23840. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23841. }
  23842. }
  23843. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  23844. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23845. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  23846. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23847. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23848. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23849. 0x2a4, (0x1 << 13), (0) << 13);
  23850. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23851. 0x2a4, (0x1 << 13), (0) << 13);
  23852. } else {
  23853. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23854. 0x2a4, (0x1 << 11), (0) << 11);
  23855. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23856. 0x2a4, (0x1 << 11), (0) << 11);
  23857. }
  23858. pi->nphy_papdcomp = NPHY_PAPD_COMP_ON;
  23859. write_phy_reg(pi, 0x01, phy_b9);
  23860. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  23861. wlc_phy_txpwrctrl_enable_nphy(pi, phy_b4);
  23862. if (phy_b4 == PHY_TPC_HW_OFF) {
  23863. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23864. (s8) (pi->nphy_txpwrindex[0].
  23865. index_internal), false);
  23866. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23867. (s8) (pi->nphy_txpwrindex[1].
  23868. index_internal), false);
  23869. }
  23870. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  23871. if (!phy_b3)
  23872. wlapi_enable_mac(pi->sh->physhim);
  23873. }
  23874. void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype)
  23875. {
  23876. struct nphy_txgains target_gain;
  23877. u8 tx_pwr_ctrl_state;
  23878. bool fullcal = true;
  23879. bool restore_tx_gain = false;
  23880. bool mphase;
  23881. if (PHY_MUTED(pi))
  23882. return;
  23883. if (caltype == PHY_PERICAL_AUTO)
  23884. fullcal = (pi->radio_chanspec != pi->nphy_txiqlocal_chanspec);
  23885. else if (caltype == PHY_PERICAL_PARTIAL)
  23886. fullcal = false;
  23887. if (pi->cal_type_override != PHY_PERICAL_AUTO)
  23888. fullcal =
  23889. (pi->cal_type_override ==
  23890. PHY_PERICAL_FULL) ? true : false;
  23891. if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) {
  23892. if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec)
  23893. wlc_phy_cal_perical_mphase_restart(pi);
  23894. }
  23895. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL))
  23896. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000);
  23897. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23898. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23899. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_IDLE) ||
  23900. (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_INIT)) {
  23901. pi->nphy_cal_orig_pwr_idx[0] =
  23902. (u8) ((read_phy_reg(pi, 0x1ed) >> 8) & 0x7f);
  23903. pi->nphy_cal_orig_pwr_idx[1] =
  23904. (u8) ((read_phy_reg(pi, 0x1ee) >> 8) & 0x7f);
  23905. if (pi->nphy_txpwrctrl != PHY_TPC_HW_OFF) {
  23906. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2,
  23907. 0x110, 16,
  23908. pi->nphy_cal_orig_tx_gain);
  23909. } else {
  23910. pi->nphy_cal_orig_tx_gain[0] = 0;
  23911. pi->nphy_cal_orig_tx_gain[1] = 0;
  23912. }
  23913. }
  23914. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23915. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  23916. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23917. if (pi->antsel_type == ANTSEL_2x3)
  23918. wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
  23919. mphase = (pi->mphase_cal_phase_id != MPHASE_CAL_STATE_IDLE);
  23920. if (!mphase) {
  23921. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23922. wlc_phy_precal_txgain_nphy(pi);
  23923. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23924. restore_tx_gain = true;
  23925. target_gain = pi->nphy_cal_target_gain;
  23926. }
  23927. if (0 ==
  23928. wlc_phy_cal_txiqlo_nphy(pi, target_gain, fullcal,
  23929. mphase)) {
  23930. if (PHY_IPA(pi))
  23931. wlc_phy_a4(pi, true);
  23932. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23933. wlapi_enable_mac(pi->sh->physhim);
  23934. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION,
  23935. 10000);
  23936. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23937. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23938. if (0 == wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23939. (pi->first_cal_after_assoc ||
  23940. (pi->cal_type_override ==
  23941. PHY_PERICAL_FULL)) ? 2 : 0, false)) {
  23942. wlc_phy_savecal_nphy(pi);
  23943. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23944. pi->nphy_perical_last = pi->sh->now;
  23945. }
  23946. }
  23947. if (caltype != PHY_PERICAL_AUTO)
  23948. wlc_phy_rssi_cal_nphy(pi);
  23949. if (pi->first_cal_after_assoc
  23950. || (pi->cal_type_override == PHY_PERICAL_FULL)) {
  23951. pi->first_cal_after_assoc = false;
  23952. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23953. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23954. }
  23955. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23956. wlc_phy_radio205x_vcocal_nphy(pi);
  23957. } else {
  23958. switch (pi->mphase_cal_phase_id) {
  23959. case MPHASE_CAL_STATE_INIT:
  23960. pi->nphy_perical_last = pi->sh->now;
  23961. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  23962. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23963. wlc_phy_precal_txgain_nphy(pi);
  23964. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23965. pi->mphase_cal_phase_id++;
  23966. break;
  23967. case MPHASE_CAL_STATE_TXPHASE0:
  23968. case MPHASE_CAL_STATE_TXPHASE1:
  23969. case MPHASE_CAL_STATE_TXPHASE2:
  23970. case MPHASE_CAL_STATE_TXPHASE3:
  23971. case MPHASE_CAL_STATE_TXPHASE4:
  23972. case MPHASE_CAL_STATE_TXPHASE5:
  23973. if ((pi->radar_percal_mask & 0x10) != 0)
  23974. pi->nphy_rxcal_active = true;
  23975. if (wlc_phy_cal_txiqlo_nphy
  23976. (pi, pi->nphy_cal_target_gain, fullcal,
  23977. true) != 0) {
  23978. wlc_phy_cal_perical_mphase_reset(pi);
  23979. break;
  23980. }
  23981. if (NREV_LE(pi->pubpi.phy_rev, 2) &&
  23982. (pi->mphase_cal_phase_id ==
  23983. MPHASE_CAL_STATE_TXPHASE4))
  23984. pi->mphase_cal_phase_id += 2;
  23985. else
  23986. pi->mphase_cal_phase_id++;
  23987. break;
  23988. case MPHASE_CAL_STATE_PAPDCAL:
  23989. if ((pi->radar_percal_mask & 0x2) != 0)
  23990. pi->nphy_rxcal_active = true;
  23991. if (PHY_IPA(pi))
  23992. wlc_phy_a4(pi, true);
  23993. pi->mphase_cal_phase_id++;
  23994. break;
  23995. case MPHASE_CAL_STATE_RXCAL:
  23996. if ((pi->radar_percal_mask & 0x1) != 0)
  23997. pi->nphy_rxcal_active = true;
  23998. if (wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23999. (pi->first_cal_after_assoc ||
  24000. (pi->cal_type_override ==
  24001. PHY_PERICAL_FULL)) ? 2 : 0,
  24002. false) == 0)
  24003. wlc_phy_savecal_nphy(pi);
  24004. pi->mphase_cal_phase_id++;
  24005. break;
  24006. case MPHASE_CAL_STATE_RSSICAL:
  24007. if ((pi->radar_percal_mask & 0x4) != 0)
  24008. pi->nphy_rxcal_active = true;
  24009. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  24010. wlc_phy_rssi_cal_nphy(pi);
  24011. if (NREV_GE(pi->pubpi.phy_rev, 3))
  24012. wlc_phy_radio205x_vcocal_nphy(pi);
  24013. restore_tx_gain = true;
  24014. if (pi->first_cal_after_assoc)
  24015. pi->mphase_cal_phase_id++;
  24016. else
  24017. wlc_phy_cal_perical_mphase_reset(pi);
  24018. break;
  24019. case MPHASE_CAL_STATE_IDLETSSI:
  24020. if ((pi->radar_percal_mask & 0x8) != 0)
  24021. pi->nphy_rxcal_active = true;
  24022. if (pi->first_cal_after_assoc) {
  24023. pi->first_cal_after_assoc = false;
  24024. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  24025. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  24026. }
  24027. wlc_phy_cal_perical_mphase_reset(pi);
  24028. break;
  24029. default:
  24030. wlc_phy_cal_perical_mphase_reset(pi);
  24031. break;
  24032. }
  24033. }
  24034. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24035. if (restore_tx_gain) {
  24036. if (tx_pwr_ctrl_state != PHY_TPC_HW_OFF) {
  24037. wlc_phy_txpwr_index_nphy(pi, 1,
  24038. pi->
  24039. nphy_cal_orig_pwr_idx
  24040. [0], false);
  24041. wlc_phy_txpwr_index_nphy(pi, 2,
  24042. pi->
  24043. nphy_cal_orig_pwr_idx
  24044. [1], false);
  24045. pi->nphy_txpwrindex[0].index = -1;
  24046. pi->nphy_txpwrindex[1].index = -1;
  24047. } else {
  24048. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  24049. (s8) (pi->
  24050. nphy_txpwrindex
  24051. [0].
  24052. index_internal),
  24053. false);
  24054. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  24055. (s8) (pi->
  24056. nphy_txpwrindex
  24057. [1].
  24058. index_internal),
  24059. false);
  24060. }
  24061. }
  24062. }
  24063. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  24064. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  24065. wlapi_enable_mac(pi->sh->physhim);
  24066. }
  24067. int
  24068. wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  24069. bool fullcal, bool mphase)
  24070. {
  24071. u16 val;
  24072. u16 tbl_buf[11];
  24073. u8 cal_cnt;
  24074. u16 cal_cmd;
  24075. u8 num_cals, max_cal_cmds;
  24076. u16 core_no, cal_type;
  24077. u16 diq_start = 0;
  24078. u8 phy_bw;
  24079. u16 max_val;
  24080. u16 tone_freq;
  24081. u16 gain_save[2];
  24082. u16 cal_gain[2];
  24083. struct nphy_iqcal_params cal_params[2];
  24084. u32 tbl_len;
  24085. void *tbl_ptr;
  24086. bool ladder_updated[2];
  24087. u8 mphase_cal_lastphase = 0;
  24088. int bcmerror = 0;
  24089. bool phyhang_avoid_state = false;
  24090. u16 tbl_tx_iqlo_cal_loft_ladder_20[] = {
  24091. 0x0300, 0x0500, 0x0700, 0x0900, 0x0d00, 0x1100, 0x1900, 0x1901,
  24092. 0x1902,
  24093. 0x1903, 0x1904, 0x1905, 0x1906, 0x1907, 0x2407, 0x3207, 0x4607,
  24094. 0x6407
  24095. };
  24096. u16 tbl_tx_iqlo_cal_iqimb_ladder_20[] = {
  24097. 0x0200, 0x0300, 0x0600, 0x0900, 0x0d00, 0x1100, 0x1900, 0x2400,
  24098. 0x3200,
  24099. 0x4600, 0x6400, 0x6401, 0x6402, 0x6403, 0x6404, 0x6405, 0x6406,
  24100. 0x6407
  24101. };
  24102. u16 tbl_tx_iqlo_cal_loft_ladder_40[] = {
  24103. 0x0200, 0x0300, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1201,
  24104. 0x1202,
  24105. 0x1203, 0x1204, 0x1205, 0x1206, 0x1207, 0x1907, 0x2307, 0x3207,
  24106. 0x4707
  24107. };
  24108. u16 tbl_tx_iqlo_cal_iqimb_ladder_40[] = {
  24109. 0x0100, 0x0200, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1900,
  24110. 0x2300,
  24111. 0x3200, 0x4700, 0x4701, 0x4702, 0x4703, 0x4704, 0x4705, 0x4706,
  24112. 0x4707
  24113. };
  24114. u16 tbl_tx_iqlo_cal_startcoefs[] = {
  24115. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24116. 0x0000
  24117. };
  24118. u16 tbl_tx_iqlo_cal_cmds_fullcal[] = {
  24119. 0x8123, 0x8264, 0x8086, 0x8245, 0x8056,
  24120. 0x9123, 0x9264, 0x9086, 0x9245, 0x9056
  24121. };
  24122. u16 tbl_tx_iqlo_cal_cmds_recal[] = {
  24123. 0x8101, 0x8253, 0x8053, 0x8234, 0x8034,
  24124. 0x9101, 0x9253, 0x9053, 0x9234, 0x9034
  24125. };
  24126. u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[] = {
  24127. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24128. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24129. 0x0000
  24130. };
  24131. u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[] = {
  24132. 0x8434, 0x8334, 0x8084, 0x8267, 0x8056, 0x8234,
  24133. 0x9434, 0x9334, 0x9084, 0x9267, 0x9056, 0x9234
  24134. };
  24135. u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[] = {
  24136. 0x8423, 0x8323, 0x8073, 0x8256, 0x8045, 0x8223,
  24137. 0x9423, 0x9323, 0x9073, 0x9256, 0x9045, 0x9223
  24138. };
  24139. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  24140. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  24141. phyhang_avoid_state = pi->phyhang_avoid;
  24142. pi->phyhang_avoid = false;
  24143. }
  24144. if (CHSPEC_IS40(pi->radio_chanspec))
  24145. phy_bw = 40;
  24146. else
  24147. phy_bw = 20;
  24148. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  24149. for (core_no = 0; core_no <= 1; core_no++) {
  24150. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  24151. &cal_params[core_no]);
  24152. cal_gain[core_no] = cal_params[core_no].cal_gain;
  24153. }
  24154. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  24155. wlc_phy_txcal_radio_setup_nphy(pi);
  24156. wlc_phy_txcal_physetup_nphy(pi);
  24157. ladder_updated[0] = ladder_updated[1] = false;
  24158. if (!(NREV_GE(pi->pubpi.phy_rev, 6) ||
  24159. (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi)
  24160. && (CHSPEC_IS2G(pi->radio_chanspec))))) {
  24161. if (phy_bw == 40) {
  24162. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_40;
  24163. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_40);
  24164. } else {
  24165. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_20;
  24166. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_20);
  24167. }
  24168. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 0,
  24169. 16, tbl_ptr);
  24170. if (phy_bw == 40) {
  24171. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_40;
  24172. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_40);
  24173. } else {
  24174. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_20;
  24175. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_20);
  24176. }
  24177. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 32,
  24178. 16, tbl_ptr);
  24179. }
  24180. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24181. write_phy_reg(pi, 0xc2, 0x8ad9);
  24182. else
  24183. write_phy_reg(pi, 0xc2, 0x8aa9);
  24184. max_val = 250;
  24185. tone_freq = (phy_bw == 20) ? 2500 : 5000;
  24186. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24187. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff, 0, 1, 0, false);
  24188. bcmerror = 0;
  24189. } else {
  24190. bcmerror =
  24191. wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0,
  24192. false);
  24193. }
  24194. if (bcmerror == 0) {
  24195. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24196. tbl_ptr = pi->mphase_txcal_bestcoeffs;
  24197. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24198. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24199. tbl_len -= 2;
  24200. } else {
  24201. if ((!fullcal) && (pi->nphy_txiqlocal_coeffsvalid)) {
  24202. tbl_ptr = pi->nphy_txiqlocal_bestc;
  24203. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24204. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24205. tbl_len -= 2;
  24206. } else {
  24207. fullcal = true;
  24208. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24209. tbl_ptr =
  24210. tbl_tx_iqlo_cal_startcoefs_nphyrev3;
  24211. tbl_len = ARRAY_SIZE(
  24212. tbl_tx_iqlo_cal_startcoefs_nphyrev3);
  24213. } else {
  24214. tbl_ptr = tbl_tx_iqlo_cal_startcoefs;
  24215. tbl_len = ARRAY_SIZE(
  24216. tbl_tx_iqlo_cal_startcoefs);
  24217. }
  24218. }
  24219. }
  24220. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 64,
  24221. 16, tbl_ptr);
  24222. if (fullcal) {
  24223. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24224. ARRAY_SIZE(
  24225. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3) :
  24226. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_fullcal);
  24227. } else {
  24228. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24229. ARRAY_SIZE(
  24230. tbl_tx_iqlo_cal_cmds_recal_nphyrev3) :
  24231. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_recal);
  24232. }
  24233. if (mphase) {
  24234. cal_cnt = pi->mphase_txcal_cmdidx;
  24235. if ((cal_cnt + pi->mphase_txcal_numcmds) < max_cal_cmds)
  24236. num_cals = cal_cnt + pi->mphase_txcal_numcmds;
  24237. else
  24238. num_cals = max_cal_cmds;
  24239. } else {
  24240. cal_cnt = 0;
  24241. num_cals = max_cal_cmds;
  24242. }
  24243. for (; cal_cnt < num_cals; cal_cnt++) {
  24244. if (fullcal) {
  24245. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24246. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3
  24247. [cal_cnt] :
  24248. tbl_tx_iqlo_cal_cmds_fullcal[cal_cnt];
  24249. } else {
  24250. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24251. tbl_tx_iqlo_cal_cmds_recal_nphyrev3[
  24252. cal_cnt]
  24253. : tbl_tx_iqlo_cal_cmds_recal[cal_cnt];
  24254. }
  24255. core_no = ((cal_cmd & 0x3000) >> 12);
  24256. cal_type = ((cal_cmd & 0x0F00) >> 8);
  24257. if (NREV_GE(pi->pubpi.phy_rev, 6) ||
  24258. (NREV_IS(pi->pubpi.phy_rev, 5) &&
  24259. PHY_IPA(pi)
  24260. && (CHSPEC_IS2G(pi->radio_chanspec)))) {
  24261. if (!ladder_updated[core_no]) {
  24262. wlc_phy_update_txcal_ladder_nphy(
  24263. pi,
  24264. core_no);
  24265. ladder_updated[core_no] = true;
  24266. }
  24267. }
  24268. val =
  24269. (cal_params[core_no].
  24270. ncorr[cal_type] << 8) | NPHY_N_GCTL;
  24271. write_phy_reg(pi, 0xc1, val);
  24272. if ((cal_type == 1) || (cal_type == 3)
  24273. || (cal_type == 4)) {
  24274. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24275. 1, 69 + core_no, 16,
  24276. tbl_buf);
  24277. diq_start = tbl_buf[0];
  24278. tbl_buf[0] = 0;
  24279. wlc_phy_table_write_nphy(pi,
  24280. NPHY_TBL_ID_IQLOCAL, 1,
  24281. 69 + core_no, 16,
  24282. tbl_buf);
  24283. }
  24284. write_phy_reg(pi, 0xc0, cal_cmd);
  24285. SPINWAIT(((read_phy_reg(pi, 0xc0) & 0xc000) != 0),
  24286. 20000);
  24287. if (WARN(read_phy_reg(pi, 0xc0) & 0xc000,
  24288. "HW error: txiq calib"))
  24289. return -EIO;
  24290. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24291. tbl_len, 96, 16, tbl_buf);
  24292. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24293. tbl_len, 64, 16, tbl_buf);
  24294. if ((cal_type == 1) || (cal_type == 3)
  24295. || (cal_type == 4)) {
  24296. tbl_buf[0] = diq_start;
  24297. }
  24298. }
  24299. if (mphase) {
  24300. pi->mphase_txcal_cmdidx = num_cals;
  24301. if (pi->mphase_txcal_cmdidx >= max_cal_cmds)
  24302. pi->mphase_txcal_cmdidx = 0;
  24303. }
  24304. mphase_cal_lastphase =
  24305. (NREV_LE(pi->pubpi.phy_rev, 2)) ?
  24306. MPHASE_CAL_STATE_TXPHASE4 : MPHASE_CAL_STATE_TXPHASE5;
  24307. if (!mphase
  24308. || (pi->mphase_cal_phase_id == mphase_cal_lastphase)) {
  24309. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 96,
  24310. 16, tbl_buf);
  24311. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24312. 16, tbl_buf);
  24313. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24314. tbl_buf[0] = 0;
  24315. tbl_buf[1] = 0;
  24316. tbl_buf[2] = 0;
  24317. tbl_buf[3] = 0;
  24318. }
  24319. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24320. 16, tbl_buf);
  24321. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 101,
  24322. 16, tbl_buf);
  24323. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24324. 16, tbl_buf);
  24325. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24326. 16, tbl_buf);
  24327. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24328. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24329. tbl_len -= 2;
  24330. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24331. tbl_len, 96, 16,
  24332. pi->nphy_txiqlocal_bestc);
  24333. pi->nphy_txiqlocal_coeffsvalid = true;
  24334. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  24335. } else {
  24336. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24337. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24338. tbl_len -= 2;
  24339. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24340. tbl_len, 96, 16,
  24341. pi->mphase_txcal_bestcoeffs);
  24342. }
  24343. wlc_phy_stopplayback_nphy(pi);
  24344. write_phy_reg(pi, 0xc2, 0x0000);
  24345. }
  24346. wlc_phy_txcal_phycleanup_nphy(pi);
  24347. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  24348. gain_save);
  24349. wlc_phy_txcal_radio_cleanup_nphy(pi);
  24350. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24351. if (!mphase
  24352. || (pi->mphase_cal_phase_id == mphase_cal_lastphase))
  24353. wlc_phy_tx_iq_war_nphy(pi);
  24354. }
  24355. if (NREV_GE(pi->pubpi.phy_rev, 4))
  24356. pi->phyhang_avoid = phyhang_avoid_state;
  24357. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  24358. return bcmerror;
  24359. }
  24360. static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi)
  24361. {
  24362. u16 tbl_buf[7];
  24363. if ((pi->nphy_txiqlocal_chanspec == pi->radio_chanspec) &&
  24364. (pi->nphy_txiqlocal_coeffsvalid)) {
  24365. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24366. ARRAY_SIZE(tbl_buf), 80, 16, tbl_buf);
  24367. if ((pi->nphy_txiqlocal_bestc[0] != tbl_buf[0]) ||
  24368. (pi->nphy_txiqlocal_bestc[1] != tbl_buf[1]) ||
  24369. (pi->nphy_txiqlocal_bestc[2] != tbl_buf[2]) ||
  24370. (pi->nphy_txiqlocal_bestc[3] != tbl_buf[3])) {
  24371. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24372. 16, pi->nphy_txiqlocal_bestc);
  24373. tbl_buf[0] = 0;
  24374. tbl_buf[1] = 0;
  24375. tbl_buf[2] = 0;
  24376. tbl_buf[3] = 0;
  24377. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24378. 16, tbl_buf);
  24379. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24380. 16,
  24381. &pi->nphy_txiqlocal_bestc[5]);
  24382. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24383. 16,
  24384. &pi->nphy_txiqlocal_bestc[5]);
  24385. }
  24386. }
  24387. }
  24388. void
  24389. wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write,
  24390. struct nphy_iq_comp *pcomp)
  24391. {
  24392. if (write) {
  24393. write_phy_reg(pi, 0x9a, pcomp->a0);
  24394. write_phy_reg(pi, 0x9b, pcomp->b0);
  24395. write_phy_reg(pi, 0x9c, pcomp->a1);
  24396. write_phy_reg(pi, 0x9d, pcomp->b1);
  24397. } else {
  24398. pcomp->a0 = read_phy_reg(pi, 0x9a);
  24399. pcomp->b0 = read_phy_reg(pi, 0x9b);
  24400. pcomp->a1 = read_phy_reg(pi, 0x9c);
  24401. pcomp->b1 = read_phy_reg(pi, 0x9d);
  24402. }
  24403. }
  24404. void
  24405. wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
  24406. u16 num_samps, u8 wait_time, u8 wait_for_crs)
  24407. {
  24408. u8 core;
  24409. write_phy_reg(pi, 0x12b, num_samps);
  24410. mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0));
  24411. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqMode,
  24412. (wait_for_crs) ? NPHY_IqestCmd_iqMode : 0);
  24413. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqstart, NPHY_IqestCmd_iqstart);
  24414. SPINWAIT(((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) != 0),
  24415. 10000);
  24416. if (WARN(read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart,
  24417. "HW error: rxiq est"))
  24418. return;
  24419. if ((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) == 0) {
  24420. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  24421. est[core].i_pwr =
  24422. (read_phy_reg(pi,
  24423. NPHY_IqestipwrAccHi(core)) << 16)
  24424. | read_phy_reg(pi, NPHY_IqestipwrAccLo(core));
  24425. est[core].q_pwr =
  24426. (read_phy_reg(pi,
  24427. NPHY_IqestqpwrAccHi(core)) << 16)
  24428. | read_phy_reg(pi, NPHY_IqestqpwrAccLo(core));
  24429. est[core].iq_prod =
  24430. (read_phy_reg(pi,
  24431. NPHY_IqestIqAccHi(core)) << 16) |
  24432. read_phy_reg(pi, NPHY_IqestIqAccLo(core));
  24433. }
  24434. }
  24435. }
  24436. #define CAL_RETRY_CNT 2
  24437. static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask)
  24438. {
  24439. u8 curr_core;
  24440. struct phy_iq_est est[PHY_CORE_MAX];
  24441. struct nphy_iq_comp old_comp, new_comp;
  24442. s32 iq = 0;
  24443. u32 ii = 0, qq = 0;
  24444. s16 iq_nbits, qq_nbits, brsh, arsh;
  24445. s32 a, b, temp;
  24446. int bcmerror = 0;
  24447. uint cal_retry = 0;
  24448. if (core_mask == 0x0)
  24449. return;
  24450. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &old_comp);
  24451. new_comp.a0 = new_comp.b0 = new_comp.a1 = new_comp.b1 = 0x0;
  24452. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24453. cal_try:
  24454. wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0);
  24455. new_comp = old_comp;
  24456. for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) {
  24457. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24458. iq = est[curr_core].iq_prod;
  24459. ii = est[curr_core].i_pwr;
  24460. qq = est[curr_core].q_pwr;
  24461. } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24462. iq = est[curr_core].iq_prod;
  24463. ii = est[curr_core].i_pwr;
  24464. qq = est[curr_core].q_pwr;
  24465. } else {
  24466. continue;
  24467. }
  24468. if ((ii + qq) < NPHY_MIN_RXIQ_PWR) {
  24469. bcmerror = -EBADE;
  24470. break;
  24471. }
  24472. iq_nbits = wlc_phy_nbits(iq);
  24473. qq_nbits = wlc_phy_nbits(qq);
  24474. arsh = 10 - (30 - iq_nbits);
  24475. if (arsh >= 0) {
  24476. a = (-(iq << (30 - iq_nbits)) + (ii >> (1 + arsh)));
  24477. temp = (s32) (ii >> arsh);
  24478. if (temp == 0) {
  24479. bcmerror = -EBADE;
  24480. break;
  24481. }
  24482. } else {
  24483. a = (-(iq << (30 - iq_nbits)) + (ii << (-1 - arsh)));
  24484. temp = (s32) (ii << -arsh);
  24485. if (temp == 0) {
  24486. bcmerror = -EBADE;
  24487. break;
  24488. }
  24489. }
  24490. a /= temp;
  24491. brsh = qq_nbits - 31 + 20;
  24492. if (brsh >= 0) {
  24493. b = (qq << (31 - qq_nbits));
  24494. temp = (s32) (ii >> brsh);
  24495. if (temp == 0) {
  24496. bcmerror = -EBADE;
  24497. break;
  24498. }
  24499. } else {
  24500. b = (qq << (31 - qq_nbits));
  24501. temp = (s32) (ii << -brsh);
  24502. if (temp == 0) {
  24503. bcmerror = -EBADE;
  24504. break;
  24505. }
  24506. }
  24507. b /= temp;
  24508. b -= a * a;
  24509. b = (s32) int_sqrt((unsigned long) b);
  24510. b -= (1 << 10);
  24511. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24512. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24513. new_comp.a0 = (s16) a & 0x3ff;
  24514. new_comp.b0 = (s16) b & 0x3ff;
  24515. } else {
  24516. new_comp.a0 = (s16) b & 0x3ff;
  24517. new_comp.b0 = (s16) a & 0x3ff;
  24518. }
  24519. }
  24520. if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24521. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24522. new_comp.a1 = (s16) a & 0x3ff;
  24523. new_comp.b1 = (s16) b & 0x3ff;
  24524. } else {
  24525. new_comp.a1 = (s16) b & 0x3ff;
  24526. new_comp.b1 = (s16) a & 0x3ff;
  24527. }
  24528. }
  24529. }
  24530. if (bcmerror != 0) {
  24531. printk(KERN_DEBUG "%s: Failed, cnt = %d\n", __func__,
  24532. cal_retry);
  24533. if (cal_retry < CAL_RETRY_CNT) {
  24534. cal_retry++;
  24535. goto cal_try;
  24536. }
  24537. new_comp = old_comp;
  24538. }
  24539. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24540. }
  24541. static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core)
  24542. {
  24543. u16 offtune_val;
  24544. u16 bias_g = 0;
  24545. u16 bias_a = 0;
  24546. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24547. if (rx_core == PHY_CORE_0) {
  24548. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24549. pi->tx_rx_cal_radio_saveregs[0] =
  24550. read_radio_reg(pi,
  24551. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP);
  24552. pi->tx_rx_cal_radio_saveregs[1] =
  24553. read_radio_reg(pi,
  24554. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN);
  24555. write_radio_reg(pi,
  24556. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24557. 0x3);
  24558. write_radio_reg(pi,
  24559. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24560. 0xaf);
  24561. } else {
  24562. pi->tx_rx_cal_radio_saveregs[0] =
  24563. read_radio_reg(pi,
  24564. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP);
  24565. pi->tx_rx_cal_radio_saveregs[1] =
  24566. read_radio_reg(pi,
  24567. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN);
  24568. write_radio_reg(
  24569. pi,
  24570. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24571. 0x3);
  24572. write_radio_reg(
  24573. pi,
  24574. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24575. 0x7f);
  24576. }
  24577. } else {
  24578. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24579. pi->tx_rx_cal_radio_saveregs[0] =
  24580. read_radio_reg(pi,
  24581. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP);
  24582. pi->tx_rx_cal_radio_saveregs[1] =
  24583. read_radio_reg(pi,
  24584. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN);
  24585. write_radio_reg(
  24586. pi,
  24587. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24588. 0x3);
  24589. write_radio_reg(
  24590. pi,
  24591. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24592. 0xaf);
  24593. } else {
  24594. pi->tx_rx_cal_radio_saveregs[0] =
  24595. read_radio_reg(pi,
  24596. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP);
  24597. pi->tx_rx_cal_radio_saveregs[1] =
  24598. read_radio_reg(pi,
  24599. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN);
  24600. write_radio_reg(pi,
  24601. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24602. 0x3);
  24603. write_radio_reg(pi,
  24604. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24605. 0x7f);
  24606. }
  24607. }
  24608. } else {
  24609. if (rx_core == PHY_CORE_0) {
  24610. pi->tx_rx_cal_radio_saveregs[0] =
  24611. read_radio_reg(pi,
  24612. RADIO_2056_TX_RXIQCAL_TXMUX |
  24613. RADIO_2056_TX1);
  24614. pi->tx_rx_cal_radio_saveregs[1] =
  24615. read_radio_reg(pi,
  24616. RADIO_2056_RX_RXIQCAL_RXMUX |
  24617. RADIO_2056_RX0);
  24618. if (pi->pubpi.radiorev >= 5) {
  24619. pi->tx_rx_cal_radio_saveregs[2] =
  24620. read_radio_reg(pi,
  24621. RADIO_2056_RX_RXSPARE2 |
  24622. RADIO_2056_RX0);
  24623. pi->tx_rx_cal_radio_saveregs[3] =
  24624. read_radio_reg(pi,
  24625. RADIO_2056_TX_TXSPARE2 |
  24626. RADIO_2056_TX1);
  24627. }
  24628. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24629. if (pi->pubpi.radiorev >= 5) {
  24630. pi->tx_rx_cal_radio_saveregs[4] =
  24631. read_radio_reg(pi,
  24632. RADIO_2056_RX_LNAA_MASTER
  24633. | RADIO_2056_RX0);
  24634. write_radio_reg(
  24635. pi,
  24636. RADIO_2056_RX_LNAA_MASTER
  24637. | RADIO_2056_RX0, 0x40);
  24638. write_radio_reg(pi,
  24639. RADIO_2056_TX_TXSPARE2 |
  24640. RADIO_2056_TX1, bias_a);
  24641. write_radio_reg(pi,
  24642. RADIO_2056_RX_RXSPARE2 |
  24643. RADIO_2056_RX0, bias_a);
  24644. } else {
  24645. pi->tx_rx_cal_radio_saveregs[4] =
  24646. read_radio_reg(pi,
  24647. RADIO_2056_RX_LNAA_TUNE
  24648. | RADIO_2056_RX0);
  24649. offtune_val =
  24650. (pi->tx_rx_cal_radio_saveregs
  24651. [2] & 0xF0) >> 8;
  24652. offtune_val =
  24653. (offtune_val <= 0x7) ? 0xF : 0;
  24654. mod_radio_reg(pi,
  24655. RADIO_2056_RX_LNAA_TUNE |
  24656. RADIO_2056_RX0, 0xF0,
  24657. (offtune_val << 8));
  24658. }
  24659. write_radio_reg(pi,
  24660. RADIO_2056_TX_RXIQCAL_TXMUX |
  24661. RADIO_2056_TX1, 0x9);
  24662. write_radio_reg(pi,
  24663. RADIO_2056_RX_RXIQCAL_RXMUX |
  24664. RADIO_2056_RX0, 0x9);
  24665. } else {
  24666. if (pi->pubpi.radiorev >= 5) {
  24667. pi->tx_rx_cal_radio_saveregs[4] =
  24668. read_radio_reg(
  24669. pi,
  24670. RADIO_2056_RX_LNAG_MASTER
  24671. | RADIO_2056_RX0);
  24672. write_radio_reg(
  24673. pi,
  24674. RADIO_2056_RX_LNAG_MASTER
  24675. | RADIO_2056_RX0, 0x40);
  24676. write_radio_reg(
  24677. pi,
  24678. RADIO_2056_TX_TXSPARE2
  24679. |
  24680. RADIO_2056_TX1, bias_g);
  24681. write_radio_reg(
  24682. pi,
  24683. RADIO_2056_RX_RXSPARE2
  24684. |
  24685. RADIO_2056_RX0, bias_g);
  24686. } else {
  24687. pi->tx_rx_cal_radio_saveregs[4] =
  24688. read_radio_reg(
  24689. pi,
  24690. RADIO_2056_RX_LNAG_TUNE
  24691. | RADIO_2056_RX0);
  24692. offtune_val =
  24693. (pi->
  24694. tx_rx_cal_radio_saveregs[2] &
  24695. 0xF0) >> 8;
  24696. offtune_val =
  24697. (offtune_val <= 0x7) ? 0xF : 0;
  24698. mod_radio_reg(pi,
  24699. RADIO_2056_RX_LNAG_TUNE |
  24700. RADIO_2056_RX0, 0xF0,
  24701. (offtune_val << 8));
  24702. }
  24703. write_radio_reg(pi,
  24704. RADIO_2056_TX_RXIQCAL_TXMUX |
  24705. RADIO_2056_TX1, 0x6);
  24706. write_radio_reg(pi,
  24707. RADIO_2056_RX_RXIQCAL_RXMUX |
  24708. RADIO_2056_RX0, 0x6);
  24709. }
  24710. } else {
  24711. pi->tx_rx_cal_radio_saveregs[0] =
  24712. read_radio_reg(pi,
  24713. RADIO_2056_TX_RXIQCAL_TXMUX |
  24714. RADIO_2056_TX0);
  24715. pi->tx_rx_cal_radio_saveregs[1] =
  24716. read_radio_reg(pi,
  24717. RADIO_2056_RX_RXIQCAL_RXMUX |
  24718. RADIO_2056_RX1);
  24719. if (pi->pubpi.radiorev >= 5) {
  24720. pi->tx_rx_cal_radio_saveregs[2] =
  24721. read_radio_reg(pi,
  24722. RADIO_2056_RX_RXSPARE2 |
  24723. RADIO_2056_RX1);
  24724. pi->tx_rx_cal_radio_saveregs[3] =
  24725. read_radio_reg(pi,
  24726. RADIO_2056_TX_TXSPARE2 |
  24727. RADIO_2056_TX0);
  24728. }
  24729. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24730. if (pi->pubpi.radiorev >= 5) {
  24731. pi->tx_rx_cal_radio_saveregs[4] =
  24732. read_radio_reg(
  24733. pi,
  24734. RADIO_2056_RX_LNAA_MASTER
  24735. | RADIO_2056_RX1);
  24736. write_radio_reg(
  24737. pi,
  24738. RADIO_2056_RX_LNAA_MASTER |
  24739. RADIO_2056_RX1, 0x40);
  24740. write_radio_reg(
  24741. pi,
  24742. RADIO_2056_TX_TXSPARE2
  24743. |
  24744. RADIO_2056_TX0, bias_a);
  24745. write_radio_reg(
  24746. pi,
  24747. RADIO_2056_RX_RXSPARE2
  24748. |
  24749. RADIO_2056_RX1, bias_a);
  24750. } else {
  24751. pi->tx_rx_cal_radio_saveregs[4] =
  24752. read_radio_reg(
  24753. pi,
  24754. RADIO_2056_RX_LNAA_TUNE
  24755. | RADIO_2056_RX1);
  24756. offtune_val =
  24757. (pi->
  24758. tx_rx_cal_radio_saveregs[2] &
  24759. 0xF0) >> 8;
  24760. offtune_val =
  24761. (offtune_val <= 0x7) ? 0xF : 0;
  24762. mod_radio_reg(pi,
  24763. RADIO_2056_RX_LNAA_TUNE |
  24764. RADIO_2056_RX1, 0xF0,
  24765. (offtune_val << 8));
  24766. }
  24767. write_radio_reg(pi,
  24768. RADIO_2056_TX_RXIQCAL_TXMUX |
  24769. RADIO_2056_TX0, 0x9);
  24770. write_radio_reg(pi,
  24771. RADIO_2056_RX_RXIQCAL_RXMUX |
  24772. RADIO_2056_RX1, 0x9);
  24773. } else {
  24774. if (pi->pubpi.radiorev >= 5) {
  24775. pi->tx_rx_cal_radio_saveregs[4] =
  24776. read_radio_reg(
  24777. pi,
  24778. RADIO_2056_RX_LNAG_MASTER
  24779. | RADIO_2056_RX1);
  24780. write_radio_reg(
  24781. pi,
  24782. RADIO_2056_RX_LNAG_MASTER
  24783. | RADIO_2056_RX1, 0x40);
  24784. write_radio_reg(
  24785. pi,
  24786. RADIO_2056_TX_TXSPARE2
  24787. |
  24788. RADIO_2056_TX0, bias_g);
  24789. write_radio_reg(
  24790. pi,
  24791. RADIO_2056_RX_RXSPARE2
  24792. |
  24793. RADIO_2056_RX1, bias_g);
  24794. } else {
  24795. pi->tx_rx_cal_radio_saveregs[4] =
  24796. read_radio_reg(
  24797. pi,
  24798. RADIO_2056_RX_LNAG_TUNE
  24799. | RADIO_2056_RX1);
  24800. offtune_val =
  24801. (pi->
  24802. tx_rx_cal_radio_saveregs[2] &
  24803. 0xF0) >> 8;
  24804. offtune_val =
  24805. (offtune_val <= 0x7) ? 0xF : 0;
  24806. mod_radio_reg(pi,
  24807. RADIO_2056_RX_LNAG_TUNE |
  24808. RADIO_2056_RX1, 0xF0,
  24809. (offtune_val << 8));
  24810. }
  24811. write_radio_reg(pi,
  24812. RADIO_2056_TX_RXIQCAL_TXMUX |
  24813. RADIO_2056_TX0, 0x6);
  24814. write_radio_reg(pi,
  24815. RADIO_2056_RX_RXIQCAL_RXMUX |
  24816. RADIO_2056_RX1, 0x6);
  24817. }
  24818. }
  24819. }
  24820. }
  24821. static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24822. {
  24823. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24824. if (rx_core == PHY_CORE_0) {
  24825. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24826. write_radio_reg(
  24827. pi,
  24828. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24829. pi->
  24830. tx_rx_cal_radio_saveregs[0]);
  24831. write_radio_reg(
  24832. pi,
  24833. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24834. pi->
  24835. tx_rx_cal_radio_saveregs[1]);
  24836. } else {
  24837. write_radio_reg(
  24838. pi,
  24839. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24840. pi->
  24841. tx_rx_cal_radio_saveregs[0]);
  24842. write_radio_reg(
  24843. pi,
  24844. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24845. pi->
  24846. tx_rx_cal_radio_saveregs[1]);
  24847. }
  24848. } else {
  24849. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24850. write_radio_reg(
  24851. pi,
  24852. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24853. pi->
  24854. tx_rx_cal_radio_saveregs[0]);
  24855. write_radio_reg(
  24856. pi,
  24857. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24858. pi->
  24859. tx_rx_cal_radio_saveregs[1]);
  24860. } else {
  24861. write_radio_reg(
  24862. pi,
  24863. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24864. pi->
  24865. tx_rx_cal_radio_saveregs[0]);
  24866. write_radio_reg(
  24867. pi,
  24868. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24869. pi->
  24870. tx_rx_cal_radio_saveregs[1]);
  24871. }
  24872. }
  24873. } else {
  24874. if (rx_core == PHY_CORE_0) {
  24875. write_radio_reg(pi,
  24876. RADIO_2056_TX_RXIQCAL_TXMUX |
  24877. RADIO_2056_TX1,
  24878. pi->tx_rx_cal_radio_saveregs[0]);
  24879. write_radio_reg(pi,
  24880. RADIO_2056_RX_RXIQCAL_RXMUX |
  24881. RADIO_2056_RX0,
  24882. pi->tx_rx_cal_radio_saveregs[1]);
  24883. if (pi->pubpi.radiorev >= 5) {
  24884. write_radio_reg(pi,
  24885. RADIO_2056_RX_RXSPARE2 |
  24886. RADIO_2056_RX0,
  24887. pi->
  24888. tx_rx_cal_radio_saveregs[2]);
  24889. write_radio_reg(pi,
  24890. RADIO_2056_TX_TXSPARE2 |
  24891. RADIO_2056_TX1,
  24892. pi->
  24893. tx_rx_cal_radio_saveregs[3]);
  24894. }
  24895. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24896. if (pi->pubpi.radiorev >= 5)
  24897. write_radio_reg(
  24898. pi,
  24899. RADIO_2056_RX_LNAA_MASTER
  24900. | RADIO_2056_RX0,
  24901. pi->
  24902. tx_rx_cal_radio_saveregs
  24903. [4]);
  24904. else
  24905. write_radio_reg(
  24906. pi,
  24907. RADIO_2056_RX_LNAA_TUNE
  24908. | RADIO_2056_RX0,
  24909. pi->
  24910. tx_rx_cal_radio_saveregs
  24911. [4]);
  24912. } else {
  24913. if (pi->pubpi.radiorev >= 5)
  24914. write_radio_reg(
  24915. pi,
  24916. RADIO_2056_RX_LNAG_MASTER
  24917. | RADIO_2056_RX0,
  24918. pi->
  24919. tx_rx_cal_radio_saveregs
  24920. [4]);
  24921. else
  24922. write_radio_reg(
  24923. pi,
  24924. RADIO_2056_RX_LNAG_TUNE
  24925. | RADIO_2056_RX0,
  24926. pi->
  24927. tx_rx_cal_radio_saveregs
  24928. [4]);
  24929. }
  24930. } else {
  24931. write_radio_reg(pi,
  24932. RADIO_2056_TX_RXIQCAL_TXMUX |
  24933. RADIO_2056_TX0,
  24934. pi->tx_rx_cal_radio_saveregs[0]);
  24935. write_radio_reg(pi,
  24936. RADIO_2056_RX_RXIQCAL_RXMUX |
  24937. RADIO_2056_RX1,
  24938. pi->tx_rx_cal_radio_saveregs[1]);
  24939. if (pi->pubpi.radiorev >= 5) {
  24940. write_radio_reg(pi,
  24941. RADIO_2056_RX_RXSPARE2 |
  24942. RADIO_2056_RX1,
  24943. pi->
  24944. tx_rx_cal_radio_saveregs[2]);
  24945. write_radio_reg(pi,
  24946. RADIO_2056_TX_TXSPARE2 |
  24947. RADIO_2056_TX0,
  24948. pi->
  24949. tx_rx_cal_radio_saveregs[3]);
  24950. }
  24951. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24952. if (pi->pubpi.radiorev >= 5)
  24953. write_radio_reg(
  24954. pi,
  24955. RADIO_2056_RX_LNAA_MASTER
  24956. | RADIO_2056_RX1,
  24957. pi->
  24958. tx_rx_cal_radio_saveregs
  24959. [4]);
  24960. else
  24961. write_radio_reg(
  24962. pi,
  24963. RADIO_2056_RX_LNAA_TUNE
  24964. | RADIO_2056_RX1,
  24965. pi->
  24966. tx_rx_cal_radio_saveregs
  24967. [4]);
  24968. } else {
  24969. if (pi->pubpi.radiorev >= 5)
  24970. write_radio_reg(
  24971. pi,
  24972. RADIO_2056_RX_LNAG_MASTER
  24973. | RADIO_2056_RX1,
  24974. pi->
  24975. tx_rx_cal_radio_saveregs
  24976. [4]);
  24977. else
  24978. write_radio_reg(
  24979. pi,
  24980. RADIO_2056_RX_LNAG_TUNE
  24981. | RADIO_2056_RX1,
  24982. pi->
  24983. tx_rx_cal_radio_saveregs
  24984. [4]);
  24985. }
  24986. }
  24987. }
  24988. }
  24989. static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core)
  24990. {
  24991. u8 tx_core;
  24992. u16 rx_antval, tx_antval;
  24993. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24994. tx_core = rx_core;
  24995. else
  24996. tx_core = (rx_core == PHY_CORE_0) ? 1 : 0;
  24997. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa2);
  24998. pi->tx_rx_cal_phy_saveregs[1] =
  24999. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7);
  25000. pi->tx_rx_cal_phy_saveregs[2] =
  25001. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5);
  25002. pi->tx_rx_cal_phy_saveregs[3] = read_phy_reg(pi, 0x91);
  25003. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x92);
  25004. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x7a);
  25005. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x7d);
  25006. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0xe7);
  25007. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0xec);
  25008. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25009. pi->tx_rx_cal_phy_saveregs[11] = read_phy_reg(pi, 0x342);
  25010. pi->tx_rx_cal_phy_saveregs[12] = read_phy_reg(pi, 0x343);
  25011. pi->tx_rx_cal_phy_saveregs[13] = read_phy_reg(pi, 0x346);
  25012. pi->tx_rx_cal_phy_saveregs[14] = read_phy_reg(pi, 0x347);
  25013. }
  25014. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  25015. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  25016. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  25017. 0x29b, (0x1 << 0), (0) << 0);
  25018. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  25019. 0x29b, (0x1 << 0), (0) << 0);
  25020. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25021. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25022. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << (1 - rx_core)) << 12);
  25023. } else {
  25024. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25025. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25026. mod_phy_reg(pi, 0xa2, (0xf << 4), (1 << rx_core) << 4);
  25027. mod_phy_reg(pi, 0xa2, (0xf << 8), (1 << rx_core) << 8);
  25028. }
  25029. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7), (0x1 << 2), 0);
  25030. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  25031. (0x1 << 2), (0x1 << 2));
  25032. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25033. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25034. (0x1 << 0) | (0x1 << 1), 0);
  25035. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25036. 0x8f : 0xa5,
  25037. (0x1 << 0) | (0x1 << 1), (0x1 << 0) | (0x1 << 1));
  25038. }
  25039. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 0,
  25040. RADIO_MIMO_CORESEL_CORE1 |
  25041. RADIO_MIMO_CORESEL_CORE2);
  25042. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25043. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  25044. 0, 0, 0,
  25045. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  25046. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 0, 0, 0,
  25047. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25048. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 1, 0, 0,
  25049. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25050. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 1, 0, 0,
  25051. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25052. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0, 0,
  25053. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  25054. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0, 0,
  25055. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25056. if (CHSPEC_IS40(pi->radio_chanspec))
  25057. wlc_phy_rfctrl_override_nphy_rev7(
  25058. pi,
  25059. (0x1 << 7),
  25060. 2, 0, 0,
  25061. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25062. else
  25063. wlc_phy_rfctrl_override_nphy_rev7(
  25064. pi,
  25065. (0x1 << 7),
  25066. 0, 0, 0,
  25067. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25068. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  25069. 0, 0, 0,
  25070. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25071. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0, 0,
  25072. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25073. } else {
  25074. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 3, 0);
  25075. }
  25076. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  25077. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25078. wlc_phy_rfctrlintc_override_nphy(pi,
  25079. NPHY_RfctrlIntc_override_TRSW,
  25080. 0x1, rx_core + 1);
  25081. } else {
  25082. if (rx_core == PHY_CORE_0) {
  25083. rx_antval = 0x1;
  25084. tx_antval = 0x8;
  25085. } else {
  25086. rx_antval = 0x4;
  25087. tx_antval = 0x2;
  25088. }
  25089. wlc_phy_rfctrlintc_override_nphy(pi,
  25090. NPHY_RfctrlIntc_override_TRSW,
  25091. rx_antval, rx_core + 1);
  25092. wlc_phy_rfctrlintc_override_nphy(pi,
  25093. NPHY_RfctrlIntc_override_TRSW,
  25094. tx_antval, tx_core + 1);
  25095. }
  25096. }
  25097. static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  25098. {
  25099. write_phy_reg(pi, 0xa2, pi->tx_rx_cal_phy_saveregs[0]);
  25100. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7,
  25101. pi->tx_rx_cal_phy_saveregs[1]);
  25102. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  25103. pi->tx_rx_cal_phy_saveregs[2]);
  25104. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[3]);
  25105. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[4]);
  25106. write_phy_reg(pi, 0x7a, pi->tx_rx_cal_phy_saveregs[5]);
  25107. write_phy_reg(pi, 0x7d, pi->tx_rx_cal_phy_saveregs[6]);
  25108. write_phy_reg(pi, 0xe7, pi->tx_rx_cal_phy_saveregs[7]);
  25109. write_phy_reg(pi, 0xec, pi->tx_rx_cal_phy_saveregs[8]);
  25110. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25111. write_phy_reg(pi, 0x342, pi->tx_rx_cal_phy_saveregs[11]);
  25112. write_phy_reg(pi, 0x343, pi->tx_rx_cal_phy_saveregs[12]);
  25113. write_phy_reg(pi, 0x346, pi->tx_rx_cal_phy_saveregs[13]);
  25114. write_phy_reg(pi, 0x347, pi->tx_rx_cal_phy_saveregs[14]);
  25115. }
  25116. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  25117. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  25118. }
  25119. static void
  25120. wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
  25121. u16 *rxgain, u8 cal_type)
  25122. {
  25123. u16 num_samps;
  25124. struct phy_iq_est est[PHY_CORE_MAX];
  25125. u8 tx_core;
  25126. struct nphy_iq_comp save_comp, zero_comp;
  25127. u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0,
  25128. thresh_pwr = 10000;
  25129. s16 desired_log2_pwr, actual_log2_pwr, delta_pwr;
  25130. bool gainctrl_done = false;
  25131. u8 mix_tia_gain = 3;
  25132. s8 optim_gaintbl_index = 0, prev_gaintbl_index = 0;
  25133. s8 curr_gaintbl_index = 3;
  25134. u8 gainctrl_dirn = NPHY_RXCAL_GAIN_INIT;
  25135. const struct nphy_ipa_txrxgain *nphy_rxcal_gaintbl;
  25136. u16 hpvga, lpf_biq1, lpf_biq0, lna2, lna1;
  25137. int fine_gain_idx;
  25138. s8 txpwrindex;
  25139. u16 nphy_rxcal_txgain[2];
  25140. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25141. tx_core = rx_core;
  25142. else
  25143. tx_core = 1 - rx_core;
  25144. num_samps = 1024;
  25145. desired_log2_pwr = (cal_type == 0) ? 13 : 13;
  25146. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
  25147. zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;
  25148. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &zero_comp);
  25149. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25150. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25151. mix_tia_gain = 3;
  25152. else if (NREV_GE(pi->pubpi.phy_rev, 4))
  25153. mix_tia_gain = 4;
  25154. else
  25155. mix_tia_gain = 6;
  25156. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25157. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz_rev7;
  25158. else
  25159. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz;
  25160. } else {
  25161. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25162. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz_rev7;
  25163. else
  25164. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz;
  25165. }
  25166. do {
  25167. hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ?
  25168. 0 : nphy_rxcal_gaintbl[curr_gaintbl_index].hpvga;
  25169. lpf_biq1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq1;
  25170. lpf_biq0 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq0;
  25171. lna2 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna2;
  25172. lna1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna1;
  25173. txpwrindex = nphy_rxcal_gaintbl[curr_gaintbl_index].txpwrindex;
  25174. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25175. wlc_phy_rfctrl_override_1tomany_nphy(
  25176. pi,
  25177. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25178. ((lpf_biq1 << 12) |
  25179. (lpf_biq0 << 8) |
  25180. (mix_tia_gain << 4) | (lna2 << 2)
  25181. | lna1), 0x3, 0);
  25182. else
  25183. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25184. ((hpvga << 12) |
  25185. (lpf_biq1 << 10) |
  25186. (lpf_biq0 << 8) |
  25187. (mix_tia_gain << 4) |
  25188. (lna2 << 2) | lna1), 0x3,
  25189. 0);
  25190. pi->nphy_rxcal_pwr_idx[tx_core] = txpwrindex;
  25191. if (txpwrindex == -1) {
  25192. nphy_rxcal_txgain[0] = 0x8ff0 | pi->nphy_gmval;
  25193. nphy_rxcal_txgain[1] = 0x8ff0 | pi->nphy_gmval;
  25194. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  25195. 2, 0x110, 16,
  25196. nphy_rxcal_txgain);
  25197. } else {
  25198. wlc_phy_txpwr_index_nphy(pi, tx_core + 1, txpwrindex,
  25199. false);
  25200. }
  25201. wlc_phy_tx_tone_nphy(pi, (CHSPEC_IS40(pi->radio_chanspec)) ?
  25202. NPHY_RXCAL_TONEFREQ_40MHz :
  25203. NPHY_RXCAL_TONEFREQ_20MHz,
  25204. NPHY_RXCAL_TONEAMP, 0, cal_type, false);
  25205. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25206. i_pwr = (est[rx_core].i_pwr + num_samps / 2) / num_samps;
  25207. q_pwr = (est[rx_core].q_pwr + num_samps / 2) / num_samps;
  25208. curr_pwr = i_pwr + q_pwr;
  25209. switch (gainctrl_dirn) {
  25210. case NPHY_RXCAL_GAIN_INIT:
  25211. if (curr_pwr > thresh_pwr) {
  25212. gainctrl_dirn = NPHY_RXCAL_GAIN_DOWN;
  25213. prev_gaintbl_index = curr_gaintbl_index;
  25214. curr_gaintbl_index--;
  25215. } else {
  25216. gainctrl_dirn = NPHY_RXCAL_GAIN_UP;
  25217. prev_gaintbl_index = curr_gaintbl_index;
  25218. curr_gaintbl_index++;
  25219. }
  25220. break;
  25221. case NPHY_RXCAL_GAIN_UP:
  25222. if (curr_pwr > thresh_pwr) {
  25223. gainctrl_done = true;
  25224. optim_pwr = prev_pwr;
  25225. optim_gaintbl_index = prev_gaintbl_index;
  25226. } else {
  25227. prev_gaintbl_index = curr_gaintbl_index;
  25228. curr_gaintbl_index++;
  25229. }
  25230. break;
  25231. case NPHY_RXCAL_GAIN_DOWN:
  25232. if (curr_pwr > thresh_pwr) {
  25233. prev_gaintbl_index = curr_gaintbl_index;
  25234. curr_gaintbl_index--;
  25235. } else {
  25236. gainctrl_done = true;
  25237. optim_pwr = curr_pwr;
  25238. optim_gaintbl_index = curr_gaintbl_index;
  25239. }
  25240. break;
  25241. default:
  25242. break;
  25243. }
  25244. if ((curr_gaintbl_index < 0) ||
  25245. (curr_gaintbl_index > NPHY_IPA_RXCAL_MAXGAININDEX)) {
  25246. gainctrl_done = true;
  25247. optim_pwr = curr_pwr;
  25248. optim_gaintbl_index = prev_gaintbl_index;
  25249. } else {
  25250. prev_pwr = curr_pwr;
  25251. }
  25252. wlc_phy_stopplayback_nphy(pi);
  25253. } while (!gainctrl_done);
  25254. hpvga = nphy_rxcal_gaintbl[optim_gaintbl_index].hpvga;
  25255. lpf_biq1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq1;
  25256. lpf_biq0 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq0;
  25257. lna2 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna2;
  25258. lna1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna1;
  25259. txpwrindex = nphy_rxcal_gaintbl[optim_gaintbl_index].txpwrindex;
  25260. actual_log2_pwr = wlc_phy_nbits(optim_pwr);
  25261. delta_pwr = desired_log2_pwr - actual_log2_pwr;
  25262. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25263. fine_gain_idx = (int)lpf_biq1 + delta_pwr;
  25264. if (fine_gain_idx + (int)lpf_biq0 > 10)
  25265. lpf_biq1 = 10 - lpf_biq0;
  25266. else
  25267. lpf_biq1 = (u16) max(fine_gain_idx, 0);
  25268. wlc_phy_rfctrl_override_1tomany_nphy(
  25269. pi,
  25270. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25271. ((lpf_biq1 << 12) |
  25272. (lpf_biq0 << 8) |
  25273. (mix_tia_gain << 4) |
  25274. (lna2 << 2) | lna1), 0x3,
  25275. 0);
  25276. } else {
  25277. hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
  25278. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25279. ((hpvga << 12) |
  25280. (lpf_biq1 << 10) |
  25281. (lpf_biq0 << 8) |
  25282. (mix_tia_gain << 4) |
  25283. (lna2 << 2) |
  25284. lna1), 0x3, 0);
  25285. }
  25286. if (rxgain != NULL) {
  25287. *rxgain++ = lna1;
  25288. *rxgain++ = lna2;
  25289. *rxgain++ = mix_tia_gain;
  25290. *rxgain++ = lpf_biq0;
  25291. *rxgain++ = lpf_biq1;
  25292. *rxgain = hpvga;
  25293. }
  25294. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &save_comp);
  25295. }
  25296. static void
  25297. wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain,
  25298. u8 cal_type)
  25299. {
  25300. wlc_phy_rxcal_gainctrl_nphy_rev5(pi, rx_core, rxgain, cal_type);
  25301. }
  25302. static u8
  25303. wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type)
  25304. {
  25305. u32 target_bws[2] = { 9500, 21000 };
  25306. u32 ref_tones[2] = { 3000, 6000 };
  25307. u32 target_bw, ref_tone;
  25308. u32 target_pwr_ratios[2] = { 28606, 18468 };
  25309. u32 target_pwr_ratio, pwr_ratio, last_pwr_ratio = 0;
  25310. u16 start_rccal_ovr_val = 128;
  25311. u16 txlpf_rccal_lpc_ovr_val = 128;
  25312. u16 rxlpf_rccal_hpc_ovr_val = 159;
  25313. u16 orig_txlpf_rccal_lpc_ovr_val;
  25314. u16 orig_rxlpf_rccal_hpc_ovr_val;
  25315. u16 radio_addr_offset_rx;
  25316. u16 radio_addr_offset_tx;
  25317. u16 orig_dcBypass;
  25318. u16 orig_RxStrnFilt40Num[6];
  25319. u16 orig_RxStrnFilt40Den[4];
  25320. u16 orig_rfctrloverride[2];
  25321. u16 orig_rfctrlauxreg[2];
  25322. u16 orig_rfctrlrssiothers;
  25323. u16 tx_lpf_bw = 4;
  25324. u16 rx_lpf_bw, rx_lpf_bws[2] = { 2, 4 };
  25325. u16 lpf_hpc = 7, hpvga_hpc = 7;
  25326. s8 rccal_stepsize;
  25327. u16 rccal_val, last_rccal_val = 0, best_rccal_val = 0;
  25328. u32 ref_iq_vals = 0, target_iq_vals = 0;
  25329. u16 num_samps, log_num_samps = 10;
  25330. struct phy_iq_est est[PHY_CORE_MAX];
  25331. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25332. return 0;
  25333. num_samps = (1 << log_num_samps);
  25334. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25335. target_bw = target_bws[1];
  25336. target_pwr_ratio = target_pwr_ratios[1];
  25337. ref_tone = ref_tones[1];
  25338. rx_lpf_bw = rx_lpf_bws[1];
  25339. } else {
  25340. target_bw = target_bws[0];
  25341. target_pwr_ratio = target_pwr_ratios[0];
  25342. ref_tone = ref_tones[0];
  25343. rx_lpf_bw = rx_lpf_bws[0];
  25344. }
  25345. if (core_idx == 0) {
  25346. radio_addr_offset_rx = RADIO_2056_RX0;
  25347. radio_addr_offset_tx =
  25348. (loopback_type == 0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  25349. } else {
  25350. radio_addr_offset_rx = RADIO_2056_RX1;
  25351. radio_addr_offset_tx =
  25352. (loopback_type == 0) ? RADIO_2056_TX1 : RADIO_2056_TX0;
  25353. }
  25354. orig_txlpf_rccal_lpc_ovr_val =
  25355. read_radio_reg(pi,
  25356. (RADIO_2056_TX_TXLPF_RCCAL |
  25357. radio_addr_offset_tx));
  25358. orig_rxlpf_rccal_hpc_ovr_val =
  25359. read_radio_reg(pi,
  25360. (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25361. radio_addr_offset_rx));
  25362. orig_dcBypass = ((read_phy_reg(pi, 0x48) >> 8) & 1);
  25363. orig_RxStrnFilt40Num[0] = read_phy_reg(pi, 0x267);
  25364. orig_RxStrnFilt40Num[1] = read_phy_reg(pi, 0x268);
  25365. orig_RxStrnFilt40Num[2] = read_phy_reg(pi, 0x269);
  25366. orig_RxStrnFilt40Den[0] = read_phy_reg(pi, 0x26a);
  25367. orig_RxStrnFilt40Den[1] = read_phy_reg(pi, 0x26b);
  25368. orig_RxStrnFilt40Num[3] = read_phy_reg(pi, 0x26c);
  25369. orig_RxStrnFilt40Num[4] = read_phy_reg(pi, 0x26d);
  25370. orig_RxStrnFilt40Num[5] = read_phy_reg(pi, 0x26e);
  25371. orig_RxStrnFilt40Den[2] = read_phy_reg(pi, 0x26f);
  25372. orig_RxStrnFilt40Den[3] = read_phy_reg(pi, 0x270);
  25373. orig_rfctrloverride[0] = read_phy_reg(pi, 0xe7);
  25374. orig_rfctrloverride[1] = read_phy_reg(pi, 0xec);
  25375. orig_rfctrlauxreg[0] = read_phy_reg(pi, 0xf8);
  25376. orig_rfctrlauxreg[1] = read_phy_reg(pi, 0xfa);
  25377. orig_rfctrlrssiothers = read_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d);
  25378. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25379. txlpf_rccal_lpc_ovr_val);
  25380. write_radio_reg(pi,
  25381. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25382. rxlpf_rccal_hpc_ovr_val);
  25383. mod_phy_reg(pi, 0x48, (0x1 << 8), (0x1 << 8));
  25384. write_phy_reg(pi, 0x267, 0x02d4);
  25385. write_phy_reg(pi, 0x268, 0x0000);
  25386. write_phy_reg(pi, 0x269, 0x0000);
  25387. write_phy_reg(pi, 0x26a, 0x0000);
  25388. write_phy_reg(pi, 0x26b, 0x0000);
  25389. write_phy_reg(pi, 0x26c, 0x02d4);
  25390. write_phy_reg(pi, 0x26d, 0x0000);
  25391. write_phy_reg(pi, 0x26e, 0x0000);
  25392. write_phy_reg(pi, 0x26f, 0x0000);
  25393. write_phy_reg(pi, 0x270, 0x0000);
  25394. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 8));
  25395. or_phy_reg(pi, (core_idx == 0) ? 0xec : 0xe7, (0x1 << 15));
  25396. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 9));
  25397. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 10));
  25398. mod_phy_reg(pi, (core_idx == 0) ? 0xfa : 0xf8,
  25399. (0x7 << 10), (tx_lpf_bw << 10));
  25400. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25401. (0x7 << 0), (hpvga_hpc << 0));
  25402. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25403. (0x7 << 4), (lpf_hpc << 4));
  25404. mod_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d,
  25405. (0x7 << 8), (rx_lpf_bw << 8));
  25406. rccal_stepsize = 16;
  25407. rccal_val = start_rccal_ovr_val + rccal_stepsize;
  25408. while (rccal_stepsize >= 0) {
  25409. write_radio_reg(pi,
  25410. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25411. radio_addr_offset_rx), rccal_val);
  25412. if (rccal_stepsize == 16) {
  25413. wlc_phy_tx_tone_nphy(pi, ref_tone, NPHY_RXCAL_TONEAMP,
  25414. 0, 1, false);
  25415. udelay(2);
  25416. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25417. if (core_idx == 0)
  25418. ref_iq_vals =
  25419. max_t(u32, (est[0].i_pwr +
  25420. est[0].q_pwr) >>
  25421. (log_num_samps + 1),
  25422. 1);
  25423. else
  25424. ref_iq_vals =
  25425. max_t(u32, (est[1].i_pwr +
  25426. est[1].q_pwr) >>
  25427. (log_num_samps + 1),
  25428. 1);
  25429. wlc_phy_tx_tone_nphy(pi, target_bw, NPHY_RXCAL_TONEAMP,
  25430. 0, 1, false);
  25431. udelay(2);
  25432. }
  25433. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25434. if (core_idx == 0)
  25435. target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >>
  25436. (log_num_samps + 1);
  25437. else
  25438. target_iq_vals =
  25439. (est[1].i_pwr +
  25440. est[1].q_pwr) >> (log_num_samps + 1);
  25441. pwr_ratio = (uint) ((target_iq_vals << 16) / ref_iq_vals);
  25442. if (rccal_stepsize == 0)
  25443. rccal_stepsize--;
  25444. else if (rccal_stepsize == 1) {
  25445. last_rccal_val = rccal_val;
  25446. rccal_val += (pwr_ratio > target_pwr_ratio) ? 1 : -1;
  25447. last_pwr_ratio = pwr_ratio;
  25448. rccal_stepsize--;
  25449. } else {
  25450. rccal_stepsize = (rccal_stepsize >> 1);
  25451. rccal_val += ((pwr_ratio > target_pwr_ratio) ?
  25452. rccal_stepsize : (-rccal_stepsize));
  25453. }
  25454. if (rccal_stepsize == -1) {
  25455. best_rccal_val =
  25456. (abs((int)last_pwr_ratio -
  25457. (int)target_pwr_ratio) <
  25458. abs((int)pwr_ratio -
  25459. (int)target_pwr_ratio)) ? last_rccal_val :
  25460. rccal_val;
  25461. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25462. if ((best_rccal_val > 140)
  25463. || (best_rccal_val < 135))
  25464. best_rccal_val = 138;
  25465. } else {
  25466. if ((best_rccal_val > 142)
  25467. || (best_rccal_val < 137))
  25468. best_rccal_val = 140;
  25469. }
  25470. write_radio_reg(pi,
  25471. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25472. radio_addr_offset_rx), best_rccal_val);
  25473. }
  25474. }
  25475. wlc_phy_stopplayback_nphy(pi);
  25476. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25477. orig_txlpf_rccal_lpc_ovr_val);
  25478. write_radio_reg(pi,
  25479. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25480. orig_rxlpf_rccal_hpc_ovr_val);
  25481. mod_phy_reg(pi, 0x48, (0x1 << 8), (orig_dcBypass << 8));
  25482. write_phy_reg(pi, 0x267, orig_RxStrnFilt40Num[0]);
  25483. write_phy_reg(pi, 0x268, orig_RxStrnFilt40Num[1]);
  25484. write_phy_reg(pi, 0x269, orig_RxStrnFilt40Num[2]);
  25485. write_phy_reg(pi, 0x26a, orig_RxStrnFilt40Den[0]);
  25486. write_phy_reg(pi, 0x26b, orig_RxStrnFilt40Den[1]);
  25487. write_phy_reg(pi, 0x26c, orig_RxStrnFilt40Num[3]);
  25488. write_phy_reg(pi, 0x26d, orig_RxStrnFilt40Num[4]);
  25489. write_phy_reg(pi, 0x26e, orig_RxStrnFilt40Num[5]);
  25490. write_phy_reg(pi, 0x26f, orig_RxStrnFilt40Den[2]);
  25491. write_phy_reg(pi, 0x270, orig_RxStrnFilt40Den[3]);
  25492. write_phy_reg(pi, 0xe7, orig_rfctrloverride[0]);
  25493. write_phy_reg(pi, 0xec, orig_rfctrloverride[1]);
  25494. write_phy_reg(pi, 0xf8, orig_rfctrlauxreg[0]);
  25495. write_phy_reg(pi, 0xfa, orig_rfctrlauxreg[1]);
  25496. write_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d, orig_rfctrlrssiothers);
  25497. pi->nphy_anarxlpf_adjusted = false;
  25498. return best_rccal_val - 0x80;
  25499. }
  25500. #define WAIT_FOR_SCOPE 4000
  25501. static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi,
  25502. struct nphy_txgains target_gain,
  25503. u8 cal_type, bool debug)
  25504. {
  25505. u16 orig_BBConfig;
  25506. u8 core_no, rx_core;
  25507. u8 best_rccal[2];
  25508. u16 gain_save[2];
  25509. u16 cal_gain[2];
  25510. struct nphy_iqcal_params cal_params[2];
  25511. u8 rxcore_state;
  25512. s8 rxlpf_rccal_hpc, txlpf_rccal_lpc;
  25513. s8 txlpf_idac;
  25514. bool phyhang_avoid_state = false;
  25515. bool skip_rxiqcal = false;
  25516. orig_BBConfig = read_phy_reg(pi, 0x01);
  25517. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  25518. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25519. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  25520. phyhang_avoid_state = pi->phyhang_avoid;
  25521. pi->phyhang_avoid = false;
  25522. }
  25523. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25524. for (core_no = 0; core_no <= 1; core_no++) {
  25525. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25526. &cal_params[core_no]);
  25527. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25528. }
  25529. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25530. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  25531. (struct brcms_phy_pub *) pi);
  25532. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25533. skip_rxiqcal =
  25534. ((rxcore_state & (1 << rx_core)) == 0) ? true : false;
  25535. wlc_phy_rxcal_physetup_nphy(pi, rx_core);
  25536. wlc_phy_rxcal_radio_setup_nphy(pi, rx_core);
  25537. if ((!skip_rxiqcal) && ((cal_type == 0) || (cal_type == 2))) {
  25538. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL, 0);
  25539. wlc_phy_tx_tone_nphy(pi,
  25540. (CHSPEC_IS40(
  25541. pi->radio_chanspec)) ?
  25542. NPHY_RXCAL_TONEFREQ_40MHz :
  25543. NPHY_RXCAL_TONEFREQ_20MHz,
  25544. NPHY_RXCAL_TONEAMP, 0, cal_type,
  25545. false);
  25546. if (debug)
  25547. mdelay(WAIT_FOR_SCOPE);
  25548. wlc_phy_calc_rx_iq_comp_nphy(pi, rx_core + 1);
  25549. wlc_phy_stopplayback_nphy(pi);
  25550. }
  25551. if (((cal_type == 1) || (cal_type == 2))
  25552. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  25553. if (rx_core == PHY_CORE_1) {
  25554. if (rxcore_state == 1)
  25555. wlc_phy_rxcore_setstate_nphy(
  25556. (struct brcms_phy_pub *) pi, 3);
  25557. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL,
  25558. 1);
  25559. best_rccal[rx_core] =
  25560. wlc_phy_rc_sweep_nphy(pi, rx_core, 1);
  25561. pi->nphy_rccal_value = best_rccal[rx_core];
  25562. if (rxcore_state == 1)
  25563. wlc_phy_rxcore_setstate_nphy(
  25564. (struct brcms_phy_pub *) pi,
  25565. rxcore_state);
  25566. }
  25567. }
  25568. wlc_phy_rxcal_radio_cleanup_nphy(pi, rx_core);
  25569. wlc_phy_rxcal_phycleanup_nphy(pi, rx_core);
  25570. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25571. }
  25572. if ((cal_type == 1) || (cal_type == 2)) {
  25573. best_rccal[0] = best_rccal[1];
  25574. write_radio_reg(pi,
  25575. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25576. RADIO_2056_RX0), (best_rccal[0] | 0x80));
  25577. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25578. rxlpf_rccal_hpc =
  25579. (((int)best_rccal[rx_core] - 12) >> 1) + 10;
  25580. txlpf_rccal_lpc = ((int)best_rccal[rx_core] - 12) + 10;
  25581. if (PHY_IPA(pi)) {
  25582. txlpf_rccal_lpc +=
  25583. (pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
  25584. txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
  25585. 0x0e : 0x13;
  25586. WRITE_RADIO_REG2(pi, RADIO_2056, TX, rx_core,
  25587. TXLPF_IDAC_4, txlpf_idac);
  25588. }
  25589. rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
  25590. 0);
  25591. txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
  25592. 0);
  25593. write_radio_reg(pi, (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25594. ((rx_core ==
  25595. PHY_CORE_0) ? RADIO_2056_RX0 :
  25596. RADIO_2056_RX1)),
  25597. (rxlpf_rccal_hpc | 0x80));
  25598. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL |
  25599. ((rx_core ==
  25600. PHY_CORE_0) ? RADIO_2056_TX0 :
  25601. RADIO_2056_TX1)),
  25602. (txlpf_rccal_lpc | 0x80));
  25603. }
  25604. }
  25605. write_phy_reg(pi, 0x01, orig_BBConfig);
  25606. wlc_phy_resetcca_nphy(pi);
  25607. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25608. wlc_phy_rfctrl_override_1tomany_nphy(
  25609. pi,
  25610. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25611. 0, 0x3, 1);
  25612. else
  25613. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  25614. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25615. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25616. gain_save);
  25617. if (NREV_GE(pi->pubpi.phy_rev, 4))
  25618. pi->phyhang_avoid = phyhang_avoid_state;
  25619. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25620. return 0;
  25621. }
  25622. static int
  25623. wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi,
  25624. struct nphy_txgains target_gain, bool debug)
  25625. {
  25626. struct phy_iq_est est[PHY_CORE_MAX];
  25627. u8 core_num, rx_core, tx_core;
  25628. u16 lna_vals[] = { 0x3, 0x3, 0x1 };
  25629. u16 hpf1_vals[] = { 0x7, 0x2, 0x0 };
  25630. u16 hpf2_vals[] = { 0x2, 0x0, 0x0 };
  25631. s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna;
  25632. s16 desired_log2_pwr, actual_log2_pwr, hpf_change;
  25633. u16 orig_RfseqCoreActv, orig_AfectrlCore, orig_AfectrlOverride;
  25634. u16 orig_RfctrlIntcRx, orig_RfctrlIntcTx;
  25635. u16 num_samps;
  25636. u32 i_pwr, q_pwr, tot_pwr[3];
  25637. u8 gain_pass, use_hpf_num;
  25638. u16 mask, val1, val2;
  25639. u16 core_no;
  25640. u16 gain_save[2];
  25641. u16 cal_gain[2];
  25642. struct nphy_iqcal_params cal_params[2];
  25643. u8 phy_bw;
  25644. int bcmerror = 0;
  25645. bool first_playtone = true;
  25646. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25647. if (NREV_LT(pi->pubpi.phy_rev, 2))
  25648. wlc_phy_reapply_txcal_coeffs_nphy(pi);
  25649. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25650. for (core_no = 0; core_no <= 1; core_no++) {
  25651. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25652. &cal_params[core_no]);
  25653. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25654. }
  25655. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25656. num_samps = 1024;
  25657. desired_log2_pwr = 13;
  25658. for (core_num = 0; core_num < 2; core_num++) {
  25659. rx_core = core_num;
  25660. tx_core = 1 - core_num;
  25661. orig_RfseqCoreActv = read_phy_reg(pi, 0xa2);
  25662. orig_AfectrlCore = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25663. 0xa6 : 0xa7);
  25664. orig_AfectrlOverride = read_phy_reg(pi, 0xa5);
  25665. orig_RfctrlIntcRx = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25666. 0x91 : 0x92);
  25667. orig_RfctrlIntcTx = read_phy_reg(pi, (tx_core == PHY_CORE_0) ?
  25668. 0x91 : 0x92);
  25669. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25670. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25671. or_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25672. ((0x1 << 1) | (0x1 << 2)));
  25673. or_phy_reg(pi, 0xa5, ((0x1 << 1) | (0x1 << 2)));
  25674. if (((pi->nphy_rxcalparams) & 0xff000000))
  25675. write_phy_reg(pi,
  25676. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25677. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25678. 0x140 : 0x110));
  25679. else
  25680. write_phy_reg(pi,
  25681. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25682. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25683. 0x180 : 0x120));
  25684. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25685. (CHSPEC_IS5G(pi->radio_chanspec) ? 0x148 :
  25686. 0x114));
  25687. mask = RADIO_2055_COUPLE_RX_MASK | RADIO_2055_COUPLE_TX_MASK;
  25688. if (rx_core == PHY_CORE_0) {
  25689. val1 = RADIO_2055_COUPLE_RX_MASK;
  25690. val2 = RADIO_2055_COUPLE_TX_MASK;
  25691. } else {
  25692. val1 = RADIO_2055_COUPLE_TX_MASK;
  25693. val2 = RADIO_2055_COUPLE_RX_MASK;
  25694. }
  25695. if ((pi->nphy_rxcalparams & 0x10000)) {
  25696. mod_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, mask,
  25697. val1);
  25698. mod_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, mask,
  25699. val2);
  25700. }
  25701. for (gain_pass = 0; gain_pass < 4; gain_pass++) {
  25702. if (debug)
  25703. mdelay(WAIT_FOR_SCOPE);
  25704. if (gain_pass < 3) {
  25705. curr_lna = lna_vals[gain_pass];
  25706. curr_hpf1 = hpf1_vals[gain_pass];
  25707. curr_hpf2 = hpf2_vals[gain_pass];
  25708. } else {
  25709. if (tot_pwr[1] > 10000) {
  25710. curr_lna = lna_vals[2];
  25711. curr_hpf1 = hpf1_vals[2];
  25712. curr_hpf2 = hpf2_vals[2];
  25713. use_hpf_num = 1;
  25714. curr_hpf = curr_hpf1;
  25715. actual_log2_pwr =
  25716. wlc_phy_nbits(tot_pwr[2]);
  25717. } else {
  25718. if (tot_pwr[0] > 10000) {
  25719. curr_lna = lna_vals[1];
  25720. curr_hpf1 = hpf1_vals[1];
  25721. curr_hpf2 = hpf2_vals[1];
  25722. use_hpf_num = 1;
  25723. curr_hpf = curr_hpf1;
  25724. actual_log2_pwr =
  25725. wlc_phy_nbits(
  25726. tot_pwr[1]);
  25727. } else {
  25728. curr_lna = lna_vals[0];
  25729. curr_hpf1 = hpf1_vals[0];
  25730. curr_hpf2 = hpf2_vals[0];
  25731. use_hpf_num = 2;
  25732. curr_hpf = curr_hpf2;
  25733. actual_log2_pwr =
  25734. wlc_phy_nbits(
  25735. tot_pwr[0]);
  25736. }
  25737. }
  25738. hpf_change = desired_log2_pwr - actual_log2_pwr;
  25739. curr_hpf += hpf_change;
  25740. curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
  25741. if (use_hpf_num == 1)
  25742. curr_hpf1 = curr_hpf;
  25743. else
  25744. curr_hpf2 = curr_hpf;
  25745. }
  25746. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10),
  25747. ((curr_hpf2 << 8) |
  25748. (curr_hpf1 << 4) |
  25749. (curr_lna << 2)), 0x3, 0);
  25750. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25751. wlc_phy_stopplayback_nphy(pi);
  25752. if (first_playtone) {
  25753. bcmerror = wlc_phy_tx_tone_nphy(pi, 4000,
  25754. (u16) (pi->nphy_rxcalparams &
  25755. 0xffff), 0, 0, true);
  25756. first_playtone = false;
  25757. } else {
  25758. phy_bw = (CHSPEC_IS40(pi->radio_chanspec)) ?
  25759. 40 : 20;
  25760. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff,
  25761. 0, 0, 0, true);
  25762. }
  25763. if (bcmerror == 0) {
  25764. if (gain_pass < 3) {
  25765. wlc_phy_rx_iq_est_nphy(pi, est,
  25766. num_samps, 32,
  25767. 0);
  25768. i_pwr = (est[rx_core].i_pwr +
  25769. num_samps / 2) / num_samps;
  25770. q_pwr = (est[rx_core].q_pwr +
  25771. num_samps / 2) / num_samps;
  25772. tot_pwr[gain_pass] = i_pwr + q_pwr;
  25773. } else {
  25774. wlc_phy_calc_rx_iq_comp_nphy(pi,
  25775. (1 <<
  25776. rx_core));
  25777. }
  25778. wlc_phy_stopplayback_nphy(pi);
  25779. }
  25780. if (bcmerror != 0)
  25781. break;
  25782. }
  25783. and_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, ~mask);
  25784. and_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, ~mask);
  25785. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 :
  25786. 0x92, orig_RfctrlIntcTx);
  25787. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x91 :
  25788. 0x92, orig_RfctrlIntcRx);
  25789. write_phy_reg(pi, 0xa5, orig_AfectrlOverride);
  25790. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 :
  25791. 0xa7, orig_AfectrlCore);
  25792. write_phy_reg(pi, 0xa2, orig_RfseqCoreActv);
  25793. if (bcmerror != 0)
  25794. break;
  25795. }
  25796. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10), 0, 0x3, 1);
  25797. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25798. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25799. gain_save);
  25800. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25801. return bcmerror;
  25802. }
  25803. int
  25804. wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  25805. u8 cal_type, bool debug)
  25806. {
  25807. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25808. cal_type = 0;
  25809. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25810. return wlc_phy_cal_rxiq_nphy_rev3(pi, target_gain, cal_type,
  25811. debug);
  25812. else
  25813. return wlc_phy_cal_rxiq_nphy_rev2(pi, target_gain, debug);
  25814. }
  25815. void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi)
  25816. {
  25817. uint core;
  25818. u32 txgain;
  25819. u16 rad_gain, dac_gain, bbmult, m1m2;
  25820. u8 txpi[2], chan_freq_range;
  25821. s32 rfpwr_offset;
  25822. if (pi->phyhang_avoid)
  25823. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25824. if (pi->sh->sromrev < 4) {
  25825. txpi[0] = txpi[1] = 72;
  25826. } else {
  25827. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  25828. switch (chan_freq_range) {
  25829. case WL_CHAN_FREQ_RANGE_2G:
  25830. txpi[0] = pi->nphy_txpid2g[0];
  25831. txpi[1] = pi->nphy_txpid2g[1];
  25832. break;
  25833. case WL_CHAN_FREQ_RANGE_5GL:
  25834. txpi[0] = pi->nphy_txpid5gl[0];
  25835. txpi[1] = pi->nphy_txpid5gl[1];
  25836. break;
  25837. case WL_CHAN_FREQ_RANGE_5GM:
  25838. txpi[0] = pi->nphy_txpid5g[0];
  25839. txpi[1] = pi->nphy_txpid5g[1];
  25840. break;
  25841. case WL_CHAN_FREQ_RANGE_5GH:
  25842. txpi[0] = pi->nphy_txpid5gh[0];
  25843. txpi[1] = pi->nphy_txpid5gh[1];
  25844. break;
  25845. default:
  25846. txpi[0] = txpi[1] = 91;
  25847. break;
  25848. }
  25849. }
  25850. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25851. txpi[0] = txpi[1] = 30;
  25852. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  25853. txpi[0] = txpi[1] = 40;
  25854. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25855. if ((txpi[0] < 40) || (txpi[0] > 100) ||
  25856. (txpi[1] < 40) || (txpi[1] > 100))
  25857. txpi[0] = txpi[1] = 91;
  25858. }
  25859. pi->nphy_txpwrindex[PHY_CORE_0].index_internal = txpi[0];
  25860. pi->nphy_txpwrindex[PHY_CORE_1].index_internal = txpi[1];
  25861. pi->nphy_txpwrindex[PHY_CORE_0].index_internal_save = txpi[0];
  25862. pi->nphy_txpwrindex[PHY_CORE_1].index_internal_save = txpi[1];
  25863. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  25864. uint phyrev = pi->pubpi.phy_rev;
  25865. if (NREV_GE(phyrev, 3)) {
  25866. if (PHY_IPA(pi)) {
  25867. u32 *tx_gaintbl =
  25868. wlc_phy_get_ipa_gaintbl_nphy(pi);
  25869. txgain = tx_gaintbl[txpi[core]];
  25870. } else {
  25871. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25872. if (NREV_IS(phyrev, 3)) {
  25873. txgain =
  25874. nphy_tpc_5GHz_txgain_rev3
  25875. [txpi[core]];
  25876. } else if (NREV_IS(phyrev, 4)) {
  25877. txgain = (
  25878. pi->srom_fem5g.extpagain ==
  25879. 3) ?
  25880. nphy_tpc_5GHz_txgain_HiPwrEPA
  25881. [txpi[core]] :
  25882. nphy_tpc_5GHz_txgain_rev4
  25883. [txpi[core]];
  25884. } else {
  25885. txgain =
  25886. nphy_tpc_5GHz_txgain_rev5
  25887. [txpi[core]];
  25888. }
  25889. } else {
  25890. if (NREV_GE(phyrev, 5) &&
  25891. (pi->srom_fem2g.extpagain == 3)) {
  25892. txgain =
  25893. nphy_tpc_txgain_HiPwrEPA
  25894. [txpi[core]];
  25895. } else {
  25896. txgain = nphy_tpc_txgain_rev3
  25897. [txpi[core]];
  25898. }
  25899. }
  25900. }
  25901. } else {
  25902. txgain = nphy_tpc_txgain[txpi[core]];
  25903. }
  25904. if (NREV_GE(phyrev, 3))
  25905. rad_gain = (txgain >> 16) & ((1 << (32 - 16 + 1)) - 1);
  25906. else
  25907. rad_gain = (txgain >> 16) & ((1 << (28 - 16 + 1)) - 1);
  25908. if (NREV_GE(phyrev, 7))
  25909. dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1);
  25910. else
  25911. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  25912. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  25913. if (NREV_GE(phyrev, 3))
  25914. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  25915. 0xa5), (0x1 << 8), (0x1 << 8));
  25916. else
  25917. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  25918. write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain);
  25919. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  25920. &rad_gain);
  25921. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  25922. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  25923. m1m2 |= ((core == PHY_CORE_0) ? (bbmult << 8) : (bbmult << 0));
  25924. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  25925. if (PHY_IPA(pi)) {
  25926. wlc_phy_table_read_nphy(pi,
  25927. (core ==
  25928. PHY_CORE_0 ?
  25929. NPHY_TBL_ID_CORE1TXPWRCTL :
  25930. NPHY_TBL_ID_CORE2TXPWRCTL), 1,
  25931. 576 + txpi[core], 32,
  25932. &rfpwr_offset);
  25933. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25934. 0x29b, (0x1ff << 4),
  25935. ((s16) rfpwr_offset) << 4);
  25936. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25937. 0x29b, (0x1 << 2), (1) << 2);
  25938. }
  25939. }
  25940. and_phy_reg(pi, 0xbf, (u16) (~(0x1f << 0)));
  25941. if (pi->phyhang_avoid)
  25942. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25943. }
  25944. static void
  25945. wlc_phy_txpwr_nphy_srom_convert(u8 *srom_max, u16 *pwr_offset,
  25946. u8 tmp_max_pwr, u8 rate_start,
  25947. u8 rate_end)
  25948. {
  25949. u8 rate;
  25950. u8 word_num, nibble_num;
  25951. u8 tmp_nibble;
  25952. for (rate = rate_start; rate <= rate_end; rate++) {
  25953. word_num = (rate - rate_start) >> 2;
  25954. nibble_num = (rate - rate_start) & 0x3;
  25955. tmp_nibble = (pwr_offset[word_num] >> 4 * nibble_num) & 0xf;
  25956. srom_max[rate] = tmp_max_pwr - 2 * tmp_nibble;
  25957. }
  25958. }
  25959. static void
  25960. wlc_phy_txpwr_nphy_po_apply(u8 *srom_max, u8 pwr_offset,
  25961. u8 rate_start, u8 rate_end)
  25962. {
  25963. u8 rate;
  25964. for (rate = rate_start; rate <= rate_end; rate++)
  25965. srom_max[rate] -= 2 * pwr_offset;
  25966. }
  25967. void
  25968. wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start,
  25969. u8 rate_mcs_end, u8 rate_ofdm_start)
  25970. {
  25971. u8 rate1, rate2;
  25972. rate2 = rate_ofdm_start;
  25973. for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) {
  25974. power[rate1] = power[rate2];
  25975. rate2 += (rate1 == rate_mcs_start) ? 2 : 1;
  25976. }
  25977. power[rate_mcs_end] = power[rate_mcs_end - 1];
  25978. }
  25979. void
  25980. wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start,
  25981. u8 rate_ofdm_end, u8 rate_mcs_start)
  25982. {
  25983. u8 rate1, rate2;
  25984. for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start;
  25985. rate1 <= rate_ofdm_end; rate1++, rate2++) {
  25986. power[rate1] = power[rate2];
  25987. if (rate1 == rate_ofdm_start)
  25988. power[++rate1] = power[rate2];
  25989. }
  25990. }
  25991. void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi)
  25992. {
  25993. uint rate1, rate2, band_num;
  25994. u8 tmp_bw40po = 0, tmp_cddpo = 0, tmp_stbcpo = 0;
  25995. u8 tmp_max_pwr = 0;
  25996. u16 pwr_offsets1[2], *pwr_offsets2 = NULL;
  25997. u8 *tx_srom_max_rate = NULL;
  25998. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  25999. band_num++) {
  26000. switch (band_num) {
  26001. case 0:
  26002. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g,
  26003. pi->nphy_pwrctrl_info[1].max_pwr_2g);
  26004. pwr_offsets1[0] = pi->cck2gpo;
  26005. wlc_phy_txpwr_nphy_srom_convert(pi->tx_srom_max_rate_2g,
  26006. pwr_offsets1,
  26007. tmp_max_pwr,
  26008. TXP_FIRST_CCK,
  26009. TXP_LAST_CCK);
  26010. pwr_offsets1[0] = (u16) (pi->ofdm2gpo & 0xffff);
  26011. pwr_offsets1[1] =
  26012. (u16) (pi->ofdm2gpo >> 16) & 0xffff;
  26013. pwr_offsets2 = pi->mcs2gpo;
  26014. tmp_cddpo = pi->cdd2gpo;
  26015. tmp_stbcpo = pi->stbc2gpo;
  26016. tmp_bw40po = pi->bw402gpo;
  26017. tx_srom_max_rate = pi->tx_srom_max_rate_2g;
  26018. break;
  26019. case 1:
  26020. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm,
  26021. pi->nphy_pwrctrl_info[1].max_pwr_5gm);
  26022. pwr_offsets1[0] = (u16) (pi->ofdm5gpo & 0xffff);
  26023. pwr_offsets1[1] =
  26024. (u16) (pi->ofdm5gpo >> 16) & 0xffff;
  26025. pwr_offsets2 = pi->mcs5gpo;
  26026. tmp_cddpo = pi->cdd5gpo;
  26027. tmp_stbcpo = pi->stbc5gpo;
  26028. tmp_bw40po = pi->bw405gpo;
  26029. tx_srom_max_rate = pi->tx_srom_max_rate_5g_mid;
  26030. break;
  26031. case 2:
  26032. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl,
  26033. pi->nphy_pwrctrl_info[1].max_pwr_5gl);
  26034. pwr_offsets1[0] = (u16) (pi->ofdm5glpo & 0xffff);
  26035. pwr_offsets1[1] =
  26036. (u16) (pi->ofdm5glpo >> 16) & 0xffff;
  26037. pwr_offsets2 = pi->mcs5glpo;
  26038. tmp_cddpo = pi->cdd5glpo;
  26039. tmp_stbcpo = pi->stbc5glpo;
  26040. tmp_bw40po = pi->bw405glpo;
  26041. tx_srom_max_rate = pi->tx_srom_max_rate_5g_low;
  26042. break;
  26043. case 3:
  26044. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh,
  26045. pi->nphy_pwrctrl_info[1].max_pwr_5gh);
  26046. pwr_offsets1[0] = (u16) (pi->ofdm5ghpo & 0xffff);
  26047. pwr_offsets1[1] =
  26048. (u16) (pi->ofdm5ghpo >> 16) & 0xffff;
  26049. pwr_offsets2 = pi->mcs5ghpo;
  26050. tmp_cddpo = pi->cdd5ghpo;
  26051. tmp_stbcpo = pi->stbc5ghpo;
  26052. tmp_bw40po = pi->bw405ghpo;
  26053. tx_srom_max_rate = pi->tx_srom_max_rate_5g_hi;
  26054. break;
  26055. }
  26056. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets1,
  26057. tmp_max_pwr, TXP_FIRST_OFDM,
  26058. TXP_LAST_OFDM);
  26059. wlc_phy_ofdm_to_mcs_powers_nphy(tx_srom_max_rate,
  26060. TXP_FIRST_MCS_20_SISO,
  26061. TXP_LAST_MCS_20_SISO,
  26062. TXP_FIRST_OFDM);
  26063. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26064. tmp_max_pwr,
  26065. TXP_FIRST_MCS_20_CDD,
  26066. TXP_LAST_MCS_20_CDD);
  26067. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26068. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26069. TXP_FIRST_MCS_20_CDD,
  26070. TXP_LAST_MCS_20_CDD);
  26071. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26072. TXP_FIRST_OFDM_20_CDD,
  26073. TXP_LAST_OFDM_20_CDD,
  26074. TXP_FIRST_MCS_20_CDD);
  26075. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26076. tmp_max_pwr,
  26077. TXP_FIRST_MCS_20_STBC,
  26078. TXP_LAST_MCS_20_STBC);
  26079. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26080. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26081. tmp_stbcpo,
  26082. TXP_FIRST_MCS_20_STBC,
  26083. TXP_LAST_MCS_20_STBC);
  26084. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26085. &pwr_offsets2[2], tmp_max_pwr,
  26086. TXP_FIRST_MCS_20_SDM,
  26087. TXP_LAST_MCS_20_SDM);
  26088. if (NPHY_IS_SROM_REINTERPRET) {
  26089. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26090. &pwr_offsets2[4],
  26091. tmp_max_pwr,
  26092. TXP_FIRST_MCS_40_SISO,
  26093. TXP_LAST_MCS_40_SISO);
  26094. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26095. TXP_FIRST_OFDM_40_SISO,
  26096. TXP_LAST_OFDM_40_SISO,
  26097. TXP_FIRST_MCS_40_SISO);
  26098. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26099. &pwr_offsets2[4],
  26100. tmp_max_pwr,
  26101. TXP_FIRST_MCS_40_CDD,
  26102. TXP_LAST_MCS_40_CDD);
  26103. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26104. TXP_FIRST_MCS_40_CDD,
  26105. TXP_LAST_MCS_40_CDD);
  26106. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26107. TXP_FIRST_OFDM_40_CDD,
  26108. TXP_LAST_OFDM_40_CDD,
  26109. TXP_FIRST_MCS_40_CDD);
  26110. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26111. &pwr_offsets2[4],
  26112. tmp_max_pwr,
  26113. TXP_FIRST_MCS_40_STBC,
  26114. TXP_LAST_MCS_40_STBC);
  26115. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26116. tmp_stbcpo,
  26117. TXP_FIRST_MCS_40_STBC,
  26118. TXP_LAST_MCS_40_STBC);
  26119. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26120. &pwr_offsets2[6],
  26121. tmp_max_pwr,
  26122. TXP_FIRST_MCS_40_SDM,
  26123. TXP_LAST_MCS_40_SDM);
  26124. } else {
  26125. for (rate1 = TXP_FIRST_OFDM_40_SISO, rate2 =
  26126. TXP_FIRST_OFDM;
  26127. rate1 <= TXP_LAST_MCS_40_SDM;
  26128. rate1++, rate2++)
  26129. tx_srom_max_rate[rate1] =
  26130. tx_srom_max_rate[rate2];
  26131. }
  26132. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26133. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26134. tmp_bw40po,
  26135. TXP_FIRST_OFDM_40_SISO,
  26136. TXP_LAST_MCS_40_SDM);
  26137. tx_srom_max_rate[TXP_MCS_32] =
  26138. tx_srom_max_rate[TXP_FIRST_MCS_40_CDD];
  26139. }
  26140. return;
  26141. }
  26142. void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi)
  26143. {
  26144. u8 tx_pwr_ctrl_state;
  26145. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  26146. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  26147. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26148. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  26149. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  26150. (void)R_REG(&pi->regs->maccontrol);
  26151. udelay(1);
  26152. }
  26153. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26154. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  26155. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  26156. }
  26157. static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi)
  26158. {
  26159. return read_phy_reg((pi), 0x1e7) & ((0x1 << 15) |
  26160. (0x1 << 14) | (0x1 << 13));
  26161. }
  26162. u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi)
  26163. {
  26164. u16 tmp;
  26165. u16 pwr_idx[2];
  26166. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26167. pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0);
  26168. pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1);
  26169. tmp = (pwr_idx[0] << 8) | pwr_idx[1];
  26170. } else {
  26171. tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff)
  26172. << 8) |
  26173. (pi->nphy_txpwrindex[PHY_CORE_1].index_internal & 0xff);
  26174. }
  26175. return tmp;
  26176. }
  26177. void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi)
  26178. {
  26179. if (PHY_IPA(pi)
  26180. && (pi->nphy_force_papd_cal
  26181. || (wlc_phy_txpwr_ison_nphy(pi)
  26182. &&
  26183. (((u32)
  26184. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) -
  26185. pi->nphy_papd_tx_gain_at_last_cal[0]) >= 4)
  26186. || ((u32)
  26187. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) -
  26188. pi->nphy_papd_tx_gain_at_last_cal[1]) >= 4)))))
  26189. wlc_phy_a4(pi, true);
  26190. }
  26191. void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type)
  26192. {
  26193. u16 mask = 0, val = 0, ishw = 0;
  26194. u8 ctr;
  26195. uint core;
  26196. u32 tbl_offset;
  26197. u32 tbl_len;
  26198. u16 regval[84];
  26199. if (pi->phyhang_avoid)
  26200. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26201. switch (ctrl_type) {
  26202. case PHY_TPC_HW_OFF:
  26203. case PHY_TPC_HW_ON:
  26204. pi->nphy_txpwrctrl = ctrl_type;
  26205. break;
  26206. default:
  26207. break;
  26208. }
  26209. if (ctrl_type == PHY_TPC_HW_OFF) {
  26210. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26211. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26212. for (core = 0; core < pi->pubpi.phy_corenum;
  26213. core++)
  26214. pi->nphy_txpwr_idx[core] =
  26215. wlc_phy_txpwr_idx_cur_get_nphy(
  26216. pi,
  26217. (u8) core);
  26218. }
  26219. }
  26220. tbl_len = 84;
  26221. tbl_offset = 64;
  26222. for (ctr = 0; ctr < tbl_len; ctr++)
  26223. regval[ctr] = 0;
  26224. wlc_phy_table_write_nphy(pi, 26, tbl_len, tbl_offset, 16,
  26225. regval);
  26226. wlc_phy_table_write_nphy(pi, 27, tbl_len, tbl_offset, 16,
  26227. regval);
  26228. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26229. and_phy_reg(pi, 0x1e7,
  26230. (u16) (~((0x1 << 15) |
  26231. (0x1 << 14) | (0x1 << 13))));
  26232. else
  26233. and_phy_reg(pi, 0x1e7,
  26234. (u16) (~((0x1 << 14) | (0x1 << 13))));
  26235. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26236. or_phy_reg(pi, 0x8f, (0x1 << 8));
  26237. or_phy_reg(pi, 0xa5, (0x1 << 8));
  26238. } else {
  26239. or_phy_reg(pi, 0xa5, (0x1 << 14));
  26240. }
  26241. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26242. mod_phy_reg(pi, 0xdc, 0x00ff, 0x53);
  26243. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26244. mod_phy_reg(pi, 0xdc, 0x00ff, 0x5a);
  26245. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26246. pi->bw == WL_CHANSPEC_BW_40)
  26247. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26248. MHF1_IQSWAP_WAR, BRCM_BAND_ALL);
  26249. } else {
  26250. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64,
  26251. 8, pi->adj_pwr_tbl_nphy);
  26252. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64,
  26253. 8, pi->adj_pwr_tbl_nphy);
  26254. ishw = (ctrl_type == PHY_TPC_HW_ON) ? 0x1 : 0x0;
  26255. mask = (0x1 << 14) | (0x1 << 13);
  26256. val = (ishw << 14) | (ishw << 13);
  26257. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26258. mask |= (0x1 << 15);
  26259. val |= (ishw << 15);
  26260. }
  26261. mod_phy_reg(pi, 0x1e7, mask, val);
  26262. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  26263. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  26264. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x32);
  26265. mod_phy_reg(pi, 0x222, (0xff << 0), 0x32);
  26266. } else {
  26267. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x64);
  26268. if (NREV_GT(pi->pubpi.phy_rev, 1))
  26269. mod_phy_reg(pi, 0x222,
  26270. (0xff << 0), 0x64);
  26271. }
  26272. }
  26273. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26274. if ((pi->nphy_txpwr_idx[0] != 128)
  26275. && (pi->nphy_txpwr_idx[1] != 128))
  26276. wlc_phy_txpwr_idx_cur_set_nphy(pi,
  26277. pi->
  26278. nphy_txpwr_idx
  26279. [0],
  26280. pi->
  26281. nphy_txpwr_idx
  26282. [1]);
  26283. }
  26284. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26285. and_phy_reg(pi, 0x8f, ~(0x1 << 8));
  26286. and_phy_reg(pi, 0xa5, ~(0x1 << 8));
  26287. } else {
  26288. and_phy_reg(pi, 0xa5, ~(0x1 << 14));
  26289. }
  26290. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26291. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  26292. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26293. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  26294. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26295. pi->bw == WL_CHANSPEC_BW_40)
  26296. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26297. 0x0, BRCM_BAND_ALL);
  26298. if (PHY_IPA(pi)) {
  26299. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  26300. 0x29b, (0x1 << 2), (0) << 2);
  26301. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  26302. 0x29b, (0x1 << 2), (0) << 2);
  26303. }
  26304. }
  26305. if (pi->phyhang_avoid)
  26306. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26307. }
  26308. void
  26309. wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex,
  26310. bool restore_cals)
  26311. {
  26312. u8 core, txpwrctl_tbl;
  26313. u16 tx_ind0, iq_ind0, lo_ind0;
  26314. u16 m1m2;
  26315. u32 txgain;
  26316. u16 rad_gain, dac_gain;
  26317. u8 bbmult;
  26318. u32 iqcomp;
  26319. u16 iqcomp_a, iqcomp_b;
  26320. u32 locomp;
  26321. u16 tmpval;
  26322. u8 tx_pwr_ctrl_state;
  26323. s32 rfpwr_offset;
  26324. u16 regval[2];
  26325. if (pi->phyhang_avoid)
  26326. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26327. tx_ind0 = 192;
  26328. iq_ind0 = 320;
  26329. lo_ind0 = 448;
  26330. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  26331. if ((core_mask & (1 << core)) == 0)
  26332. continue;
  26333. txpwrctl_tbl = (core == PHY_CORE_0) ? 26 : 27;
  26334. if (txpwrindex < 0) {
  26335. if (pi->nphy_txpwrindex[core].index < 0)
  26336. continue;
  26337. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26338. mod_phy_reg(pi, 0x8f,
  26339. (0x1 << 8),
  26340. pi->nphy_txpwrindex[core].
  26341. AfectrlOverride);
  26342. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26343. pi->nphy_txpwrindex[core].
  26344. AfectrlOverride);
  26345. } else {
  26346. mod_phy_reg(pi, 0xa5,
  26347. (0x1 << 14),
  26348. pi->nphy_txpwrindex[core].
  26349. AfectrlOverride);
  26350. }
  26351. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26352. 0xaa : 0xab,
  26353. pi->nphy_txpwrindex[core].AfeCtrlDacGain);
  26354. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26355. &pi->nphy_txpwrindex[core].
  26356. rad_gain);
  26357. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26358. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26359. m1m2 |= ((core == PHY_CORE_0) ?
  26360. (pi->nphy_txpwrindex[core].bbmult << 8) :
  26361. (pi->nphy_txpwrindex[core].bbmult << 0));
  26362. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26363. if (restore_cals) {
  26364. wlc_phy_table_write_nphy(
  26365. pi, 15, 2, (80 + 2 * core), 16,
  26366. &pi->nphy_txpwrindex[core].iqcomp_a);
  26367. wlc_phy_table_write_nphy(
  26368. pi, 15, 1, (85 + core), 16,
  26369. &pi->nphy_txpwrindex[core].locomp);
  26370. wlc_phy_table_write_nphy(
  26371. pi, 15, 1, (93 + core), 16,
  26372. &pi->nphy_txpwrindex[core].locomp);
  26373. }
  26374. wlc_phy_txpwrctrl_enable_nphy(pi, pi->nphy_txpwrctrl);
  26375. pi->nphy_txpwrindex[core].index_internal =
  26376. pi->nphy_txpwrindex[core].index_internal_save;
  26377. } else {
  26378. if (pi->nphy_txpwrindex[core].index < 0) {
  26379. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26380. mod_phy_reg(pi, 0x8f,
  26381. (0x1 << 8),
  26382. pi->nphy_txpwrindex[core].
  26383. AfectrlOverride);
  26384. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26385. pi->nphy_txpwrindex[core].
  26386. AfectrlOverride);
  26387. } else {
  26388. pi->nphy_txpwrindex[core].
  26389. AfectrlOverride =
  26390. read_phy_reg(pi, 0xa5);
  26391. }
  26392. pi->nphy_txpwrindex[core].AfeCtrlDacGain =
  26393. read_phy_reg(pi, (core == PHY_CORE_0) ?
  26394. 0xaa : 0xab);
  26395. wlc_phy_table_read_nphy(pi, 7, 1,
  26396. (0x110 + core), 16,
  26397. &pi->
  26398. nphy_txpwrindex[core].
  26399. rad_gain);
  26400. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  26401. &tmpval);
  26402. tmpval >>= ((core == PHY_CORE_0) ? 8 : 0);
  26403. tmpval &= 0xff;
  26404. pi->nphy_txpwrindex[core].bbmult = (u8) tmpval;
  26405. wlc_phy_table_read_nphy(pi, 15, 2,
  26406. (80 + 2 * core), 16,
  26407. &pi->
  26408. nphy_txpwrindex[core].
  26409. iqcomp_a);
  26410. wlc_phy_table_read_nphy(pi, 15, 1, (85 + core),
  26411. 16,
  26412. &pi->
  26413. nphy_txpwrindex[core].
  26414. locomp);
  26415. pi->nphy_txpwrindex[core].index_internal_save =
  26416. pi->nphy_txpwrindex[core].
  26417. index_internal;
  26418. }
  26419. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26420. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  26421. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26422. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  26423. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26424. (tx_ind0 + txpwrindex), 32,
  26425. &txgain);
  26426. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26427. rad_gain = (txgain >> 16) &
  26428. ((1 << (32 - 16 + 1)) - 1);
  26429. else
  26430. rad_gain = (txgain >> 16) &
  26431. ((1 << (28 - 16 + 1)) - 1);
  26432. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  26433. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  26434. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26435. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  26436. 0xa5), (0x1 << 8), (0x1 << 8));
  26437. else
  26438. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  26439. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26440. 0xaa : 0xab, dac_gain);
  26441. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26442. &rad_gain);
  26443. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26444. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26445. m1m2 |= ((core == PHY_CORE_0) ?
  26446. (bbmult << 8) : (bbmult << 0));
  26447. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26448. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26449. (iq_ind0 + txpwrindex), 32,
  26450. &iqcomp);
  26451. iqcomp_a = (iqcomp >> 10) & ((1 << (19 - 10 + 1)) - 1);
  26452. iqcomp_b = (iqcomp >> 0) & ((1 << (9 - 0 + 1)) - 1);
  26453. if (restore_cals) {
  26454. regval[0] = (u16) iqcomp_a;
  26455. regval[1] = (u16) iqcomp_b;
  26456. wlc_phy_table_write_nphy(pi, 15, 2,
  26457. (80 + 2 * core), 16,
  26458. regval);
  26459. }
  26460. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26461. (lo_ind0 + txpwrindex), 32,
  26462. &locomp);
  26463. if (restore_cals)
  26464. wlc_phy_table_write_nphy(pi, 15, 1, (85 + core),
  26465. 16, &locomp);
  26466. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26467. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  26468. if (PHY_IPA(pi)) {
  26469. wlc_phy_table_read_nphy(pi,
  26470. (core == PHY_CORE_0 ?
  26471. NPHY_TBL_ID_CORE1TXPWRCTL :
  26472. NPHY_TBL_ID_CORE2TXPWRCTL),
  26473. 1, 576 + txpwrindex, 32,
  26474. &rfpwr_offset);
  26475. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26476. 0x29b, (0x1ff << 4),
  26477. ((s16) rfpwr_offset) << 4);
  26478. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26479. 0x29b, (0x1 << 2), (1) << 2);
  26480. }
  26481. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26482. }
  26483. pi->nphy_txpwrindex[core].index = txpwrindex;
  26484. }
  26485. if (pi->phyhang_avoid)
  26486. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26487. }
  26488. void
  26489. wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr,
  26490. u8 txp_rate_idx)
  26491. {
  26492. u8 chan_freq_range;
  26493. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, chan);
  26494. switch (chan_freq_range) {
  26495. case WL_CHAN_FREQ_RANGE_2G:
  26496. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26497. break;
  26498. case WL_CHAN_FREQ_RANGE_5GM:
  26499. *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
  26500. break;
  26501. case WL_CHAN_FREQ_RANGE_5GL:
  26502. *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
  26503. break;
  26504. case WL_CHAN_FREQ_RANGE_5GH:
  26505. *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
  26506. break;
  26507. default:
  26508. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26509. break;
  26510. }
  26511. return;
  26512. }
  26513. void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable)
  26514. {
  26515. u16 clip_off[] = { 0xffff, 0xffff };
  26516. if (enable) {
  26517. if (pi->nphy_deaf_count == 0) {
  26518. pi->classifier_state =
  26519. wlc_phy_classifier_nphy(pi, 0, 0);
  26520. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  26521. wlc_phy_clip_det_nphy(pi, 0, pi->clip_state);
  26522. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  26523. }
  26524. pi->nphy_deaf_count++;
  26525. wlc_phy_resetcca_nphy(pi);
  26526. } else {
  26527. pi->nphy_deaf_count--;
  26528. if (pi->nphy_deaf_count == 0) {
  26529. wlc_phy_classifier_nphy(pi, (0x7 << 0),
  26530. pi->classifier_state);
  26531. wlc_phy_clip_det_nphy(pi, 1, pi->clip_state);
  26532. }
  26533. }
  26534. }
  26535. void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode)
  26536. {
  26537. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  26538. if (mode) {
  26539. if (pi->nphy_deaf_count == 0)
  26540. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26541. } else if (pi->nphy_deaf_count > 0) {
  26542. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26543. }
  26544. wlapi_enable_mac(pi->sh->physhim);
  26545. }