phy_n.c 919 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838
  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. #include "soc.h"
  31. #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \
  32. read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  33. ((core == PHY_CORE_0) ? \
  34. radio_type##_##jspace##0 : \
  35. radio_type##_##jspace##1))
  36. #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \
  37. write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  38. ((core == PHY_CORE_0) ? \
  39. radio_type##_##jspace##0 : \
  40. radio_type##_##jspace##1), value)
  41. #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \
  42. write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
  43. #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \
  44. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  45. radio_type##_##jspace##0##_##reg_name : \
  46. radio_type##_##jspace##1##_##reg_name))
  47. #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \
  48. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  49. radio_type##_##jspace##0##_##reg_name : \
  50. radio_type##_##jspace##1##_##reg_name), \
  51. value)
  52. #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \
  53. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  54. radio_type##_##reg_name##_##jspace##0 : \
  55. radio_type##_##reg_name##_##jspace##1))
  56. #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \
  57. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  58. radio_type##_##reg_name##_##jspace##0 : \
  59. radio_type##_##reg_name##_##jspace##1), \
  60. value)
  61. #define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ 40
  62. #define NPHY_ACI_CHANNEL_DELTA 5
  63. #define NPHY_ACI_CHANNEL_SKIP 4
  64. #define NPHY_ACI_40MHZ_CHANNEL_DELTA 6
  65. #define NPHY_ACI_40MHZ_CHANNEL_SKIP 5
  66. #define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3 6
  67. #define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3 5
  68. #define NPHY_ACI_CHANNEL_DELTA_GE_REV3 4
  69. #define NPHY_ACI_CHANNEL_SKIP_GE_REV3 3
  70. #define NPHY_NOISE_NOASSOC_GLITCH_TH_UP 2
  71. #define NPHY_NOISE_NOASSOC_GLITCH_TH_DN 8
  72. #define NPHY_NOISE_ASSOC_GLITCH_TH_UP 2
  73. #define NPHY_NOISE_ASSOC_GLITCH_TH_DN 8
  74. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP 2
  75. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN 8
  76. #define NPHY_NOISE_NOASSOC_ENTER_TH 400
  77. #define NPHY_NOISE_ASSOC_ENTER_TH 400
  78. #define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH 400
  79. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX 44
  80. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7 56
  81. #define NPHY_NOISE_NOASSOC_CRSIDX_INCR 16
  82. #define NPHY_NOISE_ASSOC_CRSIDX_INCR 8
  83. #define NPHY_IS_SROM_REINTERPRET NREV_GE(pi->pubpi.phy_rev, 5)
  84. #define NPHY_RSSICAL_MAXREAD 31
  85. #define NPHY_RSSICAL_NPOLL 8
  86. #define NPHY_RSSICAL_MAXD (1<<20)
  87. #define NPHY_MIN_RXIQ_PWR 2
  88. #define NPHY_RSSICAL_W1_TARGET 25
  89. #define NPHY_RSSICAL_W2_TARGET NPHY_RSSICAL_W1_TARGET
  90. #define NPHY_RSSICAL_NB_TARGET 0
  91. #define NPHY_RSSICAL_W1_TARGET_REV3 29
  92. #define NPHY_RSSICAL_W2_TARGET_REV3 NPHY_RSSICAL_W1_TARGET_REV3
  93. #define NPHY_CALSANITY_RSSI_NB_MAX_POS 9
  94. #define NPHY_CALSANITY_RSSI_NB_MAX_NEG -9
  95. #define NPHY_CALSANITY_RSSI_W1_MAX_POS 12
  96. #define NPHY_CALSANITY_RSSI_W1_MAX_NEG (NPHY_RSSICAL_W1_TARGET - \
  97. NPHY_RSSICAL_MAXREAD)
  98. #define NPHY_CALSANITY_RSSI_W2_MAX_POS NPHY_CALSANITY_RSSI_W1_MAX_POS
  99. #define NPHY_CALSANITY_RSSI_W2_MAX_NEG (NPHY_RSSICAL_W2_TARGET - \
  100. NPHY_RSSICAL_MAXREAD)
  101. #define NPHY_RSSI_SXT(x) ((s8) (-((x) & 0x20) + ((x) & 0x1f)))
  102. #define NPHY_RSSI_NB_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_NB_MAX_POS) || \
  103. ((x) < NPHY_CALSANITY_RSSI_NB_MAX_NEG))
  104. #define NPHY_RSSI_W1_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W1_MAX_POS) || \
  105. ((x) < NPHY_CALSANITY_RSSI_W1_MAX_NEG))
  106. #define NPHY_RSSI_W2_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W2_MAX_POS) || \
  107. ((x) < NPHY_CALSANITY_RSSI_W2_MAX_NEG))
  108. #define NPHY_IQCAL_NUMGAINS 9
  109. #define NPHY_N_GCTL 0x66
  110. #define NPHY_PAPD_EPS_TBL_SIZE 64
  111. #define NPHY_PAPD_SCL_TBL_SIZE 64
  112. #define NPHY_NUM_DIG_FILT_COEFFS 15
  113. #define NPHY_PAPD_COMP_OFF 0
  114. #define NPHY_PAPD_COMP_ON 1
  115. #define NPHY_SROM_TEMPSHIFT 32
  116. #define NPHY_SROM_MAXTEMPOFFSET 16
  117. #define NPHY_SROM_MINTEMPOFFSET -16
  118. #define NPHY_CAL_MAXTEMPDELTA 64
  119. #define NPHY_NOISEVAR_TBLLEN40 256
  120. #define NPHY_NOISEVAR_TBLLEN20 128
  121. #define NPHY_ANARXLPFBW_REDUCTIONFACT 7
  122. #define NPHY_ADJUSTED_MINCRSPOWER 0x1e
  123. /* 5357 Chip specific ChipControl register bits */
  124. #define CCTRL5357_EXTPA (1<<14) /* extPA in ChipControl 1, bit 14 */
  125. #define CCTRL5357_ANT_MUX_2o3 (1<<15) /* 2o3 in ChipControl 1, bit 15 */
  126. #define NPHY_CAL_TSSISAMPS 64
  127. #define NPHY_TEST_TONE_FREQ_40MHz 4000
  128. #define NPHY_TEST_TONE_FREQ_20MHz 2500
  129. #define MAX_205x_RCAL_WAITLOOPS 10000
  130. #define NPHY_RXCAL_TONEAMP 181
  131. #define NPHY_RXCAL_TONEFREQ_40MHz 4000
  132. #define NPHY_RXCAL_TONEFREQ_20MHz 2000
  133. #define TXFILT_SHAPING_OFDM20 0
  134. #define TXFILT_SHAPING_OFDM40 1
  135. #define TXFILT_SHAPING_CCK 2
  136. #define TXFILT_DEFAULT_OFDM20 3
  137. #define TXFILT_DEFAULT_OFDM40 4
  138. struct nphy_iqcal_params {
  139. u16 txlpf;
  140. u16 txgm;
  141. u16 pga;
  142. u16 pad;
  143. u16 ipa;
  144. u16 cal_gain;
  145. u16 ncorr[5];
  146. };
  147. struct nphy_txiqcal_ladder {
  148. u8 percent;
  149. u8 g_env;
  150. };
  151. struct nphy_ipa_txcalgains {
  152. struct nphy_txgains gains;
  153. bool useindex;
  154. u8 index;
  155. };
  156. struct nphy_papd_restore_state {
  157. u16 fbmix[2];
  158. u16 vga_master[2];
  159. u16 intpa_master[2];
  160. u16 afectrl[2];
  161. u16 afeoverride[2];
  162. u16 pwrup[2];
  163. u16 atten[2];
  164. u16 mm;
  165. };
  166. struct nphy_ipa_txrxgain {
  167. u16 hpvga;
  168. u16 lpf_biq1;
  169. u16 lpf_biq0;
  170. u16 lna2;
  171. u16 lna1;
  172. s8 txpwrindex;
  173. };
  174. #define NPHY_IPA_RXCAL_MAXGAININDEX (6 - 1)
  175. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz[] = {
  176. {0, 0, 0, 0, 0, 100},
  177. {0, 0, 0, 0, 0, 50},
  178. {0, 0, 0, 0, 0, -1},
  179. {0, 0, 0, 3, 0, -1},
  180. {0, 0, 3, 3, 0, -1},
  181. {0, 2, 3, 3, 0, -1}
  182. };
  183. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz[] = {
  184. {0, 0, 0, 0, 0, 128},
  185. {0, 0, 0, 0, 0, 70},
  186. {0, 0, 0, 0, 0, 20},
  187. {0, 0, 0, 3, 0, 20},
  188. {0, 0, 3, 3, 0, 20},
  189. {0, 2, 3, 3, 0, 20}
  190. };
  191. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz_rev7[] = {
  192. {0, 0, 0, 0, 0, 100},
  193. {0, 0, 0, 0, 0, 50},
  194. {0, 0, 0, 0, 0, -1},
  195. {0, 0, 0, 3, 0, -1},
  196. {0, 0, 3, 3, 0, -1},
  197. {0, 0, 5, 3, 0, -1}
  198. };
  199. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz_rev7[] = {
  200. {0, 0, 0, 0, 0, 10},
  201. {0, 0, 0, 1, 0, 10},
  202. {0, 0, 1, 2, 0, 10},
  203. {0, 0, 1, 3, 0, 10},
  204. {0, 0, 4, 3, 0, 10},
  205. {0, 0, 6, 3, 0, 10}
  206. };
  207. enum {
  208. NPHY_RXCAL_GAIN_INIT = 0,
  209. NPHY_RXCAL_GAIN_UP,
  210. NPHY_RXCAL_GAIN_DOWN
  211. };
  212. #define wlc_phy_get_papd_nphy(pi) \
  213. (read_phy_reg((pi), 0x1e7) & \
  214. ((0x1 << 15) | \
  215. (0x1 << 14) | \
  216. (0x1 << 13)))
  217. static const u16 NPHY_IPA_REV4_txdigi_filtcoeffs[][NPHY_NUM_DIG_FILT_COEFFS] = {
  218. {-377, 137, -407, 208, -1527, 956, 93, 186, 93,
  219. 230, -44, 230, 201, -191, 201},
  220. {-77, 20, -98, 49, -93, 60, 56, 111, 56, 26, -5,
  221. 26, 34, -32, 34},
  222. {-360, 164, -376, 164, -1533, 576, 308, -314, 308,
  223. 121, -73, 121, 91, 124, 91},
  224. {-295, 200, -363, 142, -1391, 826, 151, 301, 151,
  225. 151, 301, 151, 602, -752, 602},
  226. {-92, 58, -96, 49, -104, 44, 17, 35, 17,
  227. 12, 25, 12, 13, 27, 13},
  228. {-375, 136, -399, 209, -1479, 949, 130, 260, 130,
  229. 230, -44, 230, 201, -191, 201},
  230. {0xed9, 0xc8, 0xe95, 0x8e, 0xa91, 0x33a, 0x97, 0x12d, 0x97,
  231. 0x97, 0x12d, 0x97, 0x25a, 0xd10, 0x25a}
  232. };
  233. struct chan_info_nphy_2055 {
  234. u16 chan;
  235. u16 freq;
  236. uint unknown;
  237. u8 RF_pll_ref;
  238. u8 RF_rf_pll_mod1;
  239. u8 RF_rf_pll_mod0;
  240. u8 RF_vco_cap_tail;
  241. u8 RF_vco_cal1;
  242. u8 RF_vco_cal2;
  243. u8 RF_pll_lf_c1;
  244. u8 RF_pll_lf_r1;
  245. u8 RF_pll_lf_c2;
  246. u8 RF_lgbuf_cen_buf;
  247. u8 RF_lgen_tune1;
  248. u8 RF_lgen_tune2;
  249. u8 RF_core1_lgbuf_a_tune;
  250. u8 RF_core1_lgbuf_g_tune;
  251. u8 RF_core1_rxrf_reg1;
  252. u8 RF_core1_tx_pga_pad_tn;
  253. u8 RF_core1_tx_mx_bgtrim;
  254. u8 RF_core2_lgbuf_a_tune;
  255. u8 RF_core2_lgbuf_g_tune;
  256. u8 RF_core2_rxrf_reg1;
  257. u8 RF_core2_tx_pga_pad_tn;
  258. u8 RF_core2_tx_mx_bgtrim;
  259. u16 PHY_BW1a;
  260. u16 PHY_BW2;
  261. u16 PHY_BW3;
  262. u16 PHY_BW4;
  263. u16 PHY_BW5;
  264. u16 PHY_BW6;
  265. };
  266. struct chan_info_nphy_radio205x {
  267. u16 chan;
  268. u16 freq;
  269. u8 RF_SYN_pll_vcocal1;
  270. u8 RF_SYN_pll_vcocal2;
  271. u8 RF_SYN_pll_refdiv;
  272. u8 RF_SYN_pll_mmd2;
  273. u8 RF_SYN_pll_mmd1;
  274. u8 RF_SYN_pll_loopfilter1;
  275. u8 RF_SYN_pll_loopfilter2;
  276. u8 RF_SYN_pll_loopfilter3;
  277. u8 RF_SYN_pll_loopfilter4;
  278. u8 RF_SYN_pll_loopfilter5;
  279. u8 RF_SYN_reserved_addr27;
  280. u8 RF_SYN_reserved_addr28;
  281. u8 RF_SYN_reserved_addr29;
  282. u8 RF_SYN_logen_VCOBUF1;
  283. u8 RF_SYN_logen_MIXER2;
  284. u8 RF_SYN_logen_BUF3;
  285. u8 RF_SYN_logen_BUF4;
  286. u8 RF_RX0_lnaa_tune;
  287. u8 RF_RX0_lnag_tune;
  288. u8 RF_TX0_intpaa_boost_tune;
  289. u8 RF_TX0_intpag_boost_tune;
  290. u8 RF_TX0_pada_boost_tune;
  291. u8 RF_TX0_padg_boost_tune;
  292. u8 RF_TX0_pgaa_boost_tune;
  293. u8 RF_TX0_pgag_boost_tune;
  294. u8 RF_TX0_mixa_boost_tune;
  295. u8 RF_TX0_mixg_boost_tune;
  296. u8 RF_RX1_lnaa_tune;
  297. u8 RF_RX1_lnag_tune;
  298. u8 RF_TX1_intpaa_boost_tune;
  299. u8 RF_TX1_intpag_boost_tune;
  300. u8 RF_TX1_pada_boost_tune;
  301. u8 RF_TX1_padg_boost_tune;
  302. u8 RF_TX1_pgaa_boost_tune;
  303. u8 RF_TX1_pgag_boost_tune;
  304. u8 RF_TX1_mixa_boost_tune;
  305. u8 RF_TX1_mixg_boost_tune;
  306. u16 PHY_BW1a;
  307. u16 PHY_BW2;
  308. u16 PHY_BW3;
  309. u16 PHY_BW4;
  310. u16 PHY_BW5;
  311. u16 PHY_BW6;
  312. };
  313. struct chan_info_nphy_radio2057 {
  314. u16 chan;
  315. u16 freq;
  316. u8 RF_vcocal_countval0;
  317. u8 RF_vcocal_countval1;
  318. u8 RF_rfpll_refmaster_sparextalsize;
  319. u8 RF_rfpll_loopfilter_r1;
  320. u8 RF_rfpll_loopfilter_c2;
  321. u8 RF_rfpll_loopfilter_c1;
  322. u8 RF_cp_kpd_idac;
  323. u8 RF_rfpll_mmd0;
  324. u8 RF_rfpll_mmd1;
  325. u8 RF_vcobuf_tune;
  326. u8 RF_logen_mx2g_tune;
  327. u8 RF_logen_mx5g_tune;
  328. u8 RF_logen_indbuf2g_tune;
  329. u8 RF_logen_indbuf5g_tune;
  330. u8 RF_txmix2g_tune_boost_pu_core0;
  331. u8 RF_pad2g_tune_pus_core0;
  332. u8 RF_pga_boost_tune_core0;
  333. u8 RF_txmix5g_boost_tune_core0;
  334. u8 RF_pad5g_tune_misc_pus_core0;
  335. u8 RF_lna2g_tune_core0;
  336. u8 RF_lna5g_tune_core0;
  337. u8 RF_txmix2g_tune_boost_pu_core1;
  338. u8 RF_pad2g_tune_pus_core1;
  339. u8 RF_pga_boost_tune_core1;
  340. u8 RF_txmix5g_boost_tune_core1;
  341. u8 RF_pad5g_tune_misc_pus_core1;
  342. u8 RF_lna2g_tune_core1;
  343. u8 RF_lna5g_tune_core1;
  344. u16 PHY_BW1a;
  345. u16 PHY_BW2;
  346. u16 PHY_BW3;
  347. u16 PHY_BW4;
  348. u16 PHY_BW5;
  349. u16 PHY_BW6;
  350. };
  351. struct chan_info_nphy_radio2057_rev5 {
  352. u16 chan;
  353. u16 freq;
  354. u8 RF_vcocal_countval0;
  355. u8 RF_vcocal_countval1;
  356. u8 RF_rfpll_refmaster_sparextalsize;
  357. u8 RF_rfpll_loopfilter_r1;
  358. u8 RF_rfpll_loopfilter_c2;
  359. u8 RF_rfpll_loopfilter_c1;
  360. u8 RF_cp_kpd_idac;
  361. u8 RF_rfpll_mmd0;
  362. u8 RF_rfpll_mmd1;
  363. u8 RF_vcobuf_tune;
  364. u8 RF_logen_mx2g_tune;
  365. u8 RF_logen_indbuf2g_tune;
  366. u8 RF_txmix2g_tune_boost_pu_core0;
  367. u8 RF_pad2g_tune_pus_core0;
  368. u8 RF_lna2g_tune_core0;
  369. u8 RF_txmix2g_tune_boost_pu_core1;
  370. u8 RF_pad2g_tune_pus_core1;
  371. u8 RF_lna2g_tune_core1;
  372. u16 PHY_BW1a;
  373. u16 PHY_BW2;
  374. u16 PHY_BW3;
  375. u16 PHY_BW4;
  376. u16 PHY_BW5;
  377. u16 PHY_BW6;
  378. };
  379. struct nphy_sfo_cfg {
  380. u16 PHY_BW1a;
  381. u16 PHY_BW2;
  382. u16 PHY_BW3;
  383. u16 PHY_BW4;
  384. u16 PHY_BW5;
  385. u16 PHY_BW6;
  386. };
  387. static const struct chan_info_nphy_2055 chan_info_nphy_2055[] = {
  388. {
  389. 184, 4920, 3280, 0x71, 0x01, 0xEC, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  390. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  391. 0x0F, 0x8F, 0x7B4, 0x7B0, 0x7AC, 0x214, 0x215, 0x216},
  392. {
  393. 186, 4930, 3287, 0x71, 0x01, 0xED, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  394. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  395. 0x0F, 0x8F, 0x7B8, 0x7B4, 0x7B0, 0x213, 0x214, 0x215},
  396. {
  397. 188, 4940, 3293, 0x71, 0x01, 0xEE, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  398. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  399. 0x0F, 0x8F, 0x7BC, 0x7B8, 0x7B4, 0x212, 0x213, 0x214},
  400. {
  401. 190, 4950, 3300, 0x71, 0x01, 0xEF, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  402. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  403. 0x0F, 0x8F, 0x7C0, 0x7BC, 0x7B8, 0x211, 0x212, 0x213},
  404. {
  405. 192, 4960, 3307, 0x71, 0x01, 0xF0, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  406. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  407. 0x0F, 0x8F, 0x7C4, 0x7C0, 0x7BC, 0x20F, 0x211, 0x212},
  408. {
  409. 194, 4970, 3313, 0x71, 0x01, 0xF1, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  410. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  411. 0x0F, 0x8F, 0x7C8, 0x7C4, 0x7C0, 0x20E, 0x20F, 0x211},
  412. {
  413. 196, 4980, 3320, 0x71, 0x01, 0xF2, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  414. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  415. 0x0F, 0x8F, 0x7CC, 0x7C8, 0x7C4, 0x20D, 0x20E, 0x20F},
  416. {
  417. 198, 4990, 3327, 0x71, 0x01, 0xF3, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  418. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  419. 0x0F, 0x8F, 0x7D0, 0x7CC, 0x7C8, 0x20C, 0x20D, 0x20E},
  420. {
  421. 200, 5000, 3333, 0x71, 0x01, 0xF4, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  422. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  423. 0x0F, 0x8F, 0x7D4, 0x7D0, 0x7CC, 0x20B, 0x20C, 0x20D},
  424. {
  425. 202, 5010, 3340, 0x71, 0x01, 0xF5, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  426. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  427. 0x0F, 0x8F, 0x7D8, 0x7D4, 0x7D0, 0x20A, 0x20B, 0x20C},
  428. {
  429. 204, 5020, 3347, 0x71, 0x01, 0xF6, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  430. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  431. 0x0F, 0x8F, 0x7DC, 0x7D8, 0x7D4, 0x209, 0x20A, 0x20B},
  432. {
  433. 206, 5030, 3353, 0x71, 0x01, 0xF7, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  434. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  435. 0x0F, 0x8F, 0x7E0, 0x7DC, 0x7D8, 0x208, 0x209, 0x20A},
  436. {
  437. 208, 5040, 3360, 0x71, 0x01, 0xF8, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  438. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  439. 0x0F, 0x8F, 0x7E4, 0x7E0, 0x7DC, 0x207, 0x208, 0x209},
  440. {
  441. 210, 5050, 3367, 0x71, 0x01, 0xF9, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  442. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  443. 0x0F, 0x8F, 0x7E8, 0x7E4, 0x7E0, 0x206, 0x207, 0x208},
  444. {
  445. 212, 5060, 3373, 0x71, 0x01, 0xFA, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  446. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  447. 0x0F, 0x8E, 0x7EC, 0x7E8, 0x7E4, 0x205, 0x206, 0x207},
  448. {
  449. 214, 5070, 3380, 0x71, 0x01, 0xFB, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  450. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  451. 0x0F, 0x8E, 0x7F0, 0x7EC, 0x7E8, 0x204, 0x205, 0x206},
  452. {
  453. 216, 5080, 3387, 0x71, 0x01, 0xFC, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  454. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  455. 0x0F, 0x8D, 0x7F4, 0x7F0, 0x7EC, 0x203, 0x204, 0x205},
  456. {
  457. 218, 5090, 3393, 0x71, 0x01, 0xFD, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  458. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  459. 0x0F, 0x8D, 0x7F8, 0x7F4, 0x7F0, 0x202, 0x203, 0x204},
  460. {
  461. 220, 5100, 3400, 0x71, 0x01, 0xFE, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  462. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  463. 0x0F, 0x8D, 0x7FC, 0x7F8, 0x7F4, 0x201, 0x202, 0x203},
  464. {
  465. 222, 5110, 3407, 0x71, 0x01, 0xFF, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  466. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  467. 0x0F, 0x8D, 0x800, 0x7FC, 0x7F8, 0x200, 0x201, 0x202},
  468. {
  469. 224, 5120, 3413, 0x71, 0x02, 0x00, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  470. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  471. 0x0F, 0x8C, 0x804, 0x800, 0x7FC, 0x1FF, 0x200, 0x201},
  472. {
  473. 226, 5130, 3420, 0x71, 0x02, 0x01, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  474. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  475. 0x0F, 0x8C, 0x808, 0x804, 0x800, 0x1FE, 0x1FF, 0x200},
  476. {
  477. 228, 5140, 3427, 0x71, 0x02, 0x02, 0x0C, 0xC6, 0x01, 0x04, 0x0A,
  478. 0x00, 0x8D, 0x99, 0x99, 0xDD, 0x00, 0x0C, 0x0E, 0x8B, 0xDD, 0x00, 0x0C,
  479. 0x0E, 0x8B, 0x80C, 0x808, 0x804, 0x1FD, 0x1FE, 0x1FF},
  480. {
  481. 32, 5160, 3440, 0x71, 0x02, 0x04, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  482. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  483. 0x0D, 0x8A, 0x814, 0x810, 0x80C, 0x1FB, 0x1FC, 0x1FD},
  484. {
  485. 34, 5170, 3447, 0x71, 0x02, 0x05, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  486. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  487. 0x0D, 0x8A, 0x818, 0x814, 0x810, 0x1FA, 0x1FB, 0x1FC},
  488. {
  489. 36, 5180, 3453, 0x71, 0x02, 0x06, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  490. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  491. 0x0C, 0x89, 0x81C, 0x818, 0x814, 0x1F9, 0x1FA, 0x1FB},
  492. {
  493. 38, 5190, 3460, 0x71, 0x02, 0x07, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  494. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  495. 0x0C, 0x89, 0x820, 0x81C, 0x818, 0x1F8, 0x1F9, 0x1FA},
  496. {
  497. 40, 5200, 3467, 0x71, 0x02, 0x08, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  498. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  499. 0x0B, 0x89, 0x824, 0x820, 0x81C, 0x1F7, 0x1F8, 0x1F9},
  500. {
  501. 42, 5210, 3473, 0x71, 0x02, 0x09, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  502. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  503. 0x0B, 0x89, 0x828, 0x824, 0x820, 0x1F6, 0x1F7, 0x1F8},
  504. {
  505. 44, 5220, 3480, 0x71, 0x02, 0x0A, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  506. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  507. 0x0A, 0x88, 0x82C, 0x828, 0x824, 0x1F5, 0x1F6, 0x1F7},
  508. {
  509. 46, 5230, 3487, 0x71, 0x02, 0x0B, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  510. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  511. 0x0A, 0x88, 0x830, 0x82C, 0x828, 0x1F4, 0x1F5, 0x1F6},
  512. {
  513. 48, 5240, 3493, 0x71, 0x02, 0x0C, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  514. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  515. 0x0A, 0x87, 0x834, 0x830, 0x82C, 0x1F3, 0x1F4, 0x1F5},
  516. {
  517. 50, 5250, 3500, 0x71, 0x02, 0x0D, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  518. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  519. 0x0A, 0x87, 0x838, 0x834, 0x830, 0x1F2, 0x1F3, 0x1F4},
  520. {
  521. 52, 5260, 3507, 0x71, 0x02, 0x0E, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  522. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  523. 0x09, 0x87, 0x83C, 0x838, 0x834, 0x1F1, 0x1F2, 0x1F3},
  524. {
  525. 54, 5270, 3513, 0x71, 0x02, 0x0F, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  526. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  527. 0x09, 0x87, 0x840, 0x83C, 0x838, 0x1F0, 0x1F1, 0x1F2},
  528. {
  529. 56, 5280, 3520, 0x71, 0x02, 0x10, 0x09, 0x91, 0x01, 0x04, 0x0A,
  530. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  531. 0x08, 0x86, 0x844, 0x840, 0x83C, 0x1F0, 0x1F0, 0x1F1},
  532. {
  533. 58, 5290, 3527, 0x71, 0x02, 0x11, 0x09, 0x91, 0x01, 0x04, 0x0A,
  534. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  535. 0x08, 0x86, 0x848, 0x844, 0x840, 0x1EF, 0x1F0, 0x1F0},
  536. {
  537. 60, 5300, 3533, 0x71, 0x02, 0x12, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  538. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  539. 0x07, 0x85, 0x84C, 0x848, 0x844, 0x1EE, 0x1EF, 0x1F0},
  540. {
  541. 62, 5310, 3540, 0x71, 0x02, 0x13, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  542. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  543. 0x07, 0x85, 0x850, 0x84C, 0x848, 0x1ED, 0x1EE, 0x1EF},
  544. {
  545. 64, 5320, 3547, 0x71, 0x02, 0x14, 0x09, 0x83, 0x01, 0x04, 0x0A,
  546. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  547. 0x07, 0x84, 0x854, 0x850, 0x84C, 0x1EC, 0x1ED, 0x1EE},
  548. {
  549. 66, 5330, 3553, 0x71, 0x02, 0x15, 0x09, 0x83, 0x01, 0x04, 0x0A,
  550. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  551. 0x07, 0x84, 0x858, 0x854, 0x850, 0x1EB, 0x1EC, 0x1ED},
  552. {
  553. 68, 5340, 3560, 0x71, 0x02, 0x16, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  554. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  555. 0x06, 0x84, 0x85C, 0x858, 0x854, 0x1EA, 0x1EB, 0x1EC},
  556. {
  557. 70, 5350, 3567, 0x71, 0x02, 0x17, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  558. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  559. 0x06, 0x84, 0x860, 0x85C, 0x858, 0x1E9, 0x1EA, 0x1EB},
  560. {
  561. 72, 5360, 3573, 0x71, 0x02, 0x18, 0x08, 0x75, 0x01, 0x04, 0x0A,
  562. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  563. 0x05, 0x83, 0x864, 0x860, 0x85C, 0x1E8, 0x1E9, 0x1EA},
  564. {
  565. 74, 5370, 3580, 0x71, 0x02, 0x19, 0x08, 0x75, 0x01, 0x04, 0x0A,
  566. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  567. 0x05, 0x83, 0x868, 0x864, 0x860, 0x1E7, 0x1E8, 0x1E9},
  568. {
  569. 76, 5380, 3587, 0x71, 0x02, 0x1A, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  570. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  571. 0x04, 0x82, 0x86C, 0x868, 0x864, 0x1E6, 0x1E7, 0x1E8},
  572. {
  573. 78, 5390, 3593, 0x71, 0x02, 0x1B, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  574. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  575. 0x04, 0x82, 0x870, 0x86C, 0x868, 0x1E5, 0x1E6, 0x1E7},
  576. {
  577. 80, 5400, 3600, 0x71, 0x02, 0x1C, 0x07, 0x67, 0x01, 0x04, 0x0A,
  578. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  579. 0x04, 0x81, 0x874, 0x870, 0x86C, 0x1E5, 0x1E5, 0x1E6},
  580. {
  581. 82, 5410, 3607, 0x71, 0x02, 0x1D, 0x07, 0x67, 0x01, 0x04, 0x0A,
  582. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  583. 0x04, 0x81, 0x878, 0x874, 0x870, 0x1E4, 0x1E5, 0x1E5},
  584. {
  585. 84, 5420, 3613, 0x71, 0x02, 0x1E, 0x07, 0x61, 0x01, 0x04, 0x0A,
  586. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  587. 0x03, 0x80, 0x87C, 0x878, 0x874, 0x1E3, 0x1E4, 0x1E5},
  588. {
  589. 86, 5430, 3620, 0x71, 0x02, 0x1F, 0x07, 0x61, 0x01, 0x04, 0x0A,
  590. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  591. 0x03, 0x80, 0x880, 0x87C, 0x878, 0x1E2, 0x1E3, 0x1E4},
  592. {
  593. 88, 5440, 3627, 0x71, 0x02, 0x20, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  594. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  595. 0x02, 0x80, 0x884, 0x880, 0x87C, 0x1E1, 0x1E2, 0x1E3},
  596. {
  597. 90, 5450, 3633, 0x71, 0x02, 0x21, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  598. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  599. 0x02, 0x80, 0x888, 0x884, 0x880, 0x1E0, 0x1E1, 0x1E2},
  600. {
  601. 92, 5460, 3640, 0x71, 0x02, 0x22, 0x06, 0x53, 0x01, 0x04, 0x0A,
  602. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  603. 0x01, 0x80, 0x88C, 0x888, 0x884, 0x1DF, 0x1E0, 0x1E1},
  604. {
  605. 94, 5470, 3647, 0x71, 0x02, 0x23, 0x06, 0x53, 0x01, 0x04, 0x0A,
  606. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  607. 0x01, 0x80, 0x890, 0x88C, 0x888, 0x1DE, 0x1DF, 0x1E0},
  608. {
  609. 96, 5480, 3653, 0x71, 0x02, 0x24, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  610. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  611. 0x00, 0x80, 0x894, 0x890, 0x88C, 0x1DD, 0x1DE, 0x1DF},
  612. {
  613. 98, 5490, 3660, 0x71, 0x02, 0x25, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  614. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  615. 0x00, 0x80, 0x898, 0x894, 0x890, 0x1DD, 0x1DD, 0x1DE},
  616. {
  617. 100, 5500, 3667, 0x71, 0x02, 0x26, 0x06, 0x47, 0x01, 0x04, 0x0A,
  618. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  619. 0x00, 0x80, 0x89C, 0x898, 0x894, 0x1DC, 0x1DD, 0x1DD},
  620. {
  621. 102, 5510, 3673, 0x71, 0x02, 0x27, 0x06, 0x47, 0x01, 0x04, 0x0A,
  622. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  623. 0x00, 0x80, 0x8A0, 0x89C, 0x898, 0x1DB, 0x1DC, 0x1DD},
  624. {
  625. 104, 5520, 3680, 0x71, 0x02, 0x28, 0x05, 0x40, 0x01, 0x04, 0x0A,
  626. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  627. 0x00, 0x80, 0x8A4, 0x8A0, 0x89C, 0x1DA, 0x1DB, 0x1DC},
  628. {
  629. 106, 5530, 3687, 0x71, 0x02, 0x29, 0x05, 0x40, 0x01, 0x04, 0x0A,
  630. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  631. 0x00, 0x80, 0x8A8, 0x8A4, 0x8A0, 0x1D9, 0x1DA, 0x1DB},
  632. {
  633. 108, 5540, 3693, 0x71, 0x02, 0x2A, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  634. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  635. 0x00, 0x80, 0x8AC, 0x8A8, 0x8A4, 0x1D8, 0x1D9, 0x1DA},
  636. {
  637. 110, 5550, 3700, 0x71, 0x02, 0x2B, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  638. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  639. 0x00, 0x80, 0x8B0, 0x8AC, 0x8A8, 0x1D7, 0x1D8, 0x1D9},
  640. {
  641. 112, 5560, 3707, 0x71, 0x02, 0x2C, 0x05, 0x34, 0x01, 0x04, 0x0A,
  642. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  643. 0x00, 0x80, 0x8B4, 0x8B0, 0x8AC, 0x1D7, 0x1D7, 0x1D8},
  644. {
  645. 114, 5570, 3713, 0x71, 0x02, 0x2D, 0x05, 0x34, 0x01, 0x04, 0x0A,
  646. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  647. 0x00, 0x80, 0x8B8, 0x8B4, 0x8B0, 0x1D6, 0x1D7, 0x1D7},
  648. {
  649. 116, 5580, 3720, 0x71, 0x02, 0x2E, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  650. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  651. 0x00, 0x80, 0x8BC, 0x8B8, 0x8B4, 0x1D5, 0x1D6, 0x1D7},
  652. {
  653. 118, 5590, 3727, 0x71, 0x02, 0x2F, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  654. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  655. 0x00, 0x80, 0x8C0, 0x8BC, 0x8B8, 0x1D4, 0x1D5, 0x1D6},
  656. {
  657. 120, 5600, 3733, 0x71, 0x02, 0x30, 0x04, 0x28, 0x01, 0x04, 0x0A,
  658. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  659. 0x00, 0x80, 0x8C4, 0x8C0, 0x8BC, 0x1D3, 0x1D4, 0x1D5},
  660. {
  661. 122, 5610, 3740, 0x71, 0x02, 0x31, 0x04, 0x28, 0x01, 0x04, 0x0A,
  662. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  663. 0x00, 0x80, 0x8C8, 0x8C4, 0x8C0, 0x1D2, 0x1D3, 0x1D4},
  664. {
  665. 124, 5620, 3747, 0x71, 0x02, 0x32, 0x04, 0x21, 0x01, 0x04, 0x0A,
  666. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  667. 0x00, 0x80, 0x8CC, 0x8C8, 0x8C4, 0x1D2, 0x1D2, 0x1D3},
  668. {
  669. 126, 5630, 3753, 0x71, 0x02, 0x33, 0x04, 0x21, 0x01, 0x04, 0x0A,
  670. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  671. 0x00, 0x80, 0x8D0, 0x8CC, 0x8C8, 0x1D1, 0x1D2, 0x1D2},
  672. {
  673. 128, 5640, 3760, 0x71, 0x02, 0x34, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  674. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  675. 0x00, 0x80, 0x8D4, 0x8D0, 0x8CC, 0x1D0, 0x1D1, 0x1D2},
  676. {
  677. 130, 5650, 3767, 0x71, 0x02, 0x35, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  678. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  679. 0x00, 0x80, 0x8D8, 0x8D4, 0x8D0, 0x1CF, 0x1D0, 0x1D1},
  680. {
  681. 132, 5660, 3773, 0x71, 0x02, 0x36, 0x03, 0x16, 0x01, 0x04, 0x0A,
  682. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  683. 0x00, 0x80, 0x8DC, 0x8D8, 0x8D4, 0x1CE, 0x1CF, 0x1D0},
  684. {
  685. 134, 5670, 3780, 0x71, 0x02, 0x37, 0x03, 0x16, 0x01, 0x04, 0x0A,
  686. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  687. 0x00, 0x80, 0x8E0, 0x8DC, 0x8D8, 0x1CE, 0x1CE, 0x1CF},
  688. {
  689. 136, 5680, 3787, 0x71, 0x02, 0x38, 0x03, 0x10, 0x01, 0x04, 0x0A,
  690. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  691. 0x00, 0x80, 0x8E4, 0x8E0, 0x8DC, 0x1CD, 0x1CE, 0x1CE},
  692. {
  693. 138, 5690, 3793, 0x71, 0x02, 0x39, 0x03, 0x10, 0x01, 0x04, 0x0A,
  694. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  695. 0x00, 0x80, 0x8E8, 0x8E4, 0x8E0, 0x1CC, 0x1CD, 0x1CE},
  696. {
  697. 140, 5700, 3800, 0x71, 0x02, 0x3A, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  698. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  699. 0x00, 0x80, 0x8EC, 0x8E8, 0x8E4, 0x1CB, 0x1CC, 0x1CD},
  700. {
  701. 142, 5710, 3807, 0x71, 0x02, 0x3B, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  702. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  703. 0x00, 0x80, 0x8F0, 0x8EC, 0x8E8, 0x1CA, 0x1CB, 0x1CC},
  704. {
  705. 144, 5720, 3813, 0x71, 0x02, 0x3C, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  706. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  707. 0x00, 0x80, 0x8F4, 0x8F0, 0x8EC, 0x1C9, 0x1CA, 0x1CB},
  708. {
  709. 145, 5725, 3817, 0x72, 0x04, 0x79, 0x02, 0x03, 0x01, 0x03, 0x14,
  710. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  711. 0x00, 0x80, 0x8F6, 0x8F2, 0x8EE, 0x1C9, 0x1CA, 0x1CB},
  712. {
  713. 146, 5730, 3820, 0x71, 0x02, 0x3D, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  714. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  715. 0x00, 0x80, 0x8F8, 0x8F4, 0x8F0, 0x1C9, 0x1C9, 0x1CA},
  716. {
  717. 147, 5735, 3823, 0x72, 0x04, 0x7B, 0x02, 0x03, 0x01, 0x03, 0x14,
  718. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  719. 0x00, 0x80, 0x8FA, 0x8F6, 0x8F2, 0x1C8, 0x1C9, 0x1CA},
  720. {
  721. 148, 5740, 3827, 0x71, 0x02, 0x3E, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  722. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  723. 0x00, 0x80, 0x8FC, 0x8F8, 0x8F4, 0x1C8, 0x1C9, 0x1C9},
  724. {
  725. 149, 5745, 3830, 0x72, 0x04, 0x7D, 0x02, 0xFE, 0x00, 0x03, 0x14,
  726. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  727. 0x00, 0x80, 0x8FE, 0x8FA, 0x8F6, 0x1C8, 0x1C8, 0x1C9},
  728. {
  729. 150, 5750, 3833, 0x71, 0x02, 0x3F, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  730. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  731. 0x00, 0x80, 0x900, 0x8FC, 0x8F8, 0x1C7, 0x1C8, 0x1C9},
  732. {
  733. 151, 5755, 3837, 0x72, 0x04, 0x7F, 0x02, 0xFE, 0x00, 0x03, 0x14,
  734. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  735. 0x00, 0x80, 0x902, 0x8FE, 0x8FA, 0x1C7, 0x1C8, 0x1C8},
  736. {
  737. 152, 5760, 3840, 0x71, 0x02, 0x40, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  738. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  739. 0x00, 0x80, 0x904, 0x900, 0x8FC, 0x1C6, 0x1C7, 0x1C8},
  740. {
  741. 153, 5765, 3843, 0x72, 0x04, 0x81, 0x02, 0xF8, 0x00, 0x03, 0x14,
  742. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  743. 0x00, 0x80, 0x906, 0x902, 0x8FE, 0x1C6, 0x1C7, 0x1C8},
  744. {
  745. 154, 5770, 3847, 0x71, 0x02, 0x41, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  746. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  747. 0x00, 0x80, 0x908, 0x904, 0x900, 0x1C6, 0x1C6, 0x1C7},
  748. {
  749. 155, 5775, 3850, 0x72, 0x04, 0x83, 0x02, 0xF8, 0x00, 0x03, 0x14,
  750. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  751. 0x00, 0x80, 0x90A, 0x906, 0x902, 0x1C5, 0x1C6, 0x1C7},
  752. {
  753. 156, 5780, 3853, 0x71, 0x02, 0x42, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  754. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  755. 0x00, 0x80, 0x90C, 0x908, 0x904, 0x1C5, 0x1C6, 0x1C6},
  756. {
  757. 157, 5785, 3857, 0x72, 0x04, 0x85, 0x02, 0xF2, 0x00, 0x03, 0x14,
  758. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  759. 0x00, 0x80, 0x90E, 0x90A, 0x906, 0x1C4, 0x1C5, 0x1C6},
  760. {
  761. 158, 5790, 3860, 0x71, 0x02, 0x43, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  762. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  763. 0x00, 0x80, 0x910, 0x90C, 0x908, 0x1C4, 0x1C5, 0x1C6},
  764. {
  765. 159, 5795, 3863, 0x72, 0x04, 0x87, 0x02, 0xF2, 0x00, 0x03, 0x14,
  766. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  767. 0x00, 0x80, 0x912, 0x90E, 0x90A, 0x1C4, 0x1C4, 0x1C5},
  768. {
  769. 160, 5800, 3867, 0x71, 0x02, 0x44, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  770. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  771. 0x00, 0x80, 0x914, 0x910, 0x90C, 0x1C3, 0x1C4, 0x1C5},
  772. {
  773. 161, 5805, 3870, 0x72, 0x04, 0x89, 0x01, 0xED, 0x00, 0x03, 0x14,
  774. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  775. 0x00, 0x80, 0x916, 0x912, 0x90E, 0x1C3, 0x1C4, 0x1C4},
  776. {
  777. 162, 5810, 3873, 0x71, 0x02, 0x45, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  778. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  779. 0x00, 0x80, 0x918, 0x914, 0x910, 0x1C2, 0x1C3, 0x1C4},
  780. {
  781. 163, 5815, 3877, 0x72, 0x04, 0x8B, 0x01, 0xED, 0x00, 0x03, 0x14,
  782. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  783. 0x00, 0x80, 0x91A, 0x916, 0x912, 0x1C2, 0x1C3, 0x1C4},
  784. {
  785. 164, 5820, 3880, 0x71, 0x02, 0x46, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  786. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  787. 0x00, 0x80, 0x91C, 0x918, 0x914, 0x1C2, 0x1C2, 0x1C3},
  788. {
  789. 165, 5825, 3883, 0x72, 0x04, 0x8D, 0x01, 0xED, 0x00, 0x03, 0x14,
  790. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  791. 0x00, 0x80, 0x91E, 0x91A, 0x916, 0x1C1, 0x1C2, 0x1C3},
  792. {
  793. 166, 5830, 3887, 0x71, 0x02, 0x47, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  794. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  795. 0x00, 0x80, 0x920, 0x91C, 0x918, 0x1C1, 0x1C2, 0x1C2},
  796. {
  797. 168, 5840, 3893, 0x71, 0x02, 0x48, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  798. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  799. 0x00, 0x80, 0x924, 0x920, 0x91C, 0x1C0, 0x1C1, 0x1C2},
  800. {
  801. 170, 5850, 3900, 0x71, 0x02, 0x49, 0x01, 0xE0, 0x00, 0x04, 0x0A,
  802. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  803. 0x00, 0x80, 0x928, 0x924, 0x920, 0x1BF, 0x1C0, 0x1C1},
  804. {
  805. 172, 5860, 3907, 0x71, 0x02, 0x4A, 0x01, 0xDE, 0x00, 0x04, 0x0A,
  806. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  807. 0x00, 0x80, 0x92C, 0x928, 0x924, 0x1BF, 0x1BF, 0x1C0},
  808. {
  809. 174, 5870, 3913, 0x71, 0x02, 0x4B, 0x00, 0xDB, 0x00, 0x04, 0x0A,
  810. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  811. 0x00, 0x80, 0x930, 0x92C, 0x928, 0x1BE, 0x1BF, 0x1BF},
  812. {
  813. 176, 5880, 3920, 0x71, 0x02, 0x4C, 0x00, 0xD8, 0x00, 0x04, 0x0A,
  814. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  815. 0x00, 0x80, 0x934, 0x930, 0x92C, 0x1BD, 0x1BE, 0x1BF},
  816. {
  817. 178, 5890, 3927, 0x71, 0x02, 0x4D, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  818. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  819. 0x00, 0x80, 0x938, 0x934, 0x930, 0x1BC, 0x1BD, 0x1BE},
  820. {
  821. 180, 5900, 3933, 0x71, 0x02, 0x4E, 0x00, 0xD3, 0x00, 0x04, 0x0A,
  822. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  823. 0x00, 0x80, 0x93C, 0x938, 0x934, 0x1BC, 0x1BC, 0x1BD},
  824. {
  825. 182, 5910, 3940, 0x71, 0x02, 0x4F, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  826. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  827. 0x00, 0x80, 0x940, 0x93C, 0x938, 0x1BB, 0x1BC, 0x1BC},
  828. {
  829. 1, 2412, 3216, 0x73, 0x09, 0x6C, 0x0F, 0x00, 0x01, 0x07, 0x15,
  830. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0D, 0x0C, 0x80, 0xFF, 0x88, 0x0D,
  831. 0x0C, 0x80, 0x3C9, 0x3C5, 0x3C1, 0x43A, 0x43F, 0x443},
  832. {
  833. 2, 2417, 3223, 0x73, 0x09, 0x71, 0x0F, 0x00, 0x01, 0x07, 0x15,
  834. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0B, 0x80, 0xFF, 0x88, 0x0C,
  835. 0x0B, 0x80, 0x3CB, 0x3C7, 0x3C3, 0x438, 0x43D, 0x441},
  836. {
  837. 3, 2422, 3229, 0x73, 0x09, 0x76, 0x0F, 0x00, 0x01, 0x07, 0x15,
  838. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  839. 0x0A, 0x80, 0x3CD, 0x3C9, 0x3C5, 0x436, 0x43A, 0x43F},
  840. {
  841. 4, 2427, 3236, 0x73, 0x09, 0x7B, 0x0F, 0x00, 0x01, 0x07, 0x15,
  842. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  843. 0x0A, 0x80, 0x3CF, 0x3CB, 0x3C7, 0x434, 0x438, 0x43D},
  844. {
  845. 5, 2432, 3243, 0x73, 0x09, 0x80, 0x0F, 0x00, 0x01, 0x07, 0x15,
  846. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x09, 0x80, 0xFF, 0x88, 0x0C,
  847. 0x09, 0x80, 0x3D1, 0x3CD, 0x3C9, 0x431, 0x436, 0x43A},
  848. {
  849. 6, 2437, 3249, 0x73, 0x09, 0x85, 0x0F, 0x00, 0x01, 0x07, 0x15,
  850. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0B, 0x08, 0x80, 0xFF, 0x88, 0x0B,
  851. 0x08, 0x80, 0x3D3, 0x3CF, 0x3CB, 0x42F, 0x434, 0x438},
  852. {
  853. 7, 2442, 3256, 0x73, 0x09, 0x8A, 0x0F, 0x00, 0x01, 0x07, 0x15,
  854. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x07, 0x80, 0xFF, 0x88, 0x0A,
  855. 0x07, 0x80, 0x3D5, 0x3D1, 0x3CD, 0x42D, 0x431, 0x436},
  856. {
  857. 8, 2447, 3263, 0x73, 0x09, 0x8F, 0x0F, 0x00, 0x01, 0x07, 0x15,
  858. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x06, 0x80, 0xFF, 0x88, 0x0A,
  859. 0x06, 0x80, 0x3D7, 0x3D3, 0x3CF, 0x42B, 0x42F, 0x434},
  860. {
  861. 9, 2452, 3269, 0x73, 0x09, 0x94, 0x0F, 0x00, 0x01, 0x07, 0x15,
  862. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x09, 0x06, 0x80, 0xFF, 0x88, 0x09,
  863. 0x06, 0x80, 0x3D9, 0x3D5, 0x3D1, 0x429, 0x42D, 0x431},
  864. {
  865. 10, 2457, 3276, 0x73, 0x09, 0x99, 0x0F, 0x00, 0x01, 0x07, 0x15,
  866. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x05, 0x80, 0xFF, 0x88, 0x08,
  867. 0x05, 0x80, 0x3DB, 0x3D7, 0x3D3, 0x427, 0x42B, 0x42F},
  868. {
  869. 11, 2462, 3283, 0x73, 0x09, 0x9E, 0x0F, 0x00, 0x01, 0x07, 0x15,
  870. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x04, 0x80, 0xFF, 0x88, 0x08,
  871. 0x04, 0x80, 0x3DD, 0x3D9, 0x3D5, 0x424, 0x429, 0x42D},
  872. {
  873. 12, 2467, 3289, 0x73, 0x09, 0xA3, 0x0F, 0x00, 0x01, 0x07, 0x15,
  874. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x03, 0x80, 0xFF, 0x88, 0x08,
  875. 0x03, 0x80, 0x3DF, 0x3DB, 0x3D7, 0x422, 0x427, 0x42B},
  876. {
  877. 13, 2472, 3296, 0x73, 0x09, 0xA8, 0x0F, 0x00, 0x01, 0x07, 0x15,
  878. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x03, 0x80, 0xFF, 0x88, 0x07,
  879. 0x03, 0x80, 0x3E1, 0x3DD, 0x3D9, 0x420, 0x424, 0x429},
  880. {
  881. 14, 2484, 3312, 0x73, 0x09, 0xB4, 0x0F, 0xFF, 0x01, 0x07, 0x15,
  882. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x01, 0x80, 0xFF, 0x88, 0x07,
  883. 0x01, 0x80, 0x3E6, 0x3E2, 0x3DE, 0x41B, 0x41F, 0x424}
  884. };
  885. static const struct chan_info_nphy_radio205x chan_info_nphyrev3_2056[] = {
  886. {
  887. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  888. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  889. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  890. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  891. {
  892. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  893. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  894. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  895. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  896. {
  897. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  898. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  899. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  900. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  901. {
  902. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  903. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  904. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  905. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  906. {
  907. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  908. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  909. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  910. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  911. {
  912. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  913. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  914. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  915. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  916. {
  917. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  918. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  919. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  920. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  921. {
  922. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  923. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  924. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  925. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  926. {
  927. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  928. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  929. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  930. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  931. {
  932. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  933. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  934. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  935. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  936. {
  937. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  938. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  939. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  940. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  941. {
  942. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  943. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  944. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  945. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  946. {
  947. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  948. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  949. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  950. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  951. {
  952. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  953. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  954. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  955. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  956. {
  957. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  958. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  959. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  960. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  961. {
  962. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  963. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  964. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  965. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  966. {
  967. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  968. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  969. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  970. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  971. {
  972. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  973. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  974. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  975. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  976. {
  977. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  978. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  979. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  980. 0x00, 0xff, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  981. {
  982. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  983. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  984. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  985. 0x00, 0xfc, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  986. {
  987. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  988. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  989. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  990. 0x00, 0xfc, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  991. {
  992. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  993. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  994. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  995. 0x00, 0xfc, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  996. {
  997. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  998. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  999. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1000. 0x00, 0xfc, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1001. {
  1002. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1003. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1004. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1005. 0x00, 0xfc, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1006. {
  1007. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1008. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1009. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1010. 0x00, 0xfc, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1011. {
  1012. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1013. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1014. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1015. 0x00, 0xfc, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1016. {
  1017. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1018. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1019. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1020. 0x00, 0xfc, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1021. {
  1022. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1023. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x06, 0x00, 0x7f,
  1024. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1025. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1026. {
  1027. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1028. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1029. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1030. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1031. {
  1032. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1033. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1034. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1035. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1036. {
  1037. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1038. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1039. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1040. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1041. {
  1042. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1043. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1044. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1045. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1046. {
  1047. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1048. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1049. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1050. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1051. {
  1052. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1053. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1054. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1055. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1056. {
  1057. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1058. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1059. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1060. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1061. {
  1062. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1063. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1064. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1065. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1066. {
  1067. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1068. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1069. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1070. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1071. {
  1072. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1073. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1074. 0x00, 0x09, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1075. 0x00, 0xfc, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1076. {
  1077. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1078. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1079. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1080. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1081. {
  1082. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1083. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1084. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1085. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1086. {
  1087. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1088. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1089. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1090. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1091. {
  1092. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1093. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1094. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1095. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1096. {
  1097. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1098. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1099. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1100. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1101. {
  1102. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1103. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1104. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1105. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1106. {
  1107. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1108. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1109. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1110. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1111. {
  1112. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1113. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1114. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1115. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1116. {
  1117. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1118. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x05, 0x00, 0x7f,
  1119. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1120. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1121. {
  1122. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1123. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1124. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1125. 0x00, 0xfa, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1126. {
  1127. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1128. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1129. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1130. 0x00, 0xfa, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1131. {
  1132. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1133. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1134. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1135. 0x00, 0xfa, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1136. {
  1137. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1138. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1139. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1140. 0x00, 0xfa, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1141. {
  1142. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1143. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x04, 0x00, 0x7f,
  1144. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1145. 0x00, 0xfa, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1146. {
  1147. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1148. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x04, 0x00, 0x7f,
  1149. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1150. 0x00, 0xfa, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1151. {
  1152. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1153. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1154. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1155. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1156. {
  1157. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1158. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1159. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1160. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1161. {
  1162. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1163. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x04, 0x00, 0x7f,
  1164. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1165. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1166. {
  1167. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1168. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x04, 0x00, 0x7f,
  1169. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1170. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1171. {
  1172. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1173. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x03, 0x00, 0x7f,
  1174. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1175. 0x00, 0xf8, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1176. {
  1177. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1178. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1179. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1180. 0x00, 0xf8, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1181. {
  1182. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1183. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1184. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1185. 0x00, 0xf8, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1186. {
  1187. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1188. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1189. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1190. 0x00, 0xf8, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1191. {
  1192. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1193. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1194. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1195. 0x00, 0xf8, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1196. {
  1197. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1198. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1199. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1200. 0x00, 0xf8, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1201. {
  1202. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1203. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x03, 0x00, 0x7f,
  1204. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1205. 0x00, 0xf8, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1206. {
  1207. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1208. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x03, 0x00, 0x7f,
  1209. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1210. 0x00, 0xf8, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1211. {
  1212. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1213. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1214. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1215. 0x00, 0xf8, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1216. {
  1217. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1218. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1219. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1220. 0x00, 0xf8, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1221. {
  1222. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1223. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1224. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1225. 0x00, 0xf8, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1226. {
  1227. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1228. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1229. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1230. 0x00, 0xf8, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1231. {
  1232. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1233. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1234. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1235. 0x00, 0xf8, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1236. {
  1237. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1238. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1239. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1240. 0x00, 0xf8, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1241. {
  1242. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1243. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1244. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1245. 0x00, 0xf8, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1246. {
  1247. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1248. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1249. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1250. 0x00, 0xf8, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1251. {
  1252. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1253. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1254. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1255. 0x00, 0xf6, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1256. {
  1257. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1258. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1259. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1260. 0x00, 0xf6, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1261. {
  1262. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1263. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1264. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1265. 0x00, 0xf6, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1266. {
  1267. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1268. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1269. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1270. 0x00, 0xf6, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1271. {
  1272. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1273. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1274. 0x00, 0x06, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1275. 0x00, 0xf6, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1276. {
  1277. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1278. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1279. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1280. 0x00, 0xf4, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1281. {
  1282. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1283. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1284. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1285. 0x00, 0xf4, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1286. {
  1287. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1288. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1289. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1290. 0x00, 0xf4, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1291. {
  1292. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1293. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1294. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1295. 0x00, 0xf4, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1296. {
  1297. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1298. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1299. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1300. 0x00, 0xf4, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1301. {
  1302. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1303. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1304. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1305. 0x00, 0xf4, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1306. {
  1307. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1308. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1309. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1310. 0x00, 0xf4, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1311. {
  1312. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1313. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1314. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1315. 0x00, 0xf4, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1316. {
  1317. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1318. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1319. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1320. 0x00, 0xf4, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1321. {
  1322. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1323. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1324. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1325. 0x00, 0xf4, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1326. {
  1327. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1328. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1329. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1330. 0x00, 0xf4, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1331. {
  1332. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1333. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1334. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1335. 0x00, 0xf4, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1336. {
  1337. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1338. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1339. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1340. 0x00, 0xf4, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1341. {
  1342. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1343. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1344. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1345. 0x00, 0xf4, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1346. {
  1347. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1348. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1349. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1350. 0x00, 0xf4, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1351. {
  1352. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1353. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1354. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1355. 0x00, 0xf4, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1356. {
  1357. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1358. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1359. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1360. 0x00, 0xf4, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1361. {
  1362. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1363. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1364. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1365. 0x00, 0xf4, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1366. {
  1367. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1368. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1369. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1370. 0x00, 0xf4, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1371. {
  1372. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1373. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1374. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1375. 0x00, 0xf4, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1376. {
  1377. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1378. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1379. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1380. 0x00, 0xf4, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  1381. {
  1382. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1383. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1384. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1385. 0x00, 0xf4, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  1386. {
  1387. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1388. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1389. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1390. 0x00, 0xf4, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  1391. {
  1392. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1393. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1394. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1395. 0x00, 0xf4, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  1396. {
  1397. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1398. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1399. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1400. 0x00, 0xf4, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  1401. {
  1402. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1403. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1404. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1405. 0x00, 0xf4, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  1406. {
  1407. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1408. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1409. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1410. 0x00, 0xf2, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  1411. {
  1412. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1413. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1414. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1415. 0x00, 0xf2, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  1416. {
  1417. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1418. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1419. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1420. 0x00, 0xf2, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  1421. {
  1422. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1423. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1424. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1425. 0x00, 0xf2, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  1426. {
  1427. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1428. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1429. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1430. 0x00, 0xf2, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  1431. {
  1432. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1433. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  1434. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1435. 0x00, 0xf2, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  1436. {
  1437. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  1438. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1439. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1440. 0x0f, 0x00, 0x0f, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  1441. {
  1442. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  1443. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1444. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1445. 0x0f, 0x00, 0x0f, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  1446. {
  1447. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  1448. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1449. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1450. 0x0f, 0x00, 0x0f, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  1451. {
  1452. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  1453. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x05, 0x00,
  1454. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfd, 0x00, 0x05, 0x00, 0x70, 0x00,
  1455. 0x0f, 0x00, 0x0f, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  1456. {
  1457. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  1458. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x05, 0x00,
  1459. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfb, 0x00, 0x05, 0x00, 0x70, 0x00,
  1460. 0x0f, 0x00, 0x0f, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  1461. {
  1462. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  1463. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x05, 0x00,
  1464. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x05, 0x00, 0x70, 0x00,
  1465. 0x0f, 0x00, 0x0f, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  1466. {
  1467. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  1468. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x05, 0x00,
  1469. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x05, 0x00, 0x70, 0x00,
  1470. 0x0f, 0x00, 0x0f, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  1471. {
  1472. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  1473. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x05, 0x00,
  1474. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf7, 0x00, 0x05, 0x00, 0x70, 0x00,
  1475. 0x0f, 0x00, 0x0f, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  1476. {
  1477. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  1478. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x05, 0x00,
  1479. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf6, 0x00, 0x05, 0x00, 0x70, 0x00,
  1480. 0x0f, 0x00, 0x0f, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  1481. {
  1482. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  1483. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x05, 0x00,
  1484. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf5, 0x00, 0x05, 0x00, 0x70, 0x00,
  1485. 0x0f, 0x00, 0x0d, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  1486. {
  1487. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  1488. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x05, 0x00,
  1489. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x70, 0x00,
  1490. 0x0f, 0x00, 0x0d, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  1491. {
  1492. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  1493. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x05, 0x00,
  1494. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf3, 0x00, 0x05, 0x00, 0x70, 0x00,
  1495. 0x0f, 0x00, 0x0d, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  1496. {
  1497. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  1498. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x05, 0x00,
  1499. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x70, 0x00,
  1500. 0x0f, 0x00, 0x0d, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  1501. {
  1502. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  1503. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x05, 0x00,
  1504. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf0, 0x00, 0x05, 0x00, 0x70, 0x00,
  1505. 0x0f, 0x00, 0x0d, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  1506. };
  1507. static const struct chan_info_nphy_radio205x chan_info_nphyrev4_2056_A1[] = {
  1508. {
  1509. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1510. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1511. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1512. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  1513. {
  1514. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1515. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1516. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1517. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  1518. {
  1519. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1520. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1521. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1522. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  1523. {
  1524. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1525. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1526. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1527. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  1528. {
  1529. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1530. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1531. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1532. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  1533. {
  1534. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1535. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1536. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1537. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  1538. {
  1539. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1540. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1541. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1542. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  1543. {
  1544. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1545. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1546. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1547. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  1548. {
  1549. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1550. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1551. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1552. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  1553. {
  1554. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1555. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1556. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1557. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  1558. {
  1559. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1560. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1561. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1562. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  1563. {
  1564. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1565. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1566. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1567. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  1568. {
  1569. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1570. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1571. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1572. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  1573. {
  1574. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1575. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1576. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1577. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  1578. {
  1579. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1580. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1581. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1582. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  1583. {
  1584. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1585. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1586. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1587. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  1588. {
  1589. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1590. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1591. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1592. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  1593. {
  1594. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1595. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1596. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1597. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  1598. {
  1599. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1600. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1601. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1602. 0x00, 0xfe, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  1603. {
  1604. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1605. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1606. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1607. 0x00, 0xfe, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  1608. {
  1609. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1610. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1611. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1612. 0x00, 0xfe, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  1613. {
  1614. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1615. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1616. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1617. 0x00, 0xfe, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  1618. {
  1619. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1620. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1621. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1622. 0x00, 0xfe, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1623. {
  1624. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1625. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1626. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1627. 0x00, 0xfe, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1628. {
  1629. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1630. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1631. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1632. 0x00, 0xfe, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1633. {
  1634. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1635. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1636. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1637. 0x00, 0xfe, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1638. {
  1639. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1640. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1641. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1642. 0x00, 0xfe, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1643. {
  1644. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1645. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0a, 0x00, 0x7f,
  1646. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1647. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1648. {
  1649. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1650. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1651. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1652. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1653. {
  1654. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1655. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1656. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1657. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1658. {
  1659. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1660. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1661. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1662. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1663. {
  1664. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1665. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1666. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1667. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1668. {
  1669. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1670. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1671. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1672. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1673. {
  1674. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1675. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1676. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1677. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1678. {
  1679. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1680. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1681. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1682. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1683. {
  1684. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1685. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1686. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1687. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1688. {
  1689. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1690. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1691. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1692. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1693. {
  1694. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1695. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1696. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1697. 0x00, 0xfa, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1698. {
  1699. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1700. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1701. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1702. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1703. {
  1704. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1705. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1706. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1707. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1708. {
  1709. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1710. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1711. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1712. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1713. {
  1714. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1715. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1716. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1717. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1718. {
  1719. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1720. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1721. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1722. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1723. {
  1724. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1725. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1726. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1727. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1728. {
  1729. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1730. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1731. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1732. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1733. {
  1734. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1735. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1736. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1737. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1738. {
  1739. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1740. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x08, 0x00, 0x7f,
  1741. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1742. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1743. {
  1744. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1745. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1746. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1747. 0x00, 0xf8, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1748. {
  1749. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1750. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1751. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1752. 0x00, 0xf8, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1753. {
  1754. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1755. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1756. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1757. 0x00, 0xf8, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1758. {
  1759. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1760. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1761. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1762. 0x00, 0xf8, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1763. {
  1764. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1765. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x07, 0x00, 0x7f,
  1766. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1767. 0x00, 0xf8, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1768. {
  1769. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1770. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x07, 0x00, 0x7f,
  1771. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1772. 0x00, 0xf8, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1773. {
  1774. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1775. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1776. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1777. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1778. {
  1779. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1780. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1781. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1782. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1783. {
  1784. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1785. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x07, 0x00, 0x7f,
  1786. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1787. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1788. {
  1789. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1790. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x07, 0x00, 0x7f,
  1791. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1792. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1793. {
  1794. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1795. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x06, 0x00, 0x7f,
  1796. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x5c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1797. 0x00, 0xf6, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1798. {
  1799. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1800. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1801. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1802. 0x00, 0xf6, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1803. {
  1804. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1805. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1806. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1807. 0x00, 0xf6, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1808. {
  1809. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1810. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1811. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1812. 0x00, 0xf6, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1813. {
  1814. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1815. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1816. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1817. 0x00, 0xf6, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1818. {
  1819. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1820. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1821. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1822. 0x00, 0xf6, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1823. {
  1824. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1825. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x06, 0x00, 0x7f,
  1826. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1827. 0x00, 0xf6, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1828. {
  1829. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1830. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x06, 0x00, 0x7f,
  1831. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1832. 0x00, 0xf6, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1833. {
  1834. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1835. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1836. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1837. 0x00, 0xf6, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1838. {
  1839. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1840. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1841. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1842. 0x00, 0xf6, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1843. {
  1844. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1845. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x04, 0x00, 0x7f,
  1846. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x1a, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1847. 0x00, 0xf4, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1848. {
  1849. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1850. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1851. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1852. 0x00, 0xf4, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1853. {
  1854. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1855. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1856. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1857. 0x00, 0xf4, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1858. {
  1859. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1860. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1861. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1862. 0x00, 0xf4, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1863. {
  1864. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1865. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1866. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1867. 0x00, 0xf4, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1868. {
  1869. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1870. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1871. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1872. 0x00, 0xf4, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1873. {
  1874. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1875. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1876. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1877. 0x00, 0xf4, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1878. {
  1879. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1880. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1881. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1882. 0x00, 0xf4, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1883. {
  1884. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1885. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1886. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1887. 0x00, 0xf4, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1888. {
  1889. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1890. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x04, 0x00, 0x7f,
  1891. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1892. 0x00, 0xf4, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1893. {
  1894. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1895. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1896. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1897. 0x00, 0xf2, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1898. {
  1899. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1900. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1901. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1902. 0x00, 0xf2, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1903. {
  1904. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1905. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1906. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1907. 0x00, 0xf2, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1908. {
  1909. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1910. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1911. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1912. 0x00, 0xf2, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1913. {
  1914. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1915. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1916. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1917. 0x00, 0xf2, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1918. {
  1919. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1920. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1921. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1922. 0x00, 0xf2, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1923. {
  1924. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1925. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1926. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1927. 0x00, 0xf2, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1928. {
  1929. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1930. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1931. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1932. 0x00, 0xf2, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1933. {
  1934. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1935. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1936. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1937. 0x00, 0xf2, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1938. {
  1939. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1940. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1941. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1942. 0x00, 0xf2, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1943. {
  1944. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1945. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1946. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1947. 0x00, 0xf2, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1948. {
  1949. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1950. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1951. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1952. 0x00, 0xf2, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1953. {
  1954. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1955. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1956. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1957. 0x00, 0xf2, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1958. {
  1959. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1960. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1961. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1962. 0x00, 0xf2, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1963. {
  1964. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1965. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1966. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1967. 0x00, 0xf2, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1968. {
  1969. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1970. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1971. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1972. 0x00, 0xf2, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1973. {
  1974. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1975. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1976. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1977. 0x00, 0xf2, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1978. {
  1979. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1980. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1981. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1982. 0x00, 0xf2, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1983. {
  1984. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1985. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1986. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1987. 0x00, 0xf0, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1988. {
  1989. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1990. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1991. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1992. 0x00, 0xf0, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1993. {
  1994. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1995. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1996. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1997. 0x00, 0xf0, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1998. {
  1999. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2000. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  2001. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2002. 0x00, 0xf0, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2003. {
  2004. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2005. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2006. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2007. 0x00, 0xf0, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2008. {
  2009. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2010. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2011. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2012. 0x00, 0xf0, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2013. {
  2014. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2015. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2016. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2017. 0x00, 0xf0, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2018. {
  2019. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2020. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2021. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2022. 0x00, 0xf0, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2023. {
  2024. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2025. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2026. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2027. 0x00, 0xf0, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2028. {
  2029. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2030. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2031. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2032. 0x00, 0xf0, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2033. {
  2034. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2035. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2036. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2037. 0x00, 0xf0, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2038. {
  2039. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2040. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2041. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2042. 0x00, 0xf0, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2043. {
  2044. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2045. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2046. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2047. 0x00, 0xf0, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2048. {
  2049. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2050. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  2051. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2052. 0x00, 0xf0, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2053. {
  2054. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2055. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  2056. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2057. 0x00, 0xf0, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2058. {
  2059. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2060. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2061. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2062. 0x0f, 0x00, 0x0e, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2063. {
  2064. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2065. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2066. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2067. 0x0f, 0x00, 0x0e, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2068. {
  2069. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2070. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2071. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2072. 0x0f, 0x00, 0x0e, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2073. {
  2074. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2075. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x04, 0x00,
  2076. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfd, 0x00, 0x04, 0x00, 0x70, 0x00,
  2077. 0x0f, 0x00, 0x0e, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2078. {
  2079. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2080. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x04, 0x00,
  2081. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfb, 0x00, 0x04, 0x00, 0x70, 0x00,
  2082. 0x0f, 0x00, 0x0e, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2083. {
  2084. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2085. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x04, 0x00,
  2086. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfa, 0x00, 0x04, 0x00, 0x70, 0x00,
  2087. 0x0f, 0x00, 0x0e, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2088. {
  2089. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2090. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x04, 0x00,
  2091. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf8, 0x00, 0x04, 0x00, 0x70, 0x00,
  2092. 0x0f, 0x00, 0x0e, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2093. {
  2094. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2095. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x04, 0x00,
  2096. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf7, 0x00, 0x04, 0x00, 0x70, 0x00,
  2097. 0x0f, 0x00, 0x0e, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2098. {
  2099. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2100. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x04, 0x00,
  2101. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf6, 0x00, 0x04, 0x00, 0x70, 0x00,
  2102. 0x0f, 0x00, 0x0e, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2103. {
  2104. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2105. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x04, 0x00,
  2106. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf5, 0x00, 0x04, 0x00, 0x70, 0x00,
  2107. 0x0f, 0x00, 0x0e, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2108. {
  2109. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2110. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x04, 0x00,
  2111. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x70, 0x00,
  2112. 0x0f, 0x00, 0x0e, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2113. {
  2114. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2115. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x04, 0x00,
  2116. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf3, 0x00, 0x04, 0x00, 0x70, 0x00,
  2117. 0x0f, 0x00, 0x0e, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2118. {
  2119. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2120. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x04, 0x00,
  2121. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x70, 0x00,
  2122. 0x0f, 0x00, 0x0e, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2123. {
  2124. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2125. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x04, 0x00,
  2126. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x70, 0x00,
  2127. 0x0f, 0x00, 0x0e, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2128. };
  2129. static const struct chan_info_nphy_radio205x chan_info_nphyrev5_2056v5[] = {
  2130. {
  2131. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2132. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2133. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  2134. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2135. {
  2136. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2137. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2138. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2139. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2140. {
  2141. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2142. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2143. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2144. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2145. {
  2146. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2147. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2148. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2149. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2150. {
  2151. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2152. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2153. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  2154. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2155. {
  2156. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2157. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2158. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2159. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2160. {
  2161. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2162. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2163. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2164. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2165. {
  2166. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2167. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2168. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2169. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2170. {
  2171. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2172. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2173. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2174. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2175. {
  2176. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2177. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2178. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2179. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2180. {
  2181. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2182. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2183. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  2184. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2185. {
  2186. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2187. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2188. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2189. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2190. {
  2191. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2192. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2193. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2194. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2195. {
  2196. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2197. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2198. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2199. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2200. {
  2201. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2202. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  2203. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2204. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2205. {
  2206. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2207. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  2208. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2209. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2210. {
  2211. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2212. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2213. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2214. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2215. {
  2216. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2217. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2218. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2219. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2220. {
  2221. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2222. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2223. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2224. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2225. {
  2226. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2227. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2228. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2229. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2230. {
  2231. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2232. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2233. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2234. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2235. {
  2236. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2237. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  2238. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  2239. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2240. {
  2241. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2242. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2243. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  2244. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2245. {
  2246. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2247. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2248. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  2249. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2250. {
  2251. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2252. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  2253. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2254. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2255. {
  2256. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2257. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2258. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2259. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2260. {
  2261. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2262. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2263. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2264. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2265. {
  2266. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2267. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2268. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2269. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2270. {
  2271. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2272. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2273. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2274. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2275. {
  2276. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2277. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2278. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2279. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2280. {
  2281. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2282. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xea, 0x00, 0x06, 0x00, 0x70,
  2283. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  2284. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2285. {
  2286. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2287. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2288. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2289. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2290. {
  2291. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2292. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2293. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2294. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2295. {
  2296. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2297. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xd9, 0x00, 0x05, 0x00, 0x70,
  2298. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2299. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2300. {
  2301. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2302. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xd8, 0x00, 0x04, 0x00, 0x70,
  2303. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2304. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2305. {
  2306. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2307. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2308. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2309. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2310. {
  2311. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2312. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2313. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2314. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2315. {
  2316. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2317. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2318. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2319. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2320. {
  2321. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2322. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2323. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2324. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2325. {
  2326. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2327. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb8, 0x00, 0x04, 0x00, 0x70,
  2328. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2329. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2330. {
  2331. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2332. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x04, 0x00, 0x70,
  2333. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2334. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2335. {
  2336. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2337. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x03, 0x00, 0x70,
  2338. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  2339. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2340. {
  2341. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2342. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa7, 0x00, 0x03, 0x00, 0x70,
  2343. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2344. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2345. {
  2346. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2347. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2348. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2349. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2350. {
  2351. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2352. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2353. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2354. 0x00, 0x5b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2355. {
  2356. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2357. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x96, 0x00, 0x03, 0x00, 0x70,
  2358. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2359. 0x00, 0x5a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2360. {
  2361. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2362. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x95, 0x00, 0x03, 0x00, 0x70,
  2363. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2364. 0x00, 0x5a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2365. {
  2366. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2367. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2368. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2369. 0x00, 0x5a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2370. {
  2371. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2372. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2373. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2374. 0x00, 0x5a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2375. {
  2376. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2377. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2378. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2379. 0x00, 0x5a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  2380. {
  2381. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2382. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x85, 0x00, 0x02, 0x00, 0x70,
  2383. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2384. 0x00, 0x59, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  2385. {
  2386. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2387. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2388. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2389. 0x00, 0x59, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  2390. {
  2391. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2392. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2393. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2394. 0x00, 0x59, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  2395. {
  2396. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2397. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2398. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  2399. 0x00, 0x69, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  2400. {
  2401. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2402. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x74, 0x00, 0x01, 0x00, 0x70,
  2403. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2404. 0x00, 0x69, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  2405. {
  2406. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2407. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2408. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2409. 0x00, 0x68, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  2410. {
  2411. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2412. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2413. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2414. 0x00, 0x68, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  2415. {
  2416. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2417. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2418. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2419. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  2420. {
  2421. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2422. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2423. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2424. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  2425. {
  2426. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2427. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2428. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2429. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  2430. {
  2431. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2432. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x63, 0x00, 0x01, 0x00, 0x70,
  2433. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  2434. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  2435. {
  2436. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2437. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2438. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2439. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  2440. {
  2441. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2442. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2443. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2444. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  2445. {
  2446. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2447. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2448. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2449. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  2450. {
  2451. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2452. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2453. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2454. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  2455. {
  2456. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2457. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2458. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2459. 0x00, 0x76, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  2460. {
  2461. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2462. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x51, 0x00, 0x00, 0x00, 0x70,
  2463. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2464. 0x00, 0x76, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  2465. {
  2466. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2467. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2468. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2469. 0x00, 0x76, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  2470. {
  2471. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2472. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2473. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2474. 0x00, 0x76, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  2475. {
  2476. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2477. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2478. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2479. 0x00, 0x76, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  2480. {
  2481. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2482. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2483. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2484. 0x00, 0x76, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  2485. {
  2486. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2487. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2488. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2489. 0x00, 0x75, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  2490. {
  2491. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2492. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2493. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2494. 0x00, 0x75, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  2495. {
  2496. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2497. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2498. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2499. 0x00, 0x75, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  2500. {
  2501. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2502. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2503. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2504. 0x00, 0x74, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  2505. {
  2506. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2507. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2508. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2509. 0x00, 0x74, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  2510. {
  2511. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2512. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2513. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2514. 0x00, 0x74, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  2515. {
  2516. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2517. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2518. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2519. 0x00, 0x74, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  2520. {
  2521. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2522. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2523. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2524. 0x00, 0x74, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  2525. {
  2526. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2527. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2528. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2529. 0x00, 0x74, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  2530. {
  2531. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  2532. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2533. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2534. 0x00, 0x74, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  2535. {
  2536. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2537. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2538. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2539. 0x00, 0x84, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  2540. {
  2541. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2542. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2543. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2544. 0x00, 0x83, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  2545. {
  2546. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2547. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2548. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2549. 0x00, 0x83, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  2550. {
  2551. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2552. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2553. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2554. 0x00, 0x83, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  2555. {
  2556. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2557. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2558. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2559. 0x00, 0x83, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  2560. {
  2561. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  2562. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2563. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2564. 0x00, 0x83, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  2565. {
  2566. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2567. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2568. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2569. 0x00, 0x83, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  2570. {
  2571. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  2572. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2573. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2574. 0x00, 0x82, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  2575. {
  2576. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2577. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2578. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2579. 0x00, 0x82, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  2580. {
  2581. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  2582. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2583. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2584. 0x00, 0x82, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  2585. {
  2586. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2587. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2588. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2589. 0x00, 0x82, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  2590. {
  2591. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  2592. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2593. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2594. 0x00, 0x82, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  2595. {
  2596. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2597. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2598. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2599. 0x00, 0x82, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  2600. {
  2601. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  2602. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2603. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2604. 0x00, 0x82, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  2605. {
  2606. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2607. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2608. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2609. 0x00, 0x82, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  2610. {
  2611. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  2612. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2613. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2614. 0x00, 0x82, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  2615. {
  2616. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2617. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2618. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2619. 0x00, 0x82, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  2620. {
  2621. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2622. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2623. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2624. 0x00, 0x82, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2625. {
  2626. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2627. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2628. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2629. 0x00, 0x82, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2630. {
  2631. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2632. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2633. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2634. 0x00, 0x82, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2635. {
  2636. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2637. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2638. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2639. 0x00, 0x72, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2640. {
  2641. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2642. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2643. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2644. 0x00, 0x72, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2645. {
  2646. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2647. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2648. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2649. 0x00, 0x72, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2650. {
  2651. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2652. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2653. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2654. 0x00, 0x72, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2655. {
  2656. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2657. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2658. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2659. 0x00, 0x71, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2660. {
  2661. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2662. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2663. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2664. 0x00, 0x71, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2665. {
  2666. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2667. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2668. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2669. 0x00, 0x71, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2670. {
  2671. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2672. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2673. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2674. 0x00, 0x71, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2675. {
  2676. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2677. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2678. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2679. 0x00, 0x71, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2680. {
  2681. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2682. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2683. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2684. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2685. {
  2686. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2687. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2688. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2689. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2690. {
  2691. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2692. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x03, 0x00,
  2693. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0x03, 0x00, 0x70, 0x00,
  2694. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2695. {
  2696. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2697. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x03, 0x00,
  2698. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0d, 0x00, 0x03, 0x00, 0x70, 0x00,
  2699. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2700. {
  2701. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2702. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00,
  2703. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x70, 0x00,
  2704. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2705. {
  2706. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2707. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x03, 0x00,
  2708. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x03, 0x00, 0x70, 0x00,
  2709. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2710. {
  2711. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2712. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00,
  2713. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x03, 0x00, 0x70, 0x00,
  2714. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2715. {
  2716. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2717. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00,
  2718. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x08, 0x00, 0x02, 0x00, 0x70, 0x00,
  2719. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2720. {
  2721. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2722. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x07, 0x00, 0x02, 0x00,
  2723. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x07, 0x00, 0x02, 0x00, 0x70, 0x00,
  2724. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2725. {
  2726. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2727. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x06, 0x00, 0x02, 0x00,
  2728. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x06, 0x00, 0x02, 0x00, 0x70, 0x00,
  2729. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2730. {
  2731. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2732. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00,
  2733. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x05, 0x00, 0x02, 0x00, 0x70, 0x00,
  2734. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2735. {
  2736. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2737. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00,
  2738. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x70, 0x00,
  2739. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2740. {
  2741. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2742. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
  2743. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x03, 0x00, 0x02, 0x00, 0x70, 0x00,
  2744. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2745. {
  2746. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2747. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  2748. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  2749. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2750. };
  2751. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v6[] = {
  2752. {
  2753. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2754. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2755. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2756. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2757. {
  2758. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2759. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2760. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2761. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2762. {
  2763. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2764. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2765. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2766. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2767. {
  2768. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2769. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2770. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2771. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2772. {
  2773. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2774. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2775. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2776. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2777. {
  2778. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2779. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2780. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2781. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2782. {
  2783. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2784. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2785. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2786. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2787. {
  2788. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2789. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2790. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2791. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2792. {
  2793. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2794. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2795. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2796. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2797. {
  2798. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2799. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2800. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2801. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2802. {
  2803. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2804. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2805. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2806. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2807. {
  2808. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2809. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2810. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2811. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2812. {
  2813. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2814. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2815. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2816. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2817. {
  2818. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2819. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2820. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2821. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2822. {
  2823. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2824. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2825. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2826. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2827. {
  2828. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2829. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2830. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2831. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2832. {
  2833. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2834. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2835. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2836. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2837. {
  2838. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2839. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2840. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2841. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2842. {
  2843. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2844. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  2845. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2846. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2847. {
  2848. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2849. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2850. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2851. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2852. {
  2853. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2854. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2855. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2856. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2857. {
  2858. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2859. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2860. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2861. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2862. {
  2863. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2864. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  2865. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2866. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2867. {
  2868. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2869. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2870. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2871. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2872. {
  2873. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2874. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2875. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2876. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2877. {
  2878. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2879. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2880. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  2881. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2882. {
  2883. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2884. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2885. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  2886. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2887. {
  2888. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2889. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2890. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2891. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2892. {
  2893. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2894. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2895. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2896. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2897. {
  2898. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2899. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2900. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2901. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2902. {
  2903. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2904. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2905. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2906. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2907. {
  2908. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2909. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  2910. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2911. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2912. {
  2913. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2914. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  2915. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2916. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2917. {
  2918. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2919. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2920. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  2921. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2922. {
  2923. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2924. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2925. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  2926. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2927. {
  2928. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2929. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2930. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2931. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2932. {
  2933. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2934. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2935. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2936. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2937. {
  2938. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2939. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2940. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2941. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2942. {
  2943. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2944. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2945. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2946. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2947. {
  2948. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2949. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2950. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2951. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2952. {
  2953. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2954. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2955. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2956. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2957. {
  2958. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2959. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2960. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2961. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2962. {
  2963. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2964. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2965. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2966. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2967. {
  2968. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2969. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2970. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2971. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2972. {
  2973. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2974. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2975. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2976. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2977. {
  2978. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2979. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  2980. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2981. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2982. {
  2983. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2984. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2985. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2986. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2987. {
  2988. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2989. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2990. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2991. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2992. {
  2993. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2994. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  2995. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  2996. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2997. {
  2998. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2999. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  3000. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3001. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3002. {
  3003. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3004. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3005. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3006. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3007. {
  3008. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3009. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3010. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  3011. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3012. {
  3013. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3014. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3015. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3016. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3017. {
  3018. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3019. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3020. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3021. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3022. {
  3023. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3024. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  3025. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3026. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3027. {
  3028. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3029. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  3030. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3031. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3032. {
  3033. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3034. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  3035. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3036. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3037. {
  3038. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3039. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3040. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3041. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3042. {
  3043. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3044. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3045. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3046. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3047. {
  3048. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3049. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3050. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3051. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3052. {
  3053. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3054. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3055. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3056. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3057. {
  3058. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3059. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  3060. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3061. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3062. {
  3063. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3064. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3065. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3066. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3067. {
  3068. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3069. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3070. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3071. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3072. {
  3073. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3074. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  3075. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3076. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3077. {
  3078. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3079. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  3080. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3081. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3082. {
  3083. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3084. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  3085. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3086. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3087. {
  3088. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3089. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3090. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3091. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3092. {
  3093. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3094. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3095. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3096. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3097. {
  3098. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3099. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3100. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3101. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3102. {
  3103. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3104. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3105. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3106. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3107. {
  3108. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3109. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  3110. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3111. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3112. {
  3113. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3114. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3115. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3116. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3117. {
  3118. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3119. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3120. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3121. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3122. {
  3123. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3124. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  3125. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3126. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3127. {
  3128. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3129. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3130. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3131. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3132. {
  3133. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3134. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3135. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3136. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3137. {
  3138. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3139. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3140. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3141. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3142. {
  3143. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3144. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3145. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3146. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3147. {
  3148. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3149. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3150. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3151. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3152. {
  3153. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3154. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3155. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3156. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3157. {
  3158. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3159. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3160. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3161. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3162. {
  3163. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3164. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3165. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3166. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3167. {
  3168. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3169. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3170. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3171. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3172. {
  3173. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3174. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3175. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3176. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3177. {
  3178. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3179. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  3180. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3181. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3182. {
  3183. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3184. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3185. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3186. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3187. {
  3188. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3189. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3190. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3191. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3192. {
  3193. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3194. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3195. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3196. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3197. {
  3198. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3199. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3200. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3201. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3202. {
  3203. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3204. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3205. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3206. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3207. {
  3208. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3209. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3210. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3211. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3212. {
  3213. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3214. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3215. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3216. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3217. {
  3218. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3219. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3220. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3221. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3222. {
  3223. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3224. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3225. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3226. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3227. {
  3228. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3229. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3230. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3231. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3232. {
  3233. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3234. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3235. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3236. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3237. {
  3238. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3239. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3240. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3241. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3242. {
  3243. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3244. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3245. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3246. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3247. {
  3248. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3249. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3250. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3251. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3252. {
  3253. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3254. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3255. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3256. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3257. {
  3258. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3259. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3260. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3261. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3262. {
  3263. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3264. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3265. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3266. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3267. {
  3268. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3269. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3270. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3271. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3272. {
  3273. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3274. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3275. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3276. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3277. {
  3278. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3279. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3280. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3281. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3282. {
  3283. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3284. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3285. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3286. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3287. {
  3288. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3289. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3290. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3291. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3292. {
  3293. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3294. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3295. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3296. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3297. {
  3298. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3299. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3300. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3301. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3302. {
  3303. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3304. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3305. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3306. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3307. {
  3308. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3309. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3310. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3311. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3312. {
  3313. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3314. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  3315. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x67, 0x00, 0x03, 0x00, 0x70, 0x00,
  3316. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3317. {
  3318. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3319. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  3320. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x57, 0x00, 0x03, 0x00, 0x70, 0x00,
  3321. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3322. {
  3323. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3324. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  3325. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x56, 0x00, 0x03, 0x00, 0x70, 0x00,
  3326. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3327. {
  3328. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3329. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  3330. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x46, 0x00, 0x03, 0x00, 0x70, 0x00,
  3331. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3332. {
  3333. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3334. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3335. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3336. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3337. {
  3338. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3339. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3340. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3341. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3342. {
  3343. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3344. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  3345. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x23, 0x00, 0x02, 0x00, 0x70, 0x00,
  3346. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3347. {
  3348. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3349. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  3350. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x12, 0x00, 0x02, 0x00, 0x70, 0x00,
  3351. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3352. {
  3353. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3354. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  3355. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x70, 0x00,
  3356. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3357. {
  3358. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3359. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3360. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3361. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3362. {
  3363. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3364. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3365. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3366. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3367. {
  3368. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3369. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3370. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3371. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3372. };
  3373. static const struct chan_info_nphy_radio205x chan_info_nphyrev5n6_2056v7[] = {
  3374. {
  3375. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3376. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3377. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  3378. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  3379. {
  3380. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3381. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3382. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3383. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  3384. {
  3385. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3386. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3387. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3388. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  3389. {
  3390. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3391. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3392. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3393. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  3394. {
  3395. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3396. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3397. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  3398. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  3399. {
  3400. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3401. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3402. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3403. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  3404. {
  3405. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3406. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3407. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3408. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  3409. {
  3410. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3411. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3412. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3413. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  3414. {
  3415. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3416. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3417. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3418. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  3419. {
  3420. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3421. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3422. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3423. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  3424. {
  3425. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3426. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3427. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  3428. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  3429. {
  3430. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3431. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3432. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3433. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  3434. {
  3435. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3436. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3437. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3438. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  3439. {
  3440. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3441. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3442. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3443. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  3444. {
  3445. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3446. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  3447. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3448. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  3449. {
  3450. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3451. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  3452. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3453. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  3454. {
  3455. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3456. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3457. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3458. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  3459. {
  3460. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3461. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3462. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3463. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  3464. {
  3465. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3466. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3467. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3468. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  3469. {
  3470. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3471. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3472. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3473. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  3474. {
  3475. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3476. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3477. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3478. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  3479. {
  3480. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3481. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  3482. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  3483. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  3484. {
  3485. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3486. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3487. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  3488. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  3489. {
  3490. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3491. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3492. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  3493. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  3494. {
  3495. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3496. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  3497. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3498. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  3499. {
  3500. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3501. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3502. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3503. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  3504. {
  3505. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3506. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3507. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3508. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  3509. {
  3510. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3511. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3512. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3513. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  3514. {
  3515. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3516. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3517. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3518. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  3519. {
  3520. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3521. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3522. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3523. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  3524. {
  3525. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3526. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xea, 0x00, 0x06, 0x00, 0x70,
  3527. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  3528. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  3529. {
  3530. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3531. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3532. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3533. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  3534. {
  3535. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3536. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3537. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3538. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  3539. {
  3540. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3541. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xd9, 0x00, 0x05, 0x00, 0x70,
  3542. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3543. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  3544. {
  3545. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3546. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xd8, 0x00, 0x04, 0x00, 0x70,
  3547. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3548. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  3549. {
  3550. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3551. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3552. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3553. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  3554. {
  3555. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3556. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3557. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3558. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  3559. {
  3560. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3561. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3562. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3563. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  3564. {
  3565. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3566. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3567. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3568. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  3569. {
  3570. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3571. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb8, 0x00, 0x04, 0x00, 0x70,
  3572. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3573. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  3574. {
  3575. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3576. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xb7, 0x00, 0x04, 0x00, 0x70,
  3577. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3578. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  3579. {
  3580. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3581. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xb7, 0x00, 0x03, 0x00, 0x70,
  3582. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  3583. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  3584. {
  3585. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3586. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa7, 0x00, 0x03, 0x00, 0x70,
  3587. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3588. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  3589. {
  3590. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3591. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3592. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3593. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  3594. {
  3595. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3596. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3597. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3598. 0x00, 0x7b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  3599. {
  3600. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3601. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x96, 0x00, 0x03, 0x00, 0x70,
  3602. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3603. 0x00, 0x7a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  3604. {
  3605. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3606. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3607. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3608. 0x00, 0x7a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  3609. {
  3610. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3611. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3612. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3613. 0x00, 0x7a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  3614. {
  3615. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3616. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3617. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3618. 0x00, 0x7a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  3619. {
  3620. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3621. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3622. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3623. 0x00, 0x7a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3624. {
  3625. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3626. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x85, 0x00, 0x02, 0x00, 0x70,
  3627. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3628. 0x00, 0x79, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3629. {
  3630. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3631. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x70,
  3632. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3633. 0x00, 0x79, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3634. {
  3635. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3636. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3637. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3638. 0x00, 0x79, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3639. {
  3640. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3641. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3642. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  3643. 0x00, 0x79, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3644. {
  3645. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3646. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x74, 0x00, 0x01, 0x00, 0x70,
  3647. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3648. 0x00, 0x79, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3649. {
  3650. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3651. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  3652. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3653. 0x00, 0x78, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3654. {
  3655. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3656. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x01, 0x00, 0x70,
  3657. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3658. 0x00, 0x78, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3659. {
  3660. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3661. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3662. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3663. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3664. {
  3665. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3666. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3667. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3668. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3669. {
  3670. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3671. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x01, 0x00, 0x70,
  3672. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3673. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3674. {
  3675. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3676. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x63, 0x00, 0x01, 0x00, 0x70,
  3677. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  3678. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3679. {
  3680. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3681. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x62, 0x00, 0x00, 0x00, 0x70,
  3682. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3683. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3684. {
  3685. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3686. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3687. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3688. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3689. {
  3690. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3691. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3692. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3693. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3694. {
  3695. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3696. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x52, 0x00, 0x00, 0x00, 0x70,
  3697. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3698. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3699. {
  3700. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3701. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x52, 0x00, 0x00, 0x00, 0x70,
  3702. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3703. 0x00, 0x86, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3704. {
  3705. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3706. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3707. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3708. 0x00, 0x86, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3709. {
  3710. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3711. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3712. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3713. 0x00, 0x86, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3714. {
  3715. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3716. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3717. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3718. 0x00, 0x86, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3719. {
  3720. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3721. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3722. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3723. 0x00, 0x86, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3724. {
  3725. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3726. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3727. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3728. 0x00, 0x86, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3729. {
  3730. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3731. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x51, 0x00, 0x00, 0x00, 0x70,
  3732. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3733. 0x00, 0x85, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3734. {
  3735. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3736. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3737. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3738. 0x00, 0x85, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3739. {
  3740. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3741. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3742. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3743. 0x00, 0x85, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3744. {
  3745. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3746. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  3747. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3748. 0x00, 0x84, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3749. {
  3750. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3751. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3752. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3753. 0x00, 0x84, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3754. {
  3755. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3756. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3757. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3758. 0x00, 0x94, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3759. {
  3760. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3761. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3762. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3763. 0x00, 0x94, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3764. {
  3765. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3766. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3767. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3768. 0x00, 0x94, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3769. {
  3770. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3771. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3772. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3773. 0x00, 0x94, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3774. {
  3775. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3776. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3777. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3778. 0x00, 0x94, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3779. {
  3780. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3781. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3782. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3783. 0x00, 0x94, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3784. {
  3785. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3786. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3787. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3788. 0x00, 0x93, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3789. {
  3790. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3791. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3792. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3793. 0x00, 0x93, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3794. {
  3795. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3796. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3797. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3798. 0x00, 0x93, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3799. {
  3800. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3801. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3802. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3803. 0x00, 0x93, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3804. {
  3805. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3806. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x30, 0x00, 0x00, 0x00, 0x70,
  3807. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3808. 0x00, 0x93, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3809. {
  3810. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3811. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3812. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3813. 0x00, 0x93, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3814. {
  3815. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3816. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3817. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3818. 0x00, 0x92, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3819. {
  3820. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3821. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3822. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3823. 0x00, 0x92, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3824. {
  3825. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3826. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3827. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3828. 0x00, 0x92, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3829. {
  3830. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3831. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x70,
  3832. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3833. 0x00, 0x92, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3834. {
  3835. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3836. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3837. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3838. 0x00, 0x92, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3839. {
  3840. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3841. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3842. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3843. 0x00, 0x92, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3844. {
  3845. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3846. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3847. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3848. 0x00, 0x92, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3849. {
  3850. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3851. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3852. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3853. 0x00, 0x92, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3854. {
  3855. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3856. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3857. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3858. 0x00, 0x92, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3859. {
  3860. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3861. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3862. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3863. 0x00, 0x92, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3864. {
  3865. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3866. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3867. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3868. 0x00, 0x92, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3869. {
  3870. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3871. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3872. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3873. 0x00, 0x92, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3874. {
  3875. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3876. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3877. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3878. 0x00, 0x92, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3879. {
  3880. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3881. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3882. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3883. 0x00, 0x92, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3884. {
  3885. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3886. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3887. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3888. 0x00, 0x92, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3889. {
  3890. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3891. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3892. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3893. 0x00, 0x92, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3894. {
  3895. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3896. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3897. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3898. 0x00, 0x92, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3899. {
  3900. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3901. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3902. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3903. 0x00, 0x91, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3904. {
  3905. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3906. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3907. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3908. 0x00, 0x91, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3909. {
  3910. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3911. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3912. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3913. 0x00, 0x91, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3914. {
  3915. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3916. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3917. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3918. 0x00, 0x91, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3919. {
  3920. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3921. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3922. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3923. 0x00, 0x91, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3924. {
  3925. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3926. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3927. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3928. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3929. {
  3930. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3931. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3932. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3933. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3934. {
  3935. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3936. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3937. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3938. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3939. {
  3940. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3941. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3942. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3943. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3944. {
  3945. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3946. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x03, 0x00,
  3947. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  3948. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3949. {
  3950. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3951. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x76, 0x00, 0x03, 0x00,
  3952. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  3953. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3954. {
  3955. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3956. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x66, 0x00, 0x03, 0x00,
  3957. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x03, 0x00, 0x70, 0x00,
  3958. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3959. {
  3960. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3961. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x55, 0x00, 0x02, 0x00,
  3962. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  3963. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3964. {
  3965. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3966. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3967. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3968. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3969. {
  3970. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3971. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3972. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3973. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3974. {
  3975. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3976. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00,
  3977. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  3978. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3979. {
  3980. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3981. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00,
  3982. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  3983. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3984. {
  3985. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3986. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
  3987. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  3988. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3989. {
  3990. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3991. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3992. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3993. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3994. };
  3995. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v8[] = {
  3996. {
  3997. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3998. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  3999. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4000. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4001. {
  4002. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4003. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4004. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4005. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4006. {
  4007. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4008. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4009. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4010. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4011. {
  4012. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4013. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4014. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4015. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4016. {
  4017. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4018. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4019. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4020. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4021. {
  4022. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4023. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4024. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4025. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4026. {
  4027. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4028. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4029. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4030. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4031. {
  4032. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4033. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4034. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4035. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4036. {
  4037. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4038. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4039. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4040. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4041. {
  4042. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4043. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4044. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4045. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4046. {
  4047. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4048. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4049. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4050. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4051. {
  4052. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4053. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4054. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4055. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4056. {
  4057. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4058. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4059. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4060. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4061. {
  4062. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4063. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4064. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4065. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4066. {
  4067. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4068. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4069. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4070. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4071. {
  4072. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4073. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4074. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4075. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4076. {
  4077. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4078. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4079. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4080. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4081. {
  4082. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4083. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4084. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4085. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4086. {
  4087. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4088. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4089. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4090. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4091. {
  4092. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4093. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4094. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4095. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4096. {
  4097. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4098. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4099. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4100. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4101. {
  4102. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4103. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4104. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4105. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4106. {
  4107. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4108. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4109. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4110. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4111. {
  4112. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4113. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4114. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4115. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4116. {
  4117. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4118. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4119. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4120. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4121. {
  4122. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4123. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4124. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4125. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4126. {
  4127. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4128. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4129. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4130. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4131. {
  4132. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4133. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4134. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4135. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4136. {
  4137. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4138. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4139. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4140. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4141. {
  4142. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4143. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4144. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4145. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4146. {
  4147. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4148. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4149. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4150. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4151. {
  4152. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4153. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4154. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4155. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4156. {
  4157. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4158. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4159. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4160. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4161. {
  4162. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4163. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4164. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4165. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4166. {
  4167. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4168. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4169. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4170. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4171. {
  4172. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4173. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4174. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4175. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4176. {
  4177. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4178. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4179. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4180. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4181. {
  4182. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4183. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4184. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4185. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4186. {
  4187. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4188. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4189. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4190. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4191. {
  4192. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4193. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4194. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4195. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4196. {
  4197. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4198. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4199. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4200. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4201. {
  4202. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4203. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4204. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4205. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4206. {
  4207. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4208. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4209. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4210. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4211. {
  4212. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4213. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4214. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4215. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4216. {
  4217. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4218. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4219. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4220. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4221. {
  4222. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4223. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4224. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4225. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4226. {
  4227. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4228. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4229. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4230. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4231. {
  4232. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4233. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4234. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4235. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4236. {
  4237. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4238. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4239. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4240. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4241. {
  4242. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4243. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4244. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4245. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4246. {
  4247. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4248. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4249. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4250. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4251. {
  4252. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4253. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4254. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4255. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4256. {
  4257. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4258. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4259. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4260. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4261. {
  4262. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4263. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4264. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4265. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4266. {
  4267. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4268. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4269. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4270. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4271. {
  4272. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4273. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4274. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4275. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4276. {
  4277. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4278. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4279. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4280. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4281. {
  4282. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4283. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4284. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4285. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4286. {
  4287. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4288. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4289. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4290. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4291. {
  4292. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4293. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4294. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4295. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4296. {
  4297. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4298. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4299. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4300. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4301. {
  4302. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4303. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4304. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4305. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4306. {
  4307. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4308. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4309. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4310. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4311. {
  4312. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4313. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4314. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4315. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4316. {
  4317. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4318. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4319. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4320. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4321. {
  4322. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4323. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4324. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4325. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4326. {
  4327. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4328. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4329. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4330. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4331. {
  4332. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4333. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4334. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4335. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4336. {
  4337. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4338. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4339. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4340. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4341. {
  4342. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4343. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4344. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4345. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4346. {
  4347. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4348. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4349. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4350. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4351. {
  4352. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4353. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4354. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4355. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4356. {
  4357. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4358. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4359. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4360. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4361. {
  4362. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4363. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4364. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4365. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4366. {
  4367. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4368. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4369. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4370. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4371. {
  4372. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4373. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4374. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4375. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4376. {
  4377. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4378. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4379. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4380. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  4381. {
  4382. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4383. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4384. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4385. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  4386. {
  4387. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4388. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4389. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4390. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  4391. {
  4392. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4393. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4394. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4395. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  4396. {
  4397. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  4398. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4399. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4400. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  4401. {
  4402. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4403. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4404. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4405. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  4406. {
  4407. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4408. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4409. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4410. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  4411. {
  4412. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4413. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4414. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4415. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  4416. {
  4417. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4418. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4419. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4420. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  4421. {
  4422. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4423. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  4424. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4425. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  4426. {
  4427. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  4428. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4429. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4430. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  4431. {
  4432. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4433. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4434. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4435. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  4436. {
  4437. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  4438. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4439. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4440. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  4441. {
  4442. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4443. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4444. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4445. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  4446. {
  4447. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  4448. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4449. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4450. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  4451. {
  4452. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4453. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4454. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4455. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  4456. {
  4457. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  4458. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4459. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4460. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  4461. {
  4462. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4463. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4464. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4465. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  4466. {
  4467. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  4468. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4469. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4470. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  4471. {
  4472. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4473. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4474. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4475. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  4476. {
  4477. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  4478. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4479. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4480. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  4481. {
  4482. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4483. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4484. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4485. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  4486. {
  4487. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4488. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4489. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4490. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  4491. {
  4492. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4493. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4494. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4495. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  4496. {
  4497. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4498. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4499. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4500. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  4501. {
  4502. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4503. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4504. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4505. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  4506. {
  4507. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4508. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4509. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4510. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  4511. {
  4512. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4513. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4514. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4515. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  4516. {
  4517. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4518. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4519. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4520. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  4521. {
  4522. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4523. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4524. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4525. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  4526. {
  4527. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4528. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4529. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4530. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  4531. {
  4532. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4533. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4534. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4535. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  4536. {
  4537. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4538. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4539. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4540. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  4541. {
  4542. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4543. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4544. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4545. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  4546. {
  4547. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  4548. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4549. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4550. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  4551. {
  4552. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  4553. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4554. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4555. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  4556. {
  4557. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  4558. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  4559. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4560. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  4561. {
  4562. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  4563. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  4564. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  4565. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  4566. {
  4567. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  4568. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  4569. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  4570. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  4571. {
  4572. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  4573. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  4574. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  4575. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  4576. {
  4577. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  4578. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  4579. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  4580. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  4581. {
  4582. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  4583. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  4584. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  4585. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  4586. {
  4587. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  4588. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  4589. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  4590. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  4591. {
  4592. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  4593. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  4594. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  4595. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  4596. {
  4597. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  4598. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  4599. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  4600. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  4601. {
  4602. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  4603. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4604. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  4605. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  4606. {
  4607. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  4608. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4609. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  4610. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  4611. {
  4612. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  4613. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  4614. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  4615. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  4616. };
  4617. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v11[] = {
  4618. {
  4619. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4620. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4621. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4622. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4623. {
  4624. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4625. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4626. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4627. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4628. {
  4629. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4630. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4631. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4632. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4633. {
  4634. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4635. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4636. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4637. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4638. {
  4639. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4640. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4641. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4642. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4643. {
  4644. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4645. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4646. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4647. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4648. {
  4649. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4650. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4651. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4652. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4653. {
  4654. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4655. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4656. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4657. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4658. {
  4659. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4660. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4661. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4662. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4663. {
  4664. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4665. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4666. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4667. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4668. {
  4669. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4670. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4671. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4672. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4673. {
  4674. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4675. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4676. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4677. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4678. {
  4679. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4680. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4681. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4682. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4683. {
  4684. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4685. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4686. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4687. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4688. {
  4689. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4690. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4691. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4692. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4693. {
  4694. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4695. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4696. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4697. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4698. {
  4699. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4700. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4701. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4702. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4703. {
  4704. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4705. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4706. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4707. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4708. {
  4709. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4710. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4711. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4712. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4713. {
  4714. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4715. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4716. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4717. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4718. {
  4719. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4720. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4721. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4722. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4723. {
  4724. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4725. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4726. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4727. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4728. {
  4729. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4730. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4731. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4732. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4733. {
  4734. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4735. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4736. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4737. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4738. {
  4739. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4740. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4741. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4742. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4743. {
  4744. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4745. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4746. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4747. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4748. {
  4749. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4750. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4751. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4752. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4753. {
  4754. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4755. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4756. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4757. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4758. {
  4759. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4760. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4761. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4762. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4763. {
  4764. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4765. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4766. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4767. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4768. {
  4769. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4770. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4771. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4772. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4773. {
  4774. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4775. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4776. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4777. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4778. {
  4779. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4780. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4781. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4782. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4783. {
  4784. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4785. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4786. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4787. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4788. {
  4789. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4790. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4791. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4792. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4793. {
  4794. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4795. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4796. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4797. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4798. {
  4799. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4800. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4801. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4802. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4803. {
  4804. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4805. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4806. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4807. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4808. {
  4809. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4810. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4811. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4812. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4813. {
  4814. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4815. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4816. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4817. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4818. {
  4819. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4820. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4821. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4822. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4823. {
  4824. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4825. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4826. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4827. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4828. {
  4829. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4830. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4831. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4832. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4833. {
  4834. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4835. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4836. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4837. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4838. {
  4839. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4840. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4841. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4842. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4843. {
  4844. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4845. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4846. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4847. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4848. {
  4849. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4850. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4851. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4852. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4853. {
  4854. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4855. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4856. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4857. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4858. {
  4859. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4860. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4861. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4862. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4863. {
  4864. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4865. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4866. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4867. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4868. {
  4869. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4870. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4871. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4872. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4873. {
  4874. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4875. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4876. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4877. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4878. {
  4879. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4880. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4881. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4882. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4883. {
  4884. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4885. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4886. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4887. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4888. {
  4889. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4890. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4891. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4892. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4893. {
  4894. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4895. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4896. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4897. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4898. {
  4899. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4900. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4901. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4902. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4903. {
  4904. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4905. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4906. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4907. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4908. {
  4909. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4910. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4911. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4912. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4913. {
  4914. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4915. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4916. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4917. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4918. {
  4919. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4920. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4921. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4922. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4923. {
  4924. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4925. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4926. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4927. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4928. {
  4929. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4930. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4931. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4932. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4933. {
  4934. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4935. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4936. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4937. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4938. {
  4939. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4940. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4941. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4942. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4943. {
  4944. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4945. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4946. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4947. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4948. {
  4949. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4950. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4951. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4952. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4953. {
  4954. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4955. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4956. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4957. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4958. {
  4959. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4960. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4961. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4962. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4963. {
  4964. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4965. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4966. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4967. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4968. {
  4969. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4970. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4971. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4972. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4973. {
  4974. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4975. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4976. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4977. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4978. {
  4979. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4980. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4981. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4982. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4983. {
  4984. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4985. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4986. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4987. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4988. {
  4989. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4990. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4991. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4992. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4993. {
  4994. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4995. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4996. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4997. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4998. {
  4999. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5000. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5001. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5002. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  5003. {
  5004. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5005. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5006. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5007. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  5008. {
  5009. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5010. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5011. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5012. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  5013. {
  5014. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5015. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5016. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5017. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  5018. {
  5019. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x05, 0x05, 0x02, 0x15, 0x01,
  5020. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5021. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5022. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  5023. {
  5024. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5025. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5026. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5027. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  5028. {
  5029. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5030. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5031. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5032. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  5033. {
  5034. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5035. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5036. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5037. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  5038. {
  5039. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5040. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5041. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5042. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  5043. {
  5044. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5045. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  5046. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5047. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  5048. {
  5049. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x05, 0x05, 0x02, 0x15, 0x01,
  5050. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5051. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5052. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  5053. {
  5054. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5055. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5056. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5057. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  5058. {
  5059. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x05, 0x05, 0x02, 0x15, 0x01,
  5060. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5061. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5062. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  5063. {
  5064. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5065. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5066. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5067. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  5068. {
  5069. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x05, 0x05, 0x02, 0x15, 0x01,
  5070. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5071. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5072. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  5073. {
  5074. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5075. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5076. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5077. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  5078. {
  5079. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x05, 0x05, 0x02, 0x15, 0x01,
  5080. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5081. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5082. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  5083. {
  5084. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5085. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5086. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5087. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  5088. {
  5089. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x05, 0x05, 0x02, 0x15, 0x01,
  5090. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5091. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5092. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  5093. {
  5094. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5095. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5096. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5097. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  5098. {
  5099. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x05, 0x05, 0x02, 0x15, 0x01,
  5100. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5101. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5102. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  5103. {
  5104. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5105. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5106. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5107. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  5108. {
  5109. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5110. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5111. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5112. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  5113. {
  5114. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5115. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5116. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5117. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  5118. {
  5119. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5120. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5121. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5122. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  5123. {
  5124. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5125. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5126. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5127. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  5128. {
  5129. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5130. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5131. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5132. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  5133. {
  5134. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5135. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5136. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5137. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  5138. {
  5139. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5140. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5141. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5142. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  5143. {
  5144. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5145. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5146. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5147. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  5148. {
  5149. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5150. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5151. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5152. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  5153. {
  5154. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5155. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5156. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5157. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  5158. {
  5159. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5160. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5161. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5162. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  5163. {
  5164. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5165. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5166. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5167. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  5168. {
  5169. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5170. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5171. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5172. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  5173. {
  5174. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5175. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5176. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5177. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  5178. {
  5179. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5180. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  5181. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5182. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  5183. {
  5184. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5185. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  5186. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  5187. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  5188. {
  5189. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5190. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  5191. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  5192. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  5193. {
  5194. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5195. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  5196. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  5197. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  5198. {
  5199. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5200. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  5201. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  5202. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  5203. {
  5204. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5205. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  5206. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  5207. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  5208. {
  5209. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5210. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  5211. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  5212. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  5213. {
  5214. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5215. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  5216. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  5217. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  5218. {
  5219. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5220. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  5221. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  5222. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  5223. {
  5224. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5225. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5226. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  5227. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  5228. {
  5229. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5230. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5231. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  5232. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  5233. {
  5234. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5235. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  5236. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  5237. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  5238. };
  5239. static const struct chan_info_nphy_radio2057 chan_info_nphyrev7_2057_rev4[] = {
  5240. {
  5241. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  5242. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5243. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  5244. 0x0215,
  5245. 0x0216,
  5246. },
  5247. {
  5248. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  5249. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5250. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  5251. 0x0214,
  5252. 0x0215,
  5253. },
  5254. {
  5255. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  5256. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5257. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  5258. 0x0213,
  5259. 0x0214,
  5260. },
  5261. {
  5262. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  5263. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5264. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  5265. 0x0212,
  5266. 0x0213,
  5267. },
  5268. {
  5269. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  5270. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5271. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  5272. 0x0211,
  5273. 0x0212,
  5274. },
  5275. {
  5276. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  5277. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5278. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  5279. 0x020f,
  5280. 0x0211,
  5281. },
  5282. {
  5283. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  5284. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5285. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  5286. 0x020e,
  5287. 0x020f,
  5288. },
  5289. {
  5290. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  5291. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5292. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  5293. 0x020d,
  5294. 0x020e,
  5295. },
  5296. {
  5297. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  5298. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5299. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  5300. 0x020c,
  5301. 0x020d,
  5302. },
  5303. {
  5304. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  5305. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5306. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  5307. 0x020b,
  5308. 0x020c,
  5309. },
  5310. {
  5311. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  5312. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5313. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  5314. 0x020a,
  5315. 0x020b,
  5316. },
  5317. {
  5318. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  5319. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5320. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  5321. 0x0209,
  5322. 0x020a,
  5323. },
  5324. {
  5325. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  5326. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5327. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  5328. 0x0208,
  5329. 0x0209,
  5330. },
  5331. {
  5332. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  5333. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5334. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  5335. 0x0207,
  5336. 0x0208,
  5337. },
  5338. {
  5339. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  5340. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5341. 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  5342. 0x0206,
  5343. 0x0207,
  5344. },
  5345. {
  5346. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  5347. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5348. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  5349. 0x0205,
  5350. 0x0206,
  5351. },
  5352. {
  5353. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  5354. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5355. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  5356. 0x0204,
  5357. 0x0205,
  5358. },
  5359. {
  5360. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  5361. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5362. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  5363. 0x0203,
  5364. 0x0204,
  5365. },
  5366. {
  5367. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  5368. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5369. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  5370. 0x0202,
  5371. 0x0203,
  5372. },
  5373. {
  5374. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  5375. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5376. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0800, 0x07fc, 0x07f8, 0x0200,
  5377. 0x0201,
  5378. 0x0202,
  5379. },
  5380. {
  5381. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  5382. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5383. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0804, 0x0800, 0x07fc, 0x01ff,
  5384. 0x0200,
  5385. 0x0201,
  5386. },
  5387. {
  5388. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  5389. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5390. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0808, 0x0804, 0x0800, 0x01fe,
  5391. 0x01ff,
  5392. 0x0200,
  5393. },
  5394. {
  5395. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  5396. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5397. 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x080c, 0x0808, 0x0804, 0x01fd,
  5398. 0x01fe,
  5399. 0x01ff,
  5400. },
  5401. {
  5402. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  5403. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5404. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0814, 0x0810, 0x080c, 0x01fb,
  5405. 0x01fc,
  5406. 0x01fd,
  5407. },
  5408. {
  5409. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  5410. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5411. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0818, 0x0814, 0x0810, 0x01fa,
  5412. 0x01fb,
  5413. 0x01fc,
  5414. },
  5415. {
  5416. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  5417. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5418. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x081c, 0x0818, 0x0814, 0x01f9,
  5419. 0x01fa,
  5420. 0x01fb,
  5421. },
  5422. {
  5423. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  5424. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5425. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0820, 0x081c, 0x0818, 0x01f8,
  5426. 0x01f9,
  5427. 0x01fa,
  5428. },
  5429. {
  5430. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  5431. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5432. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0824, 0x0820, 0x081c, 0x01f7,
  5433. 0x01f8,
  5434. 0x01f9,
  5435. },
  5436. {
  5437. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  5438. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5439. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0828, 0x0824, 0x0820, 0x01f6,
  5440. 0x01f7,
  5441. 0x01f8,
  5442. },
  5443. {
  5444. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  5445. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5446. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x082c, 0x0828, 0x0824, 0x01f5,
  5447. 0x01f6,
  5448. 0x01f7,
  5449. },
  5450. {
  5451. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  5452. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5453. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0830, 0x082c, 0x0828, 0x01f4,
  5454. 0x01f5,
  5455. 0x01f6,
  5456. },
  5457. {
  5458. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  5459. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5460. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0834, 0x0830, 0x082c, 0x01f3,
  5461. 0x01f4,
  5462. 0x01f5,
  5463. },
  5464. {
  5465. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  5466. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5467. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0838, 0x0834, 0x0830, 0x01f2,
  5468. 0x01f3,
  5469. 0x01f4,
  5470. },
  5471. {
  5472. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  5473. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5474. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x083c, 0x0838, 0x0834, 0x01f1,
  5475. 0x01f2,
  5476. 0x01f3,
  5477. },
  5478. {
  5479. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  5480. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5481. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x0840, 0x083c, 0x0838, 0x01f0,
  5482. 0x01f1,
  5483. 0x01f2,
  5484. },
  5485. {
  5486. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  5487. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5488. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0844, 0x0840, 0x083c, 0x01f0,
  5489. 0x01f0,
  5490. 0x01f1,
  5491. },
  5492. {
  5493. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  5494. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5495. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0848, 0x0844, 0x0840, 0x01ef,
  5496. 0x01f0,
  5497. 0x01f0,
  5498. },
  5499. {
  5500. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  5501. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5502. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x084c, 0x0848, 0x0844, 0x01ee,
  5503. 0x01ef,
  5504. 0x01f0,
  5505. },
  5506. {
  5507. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  5508. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5509. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0850, 0x084c, 0x0848, 0x01ed,
  5510. 0x01ee,
  5511. 0x01ef,
  5512. },
  5513. {
  5514. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  5515. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5516. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0854, 0x0850, 0x084c, 0x01ec,
  5517. 0x01ed,
  5518. 0x01ee,
  5519. },
  5520. {
  5521. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  5522. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5523. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0858, 0x0854, 0x0850, 0x01eb,
  5524. 0x01ec,
  5525. 0x01ed,
  5526. },
  5527. {
  5528. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  5529. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x00,
  5530. 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x085c, 0x0858, 0x0854, 0x01ea,
  5531. 0x01eb,
  5532. 0x01ec,
  5533. },
  5534. {
  5535. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  5536. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5537. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0860, 0x085c, 0x0858, 0x01e9,
  5538. 0x01ea,
  5539. 0x01eb,
  5540. },
  5541. {
  5542. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  5543. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5544. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0864, 0x0860, 0x085c, 0x01e8,
  5545. 0x01e9,
  5546. 0x01ea,
  5547. },
  5548. {
  5549. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  5550. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5551. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0868, 0x0864, 0x0860, 0x01e7,
  5552. 0x01e8,
  5553. 0x01e9,
  5554. },
  5555. {
  5556. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  5557. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5558. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x086c, 0x0868, 0x0864, 0x01e6,
  5559. 0x01e7,
  5560. 0x01e8,
  5561. },
  5562. {
  5563. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  5564. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x00,
  5565. 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x0870, 0x086c, 0x0868, 0x01e5,
  5566. 0x01e6,
  5567. 0x01e7,
  5568. },
  5569. {
  5570. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  5571. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5572. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0874, 0x0870, 0x086c, 0x01e5,
  5573. 0x01e5,
  5574. 0x01e6,
  5575. },
  5576. {
  5577. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  5578. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5579. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0878, 0x0874, 0x0870, 0x01e4,
  5580. 0x01e5,
  5581. 0x01e5,
  5582. },
  5583. {
  5584. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  5585. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x00,
  5586. 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x087c, 0x0878, 0x0874, 0x01e3,
  5587. 0x01e4,
  5588. 0x01e5,
  5589. },
  5590. {
  5591. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  5592. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5593. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0880, 0x087c, 0x0878, 0x01e2,
  5594. 0x01e3,
  5595. 0x01e4,
  5596. },
  5597. {
  5598. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  5599. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5600. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0884, 0x0880, 0x087c, 0x01e1,
  5601. 0x01e2,
  5602. 0x01e3,
  5603. },
  5604. {
  5605. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  5606. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5607. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0888, 0x0884, 0x0880, 0x01e0,
  5608. 0x01e1,
  5609. 0x01e2,
  5610. },
  5611. {
  5612. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  5613. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x00,
  5614. 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x088c, 0x0888, 0x0884, 0x01df,
  5615. 0x01e0,
  5616. 0x01e1,
  5617. },
  5618. {
  5619. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  5620. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x00,
  5621. 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x0890, 0x088c, 0x0888, 0x01de,
  5622. 0x01df,
  5623. 0x01e0,
  5624. },
  5625. {
  5626. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  5627. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5628. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0894, 0x0890, 0x088c, 0x01dd,
  5629. 0x01de,
  5630. 0x01df,
  5631. },
  5632. {
  5633. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  5634. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5635. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0898, 0x0894, 0x0890, 0x01dd,
  5636. 0x01dd,
  5637. 0x01de,
  5638. },
  5639. {
  5640. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  5641. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5642. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x089c, 0x0898, 0x0894, 0x01dc,
  5643. 0x01dd,
  5644. 0x01dd,
  5645. },
  5646. {
  5647. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  5648. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5649. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x08a0, 0x089c, 0x0898, 0x01db,
  5650. 0x01dc,
  5651. 0x01dd,
  5652. },
  5653. {
  5654. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  5655. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5656. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a4, 0x08a0, 0x089c, 0x01da,
  5657. 0x01db,
  5658. 0x01dc,
  5659. },
  5660. {
  5661. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  5662. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5663. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  5664. 0x01da,
  5665. 0x01db,
  5666. },
  5667. {
  5668. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  5669. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5670. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  5671. 0x01d9,
  5672. 0x01da,
  5673. },
  5674. {
  5675. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  5676. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5677. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  5678. 0x01d8,
  5679. 0x01d9,
  5680. },
  5681. {
  5682. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  5683. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5684. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  5685. 0x01d7,
  5686. 0x01d8,
  5687. },
  5688. {
  5689. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  5690. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5691. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  5692. 0x01d7,
  5693. 0x01d7,
  5694. },
  5695. {
  5696. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  5697. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x00,
  5698. 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  5699. 0x01d6,
  5700. 0x01d7,
  5701. },
  5702. {
  5703. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  5704. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x00,
  5705. 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  5706. 0x01d5,
  5707. 0x01d6,
  5708. },
  5709. {
  5710. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  5711. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x00,
  5712. 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  5713. 0x01d4,
  5714. 0x01d5,
  5715. },
  5716. {
  5717. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  5718. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5719. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  5720. 0x01d3,
  5721. 0x01d4,
  5722. },
  5723. {
  5724. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  5725. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5726. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  5727. 0x01d2,
  5728. 0x01d3,
  5729. },
  5730. {
  5731. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  5732. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5733. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  5734. 0x01d2,
  5735. 0x01d2,
  5736. },
  5737. {
  5738. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  5739. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5740. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  5741. 0x01d1,
  5742. 0x01d2,
  5743. },
  5744. {
  5745. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  5746. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5747. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  5748. 0x01d0,
  5749. 0x01d1,
  5750. },
  5751. {
  5752. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  5753. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5754. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  5755. 0x01cf,
  5756. 0x01d0,
  5757. },
  5758. {
  5759. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  5760. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x00,
  5761. 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  5762. 0x01ce,
  5763. 0x01cf,
  5764. },
  5765. {
  5766. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  5767. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5768. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  5769. 0x01ce,
  5770. 0x01ce,
  5771. },
  5772. {
  5773. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  5774. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5775. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  5776. 0x01cd,
  5777. 0x01ce,
  5778. },
  5779. {
  5780. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  5781. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5782. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  5783. 0x01cc,
  5784. 0x01cd,
  5785. },
  5786. {
  5787. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  5788. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5789. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  5790. 0x01cb,
  5791. 0x01cc,
  5792. },
  5793. {
  5794. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  5795. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5796. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  5797. 0x01ca,
  5798. 0x01cb,
  5799. },
  5800. {
  5801. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  5802. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x00,
  5803. 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  5804. 0x01ca,
  5805. 0x01cb,
  5806. },
  5807. {
  5808. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  5809. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5810. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  5811. 0x01c9,
  5812. 0x01ca,
  5813. },
  5814. {
  5815. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  5816. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5817. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  5818. 0x01c9,
  5819. 0x01ca,
  5820. },
  5821. {
  5822. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  5823. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5824. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  5825. 0x01c9,
  5826. 0x01c9,
  5827. },
  5828. {
  5829. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  5830. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5831. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  5832. 0x01c8,
  5833. 0x01c9,
  5834. },
  5835. {
  5836. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  5837. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5838. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  5839. 0x01c8,
  5840. 0x01c9,
  5841. },
  5842. {
  5843. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  5844. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5845. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  5846. 0x01c8,
  5847. 0x01c8,
  5848. },
  5849. {
  5850. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  5851. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5852. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  5853. 0x01c7,
  5854. 0x01c8,
  5855. },
  5856. {
  5857. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  5858. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5859. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  5860. 0x01c7,
  5861. 0x01c8,
  5862. },
  5863. {
  5864. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  5865. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5866. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  5867. 0x01c6,
  5868. 0x01c7,
  5869. },
  5870. {
  5871. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  5872. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5873. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  5874. 0x01c6,
  5875. 0x01c7,
  5876. },
  5877. {
  5878. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  5879. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x00,
  5880. 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  5881. 0x01c6,
  5882. 0x01c6,
  5883. },
  5884. {
  5885. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  5886. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5887. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  5888. 0x01c5,
  5889. 0x01c6,
  5890. },
  5891. {
  5892. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  5893. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5894. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  5895. 0x01c5,
  5896. 0x01c6,
  5897. },
  5898. {
  5899. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  5900. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5901. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  5902. 0x01c4,
  5903. 0x01c5,
  5904. },
  5905. {
  5906. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  5907. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5908. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  5909. 0x01c4,
  5910. 0x01c5,
  5911. },
  5912. {
  5913. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  5914. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5915. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  5916. 0x01c4,
  5917. 0x01c4,
  5918. },
  5919. {
  5920. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  5921. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5922. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  5923. 0x01c3,
  5924. 0x01c4,
  5925. },
  5926. {
  5927. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  5928. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5929. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  5930. 0x01c3,
  5931. 0x01c4,
  5932. },
  5933. {
  5934. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  5935. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5936. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  5937. 0x01c2,
  5938. 0x01c3,
  5939. },
  5940. {
  5941. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  5942. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5943. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  5944. 0x01c2,
  5945. 0x01c3,
  5946. },
  5947. {
  5948. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  5949. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5950. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  5951. 0x01c2,
  5952. 0x01c2,
  5953. },
  5954. {
  5955. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  5956. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5957. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  5958. 0x01c1,
  5959. 0x01c2,
  5960. },
  5961. {
  5962. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  5963. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5964. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  5965. 0x01c0,
  5966. 0x01c1,
  5967. },
  5968. {
  5969. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  5970. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5971. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  5972. 0x01bf,
  5973. 0x01c0,
  5974. },
  5975. {
  5976. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  5977. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5978. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  5979. 0x01bf,
  5980. 0x01bf,
  5981. },
  5982. {
  5983. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  5984. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5985. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  5986. 0x01be,
  5987. 0x01bf,
  5988. },
  5989. {
  5990. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  5991. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5992. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  5993. 0x01bd,
  5994. 0x01be,
  5995. },
  5996. {
  5997. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  5998. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5999. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6000. 0x01bc,
  6001. 0x01bd,
  6002. },
  6003. {
  6004. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6005. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6006. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6007. 0x043f,
  6008. 0x0443,
  6009. },
  6010. {
  6011. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6012. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6013. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6014. 0x043d,
  6015. 0x0441,
  6016. },
  6017. {
  6018. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6019. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6020. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6021. 0x043a,
  6022. 0x043f,
  6023. },
  6024. {
  6025. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6026. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6027. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6028. 0x0438,
  6029. 0x043d,
  6030. },
  6031. {
  6032. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6033. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6034. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6035. 0x0436,
  6036. 0x043a,
  6037. },
  6038. {
  6039. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6040. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6041. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6042. 0x0434,
  6043. 0x0438,
  6044. },
  6045. {
  6046. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6047. 0x07, 0x00, 0x07, 0x00, 0x51, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6048. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6049. 0x0431,
  6050. 0x0436,
  6051. },
  6052. {
  6053. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6054. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6055. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6056. 0x042f,
  6057. 0x0434,
  6058. },
  6059. {
  6060. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6061. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6062. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6063. 0x042d,
  6064. 0x0431,
  6065. },
  6066. {
  6067. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6068. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6069. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6070. 0x042b,
  6071. 0x042f,
  6072. },
  6073. {
  6074. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6075. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6076. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6077. 0x0429,
  6078. 0x042d,
  6079. },
  6080. {
  6081. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6082. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6083. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6084. 0x0427,
  6085. 0x042b,
  6086. },
  6087. {
  6088. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6089. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6090. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6091. 0x0424,
  6092. 0x0429,
  6093. },
  6094. {
  6095. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6096. 0x04, 0x00, 0x04, 0x00, 0x11, 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x11,
  6097. 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6098. 0x041f,
  6099. 0x0424}
  6100. };
  6101. static const struct chan_info_nphy_radio2057_rev5
  6102. chan_info_nphyrev8_2057_rev5[] = {
  6103. {
  6104. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6105. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6106. 0x043a, 0x043f, 0x0443},
  6107. {
  6108. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6109. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6110. 0x0438, 0x043d, 0x0441},
  6111. {
  6112. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6113. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6114. 0x0436, 0x043a, 0x043f},
  6115. {
  6116. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6117. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6118. 0x0434, 0x0438, 0x043d},
  6119. {
  6120. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6121. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6122. 0x0431, 0x0436, 0x043a},
  6123. {
  6124. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6125. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6126. 0x042f, 0x0434, 0x0438},
  6127. {
  6128. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6129. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6130. 0x042d, 0x0431, 0x0436},
  6131. {
  6132. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6133. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6134. 0x042b, 0x042f, 0x0434},
  6135. {
  6136. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6137. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6138. 0x0429, 0x042d, 0x0431},
  6139. {
  6140. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6141. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6142. 0x0427, 0x042b, 0x042f},
  6143. {
  6144. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6145. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6146. 0x0424, 0x0429, 0x042d},
  6147. {
  6148. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6149. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6150. 0x0422, 0x0427, 0x042b},
  6151. {
  6152. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6153. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6154. 0x0420, 0x0424, 0x0429},
  6155. {
  6156. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6157. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6158. 0x041b, 0x041f, 0x0424}
  6159. };
  6160. static const struct chan_info_nphy_radio2057_rev5
  6161. chan_info_nphyrev9_2057_rev5v1[] = {
  6162. {
  6163. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6164. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6165. 0x043a, 0x043f, 0x0443},
  6166. {
  6167. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6168. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6169. 0x0438, 0x043d, 0x0441},
  6170. {
  6171. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6172. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6173. 0x0436, 0x043a, 0x043f},
  6174. {
  6175. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6176. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6177. 0x0434, 0x0438, 0x043d},
  6178. {
  6179. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6180. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6181. 0x0431, 0x0436, 0x043a},
  6182. {
  6183. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6184. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6185. 0x042f, 0x0434, 0x0438},
  6186. {
  6187. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6188. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6189. 0x042d, 0x0431, 0x0436},
  6190. {
  6191. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6192. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6193. 0x042b, 0x042f, 0x0434},
  6194. {
  6195. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6196. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6197. 0x0429, 0x042d, 0x0431},
  6198. {
  6199. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6200. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6201. 0x0427, 0x042b, 0x042f},
  6202. {
  6203. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6204. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6205. 0x0424, 0x0429, 0x042d},
  6206. {
  6207. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6208. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6209. 0x0422, 0x0427, 0x042b},
  6210. {
  6211. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6212. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6213. 0x0420, 0x0424, 0x0429},
  6214. {
  6215. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6216. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6217. 0x041b, 0x041f, 0x0424}
  6218. };
  6219. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev7[] = {
  6220. {
  6221. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  6222. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6223. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  6224. 0x0215,
  6225. 0x0216},
  6226. {
  6227. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6228. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6229. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6230. 0x0214,
  6231. 0x0215},
  6232. {
  6233. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6234. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6235. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6236. 0x0213,
  6237. 0x0214},
  6238. {
  6239. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6240. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6241. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6242. 0x0212,
  6243. 0x0213},
  6244. {
  6245. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6246. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6247. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6248. 0x0211,
  6249. 0x0212},
  6250. {
  6251. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6252. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6253. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6254. 0x020f,
  6255. 0x0211},
  6256. {
  6257. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6258. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6259. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6260. 0x020e,
  6261. 0x020f},
  6262. {
  6263. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6264. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6265. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  6266. 0x020d,
  6267. 0x020e},
  6268. {
  6269. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  6270. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6271. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  6272. 0x020c,
  6273. 0x020d},
  6274. {
  6275. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  6276. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6277. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  6278. 0x020b,
  6279. 0x020c},
  6280. {
  6281. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  6282. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6283. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  6284. 0x020a,
  6285. 0x020b},
  6286. {
  6287. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  6288. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6289. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  6290. 0x0209,
  6291. 0x020a},
  6292. {
  6293. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  6294. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6295. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  6296. 0x0208,
  6297. 0x0209},
  6298. {
  6299. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  6300. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6301. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  6302. 0x0207,
  6303. 0x0208},
  6304. {
  6305. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  6306. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6307. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  6308. 0x0206,
  6309. 0x0207},
  6310. {
  6311. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  6312. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6313. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  6314. 0x0205,
  6315. 0x0206},
  6316. {
  6317. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  6318. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6319. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  6320. 0x0204,
  6321. 0x0205},
  6322. {
  6323. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  6324. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6325. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  6326. 0x0203,
  6327. 0x0204},
  6328. {
  6329. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  6330. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6331. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  6332. 0x0202,
  6333. 0x0203},
  6334. {
  6335. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  6336. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6337. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  6338. 0x0201,
  6339. 0x0202},
  6340. {
  6341. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  6342. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6343. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  6344. 0x0200,
  6345. 0x0201},
  6346. {
  6347. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  6348. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6349. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  6350. 0x01ff,
  6351. 0x0200},
  6352. {
  6353. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  6354. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6355. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  6356. 0x01fe,
  6357. 0x01ff},
  6358. {
  6359. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  6360. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6361. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  6362. 0x01fc,
  6363. 0x01fd},
  6364. {
  6365. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  6366. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6367. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  6368. 0x01fb,
  6369. 0x01fc},
  6370. {
  6371. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  6372. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6373. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  6374. 0x01fa,
  6375. 0x01fb},
  6376. {
  6377. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  6378. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6379. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  6380. 0x01f9,
  6381. 0x01fa},
  6382. {
  6383. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  6384. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6385. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  6386. 0x01f8,
  6387. 0x01f9},
  6388. {
  6389. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  6390. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6391. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  6392. 0x01f7,
  6393. 0x01f8},
  6394. {
  6395. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  6396. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6397. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  6398. 0x01f6,
  6399. 0x01f7},
  6400. {
  6401. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  6402. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6403. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  6404. 0x01f5,
  6405. 0x01f6},
  6406. {
  6407. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  6408. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6409. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  6410. 0x01f4,
  6411. 0x01f5},
  6412. {
  6413. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  6414. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6415. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  6416. 0x01f3,
  6417. 0x01f4},
  6418. {
  6419. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  6420. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6421. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  6422. 0x01f2,
  6423. 0x01f3},
  6424. {
  6425. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  6426. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6427. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  6428. 0x01f1,
  6429. 0x01f2},
  6430. {
  6431. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  6432. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6433. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  6434. 0x01f0,
  6435. 0x01f1},
  6436. {
  6437. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  6438. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6439. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  6440. 0x01f0,
  6441. 0x01f0},
  6442. {
  6443. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  6444. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6445. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  6446. 0x01ef,
  6447. 0x01f0},
  6448. {
  6449. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  6450. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6451. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  6452. 0x01ee,
  6453. 0x01ef},
  6454. {
  6455. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  6456. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6457. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  6458. 0x01ed,
  6459. 0x01ee},
  6460. {
  6461. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  6462. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6463. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  6464. 0x01ec,
  6465. 0x01ed},
  6466. {
  6467. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  6468. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6469. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  6470. 0x01eb,
  6471. 0x01ec},
  6472. {
  6473. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  6474. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6475. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  6476. 0x01ea,
  6477. 0x01eb},
  6478. {
  6479. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  6480. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6481. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  6482. 0x01e9,
  6483. 0x01ea},
  6484. {
  6485. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  6486. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6487. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  6488. 0x01e8,
  6489. 0x01e9},
  6490. {
  6491. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  6492. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6493. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  6494. 0x01e7,
  6495. 0x01e8},
  6496. {
  6497. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  6498. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6499. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  6500. 0x01e6,
  6501. 0x01e7},
  6502. {
  6503. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  6504. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6505. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  6506. 0x01e5,
  6507. 0x01e6},
  6508. {
  6509. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  6510. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6511. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  6512. 0x01e5,
  6513. 0x01e5},
  6514. {
  6515. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  6516. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6517. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  6518. 0x01e4,
  6519. 0x01e5},
  6520. {
  6521. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  6522. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6523. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  6524. 0x01e3,
  6525. 0x01e4},
  6526. {
  6527. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  6528. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6529. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  6530. 0x01e2,
  6531. 0x01e3},
  6532. {
  6533. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  6534. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6535. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  6536. 0x01e1,
  6537. 0x01e2},
  6538. {
  6539. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  6540. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6541. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  6542. 0x01e0,
  6543. 0x01e1},
  6544. {
  6545. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  6546. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6547. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  6548. 0x01df,
  6549. 0x01e0},
  6550. {
  6551. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  6552. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6553. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  6554. 0x01de,
  6555. 0x01df},
  6556. {
  6557. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  6558. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6559. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  6560. 0x01dd,
  6561. 0x01de},
  6562. {
  6563. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  6564. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6565. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  6566. 0x01dd,
  6567. 0x01dd},
  6568. {
  6569. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  6570. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6571. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  6572. 0x01dc,
  6573. 0x01dd},
  6574. {
  6575. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  6576. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6577. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  6578. 0x01db,
  6579. 0x01dc},
  6580. {
  6581. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  6582. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6583. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  6584. 0x01da,
  6585. 0x01db},
  6586. {
  6587. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  6588. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6589. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  6590. 0x01d9,
  6591. 0x01da},
  6592. {
  6593. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  6594. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6595. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  6596. 0x01d8,
  6597. 0x01d9},
  6598. {
  6599. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  6600. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6601. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  6602. 0x01d7,
  6603. 0x01d8},
  6604. {
  6605. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  6606. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6607. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  6608. 0x01d7,
  6609. 0x01d7},
  6610. {
  6611. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  6612. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6613. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  6614. 0x01d6,
  6615. 0x01d7},
  6616. {
  6617. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  6618. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6619. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  6620. 0x01d5,
  6621. 0x01d6},
  6622. {
  6623. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  6624. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6625. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  6626. 0x01d4,
  6627. 0x01d5},
  6628. {
  6629. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  6630. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6631. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  6632. 0x01d3,
  6633. 0x01d4},
  6634. {
  6635. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  6636. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6637. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  6638. 0x01d2,
  6639. 0x01d3},
  6640. {
  6641. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  6642. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6643. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  6644. 0x01d2,
  6645. 0x01d2},
  6646. {
  6647. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  6648. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6649. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  6650. 0x01d1,
  6651. 0x01d2},
  6652. {
  6653. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  6654. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6655. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  6656. 0x01d0,
  6657. 0x01d1},
  6658. {
  6659. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  6660. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6661. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  6662. 0x01cf,
  6663. 0x01d0},
  6664. {
  6665. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  6666. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6667. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  6668. 0x01ce,
  6669. 0x01cf},
  6670. {
  6671. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  6672. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6673. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  6674. 0x01ce,
  6675. 0x01ce},
  6676. {
  6677. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  6678. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6679. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  6680. 0x01cd,
  6681. 0x01ce},
  6682. {
  6683. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  6684. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6685. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  6686. 0x01cc,
  6687. 0x01cd},
  6688. {
  6689. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  6690. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6691. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  6692. 0x01cb,
  6693. 0x01cc},
  6694. {
  6695. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  6696. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6697. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  6698. 0x01ca,
  6699. 0x01cb},
  6700. {
  6701. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  6702. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6703. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  6704. 0x01ca,
  6705. 0x01cb},
  6706. {
  6707. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  6708. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6709. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  6710. 0x01c9,
  6711. 0x01ca},
  6712. {
  6713. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  6714. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6715. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  6716. 0x01c9,
  6717. 0x01ca},
  6718. {
  6719. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  6720. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6721. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  6722. 0x01c9,
  6723. 0x01c9},
  6724. {
  6725. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  6726. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6727. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  6728. 0x01c8,
  6729. 0x01c9},
  6730. {
  6731. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  6732. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6733. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  6734. 0x01c8,
  6735. 0x01c9},
  6736. {
  6737. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  6738. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6739. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  6740. 0x01c8,
  6741. 0x01c8},
  6742. {
  6743. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  6744. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6745. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  6746. 0x01c7,
  6747. 0x01c8},
  6748. {
  6749. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  6750. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6751. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  6752. 0x01c7,
  6753. 0x01c8},
  6754. {
  6755. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  6756. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6757. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  6758. 0x01c6,
  6759. 0x01c7},
  6760. {
  6761. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  6762. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6763. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  6764. 0x01c6,
  6765. 0x01c7},
  6766. {
  6767. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  6768. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6769. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  6770. 0x01c6,
  6771. 0x01c6},
  6772. {
  6773. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  6774. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6775. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  6776. 0x01c5,
  6777. 0x01c6},
  6778. {
  6779. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  6780. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6781. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  6782. 0x01c5,
  6783. 0x01c6},
  6784. {
  6785. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  6786. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6787. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  6788. 0x01c4,
  6789. 0x01c5},
  6790. {
  6791. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  6792. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  6793. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  6794. 0x01c4,
  6795. 0x01c5},
  6796. {
  6797. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  6798. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6799. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  6800. 0x01c4,
  6801. 0x01c4},
  6802. {
  6803. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  6804. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6805. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  6806. 0x01c3,
  6807. 0x01c4},
  6808. {
  6809. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  6810. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6811. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  6812. 0x01c3,
  6813. 0x01c4},
  6814. {
  6815. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  6816. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6817. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  6818. 0x01c2,
  6819. 0x01c3},
  6820. {
  6821. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  6822. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6823. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  6824. 0x01c2,
  6825. 0x01c3},
  6826. {
  6827. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  6828. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6829. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  6830. 0x01c2,
  6831. 0x01c2},
  6832. {
  6833. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  6834. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6835. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  6836. 0x01c1,
  6837. 0x01c2},
  6838. {
  6839. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  6840. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6841. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  6842. 0x01c0,
  6843. 0x01c1},
  6844. {
  6845. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  6846. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6847. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  6848. 0x01bf,
  6849. 0x01c0},
  6850. {
  6851. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  6852. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6853. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  6854. 0x01bf,
  6855. 0x01bf},
  6856. {
  6857. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  6858. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6859. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  6860. 0x01be,
  6861. 0x01bf},
  6862. {
  6863. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  6864. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6865. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  6866. 0x01bd,
  6867. 0x01be},
  6868. {
  6869. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  6870. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6871. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6872. 0x01bc,
  6873. 0x01bd},
  6874. {
  6875. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6876. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6877. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6878. 0x043f,
  6879. 0x0443},
  6880. {
  6881. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6882. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6883. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6884. 0x043d,
  6885. 0x0441},
  6886. {
  6887. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6888. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6889. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6890. 0x043a,
  6891. 0x043f},
  6892. {
  6893. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6894. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6895. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6896. 0x0438,
  6897. 0x043d},
  6898. {
  6899. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6900. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6901. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6902. 0x0436,
  6903. 0x043a},
  6904. {
  6905. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6906. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6907. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6908. 0x0434,
  6909. 0x0438},
  6910. {
  6911. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6912. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6913. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6914. 0x0431,
  6915. 0x0436},
  6916. {
  6917. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6918. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6919. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6920. 0x042f,
  6921. 0x0434},
  6922. {
  6923. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6924. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6925. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6926. 0x042d,
  6927. 0x0431},
  6928. {
  6929. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6930. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6931. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6932. 0x042b,
  6933. 0x042f},
  6934. {
  6935. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6936. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6937. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6938. 0x0429,
  6939. 0x042d},
  6940. {
  6941. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6942. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6943. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6944. 0x0427,
  6945. 0x042b},
  6946. {
  6947. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6948. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6949. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6950. 0x0424,
  6951. 0x0429},
  6952. {
  6953. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6954. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  6955. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6956. 0x041f,
  6957. 0x0424}
  6958. };
  6959. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev8[] = {
  6960. {
  6961. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6962. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6963. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6964. 0x0214,
  6965. 0x0215},
  6966. {
  6967. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6968. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6969. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6970. 0x0213,
  6971. 0x0214},
  6972. {
  6973. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6974. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6975. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6976. 0x0212,
  6977. 0x0213},
  6978. {
  6979. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6980. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6981. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6982. 0x0211,
  6983. 0x0212},
  6984. {
  6985. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6986. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6987. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6988. 0x020f,
  6989. 0x0211},
  6990. {
  6991. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6992. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6993. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6994. 0x020e,
  6995. 0x020f},
  6996. {
  6997. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6998. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6999. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  7000. 0x020d,
  7001. 0x020e},
  7002. {
  7003. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  7004. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7005. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  7006. 0x020c,
  7007. 0x020d},
  7008. {
  7009. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  7010. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7011. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  7012. 0x020b,
  7013. 0x020c},
  7014. {
  7015. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  7016. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7017. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  7018. 0x020a,
  7019. 0x020b},
  7020. {
  7021. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  7022. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7023. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  7024. 0x0209,
  7025. 0x020a},
  7026. {
  7027. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  7028. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7029. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  7030. 0x0208,
  7031. 0x0209},
  7032. {
  7033. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  7034. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7035. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  7036. 0x0207,
  7037. 0x0208},
  7038. {
  7039. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  7040. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7041. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  7042. 0x0206,
  7043. 0x0207},
  7044. {
  7045. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  7046. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7047. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  7048. 0x0205,
  7049. 0x0206},
  7050. {
  7051. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  7052. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7053. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  7054. 0x0204,
  7055. 0x0205},
  7056. {
  7057. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  7058. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7059. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  7060. 0x0203,
  7061. 0x0204},
  7062. {
  7063. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  7064. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7065. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  7066. 0x0202,
  7067. 0x0203},
  7068. {
  7069. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  7070. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7071. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  7072. 0x0201,
  7073. 0x0202},
  7074. {
  7075. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  7076. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7077. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  7078. 0x0200,
  7079. 0x0201},
  7080. {
  7081. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  7082. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7083. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  7084. 0x01ff,
  7085. 0x0200},
  7086. {
  7087. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  7088. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7089. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  7090. 0x01fe,
  7091. 0x01ff},
  7092. {
  7093. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  7094. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7095. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  7096. 0x01fc,
  7097. 0x01fd},
  7098. {
  7099. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  7100. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7101. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  7102. 0x01fb,
  7103. 0x01fc},
  7104. {
  7105. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  7106. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7107. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  7108. 0x01fa,
  7109. 0x01fb},
  7110. {
  7111. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  7112. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7113. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  7114. 0x01f9,
  7115. 0x01fa},
  7116. {
  7117. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  7118. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7119. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  7120. 0x01f8,
  7121. 0x01f9},
  7122. {
  7123. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  7124. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7125. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  7126. 0x01f7,
  7127. 0x01f8},
  7128. {
  7129. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  7130. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7131. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  7132. 0x01f6,
  7133. 0x01f7},
  7134. {
  7135. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  7136. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7137. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  7138. 0x01f5,
  7139. 0x01f6},
  7140. {
  7141. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  7142. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7143. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  7144. 0x01f4,
  7145. 0x01f5},
  7146. {
  7147. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  7148. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7149. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  7150. 0x01f3,
  7151. 0x01f4},
  7152. {
  7153. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  7154. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7155. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  7156. 0x01f2,
  7157. 0x01f3},
  7158. {
  7159. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  7160. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7161. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  7162. 0x01f1,
  7163. 0x01f2},
  7164. {
  7165. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  7166. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7167. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  7168. 0x01f0,
  7169. 0x01f1},
  7170. {
  7171. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  7172. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7173. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  7174. 0x01f0,
  7175. 0x01f0},
  7176. {
  7177. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  7178. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7179. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  7180. 0x01ef,
  7181. 0x01f0},
  7182. {
  7183. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  7184. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7185. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  7186. 0x01ee,
  7187. 0x01ef},
  7188. {
  7189. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  7190. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7191. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  7192. 0x01ed,
  7193. 0x01ee},
  7194. {
  7195. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  7196. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7197. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  7198. 0x01ec,
  7199. 0x01ed},
  7200. {
  7201. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  7202. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7203. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  7204. 0x01eb,
  7205. 0x01ec},
  7206. {
  7207. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  7208. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7209. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  7210. 0x01ea,
  7211. 0x01eb},
  7212. {
  7213. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  7214. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7215. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  7216. 0x01e9,
  7217. 0x01ea},
  7218. {
  7219. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  7220. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7221. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  7222. 0x01e8,
  7223. 0x01e9},
  7224. {
  7225. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  7226. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7227. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  7228. 0x01e7,
  7229. 0x01e8},
  7230. {
  7231. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  7232. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7233. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  7234. 0x01e6,
  7235. 0x01e7},
  7236. {
  7237. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  7238. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7239. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  7240. 0x01e5,
  7241. 0x01e6},
  7242. {
  7243. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  7244. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7245. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  7246. 0x01e5,
  7247. 0x01e5},
  7248. {
  7249. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  7250. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7251. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  7252. 0x01e4,
  7253. 0x01e5},
  7254. {
  7255. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  7256. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7257. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  7258. 0x01e3,
  7259. 0x01e4},
  7260. {
  7261. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  7262. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7263. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  7264. 0x01e2,
  7265. 0x01e3},
  7266. {
  7267. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  7268. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7269. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  7270. 0x01e1,
  7271. 0x01e2},
  7272. {
  7273. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  7274. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7275. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  7276. 0x01e0,
  7277. 0x01e1},
  7278. {
  7279. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  7280. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7281. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  7282. 0x01df,
  7283. 0x01e0},
  7284. {
  7285. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  7286. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7287. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  7288. 0x01de,
  7289. 0x01df},
  7290. {
  7291. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  7292. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7293. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  7294. 0x01dd,
  7295. 0x01de},
  7296. {
  7297. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  7298. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7299. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  7300. 0x01dd,
  7301. 0x01dd},
  7302. {
  7303. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  7304. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7305. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  7306. 0x01dc,
  7307. 0x01dd},
  7308. {
  7309. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  7310. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7311. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  7312. 0x01db,
  7313. 0x01dc},
  7314. {
  7315. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  7316. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7317. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  7318. 0x01da,
  7319. 0x01db},
  7320. {
  7321. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  7322. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7323. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  7324. 0x01d9,
  7325. 0x01da},
  7326. {
  7327. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  7328. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7329. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  7330. 0x01d8,
  7331. 0x01d9},
  7332. {
  7333. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  7334. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7335. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  7336. 0x01d7,
  7337. 0x01d8},
  7338. {
  7339. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  7340. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7341. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  7342. 0x01d7,
  7343. 0x01d7},
  7344. {
  7345. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  7346. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7347. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  7348. 0x01d6,
  7349. 0x01d7},
  7350. {
  7351. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  7352. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7353. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  7354. 0x01d5,
  7355. 0x01d6},
  7356. {
  7357. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  7358. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7359. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  7360. 0x01d4,
  7361. 0x01d5},
  7362. {
  7363. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  7364. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7365. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  7366. 0x01d3,
  7367. 0x01d4},
  7368. {
  7369. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  7370. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7371. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  7372. 0x01d2,
  7373. 0x01d3},
  7374. {
  7375. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  7376. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7377. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  7378. 0x01d2,
  7379. 0x01d2},
  7380. {
  7381. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  7382. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7383. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  7384. 0x01d1,
  7385. 0x01d2},
  7386. {
  7387. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  7388. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7389. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  7390. 0x01d0,
  7391. 0x01d1},
  7392. {
  7393. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  7394. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7395. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  7396. 0x01cf,
  7397. 0x01d0},
  7398. {
  7399. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  7400. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7401. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  7402. 0x01ce,
  7403. 0x01cf},
  7404. {
  7405. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  7406. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7407. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  7408. 0x01ce,
  7409. 0x01ce},
  7410. {
  7411. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  7412. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7413. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  7414. 0x01cd,
  7415. 0x01ce},
  7416. {
  7417. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  7418. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7419. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  7420. 0x01cc,
  7421. 0x01cd},
  7422. {
  7423. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  7424. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7425. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  7426. 0x01cb,
  7427. 0x01cc},
  7428. {
  7429. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  7430. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7431. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  7432. 0x01ca,
  7433. 0x01cb},
  7434. {
  7435. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  7436. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7437. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  7438. 0x01ca,
  7439. 0x01cb},
  7440. {
  7441. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  7442. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7443. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  7444. 0x01c9,
  7445. 0x01ca},
  7446. {
  7447. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  7448. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7449. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  7450. 0x01c9,
  7451. 0x01ca},
  7452. {
  7453. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  7454. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7455. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  7456. 0x01c9,
  7457. 0x01c9},
  7458. {
  7459. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  7460. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7461. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  7462. 0x01c8,
  7463. 0x01c9},
  7464. {
  7465. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  7466. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7467. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  7468. 0x01c8,
  7469. 0x01c9},
  7470. {
  7471. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  7472. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7473. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  7474. 0x01c8,
  7475. 0x01c8},
  7476. {
  7477. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  7478. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7479. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  7480. 0x01c7,
  7481. 0x01c8},
  7482. {
  7483. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  7484. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7485. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  7486. 0x01c7,
  7487. 0x01c8},
  7488. {
  7489. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  7490. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7491. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  7492. 0x01c6,
  7493. 0x01c7},
  7494. {
  7495. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  7496. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7497. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  7498. 0x01c6,
  7499. 0x01c7},
  7500. {
  7501. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  7502. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7503. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  7504. 0x01c6,
  7505. 0x01c6},
  7506. {
  7507. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  7508. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7509. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  7510. 0x01c5,
  7511. 0x01c6},
  7512. {
  7513. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  7514. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7515. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  7516. 0x01c5,
  7517. 0x01c6},
  7518. {
  7519. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  7520. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7521. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  7522. 0x01c4,
  7523. 0x01c5},
  7524. {
  7525. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  7526. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  7527. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  7528. 0x01c4,
  7529. 0x01c5},
  7530. {
  7531. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  7532. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7533. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  7534. 0x01c4,
  7535. 0x01c4},
  7536. {
  7537. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  7538. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7539. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  7540. 0x01c3,
  7541. 0x01c4},
  7542. {
  7543. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  7544. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7545. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  7546. 0x01c3,
  7547. 0x01c4},
  7548. {
  7549. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  7550. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7551. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  7552. 0x01c2,
  7553. 0x01c3},
  7554. {
  7555. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  7556. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7557. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  7558. 0x01c2,
  7559. 0x01c3},
  7560. {
  7561. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  7562. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7563. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  7564. 0x01c2,
  7565. 0x01c2},
  7566. {
  7567. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  7568. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7569. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  7570. 0x01c1,
  7571. 0x01c2},
  7572. {
  7573. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  7574. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7575. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  7576. 0x01c0,
  7577. 0x01c1},
  7578. {
  7579. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  7580. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7581. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  7582. 0x01bf,
  7583. 0x01c0},
  7584. {
  7585. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  7586. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7587. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  7588. 0x01bf,
  7589. 0x01bf},
  7590. {
  7591. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  7592. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7593. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  7594. 0x01be,
  7595. 0x01bf},
  7596. {
  7597. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  7598. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7599. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  7600. 0x01bd,
  7601. 0x01be},
  7602. {
  7603. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  7604. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7605. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  7606. 0x01bc,
  7607. 0x01bd},
  7608. {
  7609. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  7610. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7611. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  7612. 0x043f,
  7613. 0x0443},
  7614. {
  7615. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  7616. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7617. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  7618. 0x043d,
  7619. 0x0441},
  7620. {
  7621. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  7622. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7623. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  7624. 0x043a,
  7625. 0x043f},
  7626. {
  7627. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  7628. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7629. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  7630. 0x0438,
  7631. 0x043d},
  7632. {
  7633. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  7634. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7635. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  7636. 0x0436,
  7637. 0x043a},
  7638. {
  7639. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  7640. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7641. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  7642. 0x0434,
  7643. 0x0438},
  7644. {
  7645. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  7646. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7647. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  7648. 0x0431,
  7649. 0x0436},
  7650. {
  7651. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  7652. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7653. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  7654. 0x042f,
  7655. 0x0434},
  7656. {
  7657. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  7658. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7659. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  7660. 0x042d,
  7661. 0x0431},
  7662. {
  7663. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  7664. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7665. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  7666. 0x042b,
  7667. 0x042f},
  7668. {
  7669. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  7670. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7671. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  7672. 0x0429,
  7673. 0x042d},
  7674. {
  7675. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  7676. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7677. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  7678. 0x0427,
  7679. 0x042b},
  7680. {
  7681. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  7682. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7683. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  7684. 0x0424,
  7685. 0x0429},
  7686. {
  7687. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  7688. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  7689. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  7690. 0x041f,
  7691. 0x0424}
  7692. };
  7693. static struct radio_regs regs_2055[] = {
  7694. {0x02, 0x80, 0x80, 0, 0},
  7695. {0x03, 0, 0, 0, 0},
  7696. {0x04, 0x27, 0x27, 0, 0},
  7697. {0x05, 0, 0, 0, 0},
  7698. {0x06, 0x27, 0x27, 0, 0},
  7699. {0x07, 0x7f, 0x7f, 1, 1},
  7700. {0x08, 0x7, 0x7, 1, 1},
  7701. {0x09, 0x7f, 0x7f, 1, 1},
  7702. {0x0A, 0x7, 0x7, 1, 1},
  7703. {0x0B, 0x15, 0x15, 0, 0},
  7704. {0x0C, 0x15, 0x15, 0, 0},
  7705. {0x0D, 0x4f, 0x4f, 1, 1},
  7706. {0x0E, 0x5, 0x5, 1, 1},
  7707. {0x0F, 0x4f, 0x4f, 1, 1},
  7708. {0x10, 0x5, 0x5, 1, 1},
  7709. {0x11, 0xd0, 0xd0, 0, 0},
  7710. {0x12, 0x2, 0x2, 0, 0},
  7711. {0x13, 0, 0, 0, 0},
  7712. {0x14, 0x40, 0x40, 0, 0},
  7713. {0x15, 0, 0, 0, 0},
  7714. {0x16, 0, 0, 0, 0},
  7715. {0x17, 0, 0, 0, 0},
  7716. {0x18, 0, 0, 0, 0},
  7717. {0x19, 0, 0, 0, 0},
  7718. {0x1A, 0, 0, 0, 0},
  7719. {0x1B, 0, 0, 0, 0},
  7720. {0x1C, 0, 0, 0, 0},
  7721. {0x1D, 0xc0, 0xc0, 0, 0},
  7722. {0x1E, 0xff, 0xff, 0, 0},
  7723. {0x1F, 0xc0, 0xc0, 0, 0},
  7724. {0x20, 0xff, 0xff, 0, 0},
  7725. {0x21, 0xc0, 0xc0, 0, 0},
  7726. {0x22, 0, 0, 0, 0},
  7727. {0x23, 0x2c, 0x2c, 0, 0},
  7728. {0x24, 0, 0, 0, 0},
  7729. {0x25, 0, 0, 0, 0},
  7730. {0x26, 0, 0, 0, 0},
  7731. {0x27, 0, 0, 0, 0},
  7732. {0x28, 0, 0, 0, 0},
  7733. {0x29, 0, 0, 0, 0},
  7734. {0x2A, 0, 0, 0, 0},
  7735. {0x2B, 0, 0, 0, 0},
  7736. {0x2C, 0, 0, 0, 0},
  7737. {0x2D, 0xa4, 0xa4, 0, 0},
  7738. {0x2E, 0x38, 0x38, 0, 0},
  7739. {0x2F, 0, 0, 0, 0},
  7740. {0x30, 0x4, 0x4, 1, 1},
  7741. {0x31, 0, 0, 0, 0},
  7742. {0x32, 0xa, 0xa, 0, 0},
  7743. {0x33, 0x87, 0x87, 0, 0},
  7744. {0x34, 0x9, 0x9, 0, 0},
  7745. {0x35, 0x70, 0x70, 0, 0},
  7746. {0x36, 0x11, 0x11, 0, 0},
  7747. {0x37, 0x18, 0x18, 1, 1},
  7748. {0x38, 0x6, 0x6, 0, 0},
  7749. {0x39, 0x4, 0x4, 1, 1},
  7750. {0x3A, 0x6, 0x6, 0, 0},
  7751. {0x3B, 0x9e, 0x9e, 0, 0},
  7752. {0x3C, 0x9, 0x9, 0, 0},
  7753. {0x3D, 0xc8, 0xc8, 1, 1},
  7754. {0x3E, 0x88, 0x88, 0, 0},
  7755. {0x3F, 0, 0, 0, 0},
  7756. {0x40, 0, 0, 0, 0},
  7757. {0x41, 0, 0, 0, 0},
  7758. {0x42, 0x1, 0x1, 0, 0},
  7759. {0x43, 0x2, 0x2, 0, 0},
  7760. {0x44, 0x96, 0x96, 0, 0},
  7761. {0x45, 0x3e, 0x3e, 0, 0},
  7762. {0x46, 0x3e, 0x3e, 0, 0},
  7763. {0x47, 0x13, 0x13, 0, 0},
  7764. {0x48, 0x2, 0x2, 0, 0},
  7765. {0x49, 0x15, 0x15, 0, 0},
  7766. {0x4A, 0x7, 0x7, 0, 0},
  7767. {0x4B, 0, 0, 0, 0},
  7768. {0x4C, 0, 0, 0, 0},
  7769. {0x4D, 0, 0, 0, 0},
  7770. {0x4E, 0, 0, 0, 0},
  7771. {0x4F, 0, 0, 0, 0},
  7772. {0x50, 0x8, 0x8, 0, 0},
  7773. {0x51, 0x8, 0x8, 0, 0},
  7774. {0x52, 0x6, 0x6, 0, 0},
  7775. {0x53, 0x84, 0x84, 1, 1},
  7776. {0x54, 0xc3, 0xc3, 0, 0},
  7777. {0x55, 0x8f, 0x8f, 0, 0},
  7778. {0x56, 0xff, 0xff, 0, 0},
  7779. {0x57, 0xff, 0xff, 0, 0},
  7780. {0x58, 0x88, 0x88, 0, 0},
  7781. {0x59, 0x88, 0x88, 0, 0},
  7782. {0x5A, 0, 0, 0, 0},
  7783. {0x5B, 0xcc, 0xcc, 0, 0},
  7784. {0x5C, 0x6, 0x6, 0, 0},
  7785. {0x5D, 0x80, 0x80, 0, 0},
  7786. {0x5E, 0x80, 0x80, 0, 0},
  7787. {0x5F, 0xf8, 0xf8, 0, 0},
  7788. {0x60, 0x88, 0x88, 0, 0},
  7789. {0x61, 0x88, 0x88, 0, 0},
  7790. {0x62, 0x88, 0x8, 1, 1},
  7791. {0x63, 0x88, 0x88, 0, 0},
  7792. {0x64, 0, 0, 0, 0},
  7793. {0x65, 0x1, 0x1, 1, 1},
  7794. {0x66, 0x8a, 0x8a, 0, 0},
  7795. {0x67, 0x8, 0x8, 0, 0},
  7796. {0x68, 0x83, 0x83, 0, 0},
  7797. {0x69, 0x6, 0x6, 0, 0},
  7798. {0x6A, 0xa0, 0xa0, 0, 0},
  7799. {0x6B, 0xa, 0xa, 0, 0},
  7800. {0x6C, 0x87, 0x87, 1, 1},
  7801. {0x6D, 0x2a, 0x2a, 0, 0},
  7802. {0x6E, 0x2a, 0x2a, 0, 0},
  7803. {0x6F, 0x2a, 0x2a, 0, 0},
  7804. {0x70, 0x2a, 0x2a, 0, 0},
  7805. {0x71, 0x18, 0x18, 0, 0},
  7806. {0x72, 0x6a, 0x6a, 1, 1},
  7807. {0x73, 0xab, 0xab, 1, 1},
  7808. {0x74, 0x13, 0x13, 1, 1},
  7809. {0x75, 0xc1, 0xc1, 1, 1},
  7810. {0x76, 0xaa, 0xaa, 1, 1},
  7811. {0x77, 0x87, 0x87, 1, 1},
  7812. {0x78, 0, 0, 0, 0},
  7813. {0x79, 0x6, 0x6, 0, 0},
  7814. {0x7A, 0x7, 0x7, 0, 0},
  7815. {0x7B, 0x7, 0x7, 0, 0},
  7816. {0x7C, 0x15, 0x15, 0, 0},
  7817. {0x7D, 0x55, 0x55, 0, 0},
  7818. {0x7E, 0x97, 0x97, 1, 1},
  7819. {0x7F, 0x8, 0x8, 0, 0},
  7820. {0x80, 0x14, 0x14, 1, 1},
  7821. {0x81, 0x33, 0x33, 0, 0},
  7822. {0x82, 0x88, 0x88, 0, 0},
  7823. {0x83, 0x6, 0x6, 0, 0},
  7824. {0x84, 0x3, 0x3, 1, 1},
  7825. {0x85, 0xa, 0xa, 0, 0},
  7826. {0x86, 0x3, 0x3, 1, 1},
  7827. {0x87, 0x2a, 0x2a, 0, 0},
  7828. {0x88, 0xa4, 0xa4, 0, 0},
  7829. {0x89, 0x18, 0x18, 0, 0},
  7830. {0x8A, 0x28, 0x28, 0, 0},
  7831. {0x8B, 0, 0, 0, 0},
  7832. {0x8C, 0x4a, 0x4a, 0, 0},
  7833. {0x8D, 0, 0, 0, 0},
  7834. {0x8E, 0xf8, 0xf8, 0, 0},
  7835. {0x8F, 0x88, 0x88, 0, 0},
  7836. {0x90, 0x88, 0x88, 0, 0},
  7837. {0x91, 0x88, 0x8, 1, 1},
  7838. {0x92, 0x88, 0x88, 0, 0},
  7839. {0x93, 0, 0, 0, 0},
  7840. {0x94, 0x1, 0x1, 1, 1},
  7841. {0x95, 0x8a, 0x8a, 0, 0},
  7842. {0x96, 0x8, 0x8, 0, 0},
  7843. {0x97, 0x83, 0x83, 0, 0},
  7844. {0x98, 0x6, 0x6, 0, 0},
  7845. {0x99, 0xa0, 0xa0, 0, 0},
  7846. {0x9A, 0xa, 0xa, 0, 0},
  7847. {0x9B, 0x87, 0x87, 1, 1},
  7848. {0x9C, 0x2a, 0x2a, 0, 0},
  7849. {0x9D, 0x2a, 0x2a, 0, 0},
  7850. {0x9E, 0x2a, 0x2a, 0, 0},
  7851. {0x9F, 0x2a, 0x2a, 0, 0},
  7852. {0xA0, 0x18, 0x18, 0, 0},
  7853. {0xA1, 0x6a, 0x6a, 1, 1},
  7854. {0xA2, 0xab, 0xab, 1, 1},
  7855. {0xA3, 0x13, 0x13, 1, 1},
  7856. {0xA4, 0xc1, 0xc1, 1, 1},
  7857. {0xA5, 0xaa, 0xaa, 1, 1},
  7858. {0xA6, 0x87, 0x87, 1, 1},
  7859. {0xA7, 0, 0, 0, 0},
  7860. {0xA8, 0x6, 0x6, 0, 0},
  7861. {0xA9, 0x7, 0x7, 0, 0},
  7862. {0xAA, 0x7, 0x7, 0, 0},
  7863. {0xAB, 0x15, 0x15, 0, 0},
  7864. {0xAC, 0x55, 0x55, 0, 0},
  7865. {0xAD, 0x97, 0x97, 1, 1},
  7866. {0xAE, 0x8, 0x8, 0, 0},
  7867. {0xAF, 0x14, 0x14, 1, 1},
  7868. {0xB0, 0x33, 0x33, 0, 0},
  7869. {0xB1, 0x88, 0x88, 0, 0},
  7870. {0xB2, 0x6, 0x6, 0, 0},
  7871. {0xB3, 0x3, 0x3, 1, 1},
  7872. {0xB4, 0xa, 0xa, 0, 0},
  7873. {0xB5, 0x3, 0x3, 1, 1},
  7874. {0xB6, 0x2a, 0x2a, 0, 0},
  7875. {0xB7, 0xa4, 0xa4, 0, 0},
  7876. {0xB8, 0x18, 0x18, 0, 0},
  7877. {0xB9, 0x28, 0x28, 0, 0},
  7878. {0xBA, 0, 0, 0, 0},
  7879. {0xBB, 0x4a, 0x4a, 0, 0},
  7880. {0xBC, 0, 0, 0, 0},
  7881. {0xBD, 0x71, 0x71, 0, 0},
  7882. {0xBE, 0x72, 0x72, 0, 0},
  7883. {0xBF, 0x73, 0x73, 0, 0},
  7884. {0xC0, 0x74, 0x74, 0, 0},
  7885. {0xC1, 0x75, 0x75, 0, 0},
  7886. {0xC2, 0x76, 0x76, 0, 0},
  7887. {0xC3, 0x77, 0x77, 0, 0},
  7888. {0xC4, 0x78, 0x78, 0, 0},
  7889. {0xC5, 0x79, 0x79, 0, 0},
  7890. {0xC6, 0x7a, 0x7a, 0, 0},
  7891. {0xC7, 0, 0, 0, 0},
  7892. {0xC8, 0, 0, 0, 0},
  7893. {0xC9, 0, 0, 0, 0},
  7894. {0xCA, 0, 0, 0, 0},
  7895. {0xCB, 0, 0, 0, 0},
  7896. {0xCC, 0, 0, 0, 0},
  7897. {0xCD, 0, 0, 0, 0},
  7898. {0xCE, 0x6, 0x6, 0, 0},
  7899. {0xCF, 0, 0, 0, 0},
  7900. {0xD0, 0, 0, 0, 0},
  7901. {0xD1, 0x18, 0x18, 0, 0},
  7902. {0xD2, 0x88, 0x88, 0, 0},
  7903. {0xD3, 0, 0, 0, 0},
  7904. {0xD4, 0, 0, 0, 0},
  7905. {0xD5, 0, 0, 0, 0},
  7906. {0xD6, 0, 0, 0, 0},
  7907. {0xD7, 0, 0, 0, 0},
  7908. {0xD8, 0, 0, 0, 0},
  7909. {0xD9, 0, 0, 0, 0},
  7910. {0xDA, 0x6, 0x6, 0, 0},
  7911. {0xDB, 0, 0, 0, 0},
  7912. {0xDC, 0, 0, 0, 0},
  7913. {0xDD, 0x18, 0x18, 0, 0},
  7914. {0xDE, 0x88, 0x88, 0, 0},
  7915. {0xDF, 0, 0, 0, 0},
  7916. {0xE0, 0, 0, 0, 0},
  7917. {0xE1, 0, 0, 0, 0},
  7918. {0xE2, 0, 0, 0, 0},
  7919. {0xFFFF, 0, 0, 0, 0},
  7920. };
  7921. static struct radio_regs regs_SYN_2056[] = {
  7922. {0x02, 0, 0, 0, 0},
  7923. {0x03, 0, 0, 0, 0},
  7924. {0x04, 0, 0, 0, 0},
  7925. {0x05, 0, 0, 0, 0},
  7926. {0x06, 0, 0, 0, 0},
  7927. {0x07, 0, 0, 0, 0},
  7928. {0x08, 0, 0, 0, 0},
  7929. {0x09, 0x1, 0x1, 0, 0},
  7930. {0x0A, 0, 0, 0, 0},
  7931. {0x0B, 0, 0, 0, 0},
  7932. {0x0C, 0, 0, 0, 0},
  7933. {0x0D, 0, 0, 0, 0},
  7934. {0x0E, 0, 0, 0, 0},
  7935. {0x0F, 0, 0, 0, 0},
  7936. {0x10, 0, 0, 0, 0},
  7937. {0x11, 0, 0, 0, 0},
  7938. {0x12, 0, 0, 0, 0},
  7939. {0x13, 0, 0, 0, 0},
  7940. {0x14, 0, 0, 0, 0},
  7941. {0x15, 0, 0, 0, 0},
  7942. {0x16, 0, 0, 0, 0},
  7943. {0x17, 0, 0, 0, 0},
  7944. {0x18, 0, 0, 0, 0},
  7945. {0x19, 0, 0, 0, 0},
  7946. {0x1A, 0, 0, 0, 0},
  7947. {0x1B, 0, 0, 0, 0},
  7948. {0x1C, 0, 0, 0, 0},
  7949. {0x1D, 0, 0, 0, 0},
  7950. {0x1E, 0, 0, 0, 0},
  7951. {0x1F, 0, 0, 0, 0},
  7952. {0x20, 0, 0, 0, 0},
  7953. {0x21, 0, 0, 0, 0},
  7954. {0x22, 0x60, 0x60, 0, 0},
  7955. {0x23, 0x6, 0x6, 0, 0},
  7956. {0x24, 0xc, 0xc, 0, 0},
  7957. {0x25, 0, 0, 0, 0},
  7958. {0x26, 0, 0, 0, 0},
  7959. {0x27, 0, 0, 0, 0},
  7960. {0x28, 0x1, 0x1, 0, 0},
  7961. {0x29, 0, 0, 0, 0},
  7962. {0x2A, 0, 0, 0, 0},
  7963. {0x2B, 0, 0, 0, 0},
  7964. {0x2C, 0, 0, 0, 0},
  7965. {0x2D, 0, 0, 0, 0},
  7966. {0x2E, 0xd, 0xd, 0, 0},
  7967. {0x2F, 0x1f, 0x1f, 0, 0},
  7968. {0x30, 0x15, 0x15, 0, 0},
  7969. {0x31, 0xf, 0xf, 0, 0},
  7970. {0x32, 0, 0, 0, 0},
  7971. {0x33, 0, 0, 0, 0},
  7972. {0x34, 0, 0, 0, 0},
  7973. {0x35, 0, 0, 0, 0},
  7974. {0x36, 0, 0, 0, 0},
  7975. {0x37, 0, 0, 0, 0},
  7976. {0x38, 0, 0, 0, 0},
  7977. {0x39, 0, 0, 0, 0},
  7978. {0x3A, 0, 0, 0, 0},
  7979. {0x3B, 0, 0, 0, 0},
  7980. {0x3C, 0x13, 0x13, 0, 0},
  7981. {0x3D, 0xf, 0xf, 0, 0},
  7982. {0x3E, 0x18, 0x18, 0, 0},
  7983. {0x3F, 0, 0, 0, 0},
  7984. {0x40, 0, 0, 0, 0},
  7985. {0x41, 0x20, 0x20, 0, 0},
  7986. {0x42, 0x20, 0x20, 0, 0},
  7987. {0x43, 0, 0, 0, 0},
  7988. {0x44, 0x77, 0x77, 0, 0},
  7989. {0x45, 0x7, 0x7, 0, 0},
  7990. {0x46, 0x1, 0x1, 0, 0},
  7991. {0x47, 0x4, 0x4, 0, 0},
  7992. {0x48, 0xf, 0xf, 0, 0},
  7993. {0x49, 0x30, 0x30, 0, 0},
  7994. {0x4A, 0x32, 0x32, 0, 0},
  7995. {0x4B, 0xd, 0xd, 0, 0},
  7996. {0x4C, 0xd, 0xd, 0, 0},
  7997. {0x4D, 0x4, 0x4, 0, 0},
  7998. {0x4E, 0x6, 0x6, 0, 0},
  7999. {0x4F, 0x1, 0x1, 0, 0},
  8000. {0x50, 0x1c, 0x1c, 0, 0},
  8001. {0x51, 0x2, 0x2, 0, 0},
  8002. {0x52, 0x2, 0x2, 0, 0},
  8003. {0x53, 0xf7, 0xf7, 1, 1},
  8004. {0x54, 0xb4, 0xb4, 0, 0},
  8005. {0x55, 0xd2, 0xd2, 0, 0},
  8006. {0x56, 0, 0, 0, 0},
  8007. {0x57, 0, 0, 0, 0},
  8008. {0x58, 0x4, 0x4, 0, 0},
  8009. {0x59, 0x96, 0x96, 0, 0},
  8010. {0x5A, 0x3e, 0x3e, 0, 0},
  8011. {0x5B, 0x3e, 0x3e, 0, 0},
  8012. {0x5C, 0x13, 0x13, 0, 0},
  8013. {0x5D, 0x2, 0x2, 0, 0},
  8014. {0x5E, 0, 0, 0, 0},
  8015. {0x5F, 0x7, 0x7, 0, 0},
  8016. {0x60, 0x7, 0x7, 1, 1},
  8017. {0x61, 0x8, 0x8, 0, 0},
  8018. {0x62, 0x3, 0x3, 0, 0},
  8019. {0x63, 0, 0, 0, 0},
  8020. {0x64, 0, 0, 0, 0},
  8021. {0x65, 0, 0, 0, 0},
  8022. {0x66, 0, 0, 0, 0},
  8023. {0x67, 0, 0, 0, 0},
  8024. {0x68, 0x40, 0x40, 0, 0},
  8025. {0x69, 0, 0, 0, 0},
  8026. {0x6A, 0, 0, 0, 0},
  8027. {0x6B, 0, 0, 0, 0},
  8028. {0x6C, 0, 0, 0, 0},
  8029. {0x6D, 0x1, 0x1, 0, 0},
  8030. {0x6E, 0, 0, 0, 0},
  8031. {0x6F, 0, 0, 0, 0},
  8032. {0x70, 0x60, 0x60, 0, 0},
  8033. {0x71, 0x66, 0x66, 0, 0},
  8034. {0x72, 0xc, 0xc, 0, 0},
  8035. {0x73, 0x66, 0x66, 0, 0},
  8036. {0x74, 0x8f, 0x8f, 1, 1},
  8037. {0x75, 0, 0, 0, 0},
  8038. {0x76, 0xcc, 0xcc, 0, 0},
  8039. {0x77, 0x1, 0x1, 0, 0},
  8040. {0x78, 0x66, 0x66, 0, 0},
  8041. {0x79, 0x66, 0x66, 0, 0},
  8042. {0x7A, 0, 0, 0, 0},
  8043. {0x7B, 0, 0, 0, 0},
  8044. {0x7C, 0, 0, 0, 0},
  8045. {0x7D, 0, 0, 0, 0},
  8046. {0x7E, 0, 0, 0, 0},
  8047. {0x7F, 0, 0, 0, 0},
  8048. {0x80, 0, 0, 0, 0},
  8049. {0x81, 0, 0, 0, 0},
  8050. {0x82, 0, 0, 0, 0},
  8051. {0x83, 0, 0, 0, 0},
  8052. {0x84, 0, 0, 0, 0},
  8053. {0x85, 0xff, 0xff, 0, 0},
  8054. {0x86, 0, 0, 0, 0},
  8055. {0x87, 0, 0, 0, 0},
  8056. {0x88, 0, 0, 0, 0},
  8057. {0x89, 0, 0, 0, 0},
  8058. {0x8A, 0, 0, 0, 0},
  8059. {0x8B, 0, 0, 0, 0},
  8060. {0x8C, 0, 0, 0, 0},
  8061. {0x8D, 0, 0, 0, 0},
  8062. {0x8E, 0, 0, 0, 0},
  8063. {0x8F, 0, 0, 0, 0},
  8064. {0x90, 0, 0, 0, 0},
  8065. {0x91, 0, 0, 0, 0},
  8066. {0x92, 0, 0, 0, 0},
  8067. {0x93, 0, 0, 0, 0},
  8068. {0x94, 0, 0, 0, 0},
  8069. {0x95, 0, 0, 0, 0},
  8070. {0x96, 0, 0, 0, 0},
  8071. {0x97, 0, 0, 0, 0},
  8072. {0x98, 0, 0, 0, 0},
  8073. {0x99, 0, 0, 0, 0},
  8074. {0x9A, 0, 0, 0, 0},
  8075. {0x9B, 0, 0, 0, 0},
  8076. {0x9C, 0, 0, 0, 0},
  8077. {0x9D, 0, 0, 0, 0},
  8078. {0x9E, 0, 0, 0, 0},
  8079. {0x9F, 0x6, 0x6, 0, 0},
  8080. {0xA0, 0x66, 0x66, 0, 0},
  8081. {0xA1, 0x66, 0x66, 0, 0},
  8082. {0xA2, 0x66, 0x66, 0, 0},
  8083. {0xA3, 0x66, 0x66, 0, 0},
  8084. {0xA4, 0x66, 0x66, 0, 0},
  8085. {0xA5, 0x66, 0x66, 0, 0},
  8086. {0xA6, 0x66, 0x66, 0, 0},
  8087. {0xA7, 0x66, 0x66, 0, 0},
  8088. {0xA8, 0x66, 0x66, 0, 0},
  8089. {0xA9, 0x66, 0x66, 0, 0},
  8090. {0xAA, 0x66, 0x66, 0, 0},
  8091. {0xAB, 0x66, 0x66, 0, 0},
  8092. {0xAC, 0x66, 0x66, 0, 0},
  8093. {0xAD, 0x66, 0x66, 0, 0},
  8094. {0xAE, 0x66, 0x66, 0, 0},
  8095. {0xAF, 0x66, 0x66, 0, 0},
  8096. {0xB0, 0x66, 0x66, 0, 0},
  8097. {0xB1, 0x66, 0x66, 0, 0},
  8098. {0xB2, 0x66, 0x66, 0, 0},
  8099. {0xB3, 0xa, 0xa, 0, 0},
  8100. {0xB4, 0, 0, 0, 0},
  8101. {0xB5, 0, 0, 0, 0},
  8102. {0xB6, 0, 0, 0, 0},
  8103. {0xFFFF, 0, 0, 0, 0}
  8104. };
  8105. static struct radio_regs regs_TX_2056[] = {
  8106. {0x02, 0, 0, 0, 0},
  8107. {0x03, 0, 0, 0, 0},
  8108. {0x04, 0, 0, 0, 0},
  8109. {0x05, 0, 0, 0, 0},
  8110. {0x06, 0, 0, 0, 0},
  8111. {0x07, 0, 0, 0, 0},
  8112. {0x08, 0, 0, 0, 0},
  8113. {0x09, 0, 0, 0, 0},
  8114. {0x0A, 0, 0, 0, 0},
  8115. {0x0B, 0, 0, 0, 0},
  8116. {0x0C, 0, 0, 0, 0},
  8117. {0x0D, 0, 0, 0, 0},
  8118. {0x0E, 0, 0, 0, 0},
  8119. {0x0F, 0, 0, 0, 0},
  8120. {0x10, 0, 0, 0, 0},
  8121. {0x11, 0, 0, 0, 0},
  8122. {0x12, 0, 0, 0, 0},
  8123. {0x13, 0, 0, 0, 0},
  8124. {0x14, 0, 0, 0, 0},
  8125. {0x15, 0, 0, 0, 0},
  8126. {0x16, 0, 0, 0, 0},
  8127. {0x17, 0, 0, 0, 0},
  8128. {0x18, 0, 0, 0, 0},
  8129. {0x19, 0, 0, 0, 0},
  8130. {0x1A, 0, 0, 0, 0},
  8131. {0x1B, 0, 0, 0, 0},
  8132. {0x1C, 0, 0, 0, 0},
  8133. {0x1D, 0, 0, 0, 0},
  8134. {0x1E, 0, 0, 0, 0},
  8135. {0x1F, 0, 0, 0, 0},
  8136. {0x20, 0, 0, 0, 0},
  8137. {0x21, 0x88, 0x88, 0, 0},
  8138. {0x22, 0x88, 0x88, 0, 0},
  8139. {0x23, 0x88, 0x88, 0, 0},
  8140. {0x24, 0x88, 0x88, 0, 0},
  8141. {0x25, 0xc, 0xc, 0, 0},
  8142. {0x26, 0, 0, 0, 0},
  8143. {0x27, 0x3, 0x3, 0, 0},
  8144. {0x28, 0, 0, 0, 0},
  8145. {0x29, 0x3, 0x3, 0, 0},
  8146. {0x2A, 0x37, 0x37, 0, 0},
  8147. {0x2B, 0x3, 0x3, 0, 0},
  8148. {0x2C, 0, 0, 0, 0},
  8149. {0x2D, 0, 0, 0, 0},
  8150. {0x2E, 0x1, 0x1, 0, 0},
  8151. {0x2F, 0x1, 0x1, 0, 0},
  8152. {0x30, 0, 0, 0, 0},
  8153. {0x31, 0, 0, 0, 0},
  8154. {0x32, 0, 0, 0, 0},
  8155. {0x33, 0x11, 0x11, 0, 0},
  8156. {0x34, 0x11, 0x11, 0, 0},
  8157. {0x35, 0, 0, 0, 0},
  8158. {0x36, 0, 0, 0, 0},
  8159. {0x37, 0x3, 0x3, 0, 0},
  8160. {0x38, 0xf, 0xf, 0, 0},
  8161. {0x39, 0, 0, 0, 0},
  8162. {0x3A, 0x2d, 0x2d, 0, 0},
  8163. {0x3B, 0, 0, 0, 0},
  8164. {0x3C, 0x6e, 0x6e, 0, 0},
  8165. {0x3D, 0xf0, 0xf0, 1, 1},
  8166. {0x3E, 0, 0, 0, 0},
  8167. {0x3F, 0, 0, 0, 0},
  8168. {0x40, 0, 0, 0, 0},
  8169. {0x41, 0x3, 0x3, 0, 0},
  8170. {0x42, 0x3, 0x3, 0, 0},
  8171. {0x43, 0, 0, 0, 0},
  8172. {0x44, 0x1e, 0x1e, 0, 0},
  8173. {0x45, 0, 0, 0, 0},
  8174. {0x46, 0x6e, 0x6e, 0, 0},
  8175. {0x47, 0xf0, 0xf0, 1, 1},
  8176. {0x48, 0, 0, 0, 0},
  8177. {0x49, 0x2, 0x2, 0, 0},
  8178. {0x4A, 0xff, 0xff, 1, 1},
  8179. {0x4B, 0xc, 0xc, 0, 0},
  8180. {0x4C, 0, 0, 0, 0},
  8181. {0x4D, 0x38, 0x38, 0, 0},
  8182. {0x4E, 0x70, 0x70, 1, 1},
  8183. {0x4F, 0x2, 0x2, 0, 0},
  8184. {0x50, 0x88, 0x88, 0, 0},
  8185. {0x51, 0xc, 0xc, 0, 0},
  8186. {0x52, 0, 0, 0, 0},
  8187. {0x53, 0x8, 0x8, 0, 0},
  8188. {0x54, 0x70, 0x70, 1, 1},
  8189. {0x55, 0x2, 0x2, 0, 0},
  8190. {0x56, 0xff, 0xff, 1, 1},
  8191. {0x57, 0, 0, 0, 0},
  8192. {0x58, 0x83, 0x83, 0, 0},
  8193. {0x59, 0x77, 0x77, 1, 1},
  8194. {0x5A, 0, 0, 0, 0},
  8195. {0x5B, 0x2, 0x2, 0, 0},
  8196. {0x5C, 0x88, 0x88, 0, 0},
  8197. {0x5D, 0, 0, 0, 0},
  8198. {0x5E, 0x8, 0x8, 0, 0},
  8199. {0x5F, 0x77, 0x77, 1, 1},
  8200. {0x60, 0x1, 0x1, 0, 0},
  8201. {0x61, 0, 0, 0, 0},
  8202. {0x62, 0x7, 0x7, 0, 0},
  8203. {0x63, 0, 0, 0, 0},
  8204. {0x64, 0x7, 0x7, 0, 0},
  8205. {0x65, 0, 0, 0, 0},
  8206. {0x66, 0, 0, 0, 0},
  8207. {0x67, 0x74, 0x74, 1, 1},
  8208. {0x68, 0, 0, 0, 0},
  8209. {0x69, 0xa, 0xa, 0, 0},
  8210. {0x6A, 0, 0, 0, 0},
  8211. {0x6B, 0, 0, 0, 0},
  8212. {0x6C, 0, 0, 0, 0},
  8213. {0x6D, 0, 0, 0, 0},
  8214. {0x6E, 0, 0, 0, 0},
  8215. {0x6F, 0, 0, 0, 0},
  8216. {0x70, 0, 0, 0, 0},
  8217. {0x71, 0x2, 0x2, 0, 0},
  8218. {0x72, 0, 0, 0, 0},
  8219. {0x73, 0, 0, 0, 0},
  8220. {0x74, 0xe, 0xe, 0, 0},
  8221. {0x75, 0xe, 0xe, 0, 0},
  8222. {0x76, 0xe, 0xe, 0, 0},
  8223. {0x77, 0x13, 0x13, 0, 0},
  8224. {0x78, 0x13, 0x13, 0, 0},
  8225. {0x79, 0x1b, 0x1b, 0, 0},
  8226. {0x7A, 0x1b, 0x1b, 0, 0},
  8227. {0x7B, 0x55, 0x55, 0, 0},
  8228. {0x7C, 0x5b, 0x5b, 0, 0},
  8229. {0x7D, 0, 0, 0, 0},
  8230. {0x7E, 0, 0, 0, 0},
  8231. {0x7F, 0, 0, 0, 0},
  8232. {0x80, 0, 0, 0, 0},
  8233. {0x81, 0, 0, 0, 0},
  8234. {0x82, 0, 0, 0, 0},
  8235. {0x83, 0, 0, 0, 0},
  8236. {0x84, 0, 0, 0, 0},
  8237. {0x85, 0, 0, 0, 0},
  8238. {0x86, 0, 0, 0, 0},
  8239. {0x87, 0, 0, 0, 0},
  8240. {0x88, 0, 0, 0, 0},
  8241. {0x89, 0, 0, 0, 0},
  8242. {0x8A, 0, 0, 0, 0},
  8243. {0x8B, 0, 0, 0, 0},
  8244. {0x8C, 0, 0, 0, 0},
  8245. {0x8D, 0, 0, 0, 0},
  8246. {0x8E, 0, 0, 0, 0},
  8247. {0x8F, 0, 0, 0, 0},
  8248. {0x90, 0, 0, 0, 0},
  8249. {0x91, 0, 0, 0, 0},
  8250. {0x92, 0, 0, 0, 0},
  8251. {0xFFFF, 0, 0, 0, 0}
  8252. };
  8253. static struct radio_regs regs_RX_2056[] = {
  8254. {0x02, 0, 0, 0, 0},
  8255. {0x03, 0, 0, 0, 0},
  8256. {0x04, 0, 0, 0, 0},
  8257. {0x05, 0, 0, 0, 0},
  8258. {0x06, 0, 0, 0, 0},
  8259. {0x07, 0, 0, 0, 0},
  8260. {0x08, 0, 0, 0, 0},
  8261. {0x09, 0, 0, 0, 0},
  8262. {0x0A, 0, 0, 0, 0},
  8263. {0x0B, 0, 0, 0, 0},
  8264. {0x0C, 0, 0, 0, 0},
  8265. {0x0D, 0, 0, 0, 0},
  8266. {0x0E, 0, 0, 0, 0},
  8267. {0x0F, 0, 0, 0, 0},
  8268. {0x10, 0, 0, 0, 0},
  8269. {0x11, 0, 0, 0, 0},
  8270. {0x12, 0, 0, 0, 0},
  8271. {0x13, 0, 0, 0, 0},
  8272. {0x14, 0, 0, 0, 0},
  8273. {0x15, 0, 0, 0, 0},
  8274. {0x16, 0, 0, 0, 0},
  8275. {0x17, 0, 0, 0, 0},
  8276. {0x18, 0, 0, 0, 0},
  8277. {0x19, 0, 0, 0, 0},
  8278. {0x1A, 0, 0, 0, 0},
  8279. {0x1B, 0, 0, 0, 0},
  8280. {0x1C, 0, 0, 0, 0},
  8281. {0x1D, 0, 0, 0, 0},
  8282. {0x1E, 0, 0, 0, 0},
  8283. {0x1F, 0, 0, 0, 0},
  8284. {0x20, 0x3, 0x3, 0, 0},
  8285. {0x21, 0, 0, 0, 0},
  8286. {0x22, 0, 0, 0, 0},
  8287. {0x23, 0x90, 0x90, 0, 0},
  8288. {0x24, 0x55, 0x55, 0, 0},
  8289. {0x25, 0x15, 0x15, 0, 0},
  8290. {0x26, 0x5, 0x5, 0, 0},
  8291. {0x27, 0x15, 0x15, 0, 0},
  8292. {0x28, 0x5, 0x5, 0, 0},
  8293. {0x29, 0x20, 0x20, 0, 0},
  8294. {0x2A, 0x11, 0x11, 0, 0},
  8295. {0x2B, 0x90, 0x90, 0, 0},
  8296. {0x2C, 0, 0, 0, 0},
  8297. {0x2D, 0x88, 0x88, 0, 0},
  8298. {0x2E, 0x32, 0x32, 0, 0},
  8299. {0x2F, 0x77, 0x77, 0, 0},
  8300. {0x30, 0x17, 0x17, 1, 1},
  8301. {0x31, 0xff, 0xff, 1, 1},
  8302. {0x32, 0x20, 0x20, 0, 0},
  8303. {0x33, 0, 0, 0, 0},
  8304. {0x34, 0x88, 0x88, 0, 0},
  8305. {0x35, 0x32, 0x32, 0, 0},
  8306. {0x36, 0x77, 0x77, 0, 0},
  8307. {0x37, 0x17, 0x17, 1, 1},
  8308. {0x38, 0xf0, 0xf0, 1, 1},
  8309. {0x39, 0x20, 0x20, 0, 0},
  8310. {0x3A, 0x8, 0x8, 0, 0},
  8311. {0x3B, 0x99, 0x99, 0, 0},
  8312. {0x3C, 0, 0, 0, 0},
  8313. {0x3D, 0x44, 0x44, 1, 1},
  8314. {0x3E, 0, 0, 0, 0},
  8315. {0x3F, 0x44, 0x44, 0, 0},
  8316. {0x40, 0xf, 0xf, 1, 1},
  8317. {0x41, 0x6, 0x6, 0, 0},
  8318. {0x42, 0x4, 0x4, 0, 0},
  8319. {0x43, 0x50, 0x50, 1, 1},
  8320. {0x44, 0x8, 0x8, 0, 0},
  8321. {0x45, 0x99, 0x99, 0, 0},
  8322. {0x46, 0, 0, 0, 0},
  8323. {0x47, 0x11, 0x11, 0, 0},
  8324. {0x48, 0, 0, 0, 0},
  8325. {0x49, 0x44, 0x44, 0, 0},
  8326. {0x4A, 0x7, 0x7, 0, 0},
  8327. {0x4B, 0x6, 0x6, 0, 0},
  8328. {0x4C, 0x4, 0x4, 0, 0},
  8329. {0x4D, 0, 0, 0, 0},
  8330. {0x4E, 0, 0, 0, 0},
  8331. {0x4F, 0x66, 0x66, 0, 0},
  8332. {0x50, 0x66, 0x66, 0, 0},
  8333. {0x51, 0x57, 0x57, 0, 0},
  8334. {0x52, 0x57, 0x57, 0, 0},
  8335. {0x53, 0x44, 0x44, 0, 0},
  8336. {0x54, 0, 0, 0, 0},
  8337. {0x55, 0, 0, 0, 0},
  8338. {0x56, 0x8, 0x8, 0, 0},
  8339. {0x57, 0x8, 0x8, 0, 0},
  8340. {0x58, 0x7, 0x7, 0, 0},
  8341. {0x59, 0x22, 0x22, 0, 0},
  8342. {0x5A, 0x22, 0x22, 0, 0},
  8343. {0x5B, 0x2, 0x2, 0, 0},
  8344. {0x5C, 0x23, 0x23, 0, 0},
  8345. {0x5D, 0x7, 0x7, 0, 0},
  8346. {0x5E, 0x55, 0x55, 0, 0},
  8347. {0x5F, 0x23, 0x23, 0, 0},
  8348. {0x60, 0x41, 0x41, 0, 0},
  8349. {0x61, 0x1, 0x1, 0, 0},
  8350. {0x62, 0xa, 0xa, 0, 0},
  8351. {0x63, 0, 0, 0, 0},
  8352. {0x64, 0, 0, 0, 0},
  8353. {0x65, 0, 0, 0, 0},
  8354. {0x66, 0, 0, 0, 0},
  8355. {0x67, 0, 0, 0, 0},
  8356. {0x68, 0, 0, 0, 0},
  8357. {0x69, 0, 0, 0, 0},
  8358. {0x6A, 0, 0, 0, 0},
  8359. {0x6B, 0xc, 0xc, 0, 0},
  8360. {0x6C, 0, 0, 0, 0},
  8361. {0x6D, 0, 0, 0, 0},
  8362. {0x6E, 0, 0, 0, 0},
  8363. {0x6F, 0, 0, 0, 0},
  8364. {0x70, 0, 0, 0, 0},
  8365. {0x71, 0, 0, 0, 0},
  8366. {0x72, 0x22, 0x22, 0, 0},
  8367. {0x73, 0x22, 0x22, 0, 0},
  8368. {0x74, 0x2, 0x2, 0, 0},
  8369. {0x75, 0xa, 0xa, 0, 0},
  8370. {0x76, 0x1, 0x1, 0, 0},
  8371. {0x77, 0x22, 0x22, 0, 0},
  8372. {0x78, 0x30, 0x30, 0, 0},
  8373. {0x79, 0, 0, 0, 0},
  8374. {0x7A, 0, 0, 0, 0},
  8375. {0x7B, 0, 0, 0, 0},
  8376. {0x7C, 0, 0, 0, 0},
  8377. {0x7D, 0, 0, 0, 0},
  8378. {0x7E, 0, 0, 0, 0},
  8379. {0x7F, 0, 0, 0, 0},
  8380. {0x80, 0, 0, 0, 0},
  8381. {0x81, 0, 0, 0, 0},
  8382. {0x82, 0, 0, 0, 0},
  8383. {0x83, 0, 0, 0, 0},
  8384. {0x84, 0, 0, 0, 0},
  8385. {0x85, 0, 0, 0, 0},
  8386. {0x86, 0, 0, 0, 0},
  8387. {0x87, 0, 0, 0, 0},
  8388. {0x88, 0, 0, 0, 0},
  8389. {0x89, 0, 0, 0, 0},
  8390. {0x8A, 0, 0, 0, 0},
  8391. {0x8B, 0, 0, 0, 0},
  8392. {0x8C, 0, 0, 0, 0},
  8393. {0x8D, 0, 0, 0, 0},
  8394. {0x8E, 0, 0, 0, 0},
  8395. {0x8F, 0, 0, 0, 0},
  8396. {0x90, 0, 0, 0, 0},
  8397. {0x91, 0, 0, 0, 0},
  8398. {0x92, 0, 0, 0, 0},
  8399. {0x93, 0, 0, 0, 0},
  8400. {0x94, 0, 0, 0, 0},
  8401. {0xFFFF, 0, 0, 0, 0}
  8402. };
  8403. static struct radio_regs regs_SYN_2056_A1[] = {
  8404. {0x02, 0, 0, 0, 0},
  8405. {0x03, 0, 0, 0, 0},
  8406. {0x04, 0, 0, 0, 0},
  8407. {0x05, 0, 0, 0, 0},
  8408. {0x06, 0, 0, 0, 0},
  8409. {0x07, 0, 0, 0, 0},
  8410. {0x08, 0, 0, 0, 0},
  8411. {0x09, 0x1, 0x1, 0, 0},
  8412. {0x0A, 0, 0, 0, 0},
  8413. {0x0B, 0, 0, 0, 0},
  8414. {0x0C, 0, 0, 0, 0},
  8415. {0x0D, 0, 0, 0, 0},
  8416. {0x0E, 0, 0, 0, 0},
  8417. {0x0F, 0, 0, 0, 0},
  8418. {0x10, 0, 0, 0, 0},
  8419. {0x11, 0, 0, 0, 0},
  8420. {0x12, 0, 0, 0, 0},
  8421. {0x13, 0, 0, 0, 0},
  8422. {0x14, 0, 0, 0, 0},
  8423. {0x15, 0, 0, 0, 0},
  8424. {0x16, 0, 0, 0, 0},
  8425. {0x17, 0, 0, 0, 0},
  8426. {0x18, 0, 0, 0, 0},
  8427. {0x19, 0, 0, 0, 0},
  8428. {0x1A, 0, 0, 0, 0},
  8429. {0x1B, 0, 0, 0, 0},
  8430. {0x1C, 0, 0, 0, 0},
  8431. {0x1D, 0, 0, 0, 0},
  8432. {0x1E, 0, 0, 0, 0},
  8433. {0x1F, 0, 0, 0, 0},
  8434. {0x20, 0, 0, 0, 0},
  8435. {0x21, 0, 0, 0, 0},
  8436. {0x22, 0x60, 0x60, 0, 0},
  8437. {0x23, 0x6, 0x6, 0, 0},
  8438. {0x24, 0xc, 0xc, 0, 0},
  8439. {0x25, 0, 0, 0, 0},
  8440. {0x26, 0, 0, 0, 0},
  8441. {0x27, 0, 0, 0, 0},
  8442. {0x28, 0x1, 0x1, 0, 0},
  8443. {0x29, 0, 0, 0, 0},
  8444. {0x2A, 0, 0, 0, 0},
  8445. {0x2B, 0, 0, 0, 0},
  8446. {0x2C, 0, 0, 0, 0},
  8447. {0x2D, 0, 0, 0, 0},
  8448. {0x2E, 0xd, 0xd, 0, 0},
  8449. {0x2F, 0x1f, 0x1f, 0, 0},
  8450. {0x30, 0x15, 0x15, 0, 0},
  8451. {0x31, 0xf, 0xf, 0, 0},
  8452. {0x32, 0, 0, 0, 0},
  8453. {0x33, 0, 0, 0, 0},
  8454. {0x34, 0, 0, 0, 0},
  8455. {0x35, 0, 0, 0, 0},
  8456. {0x36, 0, 0, 0, 0},
  8457. {0x37, 0, 0, 0, 0},
  8458. {0x38, 0, 0, 0, 0},
  8459. {0x39, 0, 0, 0, 0},
  8460. {0x3A, 0, 0, 0, 0},
  8461. {0x3B, 0, 0, 0, 0},
  8462. {0x3C, 0x13, 0x13, 0, 0},
  8463. {0x3D, 0xf, 0xf, 0, 0},
  8464. {0x3E, 0x18, 0x18, 0, 0},
  8465. {0x3F, 0, 0, 0, 0},
  8466. {0x40, 0, 0, 0, 0},
  8467. {0x41, 0x20, 0x20, 0, 0},
  8468. {0x42, 0x20, 0x20, 0, 0},
  8469. {0x43, 0, 0, 0, 0},
  8470. {0x44, 0x77, 0x77, 0, 0},
  8471. {0x45, 0x7, 0x7, 0, 0},
  8472. {0x46, 0x1, 0x1, 0, 0},
  8473. {0x47, 0x4, 0x4, 0, 0},
  8474. {0x48, 0xf, 0xf, 0, 0},
  8475. {0x49, 0x30, 0x30, 0, 0},
  8476. {0x4A, 0x32, 0x32, 0, 0},
  8477. {0x4B, 0xd, 0xd, 0, 0},
  8478. {0x4C, 0xd, 0xd, 0, 0},
  8479. {0x4D, 0x4, 0x4, 0, 0},
  8480. {0x4E, 0x6, 0x6, 0, 0},
  8481. {0x4F, 0x1, 0x1, 0, 0},
  8482. {0x50, 0x1c, 0x1c, 0, 0},
  8483. {0x51, 0x2, 0x2, 0, 0},
  8484. {0x52, 0x2, 0x2, 0, 0},
  8485. {0x53, 0xf7, 0xf7, 1, 1},
  8486. {0x54, 0xb4, 0xb4, 0, 0},
  8487. {0x55, 0xd2, 0xd2, 0, 0},
  8488. {0x56, 0, 0, 0, 0},
  8489. {0x57, 0, 0, 0, 0},
  8490. {0x58, 0x4, 0x4, 0, 0},
  8491. {0x59, 0x96, 0x96, 0, 0},
  8492. {0x5A, 0x3e, 0x3e, 0, 0},
  8493. {0x5B, 0x3e, 0x3e, 0, 0},
  8494. {0x5C, 0x13, 0x13, 0, 0},
  8495. {0x5D, 0x2, 0x2, 0, 0},
  8496. {0x5E, 0, 0, 0, 0},
  8497. {0x5F, 0x7, 0x7, 0, 0},
  8498. {0x60, 0x7, 0x7, 1, 1},
  8499. {0x61, 0x8, 0x8, 0, 0},
  8500. {0x62, 0x3, 0x3, 0, 0},
  8501. {0x63, 0, 0, 0, 0},
  8502. {0x64, 0, 0, 0, 0},
  8503. {0x65, 0, 0, 0, 0},
  8504. {0x66, 0, 0, 0, 0},
  8505. {0x67, 0, 0, 0, 0},
  8506. {0x68, 0x40, 0x40, 0, 0},
  8507. {0x69, 0, 0, 0, 0},
  8508. {0x6A, 0, 0, 0, 0},
  8509. {0x6B, 0, 0, 0, 0},
  8510. {0x6C, 0, 0, 0, 0},
  8511. {0x6D, 0x1, 0x1, 0, 0},
  8512. {0x6E, 0, 0, 0, 0},
  8513. {0x6F, 0, 0, 0, 0},
  8514. {0x70, 0x60, 0x60, 0, 0},
  8515. {0x71, 0x66, 0x66, 0, 0},
  8516. {0x72, 0xc, 0xc, 0, 0},
  8517. {0x73, 0x66, 0x66, 0, 0},
  8518. {0x74, 0x8f, 0x8f, 1, 1},
  8519. {0x75, 0, 0, 0, 0},
  8520. {0x76, 0xcc, 0xcc, 0, 0},
  8521. {0x77, 0x1, 0x1, 0, 0},
  8522. {0x78, 0x66, 0x66, 0, 0},
  8523. {0x79, 0x66, 0x66, 0, 0},
  8524. {0x7A, 0, 0, 0, 0},
  8525. {0x7B, 0, 0, 0, 0},
  8526. {0x7C, 0, 0, 0, 0},
  8527. {0x7D, 0, 0, 0, 0},
  8528. {0x7E, 0, 0, 0, 0},
  8529. {0x7F, 0, 0, 0, 0},
  8530. {0x80, 0, 0, 0, 0},
  8531. {0x81, 0, 0, 0, 0},
  8532. {0x82, 0, 0, 0, 0},
  8533. {0x83, 0, 0, 0, 0},
  8534. {0x84, 0, 0, 0, 0},
  8535. {0x85, 0xff, 0xff, 0, 0},
  8536. {0x86, 0, 0, 0, 0},
  8537. {0x87, 0, 0, 0, 0},
  8538. {0x88, 0, 0, 0, 0},
  8539. {0x89, 0, 0, 0, 0},
  8540. {0x8A, 0, 0, 0, 0},
  8541. {0x8B, 0, 0, 0, 0},
  8542. {0x8C, 0, 0, 0, 0},
  8543. {0x8D, 0, 0, 0, 0},
  8544. {0x8E, 0, 0, 0, 0},
  8545. {0x8F, 0, 0, 0, 0},
  8546. {0x90, 0, 0, 0, 0},
  8547. {0x91, 0, 0, 0, 0},
  8548. {0x92, 0, 0, 0, 0},
  8549. {0x93, 0, 0, 0, 0},
  8550. {0x94, 0, 0, 0, 0},
  8551. {0x95, 0, 0, 0, 0},
  8552. {0x96, 0, 0, 0, 0},
  8553. {0x97, 0, 0, 0, 0},
  8554. {0x98, 0, 0, 0, 0},
  8555. {0x99, 0, 0, 0, 0},
  8556. {0x9A, 0, 0, 0, 0},
  8557. {0x9B, 0, 0, 0, 0},
  8558. {0x9C, 0, 0, 0, 0},
  8559. {0x9D, 0, 0, 0, 0},
  8560. {0x9E, 0, 0, 0, 0},
  8561. {0x9F, 0x6, 0x6, 0, 0},
  8562. {0xA0, 0x66, 0x66, 0, 0},
  8563. {0xA1, 0x66, 0x66, 0, 0},
  8564. {0xA2, 0x66, 0x66, 0, 0},
  8565. {0xA3, 0x66, 0x66, 0, 0},
  8566. {0xA4, 0x66, 0x66, 0, 0},
  8567. {0xA5, 0x66, 0x66, 0, 0},
  8568. {0xA6, 0x66, 0x66, 0, 0},
  8569. {0xA7, 0x66, 0x66, 0, 0},
  8570. {0xA8, 0x66, 0x66, 0, 0},
  8571. {0xA9, 0x66, 0x66, 0, 0},
  8572. {0xAA, 0x66, 0x66, 0, 0},
  8573. {0xAB, 0x66, 0x66, 0, 0},
  8574. {0xAC, 0x66, 0x66, 0, 0},
  8575. {0xAD, 0x66, 0x66, 0, 0},
  8576. {0xAE, 0x66, 0x66, 0, 0},
  8577. {0xAF, 0x66, 0x66, 0, 0},
  8578. {0xB0, 0x66, 0x66, 0, 0},
  8579. {0xB1, 0x66, 0x66, 0, 0},
  8580. {0xB2, 0x66, 0x66, 0, 0},
  8581. {0xB3, 0xa, 0xa, 0, 0},
  8582. {0xB4, 0, 0, 0, 0},
  8583. {0xB5, 0, 0, 0, 0},
  8584. {0xB6, 0, 0, 0, 0},
  8585. {0xFFFF, 0, 0, 0, 0}
  8586. };
  8587. static struct radio_regs regs_TX_2056_A1[] = {
  8588. {0x02, 0, 0, 0, 0},
  8589. {0x03, 0, 0, 0, 0},
  8590. {0x04, 0, 0, 0, 0},
  8591. {0x05, 0, 0, 0, 0},
  8592. {0x06, 0, 0, 0, 0},
  8593. {0x07, 0, 0, 0, 0},
  8594. {0x08, 0, 0, 0, 0},
  8595. {0x09, 0, 0, 0, 0},
  8596. {0x0A, 0, 0, 0, 0},
  8597. {0x0B, 0, 0, 0, 0},
  8598. {0x0C, 0, 0, 0, 0},
  8599. {0x0D, 0, 0, 0, 0},
  8600. {0x0E, 0, 0, 0, 0},
  8601. {0x0F, 0, 0, 0, 0},
  8602. {0x10, 0, 0, 0, 0},
  8603. {0x11, 0, 0, 0, 0},
  8604. {0x12, 0, 0, 0, 0},
  8605. {0x13, 0, 0, 0, 0},
  8606. {0x14, 0, 0, 0, 0},
  8607. {0x15, 0, 0, 0, 0},
  8608. {0x16, 0, 0, 0, 0},
  8609. {0x17, 0, 0, 0, 0},
  8610. {0x18, 0, 0, 0, 0},
  8611. {0x19, 0, 0, 0, 0},
  8612. {0x1A, 0, 0, 0, 0},
  8613. {0x1B, 0, 0, 0, 0},
  8614. {0x1C, 0, 0, 0, 0},
  8615. {0x1D, 0, 0, 0, 0},
  8616. {0x1E, 0, 0, 0, 0},
  8617. {0x1F, 0, 0, 0, 0},
  8618. {0x20, 0, 0, 0, 0},
  8619. {0x21, 0x88, 0x88, 0, 0},
  8620. {0x22, 0x88, 0x88, 0, 0},
  8621. {0x23, 0x88, 0x88, 0, 0},
  8622. {0x24, 0x88, 0x88, 0, 0},
  8623. {0x25, 0xc, 0xc, 0, 0},
  8624. {0x26, 0, 0, 0, 0},
  8625. {0x27, 0x3, 0x3, 0, 0},
  8626. {0x28, 0, 0, 0, 0},
  8627. {0x29, 0x3, 0x3, 0, 0},
  8628. {0x2A, 0x37, 0x37, 0, 0},
  8629. {0x2B, 0x3, 0x3, 0, 0},
  8630. {0x2C, 0, 0, 0, 0},
  8631. {0x2D, 0, 0, 0, 0},
  8632. {0x2E, 0x1, 0x1, 0, 0},
  8633. {0x2F, 0x1, 0x1, 0, 0},
  8634. {0x30, 0, 0, 0, 0},
  8635. {0x31, 0, 0, 0, 0},
  8636. {0x32, 0, 0, 0, 0},
  8637. {0x33, 0x11, 0x11, 0, 0},
  8638. {0x34, 0x11, 0x11, 0, 0},
  8639. {0x35, 0, 0, 0, 0},
  8640. {0x36, 0, 0, 0, 0},
  8641. {0x37, 0x3, 0x3, 0, 0},
  8642. {0x38, 0xf, 0xf, 0, 0},
  8643. {0x39, 0, 0, 0, 0},
  8644. {0x3A, 0x2d, 0x2d, 0, 0},
  8645. {0x3B, 0, 0, 0, 0},
  8646. {0x3C, 0x6e, 0x6e, 0, 0},
  8647. {0x3D, 0xf0, 0xf0, 1, 1},
  8648. {0x3E, 0, 0, 0, 0},
  8649. {0x3F, 0, 0, 0, 0},
  8650. {0x40, 0, 0, 0, 0},
  8651. {0x41, 0x3, 0x3, 0, 0},
  8652. {0x42, 0x3, 0x3, 0, 0},
  8653. {0x43, 0, 0, 0, 0},
  8654. {0x44, 0x1e, 0x1e, 0, 0},
  8655. {0x45, 0, 0, 0, 0},
  8656. {0x46, 0x6e, 0x6e, 0, 0},
  8657. {0x47, 0xf0, 0xf0, 1, 1},
  8658. {0x48, 0, 0, 0, 0},
  8659. {0x49, 0x2, 0x2, 0, 0},
  8660. {0x4A, 0xff, 0xff, 1, 1},
  8661. {0x4B, 0xc, 0xc, 0, 0},
  8662. {0x4C, 0, 0, 0, 0},
  8663. {0x4D, 0x38, 0x38, 0, 0},
  8664. {0x4E, 0x70, 0x70, 1, 1},
  8665. {0x4F, 0x2, 0x2, 0, 0},
  8666. {0x50, 0x88, 0x88, 0, 0},
  8667. {0x51, 0xc, 0xc, 0, 0},
  8668. {0x52, 0, 0, 0, 0},
  8669. {0x53, 0x8, 0x8, 0, 0},
  8670. {0x54, 0x70, 0x70, 1, 1},
  8671. {0x55, 0x2, 0x2, 0, 0},
  8672. {0x56, 0xff, 0xff, 1, 1},
  8673. {0x57, 0, 0, 0, 0},
  8674. {0x58, 0x83, 0x83, 0, 0},
  8675. {0x59, 0x77, 0x77, 1, 1},
  8676. {0x5A, 0, 0, 0, 0},
  8677. {0x5B, 0x2, 0x2, 0, 0},
  8678. {0x5C, 0x88, 0x88, 0, 0},
  8679. {0x5D, 0, 0, 0, 0},
  8680. {0x5E, 0x8, 0x8, 0, 0},
  8681. {0x5F, 0x77, 0x77, 1, 1},
  8682. {0x60, 0x1, 0x1, 0, 0},
  8683. {0x61, 0, 0, 0, 0},
  8684. {0x62, 0x7, 0x7, 0, 0},
  8685. {0x63, 0, 0, 0, 0},
  8686. {0x64, 0x7, 0x7, 0, 0},
  8687. {0x65, 0, 0, 0, 0},
  8688. {0x66, 0, 0, 0, 0},
  8689. {0x67, 0x72, 0x72, 1, 1},
  8690. {0x68, 0, 0, 0, 0},
  8691. {0x69, 0xa, 0xa, 0, 0},
  8692. {0x6A, 0, 0, 0, 0},
  8693. {0x6B, 0, 0, 0, 0},
  8694. {0x6C, 0, 0, 0, 0},
  8695. {0x6D, 0, 0, 0, 0},
  8696. {0x6E, 0, 0, 0, 0},
  8697. {0x6F, 0, 0, 0, 0},
  8698. {0x70, 0, 0, 0, 0},
  8699. {0x71, 0x2, 0x2, 0, 0},
  8700. {0x72, 0, 0, 0, 0},
  8701. {0x73, 0, 0, 0, 0},
  8702. {0x74, 0xe, 0xe, 0, 0},
  8703. {0x75, 0xe, 0xe, 0, 0},
  8704. {0x76, 0xe, 0xe, 0, 0},
  8705. {0x77, 0x13, 0x13, 0, 0},
  8706. {0x78, 0x13, 0x13, 0, 0},
  8707. {0x79, 0x1b, 0x1b, 0, 0},
  8708. {0x7A, 0x1b, 0x1b, 0, 0},
  8709. {0x7B, 0x55, 0x55, 0, 0},
  8710. {0x7C, 0x5b, 0x5b, 0, 0},
  8711. {0x7D, 0, 0, 0, 0},
  8712. {0x7E, 0, 0, 0, 0},
  8713. {0x7F, 0, 0, 0, 0},
  8714. {0x80, 0, 0, 0, 0},
  8715. {0x81, 0, 0, 0, 0},
  8716. {0x82, 0, 0, 0, 0},
  8717. {0x83, 0, 0, 0, 0},
  8718. {0x84, 0, 0, 0, 0},
  8719. {0x85, 0, 0, 0, 0},
  8720. {0x86, 0, 0, 0, 0},
  8721. {0x87, 0, 0, 0, 0},
  8722. {0x88, 0, 0, 0, 0},
  8723. {0x89, 0, 0, 0, 0},
  8724. {0x8A, 0, 0, 0, 0},
  8725. {0x8B, 0, 0, 0, 0},
  8726. {0x8C, 0, 0, 0, 0},
  8727. {0x8D, 0, 0, 0, 0},
  8728. {0x8E, 0, 0, 0, 0},
  8729. {0x8F, 0, 0, 0, 0},
  8730. {0x90, 0, 0, 0, 0},
  8731. {0x91, 0, 0, 0, 0},
  8732. {0x92, 0, 0, 0, 0},
  8733. {0xFFFF, 0, 0, 0, 0}
  8734. };
  8735. static struct radio_regs regs_RX_2056_A1[] = {
  8736. {0x02, 0, 0, 0, 0},
  8737. {0x03, 0, 0, 0, 0},
  8738. {0x04, 0, 0, 0, 0},
  8739. {0x05, 0, 0, 0, 0},
  8740. {0x06, 0, 0, 0, 0},
  8741. {0x07, 0, 0, 0, 0},
  8742. {0x08, 0, 0, 0, 0},
  8743. {0x09, 0, 0, 0, 0},
  8744. {0x0A, 0, 0, 0, 0},
  8745. {0x0B, 0, 0, 0, 0},
  8746. {0x0C, 0, 0, 0, 0},
  8747. {0x0D, 0, 0, 0, 0},
  8748. {0x0E, 0, 0, 0, 0},
  8749. {0x0F, 0, 0, 0, 0},
  8750. {0x10, 0, 0, 0, 0},
  8751. {0x11, 0, 0, 0, 0},
  8752. {0x12, 0, 0, 0, 0},
  8753. {0x13, 0, 0, 0, 0},
  8754. {0x14, 0, 0, 0, 0},
  8755. {0x15, 0, 0, 0, 0},
  8756. {0x16, 0, 0, 0, 0},
  8757. {0x17, 0, 0, 0, 0},
  8758. {0x18, 0, 0, 0, 0},
  8759. {0x19, 0, 0, 0, 0},
  8760. {0x1A, 0, 0, 0, 0},
  8761. {0x1B, 0, 0, 0, 0},
  8762. {0x1C, 0, 0, 0, 0},
  8763. {0x1D, 0, 0, 0, 0},
  8764. {0x1E, 0, 0, 0, 0},
  8765. {0x1F, 0, 0, 0, 0},
  8766. {0x20, 0x3, 0x3, 0, 0},
  8767. {0x21, 0, 0, 0, 0},
  8768. {0x22, 0, 0, 0, 0},
  8769. {0x23, 0x90, 0x90, 0, 0},
  8770. {0x24, 0x55, 0x55, 0, 0},
  8771. {0x25, 0x15, 0x15, 0, 0},
  8772. {0x26, 0x5, 0x5, 0, 0},
  8773. {0x27, 0x15, 0x15, 0, 0},
  8774. {0x28, 0x5, 0x5, 0, 0},
  8775. {0x29, 0x20, 0x20, 0, 0},
  8776. {0x2A, 0x11, 0x11, 0, 0},
  8777. {0x2B, 0x90, 0x90, 0, 0},
  8778. {0x2C, 0, 0, 0, 0},
  8779. {0x2D, 0x88, 0x88, 0, 0},
  8780. {0x2E, 0x32, 0x32, 0, 0},
  8781. {0x2F, 0x77, 0x77, 0, 0},
  8782. {0x30, 0x17, 0x17, 1, 1},
  8783. {0x31, 0xff, 0xff, 1, 1},
  8784. {0x32, 0x20, 0x20, 0, 0},
  8785. {0x33, 0, 0, 0, 0},
  8786. {0x34, 0x88, 0x88, 0, 0},
  8787. {0x35, 0x32, 0x32, 0, 0},
  8788. {0x36, 0x77, 0x77, 0, 0},
  8789. {0x37, 0x17, 0x17, 1, 1},
  8790. {0x38, 0xf0, 0xf0, 1, 1},
  8791. {0x39, 0x20, 0x20, 0, 0},
  8792. {0x3A, 0x8, 0x8, 0, 0},
  8793. {0x3B, 0x55, 0x55, 1, 1},
  8794. {0x3C, 0, 0, 0, 0},
  8795. {0x3D, 0x44, 0x44, 1, 1},
  8796. {0x3E, 0, 0, 0, 0},
  8797. {0x3F, 0x44, 0x44, 0, 0},
  8798. {0x40, 0xf, 0xf, 1, 1},
  8799. {0x41, 0x6, 0x6, 0, 0},
  8800. {0x42, 0x4, 0x4, 0, 0},
  8801. {0x43, 0x50, 0x50, 1, 1},
  8802. {0x44, 0x8, 0x8, 0, 0},
  8803. {0x45, 0x55, 0x55, 1, 1},
  8804. {0x46, 0, 0, 0, 0},
  8805. {0x47, 0x11, 0x11, 0, 0},
  8806. {0x48, 0, 0, 0, 0},
  8807. {0x49, 0x44, 0x44, 0, 0},
  8808. {0x4A, 0x7, 0x7, 0, 0},
  8809. {0x4B, 0x6, 0x6, 0, 0},
  8810. {0x4C, 0x4, 0x4, 0, 0},
  8811. {0x4D, 0, 0, 0, 0},
  8812. {0x4E, 0, 0, 0, 0},
  8813. {0x4F, 0x26, 0x26, 1, 1},
  8814. {0x50, 0x26, 0x26, 1, 1},
  8815. {0x51, 0xf, 0xf, 1, 1},
  8816. {0x52, 0xf, 0xf, 1, 1},
  8817. {0x53, 0x44, 0x44, 0, 0},
  8818. {0x54, 0, 0, 0, 0},
  8819. {0x55, 0, 0, 0, 0},
  8820. {0x56, 0x8, 0x8, 0, 0},
  8821. {0x57, 0x8, 0x8, 0, 0},
  8822. {0x58, 0x7, 0x7, 0, 0},
  8823. {0x59, 0x22, 0x22, 0, 0},
  8824. {0x5A, 0x22, 0x22, 0, 0},
  8825. {0x5B, 0x2, 0x2, 0, 0},
  8826. {0x5C, 0x2f, 0x2f, 1, 1},
  8827. {0x5D, 0x7, 0x7, 0, 0},
  8828. {0x5E, 0x55, 0x55, 0, 0},
  8829. {0x5F, 0x23, 0x23, 0, 0},
  8830. {0x60, 0x41, 0x41, 0, 0},
  8831. {0x61, 0x1, 0x1, 0, 0},
  8832. {0x62, 0xa, 0xa, 0, 0},
  8833. {0x63, 0, 0, 0, 0},
  8834. {0x64, 0, 0, 0, 0},
  8835. {0x65, 0, 0, 0, 0},
  8836. {0x66, 0, 0, 0, 0},
  8837. {0x67, 0, 0, 0, 0},
  8838. {0x68, 0, 0, 0, 0},
  8839. {0x69, 0, 0, 0, 0},
  8840. {0x6A, 0, 0, 0, 0},
  8841. {0x6B, 0xc, 0xc, 0, 0},
  8842. {0x6C, 0, 0, 0, 0},
  8843. {0x6D, 0, 0, 0, 0},
  8844. {0x6E, 0, 0, 0, 0},
  8845. {0x6F, 0, 0, 0, 0},
  8846. {0x70, 0, 0, 0, 0},
  8847. {0x71, 0, 0, 0, 0},
  8848. {0x72, 0x22, 0x22, 0, 0},
  8849. {0x73, 0x22, 0x22, 0, 0},
  8850. {0x74, 0, 0, 1, 1},
  8851. {0x75, 0xa, 0xa, 0, 0},
  8852. {0x76, 0x1, 0x1, 0, 0},
  8853. {0x77, 0x22, 0x22, 0, 0},
  8854. {0x78, 0x30, 0x30, 0, 0},
  8855. {0x79, 0, 0, 0, 0},
  8856. {0x7A, 0, 0, 0, 0},
  8857. {0x7B, 0, 0, 0, 0},
  8858. {0x7C, 0, 0, 0, 0},
  8859. {0x7D, 0, 0, 0, 0},
  8860. {0x7E, 0, 0, 0, 0},
  8861. {0x7F, 0, 0, 0, 0},
  8862. {0x80, 0, 0, 0, 0},
  8863. {0x81, 0, 0, 0, 0},
  8864. {0x82, 0, 0, 0, 0},
  8865. {0x83, 0, 0, 0, 0},
  8866. {0x84, 0, 0, 0, 0},
  8867. {0x85, 0, 0, 0, 0},
  8868. {0x86, 0, 0, 0, 0},
  8869. {0x87, 0, 0, 0, 0},
  8870. {0x88, 0, 0, 0, 0},
  8871. {0x89, 0, 0, 0, 0},
  8872. {0x8A, 0, 0, 0, 0},
  8873. {0x8B, 0, 0, 0, 0},
  8874. {0x8C, 0, 0, 0, 0},
  8875. {0x8D, 0, 0, 0, 0},
  8876. {0x8E, 0, 0, 0, 0},
  8877. {0x8F, 0, 0, 0, 0},
  8878. {0x90, 0, 0, 0, 0},
  8879. {0x91, 0, 0, 0, 0},
  8880. {0x92, 0, 0, 0, 0},
  8881. {0x93, 0, 0, 0, 0},
  8882. {0x94, 0, 0, 0, 0},
  8883. {0xFFFF, 0, 0, 0, 0}
  8884. };
  8885. static struct radio_regs regs_SYN_2056_rev5[] = {
  8886. {0x02, 0, 0, 0, 0},
  8887. {0x03, 0, 0, 0, 0},
  8888. {0x04, 0, 0, 0, 0},
  8889. {0x05, 0, 0, 0, 0},
  8890. {0x06, 0, 0, 0, 0},
  8891. {0x07, 0, 0, 0, 0},
  8892. {0x08, 0, 0, 0, 0},
  8893. {0x09, 0x1, 0x1, 0, 0},
  8894. {0x0A, 0, 0, 0, 0},
  8895. {0x0B, 0, 0, 0, 0},
  8896. {0x0C, 0, 0, 0, 0},
  8897. {0x0D, 0, 0, 0, 0},
  8898. {0x0E, 0, 0, 0, 0},
  8899. {0x0F, 0, 0, 0, 0},
  8900. {0x10, 0, 0, 0, 0},
  8901. {0x11, 0, 0, 0, 0},
  8902. {0x12, 0, 0, 0, 0},
  8903. {0x13, 0, 0, 0, 0},
  8904. {0x14, 0, 0, 0, 0},
  8905. {0x15, 0, 0, 0, 0},
  8906. {0x16, 0, 0, 0, 0},
  8907. {0x17, 0, 0, 0, 0},
  8908. {0x18, 0, 0, 0, 0},
  8909. {0x19, 0, 0, 0, 0},
  8910. {0x1A, 0, 0, 0, 0},
  8911. {0x1B, 0, 0, 0, 0},
  8912. {0x1C, 0, 0, 0, 0},
  8913. {0x1D, 0, 0, 0, 0},
  8914. {0x1E, 0, 0, 0, 0},
  8915. {0x1F, 0, 0, 0, 0},
  8916. {0x20, 0, 0, 0, 0},
  8917. {0x21, 0, 0, 0, 0},
  8918. {0x22, 0x60, 0x60, 0, 0},
  8919. {0x23, 0x6, 0x6, 0, 0},
  8920. {0x24, 0xc, 0xc, 0, 0},
  8921. {0x25, 0, 0, 0, 0},
  8922. {0x26, 0, 0, 0, 0},
  8923. {0x27, 0, 0, 0, 0},
  8924. {0x28, 0x1, 0x1, 0, 0},
  8925. {0x29, 0, 0, 0, 0},
  8926. {0x2A, 0, 0, 0, 0},
  8927. {0x2B, 0, 0, 0, 0},
  8928. {0x2C, 0, 0, 0, 0},
  8929. {0x2D, 0, 0, 0, 0},
  8930. {0x2E, 0, 0, 0, 0},
  8931. {0x2F, 0x1f, 0x1f, 0, 0},
  8932. {0x30, 0x15, 0x15, 0, 0},
  8933. {0x31, 0xf, 0xf, 0, 0},
  8934. {0x32, 0, 0, 0, 0},
  8935. {0x33, 0, 0, 0, 0},
  8936. {0x34, 0, 0, 0, 0},
  8937. {0x35, 0, 0, 0, 0},
  8938. {0x36, 0, 0, 0, 0},
  8939. {0x37, 0, 0, 0, 0},
  8940. {0x38, 0, 0, 0, 0},
  8941. {0x39, 0, 0, 0, 0},
  8942. {0x3A, 0, 0, 0, 0},
  8943. {0x3B, 0, 0, 0, 0},
  8944. {0x3C, 0x13, 0x13, 0, 0},
  8945. {0x3D, 0xf, 0xf, 0, 0},
  8946. {0x3E, 0x18, 0x18, 0, 0},
  8947. {0x3F, 0, 0, 0, 0},
  8948. {0x40, 0, 0, 0, 0},
  8949. {0x41, 0x20, 0x20, 0, 0},
  8950. {0x42, 0x20, 0x20, 0, 0},
  8951. {0x43, 0, 0, 0, 0},
  8952. {0x44, 0x77, 0x77, 0, 0},
  8953. {0x45, 0x7, 0x7, 0, 0},
  8954. {0x46, 0x1, 0x1, 0, 0},
  8955. {0x47, 0x4, 0x4, 0, 0},
  8956. {0x48, 0xf, 0xf, 0, 0},
  8957. {0x49, 0x30, 0x30, 0, 0},
  8958. {0x4A, 0x32, 0x32, 0, 0},
  8959. {0x4B, 0xd, 0xd, 0, 0},
  8960. {0x4C, 0xd, 0xd, 0, 0},
  8961. {0x4D, 0x4, 0x4, 0, 0},
  8962. {0x4E, 0x6, 0x6, 0, 0},
  8963. {0x4F, 0x1, 0x1, 0, 0},
  8964. {0x50, 0x1c, 0x1c, 0, 0},
  8965. {0x51, 0x2, 0x2, 0, 0},
  8966. {0x52, 0x2, 0x2, 0, 0},
  8967. {0x53, 0xf7, 0xf7, 1, 1},
  8968. {0x54, 0xb4, 0xb4, 0, 0},
  8969. {0x55, 0xd2, 0xd2, 0, 0},
  8970. {0x56, 0, 0, 0, 0},
  8971. {0x57, 0, 0, 0, 0},
  8972. {0x58, 0x4, 0x4, 0, 0},
  8973. {0x59, 0x96, 0x96, 0, 0},
  8974. {0x5A, 0x3e, 0x3e, 0, 0},
  8975. {0x5B, 0x3e, 0x3e, 0, 0},
  8976. {0x5C, 0x13, 0x13, 0, 0},
  8977. {0x5D, 0x2, 0x2, 0, 0},
  8978. {0x5E, 0, 0, 0, 0},
  8979. {0x5F, 0x7, 0x7, 0, 0},
  8980. {0x60, 0x7, 0x7, 1, 1},
  8981. {0x61, 0x8, 0x8, 0, 0},
  8982. {0x62, 0x3, 0x3, 0, 0},
  8983. {0x63, 0, 0, 0, 0},
  8984. {0x64, 0, 0, 0, 0},
  8985. {0x65, 0, 0, 0, 0},
  8986. {0x66, 0, 0, 0, 0},
  8987. {0x67, 0, 0, 0, 0},
  8988. {0x68, 0x40, 0x40, 0, 0},
  8989. {0x69, 0, 0, 0, 0},
  8990. {0x6A, 0, 0, 0, 0},
  8991. {0x6B, 0, 0, 0, 0},
  8992. {0x6C, 0, 0, 0, 0},
  8993. {0x6D, 0x1, 0x1, 0, 0},
  8994. {0x6E, 0, 0, 0, 0},
  8995. {0x6F, 0, 0, 0, 0},
  8996. {0x70, 0x60, 0x60, 0, 0},
  8997. {0x71, 0x66, 0x66, 0, 0},
  8998. {0x72, 0xc, 0xc, 0, 0},
  8999. {0x73, 0x66, 0x66, 0, 0},
  9000. {0x74, 0x8f, 0x8f, 1, 1},
  9001. {0x75, 0, 0, 0, 0},
  9002. {0x76, 0xcc, 0xcc, 0, 0},
  9003. {0x77, 0x1, 0x1, 0, 0},
  9004. {0x78, 0x66, 0x66, 0, 0},
  9005. {0x79, 0x66, 0x66, 0, 0},
  9006. {0x7A, 0, 0, 0, 0},
  9007. {0x7B, 0, 0, 0, 0},
  9008. {0x7C, 0, 0, 0, 0},
  9009. {0x7D, 0, 0, 0, 0},
  9010. {0x7E, 0, 0, 0, 0},
  9011. {0x7F, 0, 0, 0, 0},
  9012. {0x80, 0, 0, 0, 0},
  9013. {0x81, 0, 0, 0, 0},
  9014. {0x82, 0, 0, 0, 0},
  9015. {0x83, 0, 0, 0, 0},
  9016. {0x84, 0, 0, 0, 0},
  9017. {0x85, 0xff, 0xff, 0, 0},
  9018. {0x86, 0, 0, 0, 0},
  9019. {0x87, 0, 0, 0, 0},
  9020. {0x88, 0, 0, 0, 0},
  9021. {0x89, 0, 0, 0, 0},
  9022. {0x8A, 0, 0, 0, 0},
  9023. {0x8B, 0, 0, 0, 0},
  9024. {0x8C, 0, 0, 0, 0},
  9025. {0x8D, 0, 0, 0, 0},
  9026. {0x8E, 0, 0, 0, 0},
  9027. {0x8F, 0, 0, 0, 0},
  9028. {0x90, 0, 0, 0, 0},
  9029. {0x91, 0, 0, 0, 0},
  9030. {0x92, 0, 0, 0, 0},
  9031. {0x93, 0, 0, 0, 0},
  9032. {0x94, 0, 0, 0, 0},
  9033. {0x95, 0, 0, 0, 0},
  9034. {0x96, 0, 0, 0, 0},
  9035. {0x97, 0, 0, 0, 0},
  9036. {0x98, 0, 0, 0, 0},
  9037. {0x99, 0, 0, 0, 0},
  9038. {0x9A, 0, 0, 0, 0},
  9039. {0x9B, 0, 0, 0, 0},
  9040. {0x9C, 0, 0, 0, 0},
  9041. {0x9D, 0, 0, 0, 0},
  9042. {0x9E, 0, 0, 0, 0},
  9043. {0x9F, 0x6, 0x6, 0, 0},
  9044. {0xA0, 0x66, 0x66, 0, 0},
  9045. {0xA1, 0x66, 0x66, 0, 0},
  9046. {0xA2, 0x66, 0x66, 0, 0},
  9047. {0xA3, 0x66, 0x66, 0, 0},
  9048. {0xA4, 0x66, 0x66, 0, 0},
  9049. {0xA5, 0x66, 0x66, 0, 0},
  9050. {0xA6, 0x66, 0x66, 0, 0},
  9051. {0xA7, 0x66, 0x66, 0, 0},
  9052. {0xA8, 0x66, 0x66, 0, 0},
  9053. {0xA9, 0x66, 0x66, 0, 0},
  9054. {0xAA, 0x66, 0x66, 0, 0},
  9055. {0xAB, 0x66, 0x66, 0, 0},
  9056. {0xAC, 0x66, 0x66, 0, 0},
  9057. {0xAD, 0x66, 0x66, 0, 0},
  9058. {0xAE, 0x66, 0x66, 0, 0},
  9059. {0xAF, 0x66, 0x66, 0, 0},
  9060. {0xB0, 0x66, 0x66, 0, 0},
  9061. {0xB1, 0x66, 0x66, 0, 0},
  9062. {0xB2, 0x66, 0x66, 0, 0},
  9063. {0xB3, 0xa, 0xa, 0, 0},
  9064. {0xB4, 0, 0, 0, 0},
  9065. {0xB5, 0, 0, 0, 0},
  9066. {0xB6, 0, 0, 0, 0},
  9067. {0xFFFF, 0, 0, 0, 0}
  9068. };
  9069. static struct radio_regs regs_TX_2056_rev5[] = {
  9070. {0x02, 0, 0, 0, 0},
  9071. {0x03, 0, 0, 0, 0},
  9072. {0x04, 0, 0, 0, 0},
  9073. {0x05, 0, 0, 0, 0},
  9074. {0x06, 0, 0, 0, 0},
  9075. {0x07, 0, 0, 0, 0},
  9076. {0x08, 0, 0, 0, 0},
  9077. {0x09, 0, 0, 0, 0},
  9078. {0x0A, 0, 0, 0, 0},
  9079. {0x0B, 0, 0, 0, 0},
  9080. {0x0C, 0, 0, 0, 0},
  9081. {0x0D, 0, 0, 0, 0},
  9082. {0x0E, 0, 0, 0, 0},
  9083. {0x0F, 0, 0, 0, 0},
  9084. {0x10, 0, 0, 0, 0},
  9085. {0x11, 0, 0, 0, 0},
  9086. {0x12, 0, 0, 0, 0},
  9087. {0x13, 0, 0, 0, 0},
  9088. {0x14, 0, 0, 0, 0},
  9089. {0x15, 0, 0, 0, 0},
  9090. {0x16, 0, 0, 0, 0},
  9091. {0x17, 0, 0, 0, 0},
  9092. {0x18, 0, 0, 0, 0},
  9093. {0x19, 0, 0, 0, 0},
  9094. {0x1A, 0, 0, 0, 0},
  9095. {0x1B, 0, 0, 0, 0},
  9096. {0x1C, 0, 0, 0, 0},
  9097. {0x1D, 0, 0, 0, 0},
  9098. {0x1E, 0, 0, 0, 0},
  9099. {0x1F, 0, 0, 0, 0},
  9100. {0x20, 0, 0, 0, 0},
  9101. {0x21, 0x88, 0x88, 0, 0},
  9102. {0x22, 0x88, 0x88, 0, 0},
  9103. {0x23, 0x88, 0x88, 0, 0},
  9104. {0x24, 0x88, 0x88, 0, 0},
  9105. {0x25, 0xc, 0xc, 0, 0},
  9106. {0x26, 0, 0, 0, 0},
  9107. {0x27, 0x3, 0x3, 0, 0},
  9108. {0x28, 0, 0, 0, 0},
  9109. {0x29, 0x3, 0x3, 0, 0},
  9110. {0x2A, 0x37, 0x37, 0, 0},
  9111. {0x2B, 0x3, 0x3, 0, 0},
  9112. {0x2C, 0, 0, 0, 0},
  9113. {0x2D, 0, 0, 0, 0},
  9114. {0x2E, 0x1, 0x1, 0, 0},
  9115. {0x2F, 0x1, 0x1, 0, 0},
  9116. {0x30, 0, 0, 0, 0},
  9117. {0x31, 0, 0, 0, 0},
  9118. {0x32, 0, 0, 0, 0},
  9119. {0x33, 0x11, 0x11, 0, 0},
  9120. {0x34, 0x11, 0x11, 0, 0},
  9121. {0x35, 0, 0, 0, 0},
  9122. {0x36, 0, 0, 0, 0},
  9123. {0x37, 0x3, 0x3, 0, 0},
  9124. {0x38, 0xf, 0xf, 0, 0},
  9125. {0x39, 0, 0, 0, 0},
  9126. {0x3A, 0x2d, 0x2d, 0, 0},
  9127. {0x3B, 0, 0, 0, 0},
  9128. {0x3C, 0x6e, 0x6e, 0, 0},
  9129. {0x3D, 0xf0, 0xf0, 1, 1},
  9130. {0x3E, 0, 0, 0, 0},
  9131. {0x3F, 0, 0, 0, 0},
  9132. {0x40, 0, 0, 0, 0},
  9133. {0x41, 0x3, 0x3, 0, 0},
  9134. {0x42, 0x3, 0x3, 0, 0},
  9135. {0x43, 0, 0, 0, 0},
  9136. {0x44, 0x1e, 0x1e, 0, 0},
  9137. {0x45, 0, 0, 0, 0},
  9138. {0x46, 0x6e, 0x6e, 0, 0},
  9139. {0x47, 0xf0, 0xf0, 1, 1},
  9140. {0x48, 0, 0, 0, 0},
  9141. {0x49, 0x2, 0x2, 0, 0},
  9142. {0x4A, 0xff, 0xff, 1, 1},
  9143. {0x4B, 0xc, 0xc, 0, 0},
  9144. {0x4C, 0, 0, 0, 0},
  9145. {0x4D, 0x38, 0x38, 0, 0},
  9146. {0x4E, 0x70, 0x70, 1, 1},
  9147. {0x4F, 0x2, 0x2, 0, 0},
  9148. {0x50, 0x88, 0x88, 0, 0},
  9149. {0x51, 0xc, 0xc, 0, 0},
  9150. {0x52, 0, 0, 0, 0},
  9151. {0x53, 0x8, 0x8, 0, 0},
  9152. {0x54, 0x70, 0x70, 1, 1},
  9153. {0x55, 0x2, 0x2, 0, 0},
  9154. {0x56, 0xff, 0xff, 1, 1},
  9155. {0x57, 0, 0, 0, 0},
  9156. {0x58, 0x83, 0x83, 0, 0},
  9157. {0x59, 0x77, 0x77, 1, 1},
  9158. {0x5A, 0, 0, 0, 0},
  9159. {0x5B, 0x2, 0x2, 0, 0},
  9160. {0x5C, 0x88, 0x88, 0, 0},
  9161. {0x5D, 0, 0, 0, 0},
  9162. {0x5E, 0x8, 0x8, 0, 0},
  9163. {0x5F, 0x77, 0x77, 1, 1},
  9164. {0x60, 0x1, 0x1, 0, 0},
  9165. {0x61, 0, 0, 0, 0},
  9166. {0x62, 0x7, 0x7, 0, 0},
  9167. {0x63, 0, 0, 0, 0},
  9168. {0x64, 0x7, 0x7, 0, 0},
  9169. {0x65, 0, 0, 0, 0},
  9170. {0x66, 0, 0, 0, 0},
  9171. {0x67, 0, 0, 1, 1},
  9172. {0x68, 0, 0, 0, 0},
  9173. {0x69, 0xa, 0xa, 0, 0},
  9174. {0x6A, 0, 0, 0, 0},
  9175. {0x6B, 0, 0, 0, 0},
  9176. {0x6C, 0, 0, 0, 0},
  9177. {0x6D, 0, 0, 0, 0},
  9178. {0x6E, 0, 0, 0, 0},
  9179. {0x6F, 0, 0, 0, 0},
  9180. {0x70, 0, 0, 0, 0},
  9181. {0x71, 0x2, 0x2, 0, 0},
  9182. {0x72, 0, 0, 0, 0},
  9183. {0x73, 0, 0, 0, 0},
  9184. {0x74, 0xe, 0xe, 0, 0},
  9185. {0x75, 0xe, 0xe, 0, 0},
  9186. {0x76, 0xe, 0xe, 0, 0},
  9187. {0x77, 0x13, 0x13, 0, 0},
  9188. {0x78, 0x13, 0x13, 0, 0},
  9189. {0x79, 0x1b, 0x1b, 0, 0},
  9190. {0x7A, 0x1b, 0x1b, 0, 0},
  9191. {0x7B, 0x55, 0x55, 0, 0},
  9192. {0x7C, 0x5b, 0x5b, 0, 0},
  9193. {0x7D, 0, 0, 0, 0},
  9194. {0x7E, 0, 0, 0, 0},
  9195. {0x7F, 0, 0, 0, 0},
  9196. {0x80, 0, 0, 0, 0},
  9197. {0x81, 0, 0, 0, 0},
  9198. {0x82, 0, 0, 0, 0},
  9199. {0x83, 0, 0, 0, 0},
  9200. {0x84, 0, 0, 0, 0},
  9201. {0x85, 0, 0, 0, 0},
  9202. {0x86, 0, 0, 0, 0},
  9203. {0x87, 0, 0, 0, 0},
  9204. {0x88, 0, 0, 0, 0},
  9205. {0x89, 0, 0, 0, 0},
  9206. {0x8A, 0, 0, 0, 0},
  9207. {0x8B, 0, 0, 0, 0},
  9208. {0x8C, 0, 0, 0, 0},
  9209. {0x8D, 0, 0, 0, 0},
  9210. {0x8E, 0, 0, 0, 0},
  9211. {0x8F, 0, 0, 0, 0},
  9212. {0x90, 0, 0, 0, 0},
  9213. {0x91, 0, 0, 0, 0},
  9214. {0x92, 0, 0, 0, 0},
  9215. {0x93, 0x70, 0x70, 0, 0},
  9216. {0x94, 0x70, 0x70, 0, 0},
  9217. {0x95, 0x71, 0x71, 1, 1},
  9218. {0x96, 0x71, 0x71, 1, 1},
  9219. {0x97, 0x72, 0x72, 1, 1},
  9220. {0x98, 0x73, 0x73, 1, 1},
  9221. {0x99, 0x74, 0x74, 1, 1},
  9222. {0x9A, 0x75, 0x75, 1, 1},
  9223. {0xFFFF, 0, 0, 0, 0}
  9224. };
  9225. static struct radio_regs regs_RX_2056_rev5[] = {
  9226. {0x02, 0, 0, 0, 0},
  9227. {0x03, 0, 0, 0, 0},
  9228. {0x04, 0, 0, 0, 0},
  9229. {0x05, 0, 0, 0, 0},
  9230. {0x06, 0, 0, 0, 0},
  9231. {0x07, 0, 0, 0, 0},
  9232. {0x08, 0, 0, 0, 0},
  9233. {0x09, 0, 0, 0, 0},
  9234. {0x0A, 0, 0, 0, 0},
  9235. {0x0B, 0, 0, 0, 0},
  9236. {0x0C, 0, 0, 0, 0},
  9237. {0x0D, 0, 0, 0, 0},
  9238. {0x0E, 0, 0, 0, 0},
  9239. {0x0F, 0, 0, 0, 0},
  9240. {0x10, 0, 0, 0, 0},
  9241. {0x11, 0, 0, 0, 0},
  9242. {0x12, 0, 0, 0, 0},
  9243. {0x13, 0, 0, 0, 0},
  9244. {0x14, 0, 0, 0, 0},
  9245. {0x15, 0, 0, 0, 0},
  9246. {0x16, 0, 0, 0, 0},
  9247. {0x17, 0, 0, 0, 0},
  9248. {0x18, 0, 0, 0, 0},
  9249. {0x19, 0, 0, 0, 0},
  9250. {0x1A, 0, 0, 0, 0},
  9251. {0x1B, 0, 0, 0, 0},
  9252. {0x1C, 0, 0, 0, 0},
  9253. {0x1D, 0, 0, 0, 0},
  9254. {0x1E, 0, 0, 0, 0},
  9255. {0x1F, 0, 0, 0, 0},
  9256. {0x20, 0x3, 0x3, 0, 0},
  9257. {0x21, 0, 0, 0, 0},
  9258. {0x22, 0, 0, 0, 0},
  9259. {0x23, 0x90, 0x90, 0, 0},
  9260. {0x24, 0x55, 0x55, 0, 0},
  9261. {0x25, 0x15, 0x15, 0, 0},
  9262. {0x26, 0x5, 0x5, 0, 0},
  9263. {0x27, 0x15, 0x15, 0, 0},
  9264. {0x28, 0x5, 0x5, 0, 0},
  9265. {0x29, 0x20, 0x20, 0, 0},
  9266. {0x2A, 0x11, 0x11, 0, 0},
  9267. {0x2B, 0x90, 0x90, 0, 0},
  9268. {0x2C, 0, 0, 0, 0},
  9269. {0x2D, 0x88, 0x88, 0, 0},
  9270. {0x2E, 0x32, 0x32, 0, 0},
  9271. {0x2F, 0x77, 0x77, 0, 0},
  9272. {0x30, 0x17, 0x17, 1, 1},
  9273. {0x31, 0xff, 0xff, 1, 1},
  9274. {0x32, 0x20, 0x20, 0, 0},
  9275. {0x33, 0, 0, 0, 0},
  9276. {0x34, 0x88, 0x88, 0, 0},
  9277. {0x35, 0x32, 0x32, 0, 0},
  9278. {0x36, 0x77, 0x77, 0, 0},
  9279. {0x37, 0x17, 0x17, 1, 1},
  9280. {0x38, 0xf0, 0xf0, 1, 1},
  9281. {0x39, 0x20, 0x20, 0, 0},
  9282. {0x3A, 0x8, 0x8, 0, 0},
  9283. {0x3B, 0x55, 0x55, 1, 1},
  9284. {0x3C, 0, 0, 0, 0},
  9285. {0x3D, 0x88, 0x88, 1, 1},
  9286. {0x3E, 0, 0, 0, 0},
  9287. {0x3F, 0, 0, 1, 1},
  9288. {0x40, 0x7, 0x7, 1, 1},
  9289. {0x41, 0x6, 0x6, 0, 0},
  9290. {0x42, 0x4, 0x4, 0, 0},
  9291. {0x43, 0, 0, 0, 0},
  9292. {0x44, 0x8, 0x8, 0, 0},
  9293. {0x45, 0x55, 0x55, 1, 1},
  9294. {0x46, 0, 0, 0, 0},
  9295. {0x47, 0x11, 0x11, 0, 0},
  9296. {0x48, 0, 0, 0, 0},
  9297. {0x49, 0, 0, 1, 1},
  9298. {0x4A, 0x7, 0x7, 0, 0},
  9299. {0x4B, 0x6, 0x6, 0, 0},
  9300. {0x4C, 0x4, 0x4, 0, 0},
  9301. {0x4D, 0, 0, 0, 0},
  9302. {0x4E, 0, 0, 0, 0},
  9303. {0x4F, 0x26, 0x26, 1, 1},
  9304. {0x50, 0x26, 0x26, 1, 1},
  9305. {0x51, 0xf, 0xf, 1, 1},
  9306. {0x52, 0xf, 0xf, 1, 1},
  9307. {0x53, 0x44, 0x44, 0, 0},
  9308. {0x54, 0, 0, 0, 0},
  9309. {0x55, 0, 0, 0, 0},
  9310. {0x56, 0x8, 0x8, 0, 0},
  9311. {0x57, 0x8, 0x8, 0, 0},
  9312. {0x58, 0x7, 0x7, 0, 0},
  9313. {0x59, 0x22, 0x22, 0, 0},
  9314. {0x5A, 0x22, 0x22, 0, 0},
  9315. {0x5B, 0x2, 0x2, 0, 0},
  9316. {0x5C, 0x4, 0x4, 1, 1},
  9317. {0x5D, 0x7, 0x7, 0, 0},
  9318. {0x5E, 0x55, 0x55, 0, 0},
  9319. {0x5F, 0x23, 0x23, 0, 0},
  9320. {0x60, 0x41, 0x41, 0, 0},
  9321. {0x61, 0x1, 0x1, 0, 0},
  9322. {0x62, 0xa, 0xa, 0, 0},
  9323. {0x63, 0, 0, 0, 0},
  9324. {0x64, 0, 0, 0, 0},
  9325. {0x65, 0, 0, 0, 0},
  9326. {0x66, 0, 0, 0, 0},
  9327. {0x67, 0, 0, 0, 0},
  9328. {0x68, 0, 0, 0, 0},
  9329. {0x69, 0, 0, 0, 0},
  9330. {0x6A, 0, 0, 0, 0},
  9331. {0x6B, 0xc, 0xc, 0, 0},
  9332. {0x6C, 0, 0, 0, 0},
  9333. {0x6D, 0, 0, 0, 0},
  9334. {0x6E, 0, 0, 0, 0},
  9335. {0x6F, 0, 0, 0, 0},
  9336. {0x70, 0, 0, 0, 0},
  9337. {0x71, 0, 0, 0, 0},
  9338. {0x72, 0x22, 0x22, 0, 0},
  9339. {0x73, 0x22, 0x22, 0, 0},
  9340. {0x74, 0, 0, 1, 1},
  9341. {0x75, 0xa, 0xa, 0, 0},
  9342. {0x76, 0x1, 0x1, 0, 0},
  9343. {0x77, 0x22, 0x22, 0, 0},
  9344. {0x78, 0x30, 0x30, 0, 0},
  9345. {0x79, 0, 0, 0, 0},
  9346. {0x7A, 0, 0, 0, 0},
  9347. {0x7B, 0, 0, 0, 0},
  9348. {0x7C, 0, 0, 0, 0},
  9349. {0x7D, 0, 0, 0, 0},
  9350. {0x7E, 0, 0, 0, 0},
  9351. {0x7F, 0, 0, 0, 0},
  9352. {0x80, 0, 0, 0, 0},
  9353. {0x81, 0, 0, 0, 0},
  9354. {0x82, 0, 0, 0, 0},
  9355. {0x83, 0, 0, 0, 0},
  9356. {0x84, 0, 0, 0, 0},
  9357. {0x85, 0, 0, 0, 0},
  9358. {0x86, 0, 0, 0, 0},
  9359. {0x87, 0, 0, 0, 0},
  9360. {0x88, 0, 0, 0, 0},
  9361. {0x89, 0, 0, 0, 0},
  9362. {0x8A, 0, 0, 0, 0},
  9363. {0x8B, 0, 0, 0, 0},
  9364. {0x8C, 0, 0, 0, 0},
  9365. {0x8D, 0, 0, 0, 0},
  9366. {0x8E, 0, 0, 0, 0},
  9367. {0x8F, 0, 0, 0, 0},
  9368. {0x90, 0, 0, 0, 0},
  9369. {0x91, 0, 0, 0, 0},
  9370. {0x92, 0, 0, 0, 0},
  9371. {0x93, 0, 0, 0, 0},
  9372. {0x94, 0, 0, 0, 0},
  9373. {0xFFFF, 0, 0, 0, 0}
  9374. };
  9375. static struct radio_regs regs_SYN_2056_rev6[] = {
  9376. {0x02, 0, 0, 0, 0},
  9377. {0x03, 0, 0, 0, 0},
  9378. {0x04, 0, 0, 0, 0},
  9379. {0x05, 0, 0, 0, 0},
  9380. {0x06, 0, 0, 0, 0},
  9381. {0x07, 0, 0, 0, 0},
  9382. {0x08, 0, 0, 0, 0},
  9383. {0x09, 0x1, 0x1, 0, 0},
  9384. {0x0A, 0, 0, 0, 0},
  9385. {0x0B, 0, 0, 0, 0},
  9386. {0x0C, 0, 0, 0, 0},
  9387. {0x0D, 0, 0, 0, 0},
  9388. {0x0E, 0, 0, 0, 0},
  9389. {0x0F, 0, 0, 0, 0},
  9390. {0x10, 0, 0, 0, 0},
  9391. {0x11, 0, 0, 0, 0},
  9392. {0x12, 0, 0, 0, 0},
  9393. {0x13, 0, 0, 0, 0},
  9394. {0x14, 0, 0, 0, 0},
  9395. {0x15, 0, 0, 0, 0},
  9396. {0x16, 0, 0, 0, 0},
  9397. {0x17, 0, 0, 0, 0},
  9398. {0x18, 0, 0, 0, 0},
  9399. {0x19, 0, 0, 0, 0},
  9400. {0x1A, 0, 0, 0, 0},
  9401. {0x1B, 0, 0, 0, 0},
  9402. {0x1C, 0, 0, 0, 0},
  9403. {0x1D, 0, 0, 0, 0},
  9404. {0x1E, 0, 0, 0, 0},
  9405. {0x1F, 0, 0, 0, 0},
  9406. {0x20, 0, 0, 0, 0},
  9407. {0x21, 0, 0, 0, 0},
  9408. {0x22, 0x60, 0x60, 0, 0},
  9409. {0x23, 0x6, 0x6, 0, 0},
  9410. {0x24, 0xc, 0xc, 0, 0},
  9411. {0x25, 0, 0, 0, 0},
  9412. {0x26, 0, 0, 0, 0},
  9413. {0x27, 0, 0, 0, 0},
  9414. {0x28, 0x1, 0x1, 0, 0},
  9415. {0x29, 0, 0, 0, 0},
  9416. {0x2A, 0, 0, 0, 0},
  9417. {0x2B, 0, 0, 0, 0},
  9418. {0x2C, 0, 0, 0, 0},
  9419. {0x2D, 0, 0, 0, 0},
  9420. {0x2E, 0, 0, 0, 0},
  9421. {0x2F, 0x1f, 0x1f, 0, 0},
  9422. {0x30, 0x15, 0x15, 0, 0},
  9423. {0x31, 0xf, 0xf, 0, 0},
  9424. {0x32, 0, 0, 0, 0},
  9425. {0x33, 0, 0, 0, 0},
  9426. {0x34, 0, 0, 0, 0},
  9427. {0x35, 0, 0, 0, 0},
  9428. {0x36, 0, 0, 0, 0},
  9429. {0x37, 0, 0, 0, 0},
  9430. {0x38, 0, 0, 0, 0},
  9431. {0x39, 0, 0, 0, 0},
  9432. {0x3A, 0, 0, 0, 0},
  9433. {0x3B, 0, 0, 0, 0},
  9434. {0x3C, 0x13, 0x13, 0, 0},
  9435. {0x3D, 0xf, 0xf, 0, 0},
  9436. {0x3E, 0x18, 0x18, 0, 0},
  9437. {0x3F, 0, 0, 0, 0},
  9438. {0x40, 0, 0, 0, 0},
  9439. {0x41, 0x20, 0x20, 0, 0},
  9440. {0x42, 0x20, 0x20, 0, 0},
  9441. {0x43, 0, 0, 0, 0},
  9442. {0x44, 0x77, 0x77, 0, 0},
  9443. {0x45, 0x7, 0x7, 0, 0},
  9444. {0x46, 0x1, 0x1, 0, 0},
  9445. {0x47, 0x4, 0x4, 0, 0},
  9446. {0x48, 0xf, 0xf, 0, 0},
  9447. {0x49, 0x30, 0x30, 0, 0},
  9448. {0x4A, 0x32, 0x32, 0, 0},
  9449. {0x4B, 0xd, 0xd, 0, 0},
  9450. {0x4C, 0xd, 0xd, 0, 0},
  9451. {0x4D, 0x4, 0x4, 0, 0},
  9452. {0x4E, 0x6, 0x6, 0, 0},
  9453. {0x4F, 0x1, 0x1, 0, 0},
  9454. {0x50, 0x1c, 0x1c, 0, 0},
  9455. {0x51, 0x2, 0x2, 0, 0},
  9456. {0x52, 0x2, 0x2, 0, 0},
  9457. {0x53, 0xf7, 0xf7, 1, 1},
  9458. {0x54, 0xb4, 0xb4, 0, 0},
  9459. {0x55, 0xd2, 0xd2, 0, 0},
  9460. {0x56, 0, 0, 0, 0},
  9461. {0x57, 0, 0, 0, 0},
  9462. {0x58, 0x4, 0x4, 0, 0},
  9463. {0x59, 0x96, 0x96, 0, 0},
  9464. {0x5A, 0x3e, 0x3e, 0, 0},
  9465. {0x5B, 0x3e, 0x3e, 0, 0},
  9466. {0x5C, 0x13, 0x13, 0, 0},
  9467. {0x5D, 0x2, 0x2, 0, 0},
  9468. {0x5E, 0, 0, 0, 0},
  9469. {0x5F, 0x7, 0x7, 0, 0},
  9470. {0x60, 0x7, 0x7, 1, 1},
  9471. {0x61, 0x8, 0x8, 0, 0},
  9472. {0x62, 0x3, 0x3, 0, 0},
  9473. {0x63, 0, 0, 0, 0},
  9474. {0x64, 0, 0, 0, 0},
  9475. {0x65, 0, 0, 0, 0},
  9476. {0x66, 0, 0, 0, 0},
  9477. {0x67, 0, 0, 0, 0},
  9478. {0x68, 0x40, 0x40, 0, 0},
  9479. {0x69, 0, 0, 0, 0},
  9480. {0x6A, 0, 0, 0, 0},
  9481. {0x6B, 0, 0, 0, 0},
  9482. {0x6C, 0, 0, 0, 0},
  9483. {0x6D, 0x1, 0x1, 0, 0},
  9484. {0x6E, 0, 0, 0, 0},
  9485. {0x6F, 0, 0, 0, 0},
  9486. {0x70, 0x60, 0x60, 0, 0},
  9487. {0x71, 0x66, 0x66, 0, 0},
  9488. {0x72, 0xc, 0xc, 0, 0},
  9489. {0x73, 0x66, 0x66, 0, 0},
  9490. {0x74, 0x8f, 0x8f, 1, 1},
  9491. {0x75, 0, 0, 0, 0},
  9492. {0x76, 0xcc, 0xcc, 0, 0},
  9493. {0x77, 0x1, 0x1, 0, 0},
  9494. {0x78, 0x66, 0x66, 0, 0},
  9495. {0x79, 0x66, 0x66, 0, 0},
  9496. {0x7A, 0, 0, 0, 0},
  9497. {0x7B, 0, 0, 0, 0},
  9498. {0x7C, 0, 0, 0, 0},
  9499. {0x7D, 0, 0, 0, 0},
  9500. {0x7E, 0, 0, 0, 0},
  9501. {0x7F, 0, 0, 0, 0},
  9502. {0x80, 0, 0, 0, 0},
  9503. {0x81, 0, 0, 0, 0},
  9504. {0x82, 0, 0, 0, 0},
  9505. {0x83, 0, 0, 0, 0},
  9506. {0x84, 0, 0, 0, 0},
  9507. {0x85, 0xff, 0xff, 0, 0},
  9508. {0x86, 0, 0, 0, 0},
  9509. {0x87, 0, 0, 0, 0},
  9510. {0x88, 0, 0, 0, 0},
  9511. {0x89, 0, 0, 0, 0},
  9512. {0x8A, 0, 0, 0, 0},
  9513. {0x8B, 0, 0, 0, 0},
  9514. {0x8C, 0, 0, 0, 0},
  9515. {0x8D, 0, 0, 0, 0},
  9516. {0x8E, 0, 0, 0, 0},
  9517. {0x8F, 0, 0, 0, 0},
  9518. {0x90, 0, 0, 0, 0},
  9519. {0x91, 0, 0, 0, 0},
  9520. {0x92, 0, 0, 0, 0},
  9521. {0x93, 0, 0, 0, 0},
  9522. {0x94, 0, 0, 0, 0},
  9523. {0x95, 0, 0, 0, 0},
  9524. {0x96, 0, 0, 0, 0},
  9525. {0x97, 0, 0, 0, 0},
  9526. {0x98, 0, 0, 0, 0},
  9527. {0x99, 0, 0, 0, 0},
  9528. {0x9A, 0, 0, 0, 0},
  9529. {0x9B, 0, 0, 0, 0},
  9530. {0x9C, 0, 0, 0, 0},
  9531. {0x9D, 0, 0, 0, 0},
  9532. {0x9E, 0, 0, 0, 0},
  9533. {0x9F, 0x6, 0x6, 0, 0},
  9534. {0xA0, 0x66, 0x66, 0, 0},
  9535. {0xA1, 0x66, 0x66, 0, 0},
  9536. {0xA2, 0x66, 0x66, 0, 0},
  9537. {0xA3, 0x66, 0x66, 0, 0},
  9538. {0xA4, 0x66, 0x66, 0, 0},
  9539. {0xA5, 0x66, 0x66, 0, 0},
  9540. {0xA6, 0x66, 0x66, 0, 0},
  9541. {0xA7, 0x66, 0x66, 0, 0},
  9542. {0xA8, 0x66, 0x66, 0, 0},
  9543. {0xA9, 0x66, 0x66, 0, 0},
  9544. {0xAA, 0x66, 0x66, 0, 0},
  9545. {0xAB, 0x66, 0x66, 0, 0},
  9546. {0xAC, 0x66, 0x66, 0, 0},
  9547. {0xAD, 0x66, 0x66, 0, 0},
  9548. {0xAE, 0x66, 0x66, 0, 0},
  9549. {0xAF, 0x66, 0x66, 0, 0},
  9550. {0xB0, 0x66, 0x66, 0, 0},
  9551. {0xB1, 0x66, 0x66, 0, 0},
  9552. {0xB2, 0x66, 0x66, 0, 0},
  9553. {0xB3, 0xa, 0xa, 0, 0},
  9554. {0xB4, 0, 0, 0, 0},
  9555. {0xB5, 0, 0, 0, 0},
  9556. {0xB6, 0, 0, 0, 0},
  9557. {0xFFFF, 0, 0, 0, 0}
  9558. };
  9559. static struct radio_regs regs_TX_2056_rev6[] = {
  9560. {0x02, 0, 0, 0, 0},
  9561. {0x03, 0, 0, 0, 0},
  9562. {0x04, 0, 0, 0, 0},
  9563. {0x05, 0, 0, 0, 0},
  9564. {0x06, 0, 0, 0, 0},
  9565. {0x07, 0, 0, 0, 0},
  9566. {0x08, 0, 0, 0, 0},
  9567. {0x09, 0, 0, 0, 0},
  9568. {0x0A, 0, 0, 0, 0},
  9569. {0x0B, 0, 0, 0, 0},
  9570. {0x0C, 0, 0, 0, 0},
  9571. {0x0D, 0, 0, 0, 0},
  9572. {0x0E, 0, 0, 0, 0},
  9573. {0x0F, 0, 0, 0, 0},
  9574. {0x10, 0, 0, 0, 0},
  9575. {0x11, 0, 0, 0, 0},
  9576. {0x12, 0, 0, 0, 0},
  9577. {0x13, 0, 0, 0, 0},
  9578. {0x14, 0, 0, 0, 0},
  9579. {0x15, 0, 0, 0, 0},
  9580. {0x16, 0, 0, 0, 0},
  9581. {0x17, 0, 0, 0, 0},
  9582. {0x18, 0, 0, 0, 0},
  9583. {0x19, 0, 0, 0, 0},
  9584. {0x1A, 0, 0, 0, 0},
  9585. {0x1B, 0, 0, 0, 0},
  9586. {0x1C, 0, 0, 0, 0},
  9587. {0x1D, 0, 0, 0, 0},
  9588. {0x1E, 0, 0, 0, 0},
  9589. {0x1F, 0, 0, 0, 0},
  9590. {0x20, 0, 0, 0, 0},
  9591. {0x21, 0x88, 0x88, 0, 0},
  9592. {0x22, 0x88, 0x88, 0, 0},
  9593. {0x23, 0x88, 0x88, 0, 0},
  9594. {0x24, 0x88, 0x88, 0, 0},
  9595. {0x25, 0xc, 0xc, 0, 0},
  9596. {0x26, 0, 0, 0, 0},
  9597. {0x27, 0x3, 0x3, 0, 0},
  9598. {0x28, 0, 0, 0, 0},
  9599. {0x29, 0x3, 0x3, 0, 0},
  9600. {0x2A, 0x37, 0x37, 0, 0},
  9601. {0x2B, 0x3, 0x3, 0, 0},
  9602. {0x2C, 0, 0, 0, 0},
  9603. {0x2D, 0, 0, 0, 0},
  9604. {0x2E, 0x1, 0x1, 0, 0},
  9605. {0x2F, 0x1, 0x1, 0, 0},
  9606. {0x30, 0, 0, 0, 0},
  9607. {0x31, 0, 0, 0, 0},
  9608. {0x32, 0, 0, 0, 0},
  9609. {0x33, 0x11, 0x11, 0, 0},
  9610. {0x34, 0xee, 0xee, 1, 1},
  9611. {0x35, 0, 0, 0, 0},
  9612. {0x36, 0, 0, 0, 0},
  9613. {0x37, 0x3, 0x3, 0, 0},
  9614. {0x38, 0x50, 0x50, 1, 1},
  9615. {0x39, 0, 0, 0, 0},
  9616. {0x3A, 0x50, 0x50, 1, 1},
  9617. {0x3B, 0, 0, 0, 0},
  9618. {0x3C, 0x6e, 0x6e, 0, 0},
  9619. {0x3D, 0xf0, 0xf0, 1, 1},
  9620. {0x3E, 0, 0, 0, 0},
  9621. {0x3F, 0, 0, 0, 0},
  9622. {0x40, 0, 0, 0, 0},
  9623. {0x41, 0x3, 0x3, 0, 0},
  9624. {0x42, 0x3, 0x3, 0, 0},
  9625. {0x43, 0, 0, 0, 0},
  9626. {0x44, 0x1e, 0x1e, 0, 0},
  9627. {0x45, 0, 0, 0, 0},
  9628. {0x46, 0x6e, 0x6e, 0, 0},
  9629. {0x47, 0xf0, 0xf0, 1, 1},
  9630. {0x48, 0, 0, 0, 0},
  9631. {0x49, 0x2, 0x2, 0, 0},
  9632. {0x4A, 0xff, 0xff, 1, 1},
  9633. {0x4B, 0xc, 0xc, 0, 0},
  9634. {0x4C, 0, 0, 0, 0},
  9635. {0x4D, 0x38, 0x38, 0, 0},
  9636. {0x4E, 0x70, 0x70, 1, 1},
  9637. {0x4F, 0x2, 0x2, 0, 0},
  9638. {0x50, 0x88, 0x88, 0, 0},
  9639. {0x51, 0xc, 0xc, 0, 0},
  9640. {0x52, 0, 0, 0, 0},
  9641. {0x53, 0x8, 0x8, 0, 0},
  9642. {0x54, 0x70, 0x70, 1, 1},
  9643. {0x55, 0x2, 0x2, 0, 0},
  9644. {0x56, 0xff, 0xff, 1, 1},
  9645. {0x57, 0, 0, 0, 0},
  9646. {0x58, 0x83, 0x83, 0, 0},
  9647. {0x59, 0x77, 0x77, 1, 1},
  9648. {0x5A, 0, 0, 0, 0},
  9649. {0x5B, 0x2, 0x2, 0, 0},
  9650. {0x5C, 0x88, 0x88, 0, 0},
  9651. {0x5D, 0, 0, 0, 0},
  9652. {0x5E, 0x8, 0x8, 0, 0},
  9653. {0x5F, 0x77, 0x77, 1, 1},
  9654. {0x60, 0x1, 0x1, 0, 0},
  9655. {0x61, 0, 0, 0, 0},
  9656. {0x62, 0x7, 0x7, 0, 0},
  9657. {0x63, 0, 0, 0, 0},
  9658. {0x64, 0x7, 0x7, 0, 0},
  9659. {0x65, 0, 0, 0, 0},
  9660. {0x66, 0, 0, 0, 0},
  9661. {0x67, 0, 0, 1, 1},
  9662. {0x68, 0, 0, 0, 0},
  9663. {0x69, 0xa, 0xa, 0, 0},
  9664. {0x6A, 0, 0, 0, 0},
  9665. {0x6B, 0, 0, 0, 0},
  9666. {0x6C, 0, 0, 0, 0},
  9667. {0x6D, 0, 0, 0, 0},
  9668. {0x6E, 0, 0, 0, 0},
  9669. {0x6F, 0, 0, 0, 0},
  9670. {0x70, 0, 0, 0, 0},
  9671. {0x71, 0x2, 0x2, 0, 0},
  9672. {0x72, 0, 0, 0, 0},
  9673. {0x73, 0, 0, 0, 0},
  9674. {0x74, 0xe, 0xe, 0, 0},
  9675. {0x75, 0xe, 0xe, 0, 0},
  9676. {0x76, 0xe, 0xe, 0, 0},
  9677. {0x77, 0x13, 0x13, 0, 0},
  9678. {0x78, 0x13, 0x13, 0, 0},
  9679. {0x79, 0x1b, 0x1b, 0, 0},
  9680. {0x7A, 0x1b, 0x1b, 0, 0},
  9681. {0x7B, 0x55, 0x55, 0, 0},
  9682. {0x7C, 0x5b, 0x5b, 0, 0},
  9683. {0x7D, 0x30, 0x30, 1, 1},
  9684. {0x7E, 0, 0, 0, 0},
  9685. {0x7F, 0, 0, 0, 0},
  9686. {0x80, 0, 0, 0, 0},
  9687. {0x81, 0, 0, 0, 0},
  9688. {0x82, 0, 0, 0, 0},
  9689. {0x83, 0, 0, 0, 0},
  9690. {0x84, 0, 0, 0, 0},
  9691. {0x85, 0, 0, 0, 0},
  9692. {0x86, 0, 0, 0, 0},
  9693. {0x87, 0, 0, 0, 0},
  9694. {0x88, 0, 0, 0, 0},
  9695. {0x89, 0, 0, 0, 0},
  9696. {0x8A, 0, 0, 0, 0},
  9697. {0x8B, 0, 0, 0, 0},
  9698. {0x8C, 0, 0, 0, 0},
  9699. {0x8D, 0, 0, 0, 0},
  9700. {0x8E, 0, 0, 0, 0},
  9701. {0x8F, 0, 0, 0, 0},
  9702. {0x90, 0, 0, 0, 0},
  9703. {0x91, 0, 0, 0, 0},
  9704. {0x92, 0, 0, 0, 0},
  9705. {0x93, 0x70, 0x70, 0, 0},
  9706. {0x94, 0x70, 0x70, 0, 0},
  9707. {0x95, 0x70, 0x70, 0, 0},
  9708. {0x96, 0x70, 0x70, 0, 0},
  9709. {0x97, 0x70, 0x70, 0, 0},
  9710. {0x98, 0x70, 0x70, 0, 0},
  9711. {0x99, 0x70, 0x70, 0, 0},
  9712. {0x9A, 0x70, 0x70, 0, 0},
  9713. {0xFFFF, 0, 0, 0, 0}
  9714. };
  9715. static struct radio_regs regs_RX_2056_rev6[] = {
  9716. {0x02, 0, 0, 0, 0},
  9717. {0x03, 0, 0, 0, 0},
  9718. {0x04, 0, 0, 0, 0},
  9719. {0x05, 0, 0, 0, 0},
  9720. {0x06, 0, 0, 0, 0},
  9721. {0x07, 0, 0, 0, 0},
  9722. {0x08, 0, 0, 0, 0},
  9723. {0x09, 0, 0, 0, 0},
  9724. {0x0A, 0, 0, 0, 0},
  9725. {0x0B, 0, 0, 0, 0},
  9726. {0x0C, 0, 0, 0, 0},
  9727. {0x0D, 0, 0, 0, 0},
  9728. {0x0E, 0, 0, 0, 0},
  9729. {0x0F, 0, 0, 0, 0},
  9730. {0x10, 0, 0, 0, 0},
  9731. {0x11, 0, 0, 0, 0},
  9732. {0x12, 0, 0, 0, 0},
  9733. {0x13, 0, 0, 0, 0},
  9734. {0x14, 0, 0, 0, 0},
  9735. {0x15, 0, 0, 0, 0},
  9736. {0x16, 0, 0, 0, 0},
  9737. {0x17, 0, 0, 0, 0},
  9738. {0x18, 0, 0, 0, 0},
  9739. {0x19, 0, 0, 0, 0},
  9740. {0x1A, 0, 0, 0, 0},
  9741. {0x1B, 0, 0, 0, 0},
  9742. {0x1C, 0, 0, 0, 0},
  9743. {0x1D, 0, 0, 0, 0},
  9744. {0x1E, 0, 0, 0, 0},
  9745. {0x1F, 0, 0, 0, 0},
  9746. {0x20, 0x3, 0x3, 0, 0},
  9747. {0x21, 0, 0, 0, 0},
  9748. {0x22, 0, 0, 0, 0},
  9749. {0x23, 0x90, 0x90, 0, 0},
  9750. {0x24, 0x55, 0x55, 0, 0},
  9751. {0x25, 0x15, 0x15, 0, 0},
  9752. {0x26, 0x5, 0x5, 0, 0},
  9753. {0x27, 0x15, 0x15, 0, 0},
  9754. {0x28, 0x5, 0x5, 0, 0},
  9755. {0x29, 0x20, 0x20, 0, 0},
  9756. {0x2A, 0x11, 0x11, 0, 0},
  9757. {0x2B, 0x90, 0x90, 0, 0},
  9758. {0x2C, 0, 0, 0, 0},
  9759. {0x2D, 0x88, 0x88, 0, 0},
  9760. {0x2E, 0x32, 0x32, 0, 0},
  9761. {0x2F, 0x77, 0x77, 0, 0},
  9762. {0x30, 0x17, 0x17, 1, 1},
  9763. {0x31, 0xff, 0xff, 1, 1},
  9764. {0x32, 0x20, 0x20, 0, 0},
  9765. {0x33, 0, 0, 0, 0},
  9766. {0x34, 0x88, 0x88, 0, 0},
  9767. {0x35, 0x32, 0x32, 0, 0},
  9768. {0x36, 0x77, 0x77, 0, 0},
  9769. {0x37, 0x17, 0x17, 1, 1},
  9770. {0x38, 0xf0, 0xf0, 1, 1},
  9771. {0x39, 0x20, 0x20, 0, 0},
  9772. {0x3A, 0x8, 0x8, 0, 0},
  9773. {0x3B, 0x55, 0x55, 1, 1},
  9774. {0x3C, 0, 0, 0, 0},
  9775. {0x3D, 0x88, 0x88, 1, 1},
  9776. {0x3E, 0, 0, 0, 0},
  9777. {0x3F, 0x44, 0x44, 0, 0},
  9778. {0x40, 0x7, 0x7, 1, 1},
  9779. {0x41, 0x6, 0x6, 0, 0},
  9780. {0x42, 0x4, 0x4, 0, 0},
  9781. {0x43, 0, 0, 0, 0},
  9782. {0x44, 0x8, 0x8, 0, 0},
  9783. {0x45, 0x55, 0x55, 1, 1},
  9784. {0x46, 0, 0, 0, 0},
  9785. {0x47, 0x11, 0x11, 0, 0},
  9786. {0x48, 0, 0, 0, 0},
  9787. {0x49, 0x44, 0x44, 0, 0},
  9788. {0x4A, 0x7, 0x7, 0, 0},
  9789. {0x4B, 0x6, 0x6, 0, 0},
  9790. {0x4C, 0x4, 0x4, 0, 0},
  9791. {0x4D, 0, 0, 0, 0},
  9792. {0x4E, 0, 0, 0, 0},
  9793. {0x4F, 0x26, 0x26, 1, 1},
  9794. {0x50, 0x26, 0x26, 1, 1},
  9795. {0x51, 0xf, 0xf, 1, 1},
  9796. {0x52, 0xf, 0xf, 1, 1},
  9797. {0x53, 0x44, 0x44, 0, 0},
  9798. {0x54, 0, 0, 0, 0},
  9799. {0x55, 0, 0, 0, 0},
  9800. {0x56, 0x8, 0x8, 0, 0},
  9801. {0x57, 0x8, 0x8, 0, 0},
  9802. {0x58, 0x7, 0x7, 0, 0},
  9803. {0x59, 0x22, 0x22, 0, 0},
  9804. {0x5A, 0x22, 0x22, 0, 0},
  9805. {0x5B, 0x2, 0x2, 0, 0},
  9806. {0x5C, 0x4, 0x4, 1, 1},
  9807. {0x5D, 0x7, 0x7, 0, 0},
  9808. {0x5E, 0x55, 0x55, 0, 0},
  9809. {0x5F, 0x23, 0x23, 0, 0},
  9810. {0x60, 0x41, 0x41, 0, 0},
  9811. {0x61, 0x1, 0x1, 0, 0},
  9812. {0x62, 0xa, 0xa, 0, 0},
  9813. {0x63, 0, 0, 0, 0},
  9814. {0x64, 0, 0, 0, 0},
  9815. {0x65, 0, 0, 0, 0},
  9816. {0x66, 0, 0, 0, 0},
  9817. {0x67, 0, 0, 0, 0},
  9818. {0x68, 0, 0, 0, 0},
  9819. {0x69, 0, 0, 0, 0},
  9820. {0x6A, 0, 0, 0, 0},
  9821. {0x6B, 0xc, 0xc, 0, 0},
  9822. {0x6C, 0, 0, 0, 0},
  9823. {0x6D, 0, 0, 0, 0},
  9824. {0x6E, 0, 0, 0, 0},
  9825. {0x6F, 0, 0, 0, 0},
  9826. {0x70, 0, 0, 0, 0},
  9827. {0x71, 0, 0, 0, 0},
  9828. {0x72, 0x22, 0x22, 0, 0},
  9829. {0x73, 0x22, 0x22, 0, 0},
  9830. {0x74, 0, 0, 1, 1},
  9831. {0x75, 0xa, 0xa, 0, 0},
  9832. {0x76, 0x1, 0x1, 0, 0},
  9833. {0x77, 0x22, 0x22, 0, 0},
  9834. {0x78, 0x30, 0x30, 0, 0},
  9835. {0x79, 0, 0, 0, 0},
  9836. {0x7A, 0, 0, 0, 0},
  9837. {0x7B, 0, 0, 0, 0},
  9838. {0x7C, 0, 0, 0, 0},
  9839. {0x7D, 0x5, 0x5, 1, 1},
  9840. {0x7E, 0, 0, 0, 0},
  9841. {0x7F, 0, 0, 0, 0},
  9842. {0x80, 0, 0, 0, 0},
  9843. {0x81, 0, 0, 0, 0},
  9844. {0x82, 0, 0, 0, 0},
  9845. {0x83, 0, 0, 0, 0},
  9846. {0x84, 0, 0, 0, 0},
  9847. {0x85, 0, 0, 0, 0},
  9848. {0x86, 0, 0, 0, 0},
  9849. {0x87, 0, 0, 0, 0},
  9850. {0x88, 0, 0, 0, 0},
  9851. {0x89, 0, 0, 0, 0},
  9852. {0x8A, 0, 0, 0, 0},
  9853. {0x8B, 0, 0, 0, 0},
  9854. {0x8C, 0, 0, 0, 0},
  9855. {0x8D, 0, 0, 0, 0},
  9856. {0x8E, 0, 0, 0, 0},
  9857. {0x8F, 0, 0, 0, 0},
  9858. {0x90, 0, 0, 0, 0},
  9859. {0x91, 0, 0, 0, 0},
  9860. {0x92, 0, 0, 0, 0},
  9861. {0x93, 0, 0, 0, 0},
  9862. {0x94, 0, 0, 0, 0},
  9863. {0xFFFF, 0, 0, 0, 0}
  9864. };
  9865. static struct radio_regs regs_SYN_2056_rev7[] = {
  9866. {0x02, 0, 0, 0, 0},
  9867. {0x03, 0, 0, 0, 0},
  9868. {0x04, 0, 0, 0, 0},
  9869. {0x05, 0, 0, 0, 0},
  9870. {0x06, 0, 0, 0, 0},
  9871. {0x07, 0, 0, 0, 0},
  9872. {0x08, 0, 0, 0, 0},
  9873. {0x09, 0x1, 0x1, 0, 0},
  9874. {0x0A, 0, 0, 0, 0},
  9875. {0x0B, 0, 0, 0, 0},
  9876. {0x0C, 0, 0, 0, 0},
  9877. {0x0D, 0, 0, 0, 0},
  9878. {0x0E, 0, 0, 0, 0},
  9879. {0x0F, 0, 0, 0, 0},
  9880. {0x10, 0, 0, 0, 0},
  9881. {0x11, 0, 0, 0, 0},
  9882. {0x12, 0, 0, 0, 0},
  9883. {0x13, 0, 0, 0, 0},
  9884. {0x14, 0, 0, 0, 0},
  9885. {0x15, 0, 0, 0, 0},
  9886. {0x16, 0, 0, 0, 0},
  9887. {0x17, 0, 0, 0, 0},
  9888. {0x18, 0, 0, 0, 0},
  9889. {0x19, 0, 0, 0, 0},
  9890. {0x1A, 0, 0, 0, 0},
  9891. {0x1B, 0, 0, 0, 0},
  9892. {0x1C, 0, 0, 0, 0},
  9893. {0x1D, 0, 0, 0, 0},
  9894. {0x1E, 0, 0, 0, 0},
  9895. {0x1F, 0, 0, 0, 0},
  9896. {0x20, 0, 0, 0, 0},
  9897. {0x21, 0, 0, 0, 0},
  9898. {0x22, 0x60, 0x60, 0, 0},
  9899. {0x23, 0x6, 0x6, 0, 0},
  9900. {0x24, 0xc, 0xc, 0, 0},
  9901. {0x25, 0, 0, 0, 0},
  9902. {0x26, 0, 0, 0, 0},
  9903. {0x27, 0, 0, 0, 0},
  9904. {0x28, 0x1, 0x1, 0, 0},
  9905. {0x29, 0, 0, 0, 0},
  9906. {0x2A, 0, 0, 0, 0},
  9907. {0x2B, 0, 0, 0, 0},
  9908. {0x2C, 0, 0, 0, 0},
  9909. {0x2D, 0, 0, 0, 0},
  9910. {0x2E, 0, 0, 0, 0},
  9911. {0x2F, 0x1f, 0x1f, 0, 0},
  9912. {0x30, 0x15, 0x15, 0, 0},
  9913. {0x31, 0xf, 0xf, 0, 0},
  9914. {0x32, 0, 0, 0, 0},
  9915. {0x33, 0, 0, 0, 0},
  9916. {0x34, 0, 0, 0, 0},
  9917. {0x35, 0, 0, 0, 0},
  9918. {0x36, 0, 0, 0, 0},
  9919. {0x37, 0, 0, 0, 0},
  9920. {0x38, 0, 0, 0, 0},
  9921. {0x39, 0, 0, 0, 0},
  9922. {0x3A, 0, 0, 0, 0},
  9923. {0x3B, 0, 0, 0, 0},
  9924. {0x3C, 0x13, 0x13, 0, 0},
  9925. {0x3D, 0xf, 0xf, 0, 0},
  9926. {0x3E, 0x18, 0x18, 0, 0},
  9927. {0x3F, 0, 0, 0, 0},
  9928. {0x40, 0, 0, 0, 0},
  9929. {0x41, 0x20, 0x20, 0, 0},
  9930. {0x42, 0x20, 0x20, 0, 0},
  9931. {0x43, 0, 0, 0, 0},
  9932. {0x44, 0x77, 0x77, 0, 0},
  9933. {0x45, 0x7, 0x7, 0, 0},
  9934. {0x46, 0x1, 0x1, 0, 0},
  9935. {0x47, 0x4, 0x4, 0, 0},
  9936. {0x48, 0xf, 0xf, 0, 0},
  9937. {0x49, 0x30, 0x30, 0, 0},
  9938. {0x4A, 0x32, 0x32, 0, 0},
  9939. {0x4B, 0xd, 0xd, 0, 0},
  9940. {0x4C, 0xd, 0xd, 0, 0},
  9941. {0x4D, 0x4, 0x4, 0, 0},
  9942. {0x4E, 0x6, 0x6, 0, 0},
  9943. {0x4F, 0x1, 0x1, 0, 0},
  9944. {0x50, 0x1c, 0x1c, 0, 0},
  9945. {0x51, 0x2, 0x2, 0, 0},
  9946. {0x52, 0x2, 0x2, 0, 0},
  9947. {0x53, 0xf7, 0xf7, 1, 1},
  9948. {0x54, 0xb4, 0xb4, 0, 0},
  9949. {0x55, 0xd2, 0xd2, 0, 0},
  9950. {0x56, 0, 0, 0, 0},
  9951. {0x57, 0, 0, 0, 0},
  9952. {0x58, 0x4, 0x4, 0, 0},
  9953. {0x59, 0x96, 0x96, 0, 0},
  9954. {0x5A, 0x3e, 0x3e, 0, 0},
  9955. {0x5B, 0x3e, 0x3e, 0, 0},
  9956. {0x5C, 0x13, 0x13, 0, 0},
  9957. {0x5D, 0x2, 0x2, 0, 0},
  9958. {0x5E, 0, 0, 0, 0},
  9959. {0x5F, 0x7, 0x7, 0, 0},
  9960. {0x60, 0x7, 0x7, 1, 1},
  9961. {0x61, 0x8, 0x8, 0, 0},
  9962. {0x62, 0x3, 0x3, 0, 0},
  9963. {0x63, 0, 0, 0, 0},
  9964. {0x64, 0, 0, 0, 0},
  9965. {0x65, 0, 0, 0, 0},
  9966. {0x66, 0, 0, 0, 0},
  9967. {0x67, 0, 0, 0, 0},
  9968. {0x68, 0x40, 0x40, 0, 0},
  9969. {0x69, 0, 0, 0, 0},
  9970. {0x6A, 0, 0, 0, 0},
  9971. {0x6B, 0, 0, 0, 0},
  9972. {0x6C, 0, 0, 0, 0},
  9973. {0x6D, 0x1, 0x1, 0, 0},
  9974. {0x6E, 0, 0, 0, 0},
  9975. {0x6F, 0, 0, 0, 0},
  9976. {0x70, 0x60, 0x60, 0, 0},
  9977. {0x71, 0x66, 0x66, 0, 0},
  9978. {0x72, 0xc, 0xc, 0, 0},
  9979. {0x73, 0x66, 0x66, 0, 0},
  9980. {0x74, 0x8f, 0x8f, 1, 1},
  9981. {0x75, 0, 0, 0, 0},
  9982. {0x76, 0xcc, 0xcc, 0, 0},
  9983. {0x77, 0x1, 0x1, 0, 0},
  9984. {0x78, 0x66, 0x66, 0, 0},
  9985. {0x79, 0x66, 0x66, 0, 0},
  9986. {0x7A, 0, 0, 0, 0},
  9987. {0x7B, 0, 0, 0, 0},
  9988. {0x7C, 0, 0, 0, 0},
  9989. {0x7D, 0, 0, 0, 0},
  9990. {0x7E, 0, 0, 0, 0},
  9991. {0x7F, 0, 0, 0, 0},
  9992. {0x80, 0, 0, 0, 0},
  9993. {0x81, 0, 0, 0, 0},
  9994. {0x82, 0, 0, 0, 0},
  9995. {0x83, 0, 0, 0, 0},
  9996. {0x84, 0, 0, 0, 0},
  9997. {0x85, 0xff, 0xff, 0, 0},
  9998. {0x86, 0, 0, 0, 0},
  9999. {0x87, 0, 0, 0, 0},
  10000. {0x88, 0, 0, 0, 0},
  10001. {0x89, 0, 0, 0, 0},
  10002. {0x8A, 0, 0, 0, 0},
  10003. {0x8B, 0, 0, 0, 0},
  10004. {0x8C, 0, 0, 0, 0},
  10005. {0x8D, 0, 0, 0, 0},
  10006. {0x8E, 0, 0, 0, 0},
  10007. {0x8F, 0, 0, 0, 0},
  10008. {0x90, 0, 0, 0, 0},
  10009. {0x91, 0, 0, 0, 0},
  10010. {0x92, 0, 0, 0, 0},
  10011. {0x93, 0, 0, 0, 0},
  10012. {0x94, 0, 0, 0, 0},
  10013. {0x95, 0, 0, 0, 0},
  10014. {0x96, 0, 0, 0, 0},
  10015. {0x97, 0, 0, 0, 0},
  10016. {0x98, 0, 0, 0, 0},
  10017. {0x99, 0, 0, 0, 0},
  10018. {0x9A, 0, 0, 0, 0},
  10019. {0x9B, 0, 0, 0, 0},
  10020. {0x9C, 0, 0, 0, 0},
  10021. {0x9D, 0, 0, 0, 0},
  10022. {0x9E, 0, 0, 0, 0},
  10023. {0x9F, 0x6, 0x6, 0, 0},
  10024. {0xA0, 0x66, 0x66, 0, 0},
  10025. {0xA1, 0x66, 0x66, 0, 0},
  10026. {0xA2, 0x66, 0x66, 0, 0},
  10027. {0xA3, 0x66, 0x66, 0, 0},
  10028. {0xA4, 0x66, 0x66, 0, 0},
  10029. {0xA5, 0x66, 0x66, 0, 0},
  10030. {0xA6, 0x66, 0x66, 0, 0},
  10031. {0xA7, 0x66, 0x66, 0, 0},
  10032. {0xA8, 0x66, 0x66, 0, 0},
  10033. {0xA9, 0x66, 0x66, 0, 0},
  10034. {0xAA, 0x66, 0x66, 0, 0},
  10035. {0xAB, 0x66, 0x66, 0, 0},
  10036. {0xAC, 0x66, 0x66, 0, 0},
  10037. {0xAD, 0x66, 0x66, 0, 0},
  10038. {0xAE, 0x66, 0x66, 0, 0},
  10039. {0xAF, 0x66, 0x66, 0, 0},
  10040. {0xB0, 0x66, 0x66, 0, 0},
  10041. {0xB1, 0x66, 0x66, 0, 0},
  10042. {0xB2, 0x66, 0x66, 0, 0},
  10043. {0xB3, 0xa, 0xa, 0, 0},
  10044. {0xB4, 0, 0, 0, 0},
  10045. {0xB5, 0, 0, 0, 0},
  10046. {0xB6, 0, 0, 0, 0},
  10047. {0xFFFF, 0, 0, 0, 0},
  10048. };
  10049. static struct radio_regs regs_TX_2056_rev7[] = {
  10050. {0x02, 0, 0, 0, 0},
  10051. {0x03, 0, 0, 0, 0},
  10052. {0x04, 0, 0, 0, 0},
  10053. {0x05, 0, 0, 0, 0},
  10054. {0x06, 0, 0, 0, 0},
  10055. {0x07, 0, 0, 0, 0},
  10056. {0x08, 0, 0, 0, 0},
  10057. {0x09, 0, 0, 0, 0},
  10058. {0x0A, 0, 0, 0, 0},
  10059. {0x0B, 0, 0, 0, 0},
  10060. {0x0C, 0, 0, 0, 0},
  10061. {0x0D, 0, 0, 0, 0},
  10062. {0x0E, 0, 0, 0, 0},
  10063. {0x0F, 0, 0, 0, 0},
  10064. {0x10, 0, 0, 0, 0},
  10065. {0x11, 0, 0, 0, 0},
  10066. {0x12, 0, 0, 0, 0},
  10067. {0x13, 0, 0, 0, 0},
  10068. {0x14, 0, 0, 0, 0},
  10069. {0x15, 0, 0, 0, 0},
  10070. {0x16, 0, 0, 0, 0},
  10071. {0x17, 0, 0, 0, 0},
  10072. {0x18, 0, 0, 0, 0},
  10073. {0x19, 0, 0, 0, 0},
  10074. {0x1A, 0, 0, 0, 0},
  10075. {0x1B, 0, 0, 0, 0},
  10076. {0x1C, 0, 0, 0, 0},
  10077. {0x1D, 0, 0, 0, 0},
  10078. {0x1E, 0, 0, 0, 0},
  10079. {0x1F, 0, 0, 0, 0},
  10080. {0x20, 0, 0, 0, 0},
  10081. {0x21, 0x88, 0x88, 0, 0},
  10082. {0x22, 0x88, 0x88, 0, 0},
  10083. {0x23, 0x88, 0x88, 0, 0},
  10084. {0x24, 0x88, 0x88, 0, 0},
  10085. {0x25, 0xc, 0xc, 0, 0},
  10086. {0x26, 0, 0, 0, 0},
  10087. {0x27, 0x3, 0x3, 0, 0},
  10088. {0x28, 0, 0, 0, 0},
  10089. {0x29, 0x3, 0x3, 0, 0},
  10090. {0x2A, 0x37, 0x37, 0, 0},
  10091. {0x2B, 0x3, 0x3, 0, 0},
  10092. {0x2C, 0, 0, 0, 0},
  10093. {0x2D, 0, 0, 0, 0},
  10094. {0x2E, 0x1, 0x1, 0, 0},
  10095. {0x2F, 0x1, 0x1, 0, 0},
  10096. {0x30, 0, 0, 0, 0},
  10097. {0x31, 0, 0, 0, 0},
  10098. {0x32, 0, 0, 0, 0},
  10099. {0x33, 0x11, 0x11, 0, 0},
  10100. {0x34, 0xee, 0xee, 1, 1},
  10101. {0x35, 0, 0, 0, 0},
  10102. {0x36, 0, 0, 0, 0},
  10103. {0x37, 0x3, 0x3, 0, 0},
  10104. {0x38, 0x50, 0x50, 1, 1},
  10105. {0x39, 0, 0, 0, 0},
  10106. {0x3A, 0x50, 0x50, 1, 1},
  10107. {0x3B, 0, 0, 0, 0},
  10108. {0x3C, 0x6e, 0x6e, 0, 0},
  10109. {0x3D, 0xf0, 0xf0, 1, 1},
  10110. {0x3E, 0, 0, 0, 0},
  10111. {0x3F, 0, 0, 0, 0},
  10112. {0x40, 0, 0, 0, 0},
  10113. {0x41, 0x3, 0x3, 0, 0},
  10114. {0x42, 0x3, 0x3, 0, 0},
  10115. {0x43, 0, 0, 0, 0},
  10116. {0x44, 0x1e, 0x1e, 0, 0},
  10117. {0x45, 0, 0, 0, 0},
  10118. {0x46, 0x6e, 0x6e, 0, 0},
  10119. {0x47, 0xf0, 0xf0, 1, 1},
  10120. {0x48, 0, 0, 0, 0},
  10121. {0x49, 0x2, 0x2, 0, 0},
  10122. {0x4A, 0xff, 0xff, 1, 1},
  10123. {0x4B, 0xc, 0xc, 0, 0},
  10124. {0x4C, 0, 0, 0, 0},
  10125. {0x4D, 0x38, 0x38, 0, 0},
  10126. {0x4E, 0x70, 0x70, 1, 1},
  10127. {0x4F, 0x2, 0x2, 0, 0},
  10128. {0x50, 0x88, 0x88, 0, 0},
  10129. {0x51, 0xc, 0xc, 0, 0},
  10130. {0x52, 0, 0, 0, 0},
  10131. {0x53, 0x8, 0x8, 0, 0},
  10132. {0x54, 0x70, 0x70, 1, 1},
  10133. {0x55, 0x2, 0x2, 0, 0},
  10134. {0x56, 0xff, 0xff, 1, 1},
  10135. {0x57, 0, 0, 0, 0},
  10136. {0x58, 0x83, 0x83, 0, 0},
  10137. {0x59, 0x77, 0x77, 1, 1},
  10138. {0x5A, 0, 0, 0, 0},
  10139. {0x5B, 0x2, 0x2, 0, 0},
  10140. {0x5C, 0x88, 0x88, 0, 0},
  10141. {0x5D, 0, 0, 0, 0},
  10142. {0x5E, 0x8, 0x8, 0, 0},
  10143. {0x5F, 0x77, 0x77, 1, 1},
  10144. {0x60, 0x1, 0x1, 0, 0},
  10145. {0x61, 0, 0, 0, 0},
  10146. {0x62, 0x7, 0x7, 0, 0},
  10147. {0x63, 0, 0, 0, 0},
  10148. {0x64, 0x7, 0x7, 0, 0},
  10149. {0x65, 0, 0, 0, 0},
  10150. {0x66, 0, 0, 0, 0},
  10151. {0x67, 0, 0, 1, 1},
  10152. {0x68, 0, 0, 0, 0},
  10153. {0x69, 0xa, 0xa, 0, 0},
  10154. {0x6A, 0, 0, 0, 0},
  10155. {0x6B, 0, 0, 0, 0},
  10156. {0x6C, 0, 0, 0, 0},
  10157. {0x6D, 0, 0, 0, 0},
  10158. {0x6E, 0, 0, 0, 0},
  10159. {0x6F, 0, 0, 0, 0},
  10160. {0x70, 0, 0, 0, 0},
  10161. {0x71, 0x2, 0x2, 0, 0},
  10162. {0x72, 0, 0, 0, 0},
  10163. {0x73, 0, 0, 0, 0},
  10164. {0x74, 0xe, 0xe, 0, 0},
  10165. {0x75, 0xe, 0xe, 0, 0},
  10166. {0x76, 0xe, 0xe, 0, 0},
  10167. {0x77, 0x13, 0x13, 0, 0},
  10168. {0x78, 0x13, 0x13, 0, 0},
  10169. {0x79, 0x1b, 0x1b, 0, 0},
  10170. {0x7A, 0x1b, 0x1b, 0, 0},
  10171. {0x7B, 0x55, 0x55, 0, 0},
  10172. {0x7C, 0x5b, 0x5b, 0, 0},
  10173. {0x7D, 0x30, 0x30, 1, 1},
  10174. {0x7E, 0, 0, 0, 0},
  10175. {0x7F, 0, 0, 0, 0},
  10176. {0x80, 0, 0, 0, 0},
  10177. {0x81, 0, 0, 0, 0},
  10178. {0x82, 0, 0, 0, 0},
  10179. {0x83, 0, 0, 0, 0},
  10180. {0x84, 0, 0, 0, 0},
  10181. {0x85, 0, 0, 0, 0},
  10182. {0x86, 0, 0, 0, 0},
  10183. {0x87, 0, 0, 0, 0},
  10184. {0x88, 0, 0, 0, 0},
  10185. {0x89, 0, 0, 0, 0},
  10186. {0x8A, 0, 0, 0, 0},
  10187. {0x8B, 0, 0, 0, 0},
  10188. {0x8C, 0, 0, 0, 0},
  10189. {0x8D, 0, 0, 0, 0},
  10190. {0x8E, 0, 0, 0, 0},
  10191. {0x8F, 0, 0, 0, 0},
  10192. {0x90, 0, 0, 0, 0},
  10193. {0x91, 0, 0, 0, 0},
  10194. {0x92, 0, 0, 0, 0},
  10195. {0x93, 0x70, 0x70, 0, 0},
  10196. {0x94, 0x70, 0x70, 0, 0},
  10197. {0x95, 0x71, 0x71, 1, 1},
  10198. {0x96, 0x71, 0x71, 1, 1},
  10199. {0x97, 0x72, 0x72, 1, 1},
  10200. {0x98, 0x73, 0x73, 1, 1},
  10201. {0x99, 0x74, 0x74, 1, 1},
  10202. {0x9A, 0x75, 0x75, 1, 1},
  10203. {0xFFFF, 0, 0, 0, 0},
  10204. };
  10205. static struct radio_regs regs_RX_2056_rev7[] = {
  10206. {0x02, 0, 0, 0, 0},
  10207. {0x03, 0, 0, 0, 0},
  10208. {0x04, 0, 0, 0, 0},
  10209. {0x05, 0, 0, 0, 0},
  10210. {0x06, 0, 0, 0, 0},
  10211. {0x07, 0, 0, 0, 0},
  10212. {0x08, 0, 0, 0, 0},
  10213. {0x09, 0, 0, 0, 0},
  10214. {0x0A, 0, 0, 0, 0},
  10215. {0x0B, 0, 0, 0, 0},
  10216. {0x0C, 0, 0, 0, 0},
  10217. {0x0D, 0, 0, 0, 0},
  10218. {0x0E, 0, 0, 0, 0},
  10219. {0x0F, 0, 0, 0, 0},
  10220. {0x10, 0, 0, 0, 0},
  10221. {0x11, 0, 0, 0, 0},
  10222. {0x12, 0, 0, 0, 0},
  10223. {0x13, 0, 0, 0, 0},
  10224. {0x14, 0, 0, 0, 0},
  10225. {0x15, 0, 0, 0, 0},
  10226. {0x16, 0, 0, 0, 0},
  10227. {0x17, 0, 0, 0, 0},
  10228. {0x18, 0, 0, 0, 0},
  10229. {0x19, 0, 0, 0, 0},
  10230. {0x1A, 0, 0, 0, 0},
  10231. {0x1B, 0, 0, 0, 0},
  10232. {0x1C, 0, 0, 0, 0},
  10233. {0x1D, 0, 0, 0, 0},
  10234. {0x1E, 0, 0, 0, 0},
  10235. {0x1F, 0, 0, 0, 0},
  10236. {0x20, 0x3, 0x3, 0, 0},
  10237. {0x21, 0, 0, 0, 0},
  10238. {0x22, 0, 0, 0, 0},
  10239. {0x23, 0x90, 0x90, 0, 0},
  10240. {0x24, 0x55, 0x55, 0, 0},
  10241. {0x25, 0x15, 0x15, 0, 0},
  10242. {0x26, 0x5, 0x5, 0, 0},
  10243. {0x27, 0x15, 0x15, 0, 0},
  10244. {0x28, 0x5, 0x5, 0, 0},
  10245. {0x29, 0x20, 0x20, 0, 0},
  10246. {0x2A, 0x11, 0x11, 0, 0},
  10247. {0x2B, 0x90, 0x90, 0, 0},
  10248. {0x2C, 0, 0, 0, 0},
  10249. {0x2D, 0x88, 0x88, 0, 0},
  10250. {0x2E, 0x32, 0x32, 0, 0},
  10251. {0x2F, 0x77, 0x77, 0, 0},
  10252. {0x30, 0x17, 0x17, 1, 1},
  10253. {0x31, 0xff, 0xff, 1, 1},
  10254. {0x32, 0x20, 0x20, 0, 0},
  10255. {0x33, 0, 0, 0, 0},
  10256. {0x34, 0x88, 0x88, 0, 0},
  10257. {0x35, 0x32, 0x32, 0, 0},
  10258. {0x36, 0x77, 0x77, 0, 0},
  10259. {0x37, 0x17, 0x17, 1, 1},
  10260. {0x38, 0xf0, 0xf0, 1, 1},
  10261. {0x39, 0x20, 0x20, 0, 0},
  10262. {0x3A, 0x8, 0x8, 0, 0},
  10263. {0x3B, 0x55, 0x55, 1, 1},
  10264. {0x3C, 0, 0, 0, 0},
  10265. {0x3D, 0x88, 0x88, 1, 1},
  10266. {0x3E, 0, 0, 0, 0},
  10267. {0x3F, 0, 0, 1, 1},
  10268. {0x40, 0x7, 0x7, 1, 1},
  10269. {0x41, 0x6, 0x6, 0, 0},
  10270. {0x42, 0x4, 0x4, 0, 0},
  10271. {0x43, 0, 0, 0, 0},
  10272. {0x44, 0x8, 0x8, 0, 0},
  10273. {0x45, 0x55, 0x55, 1, 1},
  10274. {0x46, 0, 0, 0, 0},
  10275. {0x47, 0x11, 0x11, 0, 0},
  10276. {0x48, 0, 0, 0, 0},
  10277. {0x49, 0, 0, 1, 1},
  10278. {0x4A, 0x7, 0x7, 0, 0},
  10279. {0x4B, 0x6, 0x6, 0, 0},
  10280. {0x4C, 0x4, 0x4, 0, 0},
  10281. {0x4D, 0, 0, 0, 0},
  10282. {0x4E, 0, 0, 0, 0},
  10283. {0x4F, 0x26, 0x26, 1, 1},
  10284. {0x50, 0x26, 0x26, 1, 1},
  10285. {0x51, 0xf, 0xf, 1, 1},
  10286. {0x52, 0xf, 0xf, 1, 1},
  10287. {0x53, 0x44, 0x44, 0, 0},
  10288. {0x54, 0, 0, 0, 0},
  10289. {0x55, 0, 0, 0, 0},
  10290. {0x56, 0x8, 0x8, 0, 0},
  10291. {0x57, 0x8, 0x8, 0, 0},
  10292. {0x58, 0x7, 0x7, 0, 0},
  10293. {0x59, 0x22, 0x22, 0, 0},
  10294. {0x5A, 0x22, 0x22, 0, 0},
  10295. {0x5B, 0x2, 0x2, 0, 0},
  10296. {0x5C, 0x4, 0x4, 1, 1},
  10297. {0x5D, 0x7, 0x7, 0, 0},
  10298. {0x5E, 0x55, 0x55, 0, 0},
  10299. {0x5F, 0x23, 0x23, 0, 0},
  10300. {0x60, 0x41, 0x41, 0, 0},
  10301. {0x61, 0x1, 0x1, 0, 0},
  10302. {0x62, 0xa, 0xa, 0, 0},
  10303. {0x63, 0, 0, 0, 0},
  10304. {0x64, 0, 0, 0, 0},
  10305. {0x65, 0, 0, 0, 0},
  10306. {0x66, 0, 0, 0, 0},
  10307. {0x67, 0, 0, 0, 0},
  10308. {0x68, 0, 0, 0, 0},
  10309. {0x69, 0, 0, 0, 0},
  10310. {0x6A, 0, 0, 0, 0},
  10311. {0x6B, 0xc, 0xc, 0, 0},
  10312. {0x6C, 0, 0, 0, 0},
  10313. {0x6D, 0, 0, 0, 0},
  10314. {0x6E, 0, 0, 0, 0},
  10315. {0x6F, 0, 0, 0, 0},
  10316. {0x70, 0, 0, 0, 0},
  10317. {0x71, 0, 0, 0, 0},
  10318. {0x72, 0x22, 0x22, 0, 0},
  10319. {0x73, 0x22, 0x22, 0, 0},
  10320. {0x74, 0, 0, 1, 1},
  10321. {0x75, 0xa, 0xa, 0, 0},
  10322. {0x76, 0x1, 0x1, 0, 0},
  10323. {0x77, 0x22, 0x22, 0, 0},
  10324. {0x78, 0x30, 0x30, 0, 0},
  10325. {0x79, 0, 0, 0, 0},
  10326. {0x7A, 0, 0, 0, 0},
  10327. {0x7B, 0, 0, 0, 0},
  10328. {0x7C, 0, 0, 0, 0},
  10329. {0x7D, 0, 0, 0, 0},
  10330. {0x7E, 0, 0, 0, 0},
  10331. {0x7F, 0, 0, 0, 0},
  10332. {0x80, 0, 0, 0, 0},
  10333. {0x81, 0, 0, 0, 0},
  10334. {0x82, 0, 0, 0, 0},
  10335. {0x83, 0, 0, 0, 0},
  10336. {0x84, 0, 0, 0, 0},
  10337. {0x85, 0, 0, 0, 0},
  10338. {0x86, 0, 0, 0, 0},
  10339. {0x87, 0, 0, 0, 0},
  10340. {0x88, 0, 0, 0, 0},
  10341. {0x89, 0, 0, 0, 0},
  10342. {0x8A, 0, 0, 0, 0},
  10343. {0x8B, 0, 0, 0, 0},
  10344. {0x8C, 0, 0, 0, 0},
  10345. {0x8D, 0, 0, 0, 0},
  10346. {0x8E, 0, 0, 0, 0},
  10347. {0x8F, 0, 0, 0, 0},
  10348. {0x90, 0, 0, 0, 0},
  10349. {0x91, 0, 0, 0, 0},
  10350. {0x92, 0, 0, 0, 0},
  10351. {0x93, 0, 0, 0, 0},
  10352. {0x94, 0, 0, 0, 0},
  10353. {0xFFFF, 0, 0, 0, 0},
  10354. };
  10355. static struct radio_regs regs_SYN_2056_rev8[] = {
  10356. {0x02, 0, 0, 0, 0},
  10357. {0x03, 0, 0, 0, 0},
  10358. {0x04, 0, 0, 0, 0},
  10359. {0x05, 0, 0, 0, 0},
  10360. {0x06, 0, 0, 0, 0},
  10361. {0x07, 0, 0, 0, 0},
  10362. {0x08, 0, 0, 0, 0},
  10363. {0x09, 0x1, 0x1, 0, 0},
  10364. {0x0A, 0, 0, 0, 0},
  10365. {0x0B, 0, 0, 0, 0},
  10366. {0x0C, 0, 0, 0, 0},
  10367. {0x0D, 0, 0, 0, 0},
  10368. {0x0E, 0, 0, 0, 0},
  10369. {0x0F, 0, 0, 0, 0},
  10370. {0x10, 0, 0, 0, 0},
  10371. {0x11, 0, 0, 0, 0},
  10372. {0x12, 0, 0, 0, 0},
  10373. {0x13, 0, 0, 0, 0},
  10374. {0x14, 0, 0, 0, 0},
  10375. {0x15, 0, 0, 0, 0},
  10376. {0x16, 0, 0, 0, 0},
  10377. {0x17, 0, 0, 0, 0},
  10378. {0x18, 0, 0, 0, 0},
  10379. {0x19, 0, 0, 0, 0},
  10380. {0x1A, 0, 0, 0, 0},
  10381. {0x1B, 0, 0, 0, 0},
  10382. {0x1C, 0, 0, 0, 0},
  10383. {0x1D, 0, 0, 0, 0},
  10384. {0x1E, 0, 0, 0, 0},
  10385. {0x1F, 0, 0, 0, 0},
  10386. {0x20, 0, 0, 0, 0},
  10387. {0x21, 0, 0, 0, 0},
  10388. {0x22, 0x60, 0x60, 0, 0},
  10389. {0x23, 0x6, 0x6, 0, 0},
  10390. {0x24, 0xc, 0xc, 0, 0},
  10391. {0x25, 0, 0, 0, 0},
  10392. {0x26, 0, 0, 0, 0},
  10393. {0x27, 0, 0, 0, 0},
  10394. {0x28, 0x1, 0x1, 0, 0},
  10395. {0x29, 0, 0, 0, 0},
  10396. {0x2A, 0, 0, 0, 0},
  10397. {0x2B, 0, 0, 0, 0},
  10398. {0x2C, 0, 0, 0, 0},
  10399. {0x2D, 0, 0, 0, 0},
  10400. {0x2E, 0, 0, 0, 0},
  10401. {0x2F, 0x1f, 0x1f, 0, 0},
  10402. {0x30, 0x15, 0x15, 0, 0},
  10403. {0x31, 0xf, 0xf, 0, 0},
  10404. {0x32, 0, 0, 0, 0},
  10405. {0x33, 0, 0, 0, 0},
  10406. {0x34, 0, 0, 0, 0},
  10407. {0x35, 0, 0, 0, 0},
  10408. {0x36, 0, 0, 0, 0},
  10409. {0x37, 0, 0, 0, 0},
  10410. {0x38, 0, 0, 0, 0},
  10411. {0x39, 0, 0, 0, 0},
  10412. {0x3A, 0, 0, 0, 0},
  10413. {0x3B, 0, 0, 0, 0},
  10414. {0x3C, 0x13, 0x13, 0, 0},
  10415. {0x3D, 0xf, 0xf, 0, 0},
  10416. {0x3E, 0x18, 0x18, 0, 0},
  10417. {0x3F, 0, 0, 0, 0},
  10418. {0x40, 0, 0, 0, 0},
  10419. {0x41, 0x20, 0x20, 0, 0},
  10420. {0x42, 0x20, 0x20, 0, 0},
  10421. {0x43, 0, 0, 0, 0},
  10422. {0x44, 0x77, 0x77, 0, 0},
  10423. {0x45, 0x7, 0x7, 0, 0},
  10424. {0x46, 0x1, 0x1, 0, 0},
  10425. {0x47, 0x4, 0x4, 0, 0},
  10426. {0x48, 0xf, 0xf, 0, 0},
  10427. {0x49, 0x30, 0x30, 0, 0},
  10428. {0x4A, 0x32, 0x32, 0, 0},
  10429. {0x4B, 0xd, 0xd, 0, 0},
  10430. {0x4C, 0xd, 0xd, 0, 0},
  10431. {0x4D, 0x4, 0x4, 0, 0},
  10432. {0x4E, 0x6, 0x6, 0, 0},
  10433. {0x4F, 0x1, 0x1, 0, 0},
  10434. {0x50, 0x1c, 0x1c, 0, 0},
  10435. {0x51, 0x2, 0x2, 0, 0},
  10436. {0x52, 0x2, 0x2, 0, 0},
  10437. {0x53, 0xf7, 0xf7, 1, 1},
  10438. {0x54, 0xb4, 0xb4, 0, 0},
  10439. {0x55, 0xd2, 0xd2, 0, 0},
  10440. {0x56, 0, 0, 0, 0},
  10441. {0x57, 0, 0, 0, 0},
  10442. {0x58, 0x4, 0x4, 0, 0},
  10443. {0x59, 0x96, 0x96, 0, 0},
  10444. {0x5A, 0x3e, 0x3e, 0, 0},
  10445. {0x5B, 0x3e, 0x3e, 0, 0},
  10446. {0x5C, 0x13, 0x13, 0, 0},
  10447. {0x5D, 0x2, 0x2, 0, 0},
  10448. {0x5E, 0, 0, 0, 0},
  10449. {0x5F, 0x7, 0x7, 0, 0},
  10450. {0x60, 0x7, 0x7, 1, 1},
  10451. {0x61, 0x8, 0x8, 0, 0},
  10452. {0x62, 0x3, 0x3, 0, 0},
  10453. {0x63, 0, 0, 0, 0},
  10454. {0x64, 0, 0, 0, 0},
  10455. {0x65, 0, 0, 0, 0},
  10456. {0x66, 0, 0, 0, 0},
  10457. {0x67, 0, 0, 0, 0},
  10458. {0x68, 0x40, 0x40, 0, 0},
  10459. {0x69, 0, 0, 0, 0},
  10460. {0x6A, 0, 0, 0, 0},
  10461. {0x6B, 0, 0, 0, 0},
  10462. {0x6C, 0, 0, 0, 0},
  10463. {0x6D, 0x1, 0x1, 0, 0},
  10464. {0x6E, 0, 0, 0, 0},
  10465. {0x6F, 0, 0, 0, 0},
  10466. {0x70, 0x60, 0x60, 0, 0},
  10467. {0x71, 0x66, 0x66, 0, 0},
  10468. {0x72, 0xc, 0xc, 0, 0},
  10469. {0x73, 0x66, 0x66, 0, 0},
  10470. {0x74, 0x8f, 0x8f, 1, 1},
  10471. {0x75, 0, 0, 0, 0},
  10472. {0x76, 0xcc, 0xcc, 0, 0},
  10473. {0x77, 0x1, 0x1, 0, 0},
  10474. {0x78, 0x66, 0x66, 0, 0},
  10475. {0x79, 0x66, 0x66, 0, 0},
  10476. {0x7A, 0, 0, 0, 0},
  10477. {0x7B, 0, 0, 0, 0},
  10478. {0x7C, 0, 0, 0, 0},
  10479. {0x7D, 0, 0, 0, 0},
  10480. {0x7E, 0, 0, 0, 0},
  10481. {0x7F, 0, 0, 0, 0},
  10482. {0x80, 0, 0, 0, 0},
  10483. {0x81, 0, 0, 0, 0},
  10484. {0x82, 0, 0, 0, 0},
  10485. {0x83, 0, 0, 0, 0},
  10486. {0x84, 0, 0, 0, 0},
  10487. {0x85, 0xff, 0xff, 0, 0},
  10488. {0x86, 0, 0, 0, 0},
  10489. {0x87, 0, 0, 0, 0},
  10490. {0x88, 0, 0, 0, 0},
  10491. {0x89, 0, 0, 0, 0},
  10492. {0x8A, 0, 0, 0, 0},
  10493. {0x8B, 0, 0, 0, 0},
  10494. {0x8C, 0, 0, 0, 0},
  10495. {0x8D, 0, 0, 0, 0},
  10496. {0x8E, 0, 0, 0, 0},
  10497. {0x8F, 0, 0, 0, 0},
  10498. {0x90, 0, 0, 0, 0},
  10499. {0x91, 0, 0, 0, 0},
  10500. {0x92, 0, 0, 0, 0},
  10501. {0x93, 0, 0, 0, 0},
  10502. {0x94, 0, 0, 0, 0},
  10503. {0x95, 0, 0, 0, 0},
  10504. {0x96, 0, 0, 0, 0},
  10505. {0x97, 0, 0, 0, 0},
  10506. {0x98, 0, 0, 0, 0},
  10507. {0x99, 0, 0, 0, 0},
  10508. {0x9A, 0, 0, 0, 0},
  10509. {0x9B, 0, 0, 0, 0},
  10510. {0x9C, 0, 0, 0, 0},
  10511. {0x9D, 0, 0, 0, 0},
  10512. {0x9E, 0, 0, 0, 0},
  10513. {0x9F, 0x6, 0x6, 0, 0},
  10514. {0xA0, 0x66, 0x66, 0, 0},
  10515. {0xA1, 0x66, 0x66, 0, 0},
  10516. {0xA2, 0x66, 0x66, 0, 0},
  10517. {0xA3, 0x66, 0x66, 0, 0},
  10518. {0xA4, 0x66, 0x66, 0, 0},
  10519. {0xA5, 0x66, 0x66, 0, 0},
  10520. {0xA6, 0x66, 0x66, 0, 0},
  10521. {0xA7, 0x66, 0x66, 0, 0},
  10522. {0xA8, 0x66, 0x66, 0, 0},
  10523. {0xA9, 0x66, 0x66, 0, 0},
  10524. {0xAA, 0x66, 0x66, 0, 0},
  10525. {0xAB, 0x66, 0x66, 0, 0},
  10526. {0xAC, 0x66, 0x66, 0, 0},
  10527. {0xAD, 0x66, 0x66, 0, 0},
  10528. {0xAE, 0x66, 0x66, 0, 0},
  10529. {0xAF, 0x66, 0x66, 0, 0},
  10530. {0xB0, 0x66, 0x66, 0, 0},
  10531. {0xB1, 0x66, 0x66, 0, 0},
  10532. {0xB2, 0x66, 0x66, 0, 0},
  10533. {0xB3, 0xa, 0xa, 0, 0},
  10534. {0xB4, 0, 0, 0, 0},
  10535. {0xB5, 0, 0, 0, 0},
  10536. {0xB6, 0, 0, 0, 0},
  10537. {0xFFFF, 0, 0, 0, 0},
  10538. };
  10539. static struct radio_regs regs_TX_2056_rev8[] = {
  10540. {0x02, 0, 0, 0, 0},
  10541. {0x03, 0, 0, 0, 0},
  10542. {0x04, 0, 0, 0, 0},
  10543. {0x05, 0, 0, 0, 0},
  10544. {0x06, 0, 0, 0, 0},
  10545. {0x07, 0, 0, 0, 0},
  10546. {0x08, 0, 0, 0, 0},
  10547. {0x09, 0, 0, 0, 0},
  10548. {0x0A, 0, 0, 0, 0},
  10549. {0x0B, 0, 0, 0, 0},
  10550. {0x0C, 0, 0, 0, 0},
  10551. {0x0D, 0, 0, 0, 0},
  10552. {0x0E, 0, 0, 0, 0},
  10553. {0x0F, 0, 0, 0, 0},
  10554. {0x10, 0, 0, 0, 0},
  10555. {0x11, 0, 0, 0, 0},
  10556. {0x12, 0, 0, 0, 0},
  10557. {0x13, 0, 0, 0, 0},
  10558. {0x14, 0, 0, 0, 0},
  10559. {0x15, 0, 0, 0, 0},
  10560. {0x16, 0, 0, 0, 0},
  10561. {0x17, 0, 0, 0, 0},
  10562. {0x18, 0, 0, 0, 0},
  10563. {0x19, 0, 0, 0, 0},
  10564. {0x1A, 0, 0, 0, 0},
  10565. {0x1B, 0, 0, 0, 0},
  10566. {0x1C, 0, 0, 0, 0},
  10567. {0x1D, 0, 0, 0, 0},
  10568. {0x1E, 0, 0, 0, 0},
  10569. {0x1F, 0, 0, 0, 0},
  10570. {0x20, 0, 0, 0, 0},
  10571. {0x21, 0x88, 0x88, 0, 0},
  10572. {0x22, 0x88, 0x88, 0, 0},
  10573. {0x23, 0x88, 0x88, 0, 0},
  10574. {0x24, 0x88, 0x88, 0, 0},
  10575. {0x25, 0xc, 0xc, 0, 0},
  10576. {0x26, 0, 0, 0, 0},
  10577. {0x27, 0x3, 0x3, 0, 0},
  10578. {0x28, 0, 0, 0, 0},
  10579. {0x29, 0x3, 0x3, 0, 0},
  10580. {0x2A, 0x37, 0x37, 0, 0},
  10581. {0x2B, 0x3, 0x3, 0, 0},
  10582. {0x2C, 0, 0, 0, 0},
  10583. {0x2D, 0, 0, 0, 0},
  10584. {0x2E, 0x1, 0x1, 0, 0},
  10585. {0x2F, 0x1, 0x1, 0, 0},
  10586. {0x30, 0, 0, 0, 0},
  10587. {0x31, 0, 0, 0, 0},
  10588. {0x32, 0, 0, 0, 0},
  10589. {0x33, 0x11, 0x11, 0, 0},
  10590. {0x34, 0xee, 0xee, 1, 1},
  10591. {0x35, 0, 0, 0, 0},
  10592. {0x36, 0, 0, 0, 0},
  10593. {0x37, 0x3, 0x3, 0, 0},
  10594. {0x38, 0x50, 0x50, 1, 1},
  10595. {0x39, 0, 0, 0, 0},
  10596. {0x3A, 0x50, 0x50, 1, 1},
  10597. {0x3B, 0, 0, 0, 0},
  10598. {0x3C, 0x6e, 0x6e, 0, 0},
  10599. {0x3D, 0xf0, 0xf0, 1, 1},
  10600. {0x3E, 0, 0, 0, 0},
  10601. {0x3F, 0, 0, 0, 0},
  10602. {0x40, 0, 0, 0, 0},
  10603. {0x41, 0x3, 0x3, 0, 0},
  10604. {0x42, 0x3, 0x3, 0, 0},
  10605. {0x43, 0, 0, 0, 0},
  10606. {0x44, 0x1e, 0x1e, 0, 0},
  10607. {0x45, 0, 0, 0, 0},
  10608. {0x46, 0x6e, 0x6e, 0, 0},
  10609. {0x47, 0xf0, 0xf0, 1, 1},
  10610. {0x48, 0, 0, 0, 0},
  10611. {0x49, 0x2, 0x2, 0, 0},
  10612. {0x4A, 0xff, 0xff, 1, 1},
  10613. {0x4B, 0xc, 0xc, 0, 0},
  10614. {0x4C, 0, 0, 0, 0},
  10615. {0x4D, 0x38, 0x38, 0, 0},
  10616. {0x4E, 0x70, 0x70, 1, 1},
  10617. {0x4F, 0x2, 0x2, 0, 0},
  10618. {0x50, 0x88, 0x88, 0, 0},
  10619. {0x51, 0xc, 0xc, 0, 0},
  10620. {0x52, 0, 0, 0, 0},
  10621. {0x53, 0x8, 0x8, 0, 0},
  10622. {0x54, 0x70, 0x70, 1, 1},
  10623. {0x55, 0x2, 0x2, 0, 0},
  10624. {0x56, 0xff, 0xff, 1, 1},
  10625. {0x57, 0, 0, 0, 0},
  10626. {0x58, 0x83, 0x83, 0, 0},
  10627. {0x59, 0x77, 0x77, 1, 1},
  10628. {0x5A, 0, 0, 0, 0},
  10629. {0x5B, 0x2, 0x2, 0, 0},
  10630. {0x5C, 0x88, 0x88, 0, 0},
  10631. {0x5D, 0, 0, 0, 0},
  10632. {0x5E, 0x8, 0x8, 0, 0},
  10633. {0x5F, 0x77, 0x77, 1, 1},
  10634. {0x60, 0x1, 0x1, 0, 0},
  10635. {0x61, 0, 0, 0, 0},
  10636. {0x62, 0x7, 0x7, 0, 0},
  10637. {0x63, 0, 0, 0, 0},
  10638. {0x64, 0x7, 0x7, 0, 0},
  10639. {0x65, 0, 0, 0, 0},
  10640. {0x66, 0, 0, 0, 0},
  10641. {0x67, 0, 0, 1, 1},
  10642. {0x68, 0, 0, 0, 0},
  10643. {0x69, 0xa, 0xa, 0, 0},
  10644. {0x6A, 0, 0, 0, 0},
  10645. {0x6B, 0, 0, 0, 0},
  10646. {0x6C, 0, 0, 0, 0},
  10647. {0x6D, 0, 0, 0, 0},
  10648. {0x6E, 0, 0, 0, 0},
  10649. {0x6F, 0, 0, 0, 0},
  10650. {0x70, 0, 0, 0, 0},
  10651. {0x71, 0x2, 0x2, 0, 0},
  10652. {0x72, 0, 0, 0, 0},
  10653. {0x73, 0, 0, 0, 0},
  10654. {0x74, 0xe, 0xe, 0, 0},
  10655. {0x75, 0xe, 0xe, 0, 0},
  10656. {0x76, 0xe, 0xe, 0, 0},
  10657. {0x77, 0x13, 0x13, 0, 0},
  10658. {0x78, 0x13, 0x13, 0, 0},
  10659. {0x79, 0x1b, 0x1b, 0, 0},
  10660. {0x7A, 0x1b, 0x1b, 0, 0},
  10661. {0x7B, 0x55, 0x55, 0, 0},
  10662. {0x7C, 0x5b, 0x5b, 0, 0},
  10663. {0x7D, 0x30, 0x30, 1, 1},
  10664. {0x7E, 0, 0, 0, 0},
  10665. {0x7F, 0, 0, 0, 0},
  10666. {0x80, 0, 0, 0, 0},
  10667. {0x81, 0, 0, 0, 0},
  10668. {0x82, 0, 0, 0, 0},
  10669. {0x83, 0, 0, 0, 0},
  10670. {0x84, 0, 0, 0, 0},
  10671. {0x85, 0, 0, 0, 0},
  10672. {0x86, 0, 0, 0, 0},
  10673. {0x87, 0, 0, 0, 0},
  10674. {0x88, 0, 0, 0, 0},
  10675. {0x89, 0, 0, 0, 0},
  10676. {0x8A, 0, 0, 0, 0},
  10677. {0x8B, 0, 0, 0, 0},
  10678. {0x8C, 0, 0, 0, 0},
  10679. {0x8D, 0, 0, 0, 0},
  10680. {0x8E, 0, 0, 0, 0},
  10681. {0x8F, 0, 0, 0, 0},
  10682. {0x90, 0, 0, 0, 0},
  10683. {0x91, 0, 0, 0, 0},
  10684. {0x92, 0, 0, 0, 0},
  10685. {0x93, 0x70, 0x70, 0, 0},
  10686. {0x94, 0x70, 0x70, 0, 0},
  10687. {0x95, 0x70, 0x70, 0, 0},
  10688. {0x96, 0x70, 0x70, 0, 0},
  10689. {0x97, 0x70, 0x70, 0, 0},
  10690. {0x98, 0x70, 0x70, 0, 0},
  10691. {0x99, 0x70, 0x70, 0, 0},
  10692. {0x9A, 0x70, 0x70, 0, 0},
  10693. {0xFFFF, 0, 0, 0, 0},
  10694. };
  10695. static struct radio_regs regs_RX_2056_rev8[] = {
  10696. {0x02, 0, 0, 0, 0},
  10697. {0x03, 0, 0, 0, 0},
  10698. {0x04, 0, 0, 0, 0},
  10699. {0x05, 0, 0, 0, 0},
  10700. {0x06, 0, 0, 0, 0},
  10701. {0x07, 0, 0, 0, 0},
  10702. {0x08, 0, 0, 0, 0},
  10703. {0x09, 0, 0, 0, 0},
  10704. {0x0A, 0, 0, 0, 0},
  10705. {0x0B, 0, 0, 0, 0},
  10706. {0x0C, 0, 0, 0, 0},
  10707. {0x0D, 0, 0, 0, 0},
  10708. {0x0E, 0, 0, 0, 0},
  10709. {0x0F, 0, 0, 0, 0},
  10710. {0x10, 0, 0, 0, 0},
  10711. {0x11, 0, 0, 0, 0},
  10712. {0x12, 0, 0, 0, 0},
  10713. {0x13, 0, 0, 0, 0},
  10714. {0x14, 0, 0, 0, 0},
  10715. {0x15, 0, 0, 0, 0},
  10716. {0x16, 0, 0, 0, 0},
  10717. {0x17, 0, 0, 0, 0},
  10718. {0x18, 0, 0, 0, 0},
  10719. {0x19, 0, 0, 0, 0},
  10720. {0x1A, 0, 0, 0, 0},
  10721. {0x1B, 0, 0, 0, 0},
  10722. {0x1C, 0, 0, 0, 0},
  10723. {0x1D, 0, 0, 0, 0},
  10724. {0x1E, 0, 0, 0, 0},
  10725. {0x1F, 0, 0, 0, 0},
  10726. {0x20, 0x3, 0x3, 0, 0},
  10727. {0x21, 0, 0, 0, 0},
  10728. {0x22, 0, 0, 0, 0},
  10729. {0x23, 0x90, 0x90, 0, 0},
  10730. {0x24, 0x55, 0x55, 0, 0},
  10731. {0x25, 0x15, 0x15, 0, 0},
  10732. {0x26, 0x5, 0x5, 0, 0},
  10733. {0x27, 0x15, 0x15, 0, 0},
  10734. {0x28, 0x5, 0x5, 0, 0},
  10735. {0x29, 0x20, 0x20, 0, 0},
  10736. {0x2A, 0x11, 0x11, 0, 0},
  10737. {0x2B, 0x90, 0x90, 0, 0},
  10738. {0x2C, 0, 0, 0, 0},
  10739. {0x2D, 0x88, 0x88, 0, 0},
  10740. {0x2E, 0x32, 0x32, 0, 0},
  10741. {0x2F, 0x77, 0x77, 0, 0},
  10742. {0x30, 0x17, 0x17, 1, 1},
  10743. {0x31, 0xff, 0xff, 1, 1},
  10744. {0x32, 0x20, 0x20, 0, 0},
  10745. {0x33, 0, 0, 0, 0},
  10746. {0x34, 0x88, 0x88, 0, 0},
  10747. {0x35, 0x32, 0x32, 0, 0},
  10748. {0x36, 0x77, 0x77, 0, 0},
  10749. {0x37, 0x17, 0x17, 1, 1},
  10750. {0x38, 0xf0, 0xf0, 1, 1},
  10751. {0x39, 0x20, 0x20, 0, 0},
  10752. {0x3A, 0x8, 0x8, 0, 0},
  10753. {0x3B, 0x55, 0x55, 1, 1},
  10754. {0x3C, 0, 0, 0, 0},
  10755. {0x3D, 0x88, 0x88, 1, 1},
  10756. {0x3E, 0, 0, 0, 0},
  10757. {0x3F, 0x44, 0x44, 0, 0},
  10758. {0x40, 0x7, 0x7, 1, 1},
  10759. {0x41, 0x6, 0x6, 0, 0},
  10760. {0x42, 0x4, 0x4, 0, 0},
  10761. {0x43, 0, 0, 0, 0},
  10762. {0x44, 0x8, 0x8, 0, 0},
  10763. {0x45, 0x55, 0x55, 1, 1},
  10764. {0x46, 0, 0, 0, 0},
  10765. {0x47, 0x11, 0x11, 0, 0},
  10766. {0x48, 0, 0, 0, 0},
  10767. {0x49, 0x44, 0x44, 0, 0},
  10768. {0x4A, 0x7, 0x7, 0, 0},
  10769. {0x4B, 0x6, 0x6, 0, 0},
  10770. {0x4C, 0x4, 0x4, 0, 0},
  10771. {0x4D, 0, 0, 0, 0},
  10772. {0x4E, 0, 0, 0, 0},
  10773. {0x4F, 0x26, 0x26, 1, 1},
  10774. {0x50, 0x26, 0x26, 1, 1},
  10775. {0x51, 0xf, 0xf, 1, 1},
  10776. {0x52, 0xf, 0xf, 1, 1},
  10777. {0x53, 0x44, 0x44, 0, 0},
  10778. {0x54, 0, 0, 0, 0},
  10779. {0x55, 0, 0, 0, 0},
  10780. {0x56, 0x8, 0x8, 0, 0},
  10781. {0x57, 0x8, 0x8, 0, 0},
  10782. {0x58, 0x7, 0x7, 0, 0},
  10783. {0x59, 0x22, 0x22, 0, 0},
  10784. {0x5A, 0x22, 0x22, 0, 0},
  10785. {0x5B, 0x2, 0x2, 0, 0},
  10786. {0x5C, 0x4, 0x4, 1, 1},
  10787. {0x5D, 0x7, 0x7, 0, 0},
  10788. {0x5E, 0x55, 0x55, 0, 0},
  10789. {0x5F, 0x23, 0x23, 0, 0},
  10790. {0x60, 0x41, 0x41, 0, 0},
  10791. {0x61, 0x1, 0x1, 0, 0},
  10792. {0x62, 0xa, 0xa, 0, 0},
  10793. {0x63, 0, 0, 0, 0},
  10794. {0x64, 0, 0, 0, 0},
  10795. {0x65, 0, 0, 0, 0},
  10796. {0x66, 0, 0, 0, 0},
  10797. {0x67, 0, 0, 0, 0},
  10798. {0x68, 0, 0, 0, 0},
  10799. {0x69, 0, 0, 0, 0},
  10800. {0x6A, 0, 0, 0, 0},
  10801. {0x6B, 0xc, 0xc, 0, 0},
  10802. {0x6C, 0, 0, 0, 0},
  10803. {0x6D, 0, 0, 0, 0},
  10804. {0x6E, 0, 0, 0, 0},
  10805. {0x6F, 0, 0, 0, 0},
  10806. {0x70, 0, 0, 0, 0},
  10807. {0x71, 0, 0, 0, 0},
  10808. {0x72, 0x22, 0x22, 0, 0},
  10809. {0x73, 0x22, 0x22, 0, 0},
  10810. {0x74, 0, 0, 1, 1},
  10811. {0x75, 0xa, 0xa, 0, 0},
  10812. {0x76, 0x1, 0x1, 0, 0},
  10813. {0x77, 0x22, 0x22, 0, 0},
  10814. {0x78, 0x30, 0x30, 0, 0},
  10815. {0x79, 0, 0, 0, 0},
  10816. {0x7A, 0, 0, 0, 0},
  10817. {0x7B, 0, 0, 0, 0},
  10818. {0x7C, 0, 0, 0, 0},
  10819. {0x7D, 0x5, 0x5, 1, 1},
  10820. {0x7E, 0, 0, 0, 0},
  10821. {0x7F, 0, 0, 0, 0},
  10822. {0x80, 0, 0, 0, 0},
  10823. {0x81, 0, 0, 0, 0},
  10824. {0x82, 0, 0, 0, 0},
  10825. {0x83, 0, 0, 0, 0},
  10826. {0x84, 0, 0, 0, 0},
  10827. {0x85, 0, 0, 0, 0},
  10828. {0x86, 0, 0, 0, 0},
  10829. {0x87, 0, 0, 0, 0},
  10830. {0x88, 0, 0, 0, 0},
  10831. {0x89, 0, 0, 0, 0},
  10832. {0x8A, 0, 0, 0, 0},
  10833. {0x8B, 0, 0, 0, 0},
  10834. {0x8C, 0, 0, 0, 0},
  10835. {0x8D, 0, 0, 0, 0},
  10836. {0x8E, 0, 0, 0, 0},
  10837. {0x8F, 0, 0, 0, 0},
  10838. {0x90, 0, 0, 0, 0},
  10839. {0x91, 0, 0, 0, 0},
  10840. {0x92, 0, 0, 0, 0},
  10841. {0x93, 0, 0, 0, 0},
  10842. {0x94, 0, 0, 0, 0},
  10843. {0xFFFF, 0, 0, 0, 0},
  10844. };
  10845. static const struct radio_regs regs_SYN_2056_rev11[] = {
  10846. {0x02, 0, 0, 0, 0},
  10847. {0x03, 0, 0, 0, 0},
  10848. {0x04, 0, 0, 0, 0},
  10849. {0x05, 0, 0, 0, 0},
  10850. {0x06, 0, 0, 0, 0},
  10851. {0x07, 0, 0, 0, 0},
  10852. {0x08, 0, 0, 0, 0},
  10853. {0x09, 0x1, 0x1, 0, 0},
  10854. {0x0A, 0, 0, 0, 0},
  10855. {0x0B, 0, 0, 0, 0},
  10856. {0x0C, 0, 0, 0, 0},
  10857. {0x0D, 0, 0, 0, 0},
  10858. {0x0E, 0, 0, 0, 0},
  10859. {0x0F, 0, 0, 0, 0},
  10860. {0x10, 0, 0, 0, 0},
  10861. {0x11, 0, 0, 0, 0},
  10862. {0x12, 0, 0, 0, 0},
  10863. {0x13, 0, 0, 0, 0},
  10864. {0x14, 0, 0, 0, 0},
  10865. {0x15, 0, 0, 0, 0},
  10866. {0x16, 0, 0, 0, 0},
  10867. {0x17, 0, 0, 0, 0},
  10868. {0x18, 0, 0, 0, 0},
  10869. {0x19, 0, 0, 0, 0},
  10870. {0x1A, 0, 0, 0, 0},
  10871. {0x1B, 0, 0, 0, 0},
  10872. {0x1C, 0, 0, 0, 0},
  10873. {0x1D, 0, 0, 0, 0},
  10874. {0x1E, 0, 0, 0, 0},
  10875. {0x1F, 0, 0, 0, 0},
  10876. {0x20, 0, 0, 0, 0},
  10877. {0x21, 0, 0, 0, 0},
  10878. {0x22, 0x60, 0x60, 0, 0},
  10879. {0x23, 0x6, 0x6, 0, 0},
  10880. {0x24, 0xc, 0xc, 0, 0},
  10881. {0x25, 0, 0, 0, 0},
  10882. {0x26, 0, 0, 0, 0},
  10883. {0x27, 0, 0, 0, 0},
  10884. {0x28, 0x1, 0x1, 0, 0},
  10885. {0x29, 0, 0, 0, 0},
  10886. {0x2A, 0, 0, 0, 0},
  10887. {0x2B, 0, 0, 0, 0},
  10888. {0x2C, 0, 0, 0, 0},
  10889. {0x2D, 0, 0, 0, 0},
  10890. {0x2E, 0, 0, 0, 0},
  10891. {0x2F, 0x1f, 0x1f, 0, 0},
  10892. {0x30, 0x15, 0x15, 0, 0},
  10893. {0x31, 0xf, 0xf, 0, 0},
  10894. {0x32, 0, 0, 0, 0},
  10895. {0x33, 0, 0, 0, 0},
  10896. {0x34, 0, 0, 0, 0},
  10897. {0x35, 0, 0, 0, 0},
  10898. {0x36, 0, 0, 0, 0},
  10899. {0x37, 0, 0, 0, 0},
  10900. {0x38, 0, 0, 0, 0},
  10901. {0x39, 0, 0, 0, 0},
  10902. {0x3A, 0, 0, 0, 0},
  10903. {0x3B, 0, 0, 0, 0},
  10904. {0x3C, 0x13, 0x13, 0, 0},
  10905. {0x3D, 0xf, 0xf, 0, 0},
  10906. {0x3E, 0x18, 0x18, 0, 0},
  10907. {0x3F, 0, 0, 0, 0},
  10908. {0x40, 0, 0, 0, 0},
  10909. {0x41, 0x20, 0x20, 0, 0},
  10910. {0x42, 0x20, 0x20, 0, 0},
  10911. {0x43, 0, 0, 0, 0},
  10912. {0x44, 0x77, 0x77, 0, 0},
  10913. {0x45, 0x7, 0x7, 0, 0},
  10914. {0x46, 0x1, 0x1, 0, 0},
  10915. {0x47, 0x6, 0x6, 1, 1},
  10916. {0x48, 0xf, 0xf, 0, 0},
  10917. {0x49, 0x3f, 0x3f, 1, 1},
  10918. {0x4A, 0x32, 0x32, 0, 0},
  10919. {0x4B, 0x6, 0x6, 1, 1},
  10920. {0x4C, 0x6, 0x6, 1, 1},
  10921. {0x4D, 0x4, 0x4, 0, 0},
  10922. {0x4E, 0x2b, 0x2b, 1, 1},
  10923. {0x4F, 0x1, 0x1, 0, 0},
  10924. {0x50, 0x1c, 0x1c, 0, 0},
  10925. {0x51, 0x2, 0x2, 0, 0},
  10926. {0x52, 0x2, 0x2, 0, 0},
  10927. {0x53, 0xf7, 0xf7, 1, 1},
  10928. {0x54, 0xb4, 0xb4, 0, 0},
  10929. {0x55, 0xd2, 0xd2, 0, 0},
  10930. {0x56, 0, 0, 0, 0},
  10931. {0x57, 0, 0, 0, 0},
  10932. {0x58, 0x4, 0x4, 0, 0},
  10933. {0x59, 0x96, 0x96, 0, 0},
  10934. {0x5A, 0x3e, 0x3e, 0, 0},
  10935. {0x5B, 0x3e, 0x3e, 0, 0},
  10936. {0x5C, 0x13, 0x13, 0, 0},
  10937. {0x5D, 0x2, 0x2, 0, 0},
  10938. {0x5E, 0, 0, 0, 0},
  10939. {0x5F, 0x7, 0x7, 0, 0},
  10940. {0x60, 0x7, 0x7, 1, 1},
  10941. {0x61, 0x8, 0x8, 0, 0},
  10942. {0x62, 0x3, 0x3, 0, 0},
  10943. {0x63, 0, 0, 0, 0},
  10944. {0x64, 0, 0, 0, 0},
  10945. {0x65, 0, 0, 0, 0},
  10946. {0x66, 0, 0, 0, 0},
  10947. {0x67, 0, 0, 0, 0},
  10948. {0x68, 0x40, 0x40, 0, 0},
  10949. {0x69, 0, 0, 0, 0},
  10950. {0x6A, 0, 0, 0, 0},
  10951. {0x6B, 0, 0, 0, 0},
  10952. {0x6C, 0, 0, 0, 0},
  10953. {0x6D, 0x1, 0x1, 0, 0},
  10954. {0x6E, 0, 0, 0, 0},
  10955. {0x6F, 0, 0, 0, 0},
  10956. {0x70, 0x60, 0x60, 0, 0},
  10957. {0x71, 0x66, 0x66, 0, 0},
  10958. {0x72, 0xc, 0xc, 0, 0},
  10959. {0x73, 0x66, 0x66, 0, 0},
  10960. {0x74, 0x8f, 0x8f, 1, 1},
  10961. {0x75, 0, 0, 0, 0},
  10962. {0x76, 0xcc, 0xcc, 0, 0},
  10963. {0x77, 0x1, 0x1, 0, 0},
  10964. {0x78, 0x66, 0x66, 0, 0},
  10965. {0x79, 0x66, 0x66, 0, 0},
  10966. {0x7A, 0, 0, 0, 0},
  10967. {0x7B, 0, 0, 0, 0},
  10968. {0x7C, 0, 0, 0, 0},
  10969. {0x7D, 0, 0, 0, 0},
  10970. {0x7E, 0, 0, 0, 0},
  10971. {0x7F, 0, 0, 0, 0},
  10972. {0x80, 0, 0, 0, 0},
  10973. {0x81, 0, 0, 0, 0},
  10974. {0x82, 0, 0, 0, 0},
  10975. {0x83, 0, 0, 0, 0},
  10976. {0x84, 0, 0, 0, 0},
  10977. {0x85, 0xff, 0xff, 0, 0},
  10978. {0x86, 0, 0, 0, 0},
  10979. {0x87, 0, 0, 0, 0},
  10980. {0x88, 0, 0, 0, 0},
  10981. {0x89, 0, 0, 0, 0},
  10982. {0x8A, 0, 0, 0, 0},
  10983. {0x8B, 0, 0, 0, 0},
  10984. {0x8C, 0, 0, 0, 0},
  10985. {0x8D, 0, 0, 0, 0},
  10986. {0x8E, 0, 0, 0, 0},
  10987. {0x8F, 0, 0, 0, 0},
  10988. {0x90, 0, 0, 0, 0},
  10989. {0x91, 0, 0, 0, 0},
  10990. {0x92, 0, 0, 0, 0},
  10991. {0x93, 0, 0, 0, 0},
  10992. {0x94, 0, 0, 0, 0},
  10993. {0x95, 0, 0, 0, 0},
  10994. {0x96, 0, 0, 0, 0},
  10995. {0x97, 0, 0, 0, 0},
  10996. {0x98, 0, 0, 0, 0},
  10997. {0x99, 0, 0, 0, 0},
  10998. {0x9A, 0, 0, 0, 0},
  10999. {0x9B, 0, 0, 0, 0},
  11000. {0x9C, 0, 0, 0, 0},
  11001. {0x9D, 0, 0, 0, 0},
  11002. {0x9E, 0, 0, 0, 0},
  11003. {0x9F, 0x6, 0x6, 0, 0},
  11004. {0xA0, 0x66, 0x66, 0, 0},
  11005. {0xA1, 0x66, 0x66, 0, 0},
  11006. {0xA2, 0x66, 0x66, 0, 0},
  11007. {0xA3, 0x66, 0x66, 0, 0},
  11008. {0xA4, 0x66, 0x66, 0, 0},
  11009. {0xA5, 0x66, 0x66, 0, 0},
  11010. {0xA6, 0x66, 0x66, 0, 0},
  11011. {0xA7, 0x66, 0x66, 0, 0},
  11012. {0xA8, 0x66, 0x66, 0, 0},
  11013. {0xA9, 0x66, 0x66, 0, 0},
  11014. {0xAA, 0x66, 0x66, 0, 0},
  11015. {0xAB, 0x66, 0x66, 0, 0},
  11016. {0xAC, 0x66, 0x66, 0, 0},
  11017. {0xAD, 0x66, 0x66, 0, 0},
  11018. {0xAE, 0x66, 0x66, 0, 0},
  11019. {0xAF, 0x66, 0x66, 0, 0},
  11020. {0xB0, 0x66, 0x66, 0, 0},
  11021. {0xB1, 0x66, 0x66, 0, 0},
  11022. {0xB2, 0x66, 0x66, 0, 0},
  11023. {0xB3, 0xa, 0xa, 0, 0},
  11024. {0xB4, 0, 0, 0, 0},
  11025. {0xB5, 0, 0, 0, 0},
  11026. {0xB6, 0, 0, 0, 0},
  11027. {0xFFFF, 0, 0, 0, 0},
  11028. };
  11029. static const struct radio_regs regs_TX_2056_rev11[] = {
  11030. {0x02, 0, 0, 0, 0},
  11031. {0x03, 0, 0, 0, 0},
  11032. {0x04, 0, 0, 0, 0},
  11033. {0x05, 0, 0, 0, 0},
  11034. {0x06, 0, 0, 0, 0},
  11035. {0x07, 0, 0, 0, 0},
  11036. {0x08, 0, 0, 0, 0},
  11037. {0x09, 0, 0, 0, 0},
  11038. {0x0A, 0, 0, 0, 0},
  11039. {0x0B, 0, 0, 0, 0},
  11040. {0x0C, 0, 0, 0, 0},
  11041. {0x0D, 0, 0, 0, 0},
  11042. {0x0E, 0, 0, 0, 0},
  11043. {0x0F, 0, 0, 0, 0},
  11044. {0x10, 0, 0, 0, 0},
  11045. {0x11, 0, 0, 0, 0},
  11046. {0x12, 0, 0, 0, 0},
  11047. {0x13, 0, 0, 0, 0},
  11048. {0x14, 0, 0, 0, 0},
  11049. {0x15, 0, 0, 0, 0},
  11050. {0x16, 0, 0, 0, 0},
  11051. {0x17, 0, 0, 0, 0},
  11052. {0x18, 0, 0, 0, 0},
  11053. {0x19, 0, 0, 0, 0},
  11054. {0x1A, 0, 0, 0, 0},
  11055. {0x1B, 0, 0, 0, 0},
  11056. {0x1C, 0, 0, 0, 0},
  11057. {0x1D, 0, 0, 0, 0},
  11058. {0x1E, 0, 0, 0, 0},
  11059. {0x1F, 0, 0, 0, 0},
  11060. {0x20, 0, 0, 0, 0},
  11061. {0x21, 0x88, 0x88, 0, 0},
  11062. {0x22, 0x88, 0x88, 0, 0},
  11063. {0x23, 0x88, 0x88, 0, 0},
  11064. {0x24, 0x88, 0x88, 0, 0},
  11065. {0x25, 0xc, 0xc, 0, 0},
  11066. {0x26, 0, 0, 0, 0},
  11067. {0x27, 0x3, 0x3, 0, 0},
  11068. {0x28, 0, 0, 0, 0},
  11069. {0x29, 0x3, 0x3, 0, 0},
  11070. {0x2A, 0x37, 0x37, 0, 0},
  11071. {0x2B, 0x3, 0x3, 0, 0},
  11072. {0x2C, 0, 0, 0, 0},
  11073. {0x2D, 0, 0, 0, 0},
  11074. {0x2E, 0x1, 0x1, 0, 0},
  11075. {0x2F, 0x1, 0x1, 0, 0},
  11076. {0x30, 0, 0, 0, 0},
  11077. {0x31, 0, 0, 0, 0},
  11078. {0x32, 0, 0, 0, 0},
  11079. {0x33, 0x11, 0x11, 0, 0},
  11080. {0x34, 0xee, 0xee, 1, 1},
  11081. {0x35, 0, 0, 0, 0},
  11082. {0x36, 0, 0, 0, 0},
  11083. {0x37, 0x3, 0x3, 0, 0},
  11084. {0x38, 0x50, 0x50, 1, 1},
  11085. {0x39, 0, 0, 0, 0},
  11086. {0x3A, 0x50, 0x50, 1, 1},
  11087. {0x3B, 0, 0, 0, 0},
  11088. {0x3C, 0x6e, 0x6e, 0, 0},
  11089. {0x3D, 0xf0, 0xf0, 1, 1},
  11090. {0x3E, 0, 0, 0, 0},
  11091. {0x3F, 0, 0, 0, 0},
  11092. {0x40, 0, 0, 0, 0},
  11093. {0x41, 0x3, 0x3, 0, 0},
  11094. {0x42, 0x3, 0x3, 0, 0},
  11095. {0x43, 0, 0, 0, 0},
  11096. {0x44, 0x1e, 0x1e, 0, 0},
  11097. {0x45, 0, 0, 0, 0},
  11098. {0x46, 0x6e, 0x6e, 0, 0},
  11099. {0x47, 0xf0, 0xf0, 1, 1},
  11100. {0x48, 0, 0, 0, 0},
  11101. {0x49, 0x2, 0x2, 0, 0},
  11102. {0x4A, 0xff, 0xff, 1, 1},
  11103. {0x4B, 0xc, 0xc, 0, 0},
  11104. {0x4C, 0, 0, 0, 0},
  11105. {0x4D, 0x38, 0x38, 0, 0},
  11106. {0x4E, 0x70, 0x70, 1, 1},
  11107. {0x4F, 0x2, 0x2, 0, 0},
  11108. {0x50, 0x88, 0x88, 0, 0},
  11109. {0x51, 0xc, 0xc, 0, 0},
  11110. {0x52, 0, 0, 0, 0},
  11111. {0x53, 0x8, 0x8, 0, 0},
  11112. {0x54, 0x70, 0x70, 1, 1},
  11113. {0x55, 0x2, 0x2, 0, 0},
  11114. {0x56, 0xff, 0xff, 1, 1},
  11115. {0x57, 0, 0, 0, 0},
  11116. {0x58, 0x83, 0x83, 0, 0},
  11117. {0x59, 0x77, 0x77, 1, 1},
  11118. {0x5A, 0, 0, 0, 0},
  11119. {0x5B, 0x2, 0x2, 0, 0},
  11120. {0x5C, 0x88, 0x88, 0, 0},
  11121. {0x5D, 0, 0, 0, 0},
  11122. {0x5E, 0x8, 0x8, 0, 0},
  11123. {0x5F, 0x77, 0x77, 1, 1},
  11124. {0x60, 0x1, 0x1, 0, 0},
  11125. {0x61, 0, 0, 0, 0},
  11126. {0x62, 0x7, 0x7, 0, 0},
  11127. {0x63, 0, 0, 0, 0},
  11128. {0x64, 0x7, 0x7, 0, 0},
  11129. {0x65, 0, 0, 0, 0},
  11130. {0x66, 0, 0, 0, 0},
  11131. {0x67, 0, 0, 1, 1},
  11132. {0x68, 0, 0, 0, 0},
  11133. {0x69, 0xa, 0xa, 0, 0},
  11134. {0x6A, 0, 0, 0, 0},
  11135. {0x6B, 0, 0, 0, 0},
  11136. {0x6C, 0, 0, 0, 0},
  11137. {0x6D, 0, 0, 0, 0},
  11138. {0x6E, 0, 0, 0, 0},
  11139. {0x6F, 0, 0, 0, 0},
  11140. {0x70, 0, 0, 0, 0},
  11141. {0x71, 0x2, 0x2, 0, 0},
  11142. {0x72, 0, 0, 0, 0},
  11143. {0x73, 0, 0, 0, 0},
  11144. {0x74, 0xe, 0xe, 0, 0},
  11145. {0x75, 0xe, 0xe, 0, 0},
  11146. {0x76, 0xe, 0xe, 0, 0},
  11147. {0x77, 0x13, 0x13, 0, 0},
  11148. {0x78, 0x13, 0x13, 0, 0},
  11149. {0x79, 0x1b, 0x1b, 0, 0},
  11150. {0x7A, 0x1b, 0x1b, 0, 0},
  11151. {0x7B, 0x55, 0x55, 0, 0},
  11152. {0x7C, 0x5b, 0x5b, 0, 0},
  11153. {0x7D, 0x30, 0x30, 1, 1},
  11154. {0x7E, 0, 0, 0, 0},
  11155. {0x7F, 0, 0, 0, 0},
  11156. {0x80, 0, 0, 0, 0},
  11157. {0x81, 0, 0, 0, 0},
  11158. {0x82, 0, 0, 0, 0},
  11159. {0x83, 0, 0, 0, 0},
  11160. {0x84, 0, 0, 0, 0},
  11161. {0x85, 0, 0, 0, 0},
  11162. {0x86, 0, 0, 0, 0},
  11163. {0x87, 0, 0, 0, 0},
  11164. {0x88, 0, 0, 0, 0},
  11165. {0x89, 0, 0, 0, 0},
  11166. {0x8A, 0, 0, 0, 0},
  11167. {0x8B, 0, 0, 0, 0},
  11168. {0x8C, 0, 0, 0, 0},
  11169. {0x8D, 0, 0, 0, 0},
  11170. {0x8E, 0, 0, 0, 0},
  11171. {0x8F, 0, 0, 0, 0},
  11172. {0x90, 0, 0, 0, 0},
  11173. {0x91, 0, 0, 0, 0},
  11174. {0x92, 0, 0, 0, 0},
  11175. {0x93, 0x70, 0x70, 0, 0},
  11176. {0x94, 0x70, 0x70, 0, 0},
  11177. {0x95, 0x70, 0x70, 0, 0},
  11178. {0x96, 0x70, 0x70, 0, 0},
  11179. {0x97, 0x70, 0x70, 0, 0},
  11180. {0x98, 0x70, 0x70, 0, 0},
  11181. {0x99, 0x70, 0x70, 0, 0},
  11182. {0x9A, 0x70, 0x70, 0, 0},
  11183. {0xFFFF, 0, 0, 0, 0},
  11184. };
  11185. static const struct radio_regs regs_RX_2056_rev11[] = {
  11186. {0x02, 0, 0, 0, 0},
  11187. {0x03, 0, 0, 0, 0},
  11188. {0x04, 0, 0, 0, 0},
  11189. {0x05, 0, 0, 0, 0},
  11190. {0x06, 0, 0, 0, 0},
  11191. {0x07, 0, 0, 0, 0},
  11192. {0x08, 0, 0, 0, 0},
  11193. {0x09, 0, 0, 0, 0},
  11194. {0x0A, 0, 0, 0, 0},
  11195. {0x0B, 0, 0, 0, 0},
  11196. {0x0C, 0, 0, 0, 0},
  11197. {0x0D, 0, 0, 0, 0},
  11198. {0x0E, 0, 0, 0, 0},
  11199. {0x0F, 0, 0, 0, 0},
  11200. {0x10, 0, 0, 0, 0},
  11201. {0x11, 0, 0, 0, 0},
  11202. {0x12, 0, 0, 0, 0},
  11203. {0x13, 0, 0, 0, 0},
  11204. {0x14, 0, 0, 0, 0},
  11205. {0x15, 0, 0, 0, 0},
  11206. {0x16, 0, 0, 0, 0},
  11207. {0x17, 0, 0, 0, 0},
  11208. {0x18, 0, 0, 0, 0},
  11209. {0x19, 0, 0, 0, 0},
  11210. {0x1A, 0, 0, 0, 0},
  11211. {0x1B, 0, 0, 0, 0},
  11212. {0x1C, 0, 0, 0, 0},
  11213. {0x1D, 0, 0, 0, 0},
  11214. {0x1E, 0, 0, 0, 0},
  11215. {0x1F, 0, 0, 0, 0},
  11216. {0x20, 0x3, 0x3, 0, 0},
  11217. {0x21, 0, 0, 0, 0},
  11218. {0x22, 0, 0, 0, 0},
  11219. {0x23, 0x90, 0x90, 0, 0},
  11220. {0x24, 0x55, 0x55, 0, 0},
  11221. {0x25, 0x15, 0x15, 0, 0},
  11222. {0x26, 0x5, 0x5, 0, 0},
  11223. {0x27, 0x15, 0x15, 0, 0},
  11224. {0x28, 0x5, 0x5, 0, 0},
  11225. {0x29, 0x20, 0x20, 0, 0},
  11226. {0x2A, 0x11, 0x11, 0, 0},
  11227. {0x2B, 0x90, 0x90, 0, 0},
  11228. {0x2C, 0, 0, 0, 0},
  11229. {0x2D, 0x88, 0x88, 0, 0},
  11230. {0x2E, 0x32, 0x32, 0, 0},
  11231. {0x2F, 0x77, 0x77, 0, 0},
  11232. {0x30, 0x17, 0x17, 1, 1},
  11233. {0x31, 0xff, 0xff, 1, 1},
  11234. {0x32, 0x20, 0x20, 0, 0},
  11235. {0x33, 0, 0, 0, 0},
  11236. {0x34, 0x88, 0x88, 0, 0},
  11237. {0x35, 0x32, 0x32, 0, 0},
  11238. {0x36, 0x77, 0x77, 0, 0},
  11239. {0x37, 0x17, 0x17, 1, 1},
  11240. {0x38, 0xf0, 0xf0, 1, 1},
  11241. {0x39, 0x20, 0x20, 0, 0},
  11242. {0x3A, 0x8, 0x8, 0, 0},
  11243. {0x3B, 0x55, 0x55, 1, 1},
  11244. {0x3C, 0, 0, 0, 0},
  11245. {0x3D, 0x88, 0x88, 1, 1},
  11246. {0x3E, 0, 0, 0, 0},
  11247. {0x3F, 0x44, 0x44, 0, 0},
  11248. {0x40, 0x7, 0x7, 1, 1},
  11249. {0x41, 0x6, 0x6, 0, 0},
  11250. {0x42, 0x4, 0x4, 0, 0},
  11251. {0x43, 0, 0, 0, 0},
  11252. {0x44, 0x8, 0x8, 0, 0},
  11253. {0x45, 0x55, 0x55, 1, 1},
  11254. {0x46, 0, 0, 0, 0},
  11255. {0x47, 0x11, 0x11, 0, 0},
  11256. {0x48, 0, 0, 0, 0},
  11257. {0x49, 0x44, 0x44, 0, 0},
  11258. {0x4A, 0x7, 0x7, 0, 0},
  11259. {0x4B, 0x6, 0x6, 0, 0},
  11260. {0x4C, 0x4, 0x4, 0, 0},
  11261. {0x4D, 0, 0, 0, 0},
  11262. {0x4E, 0, 0, 0, 0},
  11263. {0x4F, 0x26, 0x26, 1, 1},
  11264. {0x50, 0x26, 0x26, 1, 1},
  11265. {0x51, 0xf, 0xf, 1, 1},
  11266. {0x52, 0xf, 0xf, 1, 1},
  11267. {0x53, 0x44, 0x44, 0, 0},
  11268. {0x54, 0, 0, 0, 0},
  11269. {0x55, 0, 0, 0, 0},
  11270. {0x56, 0x8, 0x8, 0, 0},
  11271. {0x57, 0x8, 0x8, 0, 0},
  11272. {0x58, 0x7, 0x7, 0, 0},
  11273. {0x59, 0x22, 0x22, 0, 0},
  11274. {0x5A, 0x22, 0x22, 0, 0},
  11275. {0x5B, 0x2, 0x2, 0, 0},
  11276. {0x5C, 0x4, 0x4, 1, 1},
  11277. {0x5D, 0x7, 0x7, 0, 0},
  11278. {0x5E, 0x55, 0x55, 0, 0},
  11279. {0x5F, 0x23, 0x23, 0, 0},
  11280. {0x60, 0x41, 0x41, 0, 0},
  11281. {0x61, 0x1, 0x1, 0, 0},
  11282. {0x62, 0xa, 0xa, 0, 0},
  11283. {0x63, 0, 0, 0, 0},
  11284. {0x64, 0, 0, 0, 0},
  11285. {0x65, 0, 0, 0, 0},
  11286. {0x66, 0, 0, 0, 0},
  11287. {0x67, 0, 0, 0, 0},
  11288. {0x68, 0, 0, 0, 0},
  11289. {0x69, 0, 0, 0, 0},
  11290. {0x6A, 0, 0, 0, 0},
  11291. {0x6B, 0xc, 0xc, 0, 0},
  11292. {0x6C, 0, 0, 0, 0},
  11293. {0x6D, 0, 0, 0, 0},
  11294. {0x6E, 0, 0, 0, 0},
  11295. {0x6F, 0, 0, 0, 0},
  11296. {0x70, 0, 0, 0, 0},
  11297. {0x71, 0, 0, 0, 0},
  11298. {0x72, 0x22, 0x22, 0, 0},
  11299. {0x73, 0x22, 0x22, 0, 0},
  11300. {0x74, 0, 0, 1, 1},
  11301. {0x75, 0xa, 0xa, 0, 0},
  11302. {0x76, 0x1, 0x1, 0, 0},
  11303. {0x77, 0x22, 0x22, 0, 0},
  11304. {0x78, 0x30, 0x30, 0, 0},
  11305. {0x79, 0, 0, 0, 0},
  11306. {0x7A, 0, 0, 0, 0},
  11307. {0x7B, 0, 0, 0, 0},
  11308. {0x7C, 0, 0, 0, 0},
  11309. {0x7D, 0x5, 0x5, 1, 1},
  11310. {0x7E, 0, 0, 0, 0},
  11311. {0x7F, 0, 0, 0, 0},
  11312. {0x80, 0, 0, 0, 0},
  11313. {0x81, 0, 0, 0, 0},
  11314. {0x82, 0, 0, 0, 0},
  11315. {0x83, 0, 0, 0, 0},
  11316. {0x84, 0, 0, 0, 0},
  11317. {0x85, 0, 0, 0, 0},
  11318. {0x86, 0, 0, 0, 0},
  11319. {0x87, 0, 0, 0, 0},
  11320. {0x88, 0, 0, 0, 0},
  11321. {0x89, 0, 0, 0, 0},
  11322. {0x8A, 0, 0, 0, 0},
  11323. {0x8B, 0, 0, 0, 0},
  11324. {0x8C, 0, 0, 0, 0},
  11325. {0x8D, 0, 0, 0, 0},
  11326. {0x8E, 0, 0, 0, 0},
  11327. {0x8F, 0, 0, 0, 0},
  11328. {0x90, 0, 0, 0, 0},
  11329. {0x91, 0, 0, 0, 0},
  11330. {0x92, 0, 0, 0, 0},
  11331. {0x93, 0, 0, 0, 0},
  11332. {0x94, 0, 0, 0, 0},
  11333. {0xFFFF, 0, 0, 0, 0},
  11334. };
  11335. static struct radio_20xx_regs regs_2057_rev4[] = {
  11336. {0x00, 0x84, 0},
  11337. {0x01, 0, 0},
  11338. {0x02, 0x60, 0},
  11339. {0x03, 0x1f, 0},
  11340. {0x04, 0x4, 0},
  11341. {0x05, 0x2, 0},
  11342. {0x06, 0x1, 0},
  11343. {0x07, 0x1, 0},
  11344. {0x08, 0x1, 0},
  11345. {0x09, 0x69, 0},
  11346. {0x0A, 0x66, 0},
  11347. {0x0B, 0x6, 0},
  11348. {0x0C, 0x18, 0},
  11349. {0x0D, 0x3, 0},
  11350. {0x0E, 0x20, 1},
  11351. {0x0F, 0x20, 0},
  11352. {0x10, 0, 0},
  11353. {0x11, 0x7c, 0},
  11354. {0x12, 0x42, 0},
  11355. {0x13, 0xbd, 0},
  11356. {0x14, 0x7, 0},
  11357. {0x15, 0xf7, 0},
  11358. {0x16, 0x8, 0},
  11359. {0x17, 0x17, 0},
  11360. {0x18, 0x7, 0},
  11361. {0x19, 0, 0},
  11362. {0x1A, 0x2, 0},
  11363. {0x1B, 0x13, 0},
  11364. {0x1C, 0x3e, 0},
  11365. {0x1D, 0x3e, 0},
  11366. {0x1E, 0x96, 0},
  11367. {0x1F, 0x4, 0},
  11368. {0x20, 0, 0},
  11369. {0x21, 0, 0},
  11370. {0x22, 0x17, 0},
  11371. {0x23, 0x4, 0},
  11372. {0x24, 0x1, 0},
  11373. {0x25, 0x6, 0},
  11374. {0x26, 0x4, 0},
  11375. {0x27, 0xd, 0},
  11376. {0x28, 0xd, 0},
  11377. {0x29, 0x30, 0},
  11378. {0x2A, 0x32, 0},
  11379. {0x2B, 0x8, 0},
  11380. {0x2C, 0x1c, 0},
  11381. {0x2D, 0x2, 0},
  11382. {0x2E, 0x4, 0},
  11383. {0x2F, 0x7f, 0},
  11384. {0x30, 0x27, 0},
  11385. {0x31, 0, 1},
  11386. {0x32, 0, 1},
  11387. {0x33, 0, 1},
  11388. {0x34, 0, 0},
  11389. {0x35, 0x26, 1},
  11390. {0x36, 0x18, 0},
  11391. {0x37, 0x7, 0},
  11392. {0x38, 0x66, 0},
  11393. {0x39, 0x66, 0},
  11394. {0x3A, 0x66, 0},
  11395. {0x3B, 0x66, 0},
  11396. {0x3C, 0xff, 1},
  11397. {0x3D, 0xff, 1},
  11398. {0x3E, 0xff, 1},
  11399. {0x3F, 0xff, 1},
  11400. {0x40, 0x16, 0},
  11401. {0x41, 0x7, 0},
  11402. {0x42, 0x19, 0},
  11403. {0x43, 0x7, 0},
  11404. {0x44, 0x6, 0},
  11405. {0x45, 0x3, 0},
  11406. {0x46, 0x1, 0},
  11407. {0x47, 0x7, 0},
  11408. {0x48, 0x33, 0},
  11409. {0x49, 0x5, 0},
  11410. {0x4A, 0x77, 0},
  11411. {0x4B, 0x66, 0},
  11412. {0x4C, 0x66, 0},
  11413. {0x4D, 0, 0},
  11414. {0x4E, 0x4, 0},
  11415. {0x4F, 0xc, 0},
  11416. {0x50, 0, 0},
  11417. {0x51, 0x75, 0},
  11418. {0x56, 0x7, 0},
  11419. {0x57, 0, 0},
  11420. {0x58, 0, 0},
  11421. {0x59, 0xa8, 0},
  11422. {0x5A, 0, 0},
  11423. {0x5B, 0x1f, 0},
  11424. {0x5C, 0x30, 0},
  11425. {0x5D, 0x1, 0},
  11426. {0x5E, 0x30, 0},
  11427. {0x5F, 0x70, 0},
  11428. {0x60, 0, 0},
  11429. {0x61, 0, 0},
  11430. {0x62, 0x33, 1},
  11431. {0x63, 0x19, 0},
  11432. {0x64, 0x62, 0},
  11433. {0x65, 0, 0},
  11434. {0x66, 0x11, 0},
  11435. {0x69, 0, 0},
  11436. {0x6A, 0x7e, 0},
  11437. {0x6B, 0x3f, 0},
  11438. {0x6C, 0x7f, 0},
  11439. {0x6D, 0x78, 0},
  11440. {0x6E, 0xc8, 0},
  11441. {0x6F, 0x88, 0},
  11442. {0x70, 0x8, 0},
  11443. {0x71, 0xf, 0},
  11444. {0x72, 0xbc, 0},
  11445. {0x73, 0x8, 0},
  11446. {0x74, 0x60, 0},
  11447. {0x75, 0x1e, 0},
  11448. {0x76, 0x70, 0},
  11449. {0x77, 0, 0},
  11450. {0x78, 0, 0},
  11451. {0x79, 0, 0},
  11452. {0x7A, 0x33, 0},
  11453. {0x7B, 0x1e, 0},
  11454. {0x7C, 0x62, 0},
  11455. {0x7D, 0x11, 0},
  11456. {0x80, 0x3c, 0},
  11457. {0x81, 0x9c, 0},
  11458. {0x82, 0xa, 0},
  11459. {0x83, 0x9d, 0},
  11460. {0x84, 0xa, 0},
  11461. {0x85, 0, 0},
  11462. {0x86, 0x40, 0},
  11463. {0x87, 0x40, 0},
  11464. {0x88, 0x88, 0},
  11465. {0x89, 0x10, 0},
  11466. {0x8A, 0xf0, 1},
  11467. {0x8B, 0x10, 1},
  11468. {0x8C, 0xf0, 1},
  11469. {0x8D, 0, 0},
  11470. {0x8E, 0, 0},
  11471. {0x8F, 0x10, 0},
  11472. {0x90, 0x55, 0},
  11473. {0x91, 0x3f, 1},
  11474. {0x92, 0x36, 1},
  11475. {0x93, 0, 0},
  11476. {0x94, 0, 0},
  11477. {0x95, 0, 0},
  11478. {0x96, 0x87, 0},
  11479. {0x97, 0x11, 0},
  11480. {0x98, 0, 0},
  11481. {0x99, 0x33, 0},
  11482. {0x9A, 0x88, 0},
  11483. {0x9B, 0, 0},
  11484. {0x9C, 0x87, 0},
  11485. {0x9D, 0x11, 0},
  11486. {0x9E, 0, 0},
  11487. {0x9F, 0x33, 0},
  11488. {0xA0, 0x88, 0},
  11489. {0xA1, 0xe1, 0},
  11490. {0xA2, 0x3f, 0},
  11491. {0xA3, 0x44, 0},
  11492. {0xA4, 0x8c, 1},
  11493. {0xA5, 0x6d, 0},
  11494. {0xA6, 0x22, 0},
  11495. {0xA7, 0xbe, 0},
  11496. {0xA8, 0x55, 1},
  11497. {0xA9, 0xc, 0},
  11498. {0xAA, 0xc, 0},
  11499. {0xAB, 0xaa, 0},
  11500. {0xAC, 0x2, 0},
  11501. {0xAD, 0, 0},
  11502. {0xAE, 0x10, 0},
  11503. {0xAF, 0x1, 1},
  11504. {0xB0, 0, 0},
  11505. {0xB1, 0, 0},
  11506. {0xB2, 0x80, 0},
  11507. {0xB3, 0x60, 0},
  11508. {0xB4, 0x44, 0},
  11509. {0xB5, 0x55, 0},
  11510. {0xB6, 0x1, 0},
  11511. {0xB7, 0x55, 0},
  11512. {0xB8, 0x1, 0},
  11513. {0xB9, 0x5, 0},
  11514. {0xBA, 0x55, 0},
  11515. {0xBB, 0x55, 0},
  11516. {0xC1, 0, 0},
  11517. {0xC2, 0, 0},
  11518. {0xC3, 0, 0},
  11519. {0xC4, 0, 0},
  11520. {0xC5, 0, 0},
  11521. {0xC6, 0, 0},
  11522. {0xC7, 0, 0},
  11523. {0xC8, 0, 0},
  11524. {0xC9, 0, 0},
  11525. {0xCA, 0, 0},
  11526. {0xCB, 0, 0},
  11527. {0xCC, 0, 0},
  11528. {0xCD, 0, 0},
  11529. {0xCE, 0x5e, 0},
  11530. {0xCF, 0xc, 0},
  11531. {0xD0, 0xc, 0},
  11532. {0xD1, 0xc, 0},
  11533. {0xD2, 0, 0},
  11534. {0xD3, 0x2b, 0},
  11535. {0xD4, 0xc, 0},
  11536. {0xD5, 0, 0},
  11537. {0xD6, 0x75, 0},
  11538. {0xDB, 0x7, 0},
  11539. {0xDC, 0, 0},
  11540. {0xDD, 0, 0},
  11541. {0xDE, 0xa8, 0},
  11542. {0xDF, 0, 0},
  11543. {0xE0, 0x1f, 0},
  11544. {0xE1, 0x30, 0},
  11545. {0xE2, 0x1, 0},
  11546. {0xE3, 0x30, 0},
  11547. {0xE4, 0x70, 0},
  11548. {0xE5, 0, 0},
  11549. {0xE6, 0, 0},
  11550. {0xE7, 0x33, 0},
  11551. {0xE8, 0x19, 0},
  11552. {0xE9, 0x62, 0},
  11553. {0xEA, 0, 0},
  11554. {0xEB, 0x11, 0},
  11555. {0xEE, 0, 0},
  11556. {0xEF, 0x7e, 0},
  11557. {0xF0, 0x3f, 0},
  11558. {0xF1, 0x7f, 0},
  11559. {0xF2, 0x78, 0},
  11560. {0xF3, 0xc8, 0},
  11561. {0xF4, 0x88, 0},
  11562. {0xF5, 0x8, 0},
  11563. {0xF6, 0xf, 0},
  11564. {0xF7, 0xbc, 0},
  11565. {0xF8, 0x8, 0},
  11566. {0xF9, 0x60, 0},
  11567. {0xFA, 0x1e, 0},
  11568. {0xFB, 0x70, 0},
  11569. {0xFC, 0, 0},
  11570. {0xFD, 0, 0},
  11571. {0xFE, 0, 0},
  11572. {0xFF, 0x33, 0},
  11573. {0x100, 0x1e, 0},
  11574. {0x101, 0x62, 0},
  11575. {0x102, 0x11, 0},
  11576. {0x105, 0x3c, 0},
  11577. {0x106, 0x9c, 0},
  11578. {0x107, 0xa, 0},
  11579. {0x108, 0x9d, 0},
  11580. {0x109, 0xa, 0},
  11581. {0x10A, 0, 0},
  11582. {0x10B, 0x40, 0},
  11583. {0x10C, 0x40, 0},
  11584. {0x10D, 0x88, 0},
  11585. {0x10E, 0x10, 0},
  11586. {0x10F, 0xf0, 1},
  11587. {0x110, 0x10, 1},
  11588. {0x111, 0xf0, 1},
  11589. {0x112, 0, 0},
  11590. {0x113, 0, 0},
  11591. {0x114, 0x10, 0},
  11592. {0x115, 0x55, 0},
  11593. {0x116, 0x3f, 1},
  11594. {0x117, 0x36, 1},
  11595. {0x118, 0, 0},
  11596. {0x119, 0, 0},
  11597. {0x11A, 0, 0},
  11598. {0x11B, 0x87, 0},
  11599. {0x11C, 0x11, 0},
  11600. {0x11D, 0, 0},
  11601. {0x11E, 0x33, 0},
  11602. {0x11F, 0x88, 0},
  11603. {0x120, 0, 0},
  11604. {0x121, 0x87, 0},
  11605. {0x122, 0x11, 0},
  11606. {0x123, 0, 0},
  11607. {0x124, 0x33, 0},
  11608. {0x125, 0x88, 0},
  11609. {0x126, 0xe1, 0},
  11610. {0x127, 0x3f, 0},
  11611. {0x128, 0x44, 0},
  11612. {0x129, 0x8c, 1},
  11613. {0x12A, 0x6d, 0},
  11614. {0x12B, 0x22, 0},
  11615. {0x12C, 0xbe, 0},
  11616. {0x12D, 0x55, 1},
  11617. {0x12E, 0xc, 0},
  11618. {0x12F, 0xc, 0},
  11619. {0x130, 0xaa, 0},
  11620. {0x131, 0x2, 0},
  11621. {0x132, 0, 0},
  11622. {0x133, 0x10, 0},
  11623. {0x134, 0x1, 1},
  11624. {0x135, 0, 0},
  11625. {0x136, 0, 0},
  11626. {0x137, 0x80, 0},
  11627. {0x138, 0x60, 0},
  11628. {0x139, 0x44, 0},
  11629. {0x13A, 0x55, 0},
  11630. {0x13B, 0x1, 0},
  11631. {0x13C, 0x55, 0},
  11632. {0x13D, 0x1, 0},
  11633. {0x13E, 0x5, 0},
  11634. {0x13F, 0x55, 0},
  11635. {0x140, 0x55, 0},
  11636. {0x146, 0, 0},
  11637. {0x147, 0, 0},
  11638. {0x148, 0, 0},
  11639. {0x149, 0, 0},
  11640. {0x14A, 0, 0},
  11641. {0x14B, 0, 0},
  11642. {0x14C, 0, 0},
  11643. {0x14D, 0, 0},
  11644. {0x14E, 0, 0},
  11645. {0x14F, 0, 0},
  11646. {0x150, 0, 0},
  11647. {0x151, 0, 0},
  11648. {0x152, 0, 0},
  11649. {0x153, 0, 0},
  11650. {0x154, 0xc, 0},
  11651. {0x155, 0xc, 0},
  11652. {0x156, 0xc, 0},
  11653. {0x157, 0, 0},
  11654. {0x158, 0x2b, 0},
  11655. {0x159, 0x84, 0},
  11656. {0x15A, 0x15, 0},
  11657. {0x15B, 0xf, 0},
  11658. {0x15C, 0, 0},
  11659. {0x15D, 0, 0},
  11660. {0x15E, 0, 1},
  11661. {0x15F, 0, 1},
  11662. {0x160, 0, 1},
  11663. {0x161, 0, 1},
  11664. {0x162, 0, 1},
  11665. {0x163, 0, 1},
  11666. {0x164, 0, 0},
  11667. {0x165, 0, 0},
  11668. {0x166, 0, 0},
  11669. {0x167, 0, 0},
  11670. {0x168, 0, 0},
  11671. {0x169, 0x2, 1},
  11672. {0x16A, 0, 1},
  11673. {0x16B, 0, 1},
  11674. {0x16C, 0, 1},
  11675. {0x16D, 0, 0},
  11676. {0x170, 0, 0},
  11677. {0x171, 0x77, 0},
  11678. {0x172, 0x77, 0},
  11679. {0x173, 0x77, 0},
  11680. {0x174, 0x77, 0},
  11681. {0x175, 0, 0},
  11682. {0x176, 0x3, 0},
  11683. {0x177, 0x37, 0},
  11684. {0x178, 0x3, 0},
  11685. {0x179, 0, 0},
  11686. {0x17A, 0x21, 0},
  11687. {0x17B, 0x21, 0},
  11688. {0x17C, 0, 0},
  11689. {0x17D, 0xaa, 0},
  11690. {0x17E, 0, 0},
  11691. {0x17F, 0xaa, 0},
  11692. {0x180, 0, 0},
  11693. {0x190, 0, 0},
  11694. {0x191, 0x77, 0},
  11695. {0x192, 0x77, 0},
  11696. {0x193, 0x77, 0},
  11697. {0x194, 0x77, 0},
  11698. {0x195, 0, 0},
  11699. {0x196, 0x3, 0},
  11700. {0x197, 0x37, 0},
  11701. {0x198, 0x3, 0},
  11702. {0x199, 0, 0},
  11703. {0x19A, 0x21, 0},
  11704. {0x19B, 0x21, 0},
  11705. {0x19C, 0, 0},
  11706. {0x19D, 0xaa, 0},
  11707. {0x19E, 0, 0},
  11708. {0x19F, 0xaa, 0},
  11709. {0x1A0, 0, 0},
  11710. {0x1A1, 0x2, 0},
  11711. {0x1A2, 0xf, 0},
  11712. {0x1A3, 0xf, 0},
  11713. {0x1A4, 0, 1},
  11714. {0x1A5, 0, 1},
  11715. {0x1A6, 0, 1},
  11716. {0x1A7, 0x2, 0},
  11717. {0x1A8, 0xf, 0},
  11718. {0x1A9, 0xf, 0},
  11719. {0x1AA, 0, 1},
  11720. {0x1AB, 0, 1},
  11721. {0x1AC, 0, 1},
  11722. {0xFFFF, 0, 0},
  11723. };
  11724. static struct radio_20xx_regs regs_2057_rev5[] = {
  11725. {0x00, 0, 1},
  11726. {0x01, 0x57, 1},
  11727. {0x02, 0x20, 1},
  11728. {0x03, 0x1f, 0},
  11729. {0x04, 0x4, 0},
  11730. {0x05, 0x2, 0},
  11731. {0x06, 0x1, 0},
  11732. {0x07, 0x1, 0},
  11733. {0x08, 0x1, 0},
  11734. {0x09, 0x69, 0},
  11735. {0x0A, 0x66, 0},
  11736. {0x0B, 0x6, 0},
  11737. {0x0C, 0x18, 0},
  11738. {0x0D, 0x3, 0},
  11739. {0x0E, 0x20, 0},
  11740. {0x0F, 0x20, 0},
  11741. {0x10, 0, 0},
  11742. {0x11, 0x7c, 0},
  11743. {0x12, 0x42, 0},
  11744. {0x13, 0xbd, 0},
  11745. {0x14, 0x7, 0},
  11746. {0x15, 0x87, 0},
  11747. {0x16, 0x8, 0},
  11748. {0x17, 0x17, 0},
  11749. {0x18, 0x7, 0},
  11750. {0x19, 0, 0},
  11751. {0x1A, 0x2, 0},
  11752. {0x1B, 0x13, 0},
  11753. {0x1C, 0x3e, 0},
  11754. {0x1D, 0x3e, 0},
  11755. {0x1E, 0x96, 0},
  11756. {0x1F, 0x4, 0},
  11757. {0x20, 0, 0},
  11758. {0x21, 0, 0},
  11759. {0x22, 0x17, 0},
  11760. {0x23, 0x6, 1},
  11761. {0x24, 0x1, 0},
  11762. {0x25, 0x6, 0},
  11763. {0x26, 0x4, 0},
  11764. {0x27, 0xd, 0},
  11765. {0x28, 0xd, 0},
  11766. {0x29, 0x30, 0},
  11767. {0x2A, 0x32, 0},
  11768. {0x2B, 0x8, 0},
  11769. {0x2C, 0x1c, 0},
  11770. {0x2D, 0x2, 0},
  11771. {0x2E, 0x4, 0},
  11772. {0x2F, 0x7f, 0},
  11773. {0x30, 0x27, 0},
  11774. {0x31, 0, 1},
  11775. {0x32, 0, 1},
  11776. {0x33, 0, 1},
  11777. {0x34, 0, 0},
  11778. {0x35, 0x20, 0},
  11779. {0x36, 0x18, 0},
  11780. {0x37, 0x7, 0},
  11781. {0x38, 0x66, 0},
  11782. {0x39, 0x66, 0},
  11783. {0x3C, 0xff, 0},
  11784. {0x3D, 0xff, 0},
  11785. {0x40, 0x16, 0},
  11786. {0x41, 0x7, 0},
  11787. {0x45, 0x3, 0},
  11788. {0x46, 0x1, 0},
  11789. {0x47, 0x7, 0},
  11790. {0x4B, 0x66, 0},
  11791. {0x4C, 0x66, 0},
  11792. {0x4D, 0, 0},
  11793. {0x4E, 0x4, 0},
  11794. {0x4F, 0xc, 0},
  11795. {0x50, 0, 0},
  11796. {0x51, 0x70, 1},
  11797. {0x56, 0x7, 0},
  11798. {0x57, 0, 0},
  11799. {0x58, 0, 0},
  11800. {0x59, 0x88, 1},
  11801. {0x5A, 0, 0},
  11802. {0x5B, 0x1f, 0},
  11803. {0x5C, 0x20, 1},
  11804. {0x5D, 0x1, 0},
  11805. {0x5E, 0x30, 0},
  11806. {0x5F, 0x70, 0},
  11807. {0x60, 0, 0},
  11808. {0x61, 0, 0},
  11809. {0x62, 0x33, 1},
  11810. {0x63, 0xf, 1},
  11811. {0x64, 0xf, 1},
  11812. {0x65, 0, 0},
  11813. {0x66, 0x11, 0},
  11814. {0x80, 0x3c, 0},
  11815. {0x81, 0x1, 1},
  11816. {0x82, 0xa, 0},
  11817. {0x85, 0, 0},
  11818. {0x86, 0x40, 0},
  11819. {0x87, 0x40, 0},
  11820. {0x88, 0x88, 0},
  11821. {0x89, 0x10, 0},
  11822. {0x8A, 0xf0, 0},
  11823. {0x8B, 0x10, 0},
  11824. {0x8C, 0xf0, 0},
  11825. {0x8F, 0x10, 0},
  11826. {0x90, 0x55, 0},
  11827. {0x91, 0x3f, 1},
  11828. {0x92, 0x36, 1},
  11829. {0x93, 0, 0},
  11830. {0x94, 0, 0},
  11831. {0x95, 0, 0},
  11832. {0x96, 0x87, 0},
  11833. {0x97, 0x11, 0},
  11834. {0x98, 0, 0},
  11835. {0x99, 0x33, 0},
  11836. {0x9A, 0x88, 0},
  11837. {0xA1, 0x20, 1},
  11838. {0xA2, 0x3f, 0},
  11839. {0xA3, 0x44, 0},
  11840. {0xA4, 0x8c, 0},
  11841. {0xA5, 0x6c, 0},
  11842. {0xA6, 0x22, 0},
  11843. {0xA7, 0xbe, 0},
  11844. {0xA8, 0x55, 0},
  11845. {0xAA, 0xc, 0},
  11846. {0xAB, 0xaa, 0},
  11847. {0xAC, 0x2, 0},
  11848. {0xAD, 0, 0},
  11849. {0xAE, 0x10, 0},
  11850. {0xAF, 0x1, 0},
  11851. {0xB0, 0, 0},
  11852. {0xB1, 0, 0},
  11853. {0xB2, 0x80, 0},
  11854. {0xB3, 0x60, 0},
  11855. {0xB4, 0x44, 0},
  11856. {0xB5, 0x55, 0},
  11857. {0xB6, 0x1, 0},
  11858. {0xB7, 0x55, 0},
  11859. {0xB8, 0x1, 0},
  11860. {0xB9, 0x5, 0},
  11861. {0xBA, 0x55, 0},
  11862. {0xBB, 0x55, 0},
  11863. {0xC3, 0, 0},
  11864. {0xC4, 0, 0},
  11865. {0xC5, 0, 0},
  11866. {0xC6, 0, 0},
  11867. {0xC7, 0, 0},
  11868. {0xC8, 0, 0},
  11869. {0xC9, 0, 0},
  11870. {0xCA, 0, 0},
  11871. {0xCB, 0, 0},
  11872. {0xCD, 0, 0},
  11873. {0xCE, 0x5e, 0},
  11874. {0xCF, 0xc, 0},
  11875. {0xD0, 0xc, 0},
  11876. {0xD1, 0xc, 0},
  11877. {0xD2, 0, 0},
  11878. {0xD3, 0x2b, 0},
  11879. {0xD4, 0xc, 0},
  11880. {0xD5, 0, 0},
  11881. {0xD6, 0x70, 1},
  11882. {0xDB, 0x7, 0},
  11883. {0xDC, 0, 0},
  11884. {0xDD, 0, 0},
  11885. {0xDE, 0x88, 1},
  11886. {0xDF, 0, 0},
  11887. {0xE0, 0x1f, 0},
  11888. {0xE1, 0x20, 1},
  11889. {0xE2, 0x1, 0},
  11890. {0xE3, 0x30, 0},
  11891. {0xE4, 0x70, 0},
  11892. {0xE5, 0, 0},
  11893. {0xE6, 0, 0},
  11894. {0xE7, 0x33, 0},
  11895. {0xE8, 0xf, 1},
  11896. {0xE9, 0xf, 1},
  11897. {0xEA, 0, 0},
  11898. {0xEB, 0x11, 0},
  11899. {0x105, 0x3c, 0},
  11900. {0x106, 0x1, 1},
  11901. {0x107, 0xa, 0},
  11902. {0x10A, 0, 0},
  11903. {0x10B, 0x40, 0},
  11904. {0x10C, 0x40, 0},
  11905. {0x10D, 0x88, 0},
  11906. {0x10E, 0x10, 0},
  11907. {0x10F, 0xf0, 0},
  11908. {0x110, 0x10, 0},
  11909. {0x111, 0xf0, 0},
  11910. {0x114, 0x10, 0},
  11911. {0x115, 0x55, 0},
  11912. {0x116, 0x3f, 1},
  11913. {0x117, 0x36, 1},
  11914. {0x118, 0, 0},
  11915. {0x119, 0, 0},
  11916. {0x11A, 0, 0},
  11917. {0x11B, 0x87, 0},
  11918. {0x11C, 0x11, 0},
  11919. {0x11D, 0, 0},
  11920. {0x11E, 0x33, 0},
  11921. {0x11F, 0x88, 0},
  11922. {0x126, 0x20, 1},
  11923. {0x127, 0x3f, 0},
  11924. {0x128, 0x44, 0},
  11925. {0x129, 0x8c, 0},
  11926. {0x12A, 0x6c, 0},
  11927. {0x12B, 0x22, 0},
  11928. {0x12C, 0xbe, 0},
  11929. {0x12D, 0x55, 0},
  11930. {0x12F, 0xc, 0},
  11931. {0x130, 0xaa, 0},
  11932. {0x131, 0x2, 0},
  11933. {0x132, 0, 0},
  11934. {0x133, 0x10, 0},
  11935. {0x134, 0x1, 0},
  11936. {0x135, 0, 0},
  11937. {0x136, 0, 0},
  11938. {0x137, 0x80, 0},
  11939. {0x138, 0x60, 0},
  11940. {0x139, 0x44, 0},
  11941. {0x13A, 0x55, 0},
  11942. {0x13B, 0x1, 0},
  11943. {0x13C, 0x55, 0},
  11944. {0x13D, 0x1, 0},
  11945. {0x13E, 0x5, 0},
  11946. {0x13F, 0x55, 0},
  11947. {0x140, 0x55, 0},
  11948. {0x148, 0, 0},
  11949. {0x149, 0, 0},
  11950. {0x14A, 0, 0},
  11951. {0x14B, 0, 0},
  11952. {0x14C, 0, 0},
  11953. {0x14D, 0, 0},
  11954. {0x14E, 0, 0},
  11955. {0x14F, 0, 0},
  11956. {0x150, 0, 0},
  11957. {0x154, 0xc, 0},
  11958. {0x155, 0xc, 0},
  11959. {0x156, 0xc, 0},
  11960. {0x157, 0, 0},
  11961. {0x158, 0x2b, 0},
  11962. {0x159, 0x84, 0},
  11963. {0x15A, 0x15, 0},
  11964. {0x15B, 0xf, 0},
  11965. {0x15C, 0, 0},
  11966. {0x15D, 0, 0},
  11967. {0x15E, 0, 1},
  11968. {0x15F, 0, 1},
  11969. {0x160, 0, 1},
  11970. {0x161, 0, 1},
  11971. {0x162, 0, 1},
  11972. {0x163, 0, 1},
  11973. {0x164, 0, 0},
  11974. {0x165, 0, 0},
  11975. {0x166, 0, 0},
  11976. {0x167, 0, 0},
  11977. {0x168, 0, 0},
  11978. {0x169, 0, 0},
  11979. {0x16A, 0, 1},
  11980. {0x16B, 0, 1},
  11981. {0x16C, 0, 1},
  11982. {0x16D, 0, 0},
  11983. {0x170, 0, 0},
  11984. {0x171, 0x77, 0},
  11985. {0x172, 0x77, 0},
  11986. {0x173, 0x77, 0},
  11987. {0x174, 0x77, 0},
  11988. {0x175, 0, 0},
  11989. {0x176, 0x3, 0},
  11990. {0x177, 0x37, 0},
  11991. {0x178, 0x3, 0},
  11992. {0x179, 0, 0},
  11993. {0x17B, 0x21, 0},
  11994. {0x17C, 0, 0},
  11995. {0x17D, 0xaa, 0},
  11996. {0x17E, 0, 0},
  11997. {0x190, 0, 0},
  11998. {0x191, 0x77, 0},
  11999. {0x192, 0x77, 0},
  12000. {0x193, 0x77, 0},
  12001. {0x194, 0x77, 0},
  12002. {0x195, 0, 0},
  12003. {0x196, 0x3, 0},
  12004. {0x197, 0x37, 0},
  12005. {0x198, 0x3, 0},
  12006. {0x199, 0, 0},
  12007. {0x19B, 0x21, 0},
  12008. {0x19C, 0, 0},
  12009. {0x19D, 0xaa, 0},
  12010. {0x19E, 0, 0},
  12011. {0x1A1, 0x2, 0},
  12012. {0x1A2, 0xf, 0},
  12013. {0x1A3, 0xf, 0},
  12014. {0x1A4, 0, 1},
  12015. {0x1A5, 0, 1},
  12016. {0x1A6, 0, 1},
  12017. {0x1A7, 0x2, 0},
  12018. {0x1A8, 0xf, 0},
  12019. {0x1A9, 0xf, 0},
  12020. {0x1AA, 0, 1},
  12021. {0x1AB, 0, 1},
  12022. {0x1AC, 0, 1},
  12023. {0x1AD, 0x84, 0},
  12024. {0x1AE, 0x60, 0},
  12025. {0x1AF, 0x47, 0},
  12026. {0x1B0, 0x47, 0},
  12027. {0x1B1, 0, 0},
  12028. {0x1B2, 0, 0},
  12029. {0x1B3, 0, 0},
  12030. {0x1B4, 0, 0},
  12031. {0x1B5, 0, 0},
  12032. {0x1B6, 0, 0},
  12033. {0x1B7, 0xc, 1},
  12034. {0x1B8, 0, 0},
  12035. {0x1B9, 0, 0},
  12036. {0x1BA, 0, 0},
  12037. {0x1BB, 0, 0},
  12038. {0x1BC, 0, 0},
  12039. {0x1BD, 0, 0},
  12040. {0x1BE, 0, 0},
  12041. {0x1BF, 0, 0},
  12042. {0x1C0, 0, 0},
  12043. {0x1C1, 0x1, 1},
  12044. {0x1C2, 0x80, 1},
  12045. {0x1C3, 0, 0},
  12046. {0x1C4, 0, 0},
  12047. {0x1C5, 0, 0},
  12048. {0x1C6, 0, 0},
  12049. {0x1C7, 0, 0},
  12050. {0x1C8, 0, 0},
  12051. {0x1C9, 0, 0},
  12052. {0x1CA, 0, 0},
  12053. {0xFFFF, 0, 0}
  12054. };
  12055. static struct radio_20xx_regs regs_2057_rev5v1[] = {
  12056. {0x00, 0x15, 1},
  12057. {0x01, 0x57, 1},
  12058. {0x02, 0x20, 1},
  12059. {0x03, 0x1f, 0},
  12060. {0x04, 0x4, 0},
  12061. {0x05, 0x2, 0},
  12062. {0x06, 0x1, 0},
  12063. {0x07, 0x1, 0},
  12064. {0x08, 0x1, 0},
  12065. {0x09, 0x69, 0},
  12066. {0x0A, 0x66, 0},
  12067. {0x0B, 0x6, 0},
  12068. {0x0C, 0x18, 0},
  12069. {0x0D, 0x3, 0},
  12070. {0x0E, 0x20, 0},
  12071. {0x0F, 0x20, 0},
  12072. {0x10, 0, 0},
  12073. {0x11, 0x7c, 0},
  12074. {0x12, 0x42, 0},
  12075. {0x13, 0xbd, 0},
  12076. {0x14, 0x7, 0},
  12077. {0x15, 0x87, 0},
  12078. {0x16, 0x8, 0},
  12079. {0x17, 0x17, 0},
  12080. {0x18, 0x7, 0},
  12081. {0x19, 0, 0},
  12082. {0x1A, 0x2, 0},
  12083. {0x1B, 0x13, 0},
  12084. {0x1C, 0x3e, 0},
  12085. {0x1D, 0x3e, 0},
  12086. {0x1E, 0x96, 0},
  12087. {0x1F, 0x4, 0},
  12088. {0x20, 0, 0},
  12089. {0x21, 0, 0},
  12090. {0x22, 0x17, 0},
  12091. {0x23, 0x6, 1},
  12092. {0x24, 0x1, 0},
  12093. {0x25, 0x6, 0},
  12094. {0x26, 0x4, 0},
  12095. {0x27, 0xd, 0},
  12096. {0x28, 0xd, 0},
  12097. {0x29, 0x30, 0},
  12098. {0x2A, 0x32, 0},
  12099. {0x2B, 0x8, 0},
  12100. {0x2C, 0x1c, 0},
  12101. {0x2D, 0x2, 0},
  12102. {0x2E, 0x4, 0},
  12103. {0x2F, 0x7f, 0},
  12104. {0x30, 0x27, 0},
  12105. {0x31, 0, 1},
  12106. {0x32, 0, 1},
  12107. {0x33, 0, 1},
  12108. {0x34, 0, 0},
  12109. {0x35, 0x20, 0},
  12110. {0x36, 0x18, 0},
  12111. {0x37, 0x7, 0},
  12112. {0x38, 0x66, 0},
  12113. {0x39, 0x66, 0},
  12114. {0x3C, 0xff, 0},
  12115. {0x3D, 0xff, 0},
  12116. {0x40, 0x16, 0},
  12117. {0x41, 0x7, 0},
  12118. {0x45, 0x3, 0},
  12119. {0x46, 0x1, 0},
  12120. {0x47, 0x7, 0},
  12121. {0x4B, 0x66, 0},
  12122. {0x4C, 0x66, 0},
  12123. {0x4D, 0, 0},
  12124. {0x4E, 0x4, 0},
  12125. {0x4F, 0xc, 0},
  12126. {0x50, 0, 0},
  12127. {0x51, 0x70, 1},
  12128. {0x56, 0x7, 0},
  12129. {0x57, 0, 0},
  12130. {0x58, 0, 0},
  12131. {0x59, 0x88, 1},
  12132. {0x5A, 0, 0},
  12133. {0x5B, 0x1f, 0},
  12134. {0x5C, 0x20, 1},
  12135. {0x5D, 0x1, 0},
  12136. {0x5E, 0x30, 0},
  12137. {0x5F, 0x70, 0},
  12138. {0x60, 0, 0},
  12139. {0x61, 0, 0},
  12140. {0x62, 0x33, 1},
  12141. {0x63, 0xf, 1},
  12142. {0x64, 0xf, 1},
  12143. {0x65, 0, 0},
  12144. {0x66, 0x11, 0},
  12145. {0x80, 0x3c, 0},
  12146. {0x81, 0x1, 1},
  12147. {0x82, 0xa, 0},
  12148. {0x85, 0, 0},
  12149. {0x86, 0x40, 0},
  12150. {0x87, 0x40, 0},
  12151. {0x88, 0x88, 0},
  12152. {0x89, 0x10, 0},
  12153. {0x8A, 0xf0, 0},
  12154. {0x8B, 0x10, 0},
  12155. {0x8C, 0xf0, 0},
  12156. {0x8F, 0x10, 0},
  12157. {0x90, 0x55, 0},
  12158. {0x91, 0x3f, 1},
  12159. {0x92, 0x36, 1},
  12160. {0x93, 0, 0},
  12161. {0x94, 0, 0},
  12162. {0x95, 0, 0},
  12163. {0x96, 0x87, 0},
  12164. {0x97, 0x11, 0},
  12165. {0x98, 0, 0},
  12166. {0x99, 0x33, 0},
  12167. {0x9A, 0x88, 0},
  12168. {0xA1, 0x20, 1},
  12169. {0xA2, 0x3f, 0},
  12170. {0xA3, 0x44, 0},
  12171. {0xA4, 0x8c, 0},
  12172. {0xA5, 0x6c, 0},
  12173. {0xA6, 0x22, 0},
  12174. {0xA7, 0xbe, 0},
  12175. {0xA8, 0x55, 0},
  12176. {0xAA, 0xc, 0},
  12177. {0xAB, 0xaa, 0},
  12178. {0xAC, 0x2, 0},
  12179. {0xAD, 0, 0},
  12180. {0xAE, 0x10, 0},
  12181. {0xAF, 0x1, 0},
  12182. {0xB0, 0, 0},
  12183. {0xB1, 0, 0},
  12184. {0xB2, 0x80, 0},
  12185. {0xB3, 0x60, 0},
  12186. {0xB4, 0x44, 0},
  12187. {0xB5, 0x55, 0},
  12188. {0xB6, 0x1, 0},
  12189. {0xB7, 0x55, 0},
  12190. {0xB8, 0x1, 0},
  12191. {0xB9, 0x5, 0},
  12192. {0xBA, 0x55, 0},
  12193. {0xBB, 0x55, 0},
  12194. {0xC3, 0, 0},
  12195. {0xC4, 0, 0},
  12196. {0xC5, 0, 0},
  12197. {0xC6, 0, 0},
  12198. {0xC7, 0, 0},
  12199. {0xC8, 0, 0},
  12200. {0xC9, 0x1, 1},
  12201. {0xCA, 0, 0},
  12202. {0xCB, 0, 0},
  12203. {0xCD, 0, 0},
  12204. {0xCE, 0x5e, 0},
  12205. {0xCF, 0xc, 0},
  12206. {0xD0, 0xc, 0},
  12207. {0xD1, 0xc, 0},
  12208. {0xD2, 0, 0},
  12209. {0xD3, 0x2b, 0},
  12210. {0xD4, 0xc, 0},
  12211. {0xD5, 0, 0},
  12212. {0xD6, 0x70, 1},
  12213. {0xDB, 0x7, 0},
  12214. {0xDC, 0, 0},
  12215. {0xDD, 0, 0},
  12216. {0xDE, 0x88, 1},
  12217. {0xDF, 0, 0},
  12218. {0xE0, 0x1f, 0},
  12219. {0xE1, 0x20, 1},
  12220. {0xE2, 0x1, 0},
  12221. {0xE3, 0x30, 0},
  12222. {0xE4, 0x70, 0},
  12223. {0xE5, 0, 0},
  12224. {0xE6, 0, 0},
  12225. {0xE7, 0x33, 0},
  12226. {0xE8, 0xf, 1},
  12227. {0xE9, 0xf, 1},
  12228. {0xEA, 0, 0},
  12229. {0xEB, 0x11, 0},
  12230. {0x105, 0x3c, 0},
  12231. {0x106, 0x1, 1},
  12232. {0x107, 0xa, 0},
  12233. {0x10A, 0, 0},
  12234. {0x10B, 0x40, 0},
  12235. {0x10C, 0x40, 0},
  12236. {0x10D, 0x88, 0},
  12237. {0x10E, 0x10, 0},
  12238. {0x10F, 0xf0, 0},
  12239. {0x110, 0x10, 0},
  12240. {0x111, 0xf0, 0},
  12241. {0x114, 0x10, 0},
  12242. {0x115, 0x55, 0},
  12243. {0x116, 0x3f, 1},
  12244. {0x117, 0x36, 1},
  12245. {0x118, 0, 0},
  12246. {0x119, 0, 0},
  12247. {0x11A, 0, 0},
  12248. {0x11B, 0x87, 0},
  12249. {0x11C, 0x11, 0},
  12250. {0x11D, 0, 0},
  12251. {0x11E, 0x33, 0},
  12252. {0x11F, 0x88, 0},
  12253. {0x126, 0x20, 1},
  12254. {0x127, 0x3f, 0},
  12255. {0x128, 0x44, 0},
  12256. {0x129, 0x8c, 0},
  12257. {0x12A, 0x6c, 0},
  12258. {0x12B, 0x22, 0},
  12259. {0x12C, 0xbe, 0},
  12260. {0x12D, 0x55, 0},
  12261. {0x12F, 0xc, 0},
  12262. {0x130, 0xaa, 0},
  12263. {0x131, 0x2, 0},
  12264. {0x132, 0, 0},
  12265. {0x133, 0x10, 0},
  12266. {0x134, 0x1, 0},
  12267. {0x135, 0, 0},
  12268. {0x136, 0, 0},
  12269. {0x137, 0x80, 0},
  12270. {0x138, 0x60, 0},
  12271. {0x139, 0x44, 0},
  12272. {0x13A, 0x55, 0},
  12273. {0x13B, 0x1, 0},
  12274. {0x13C, 0x55, 0},
  12275. {0x13D, 0x1, 0},
  12276. {0x13E, 0x5, 0},
  12277. {0x13F, 0x55, 0},
  12278. {0x140, 0x55, 0},
  12279. {0x148, 0, 0},
  12280. {0x149, 0, 0},
  12281. {0x14A, 0, 0},
  12282. {0x14B, 0, 0},
  12283. {0x14C, 0, 0},
  12284. {0x14D, 0, 0},
  12285. {0x14E, 0x1, 1},
  12286. {0x14F, 0, 0},
  12287. {0x150, 0, 0},
  12288. {0x154, 0xc, 0},
  12289. {0x155, 0xc, 0},
  12290. {0x156, 0xc, 0},
  12291. {0x157, 0, 0},
  12292. {0x158, 0x2b, 0},
  12293. {0x159, 0x84, 0},
  12294. {0x15A, 0x15, 0},
  12295. {0x15B, 0xf, 0},
  12296. {0x15C, 0, 0},
  12297. {0x15D, 0, 0},
  12298. {0x15E, 0, 1},
  12299. {0x15F, 0, 1},
  12300. {0x160, 0, 1},
  12301. {0x161, 0, 1},
  12302. {0x162, 0, 1},
  12303. {0x163, 0, 1},
  12304. {0x164, 0, 0},
  12305. {0x165, 0, 0},
  12306. {0x166, 0, 0},
  12307. {0x167, 0, 0},
  12308. {0x168, 0, 0},
  12309. {0x169, 0, 0},
  12310. {0x16A, 0, 1},
  12311. {0x16B, 0, 1},
  12312. {0x16C, 0, 1},
  12313. {0x16D, 0, 0},
  12314. {0x170, 0, 0},
  12315. {0x171, 0x77, 0},
  12316. {0x172, 0x77, 0},
  12317. {0x173, 0x77, 0},
  12318. {0x174, 0x77, 0},
  12319. {0x175, 0, 0},
  12320. {0x176, 0x3, 0},
  12321. {0x177, 0x37, 0},
  12322. {0x178, 0x3, 0},
  12323. {0x179, 0, 0},
  12324. {0x17B, 0x21, 0},
  12325. {0x17C, 0, 0},
  12326. {0x17D, 0xaa, 0},
  12327. {0x17E, 0, 0},
  12328. {0x190, 0, 0},
  12329. {0x191, 0x77, 0},
  12330. {0x192, 0x77, 0},
  12331. {0x193, 0x77, 0},
  12332. {0x194, 0x77, 0},
  12333. {0x195, 0, 0},
  12334. {0x196, 0x3, 0},
  12335. {0x197, 0x37, 0},
  12336. {0x198, 0x3, 0},
  12337. {0x199, 0, 0},
  12338. {0x19B, 0x21, 0},
  12339. {0x19C, 0, 0},
  12340. {0x19D, 0xaa, 0},
  12341. {0x19E, 0, 0},
  12342. {0x1A1, 0x2, 0},
  12343. {0x1A2, 0xf, 0},
  12344. {0x1A3, 0xf, 0},
  12345. {0x1A4, 0, 1},
  12346. {0x1A5, 0, 1},
  12347. {0x1A6, 0, 1},
  12348. {0x1A7, 0x2, 0},
  12349. {0x1A8, 0xf, 0},
  12350. {0x1A9, 0xf, 0},
  12351. {0x1AA, 0, 1},
  12352. {0x1AB, 0, 1},
  12353. {0x1AC, 0, 1},
  12354. {0x1AD, 0x84, 0},
  12355. {0x1AE, 0x60, 0},
  12356. {0x1AF, 0x47, 0},
  12357. {0x1B0, 0x47, 0},
  12358. {0x1B1, 0, 0},
  12359. {0x1B2, 0, 0},
  12360. {0x1B3, 0, 0},
  12361. {0x1B4, 0, 0},
  12362. {0x1B5, 0, 0},
  12363. {0x1B6, 0, 0},
  12364. {0x1B7, 0xc, 1},
  12365. {0x1B8, 0, 0},
  12366. {0x1B9, 0, 0},
  12367. {0x1BA, 0, 0},
  12368. {0x1BB, 0, 0},
  12369. {0x1BC, 0, 0},
  12370. {0x1BD, 0, 0},
  12371. {0x1BE, 0, 0},
  12372. {0x1BF, 0, 0},
  12373. {0x1C0, 0, 0},
  12374. {0x1C1, 0x1, 1},
  12375. {0x1C2, 0x80, 1},
  12376. {0x1C3, 0, 0},
  12377. {0x1C4, 0, 0},
  12378. {0x1C5, 0, 0},
  12379. {0x1C6, 0, 0},
  12380. {0x1C7, 0, 0},
  12381. {0x1C8, 0, 0},
  12382. {0x1C9, 0, 0},
  12383. {0x1CA, 0, 0},
  12384. {0xFFFF, 0, 0}
  12385. };
  12386. static struct radio_20xx_regs regs_2057_rev7[] = {
  12387. {0x00, 0, 1},
  12388. {0x01, 0x57, 1},
  12389. {0x02, 0x20, 1},
  12390. {0x03, 0x1f, 0},
  12391. {0x04, 0x4, 0},
  12392. {0x05, 0x2, 0},
  12393. {0x06, 0x1, 0},
  12394. {0x07, 0x1, 0},
  12395. {0x08, 0x1, 0},
  12396. {0x09, 0x69, 0},
  12397. {0x0A, 0x66, 0},
  12398. {0x0B, 0x6, 0},
  12399. {0x0C, 0x18, 0},
  12400. {0x0D, 0x3, 0},
  12401. {0x0E, 0x20, 0},
  12402. {0x0F, 0x20, 0},
  12403. {0x10, 0, 0},
  12404. {0x11, 0x7c, 0},
  12405. {0x12, 0x42, 0},
  12406. {0x13, 0xbd, 0},
  12407. {0x14, 0x7, 0},
  12408. {0x15, 0x87, 0},
  12409. {0x16, 0x8, 0},
  12410. {0x17, 0x17, 0},
  12411. {0x18, 0x7, 0},
  12412. {0x19, 0, 0},
  12413. {0x1A, 0x2, 0},
  12414. {0x1B, 0x13, 0},
  12415. {0x1C, 0x3e, 0},
  12416. {0x1D, 0x3e, 0},
  12417. {0x1E, 0x96, 0},
  12418. {0x1F, 0x4, 0},
  12419. {0x20, 0, 0},
  12420. {0x21, 0, 0},
  12421. {0x22, 0x17, 0},
  12422. {0x23, 0x6, 0},
  12423. {0x24, 0x1, 0},
  12424. {0x25, 0x6, 0},
  12425. {0x26, 0x4, 0},
  12426. {0x27, 0xd, 0},
  12427. {0x28, 0xd, 0},
  12428. {0x29, 0x30, 0},
  12429. {0x2A, 0x32, 0},
  12430. {0x2B, 0x8, 0},
  12431. {0x2C, 0x1c, 0},
  12432. {0x2D, 0x2, 0},
  12433. {0x2E, 0x4, 0},
  12434. {0x2F, 0x7f, 0},
  12435. {0x30, 0x27, 0},
  12436. {0x31, 0, 1},
  12437. {0x32, 0, 1},
  12438. {0x33, 0, 1},
  12439. {0x34, 0, 0},
  12440. {0x35, 0x20, 0},
  12441. {0x36, 0x18, 0},
  12442. {0x37, 0x7, 0},
  12443. {0x38, 0x66, 0},
  12444. {0x39, 0x66, 0},
  12445. {0x3A, 0x66, 0},
  12446. {0x3B, 0x66, 0},
  12447. {0x3C, 0xff, 0},
  12448. {0x3D, 0xff, 0},
  12449. {0x3E, 0xff, 0},
  12450. {0x3F, 0xff, 0},
  12451. {0x40, 0x16, 0},
  12452. {0x41, 0x7, 0},
  12453. {0x42, 0x19, 0},
  12454. {0x43, 0x7, 0},
  12455. {0x44, 0x6, 0},
  12456. {0x45, 0x3, 0},
  12457. {0x46, 0x1, 0},
  12458. {0x47, 0x7, 0},
  12459. {0x48, 0x33, 0},
  12460. {0x49, 0x5, 0},
  12461. {0x4A, 0x77, 0},
  12462. {0x4B, 0x66, 0},
  12463. {0x4C, 0x66, 0},
  12464. {0x4D, 0, 0},
  12465. {0x4E, 0x4, 0},
  12466. {0x4F, 0xc, 0},
  12467. {0x50, 0, 0},
  12468. {0x51, 0x70, 1},
  12469. {0x56, 0x7, 0},
  12470. {0x57, 0, 0},
  12471. {0x58, 0, 0},
  12472. {0x59, 0x88, 1},
  12473. {0x5A, 0, 0},
  12474. {0x5B, 0x1f, 0},
  12475. {0x5C, 0x20, 1},
  12476. {0x5D, 0x1, 0},
  12477. {0x5E, 0x30, 0},
  12478. {0x5F, 0x70, 0},
  12479. {0x60, 0, 0},
  12480. {0x61, 0, 0},
  12481. {0x62, 0x33, 1},
  12482. {0x63, 0xf, 1},
  12483. {0x64, 0x13, 1},
  12484. {0x65, 0, 0},
  12485. {0x66, 0xee, 1},
  12486. {0x69, 0, 0},
  12487. {0x6A, 0x7e, 0},
  12488. {0x6B, 0x3f, 0},
  12489. {0x6C, 0x7f, 0},
  12490. {0x6D, 0x78, 0},
  12491. {0x6E, 0x58, 1},
  12492. {0x6F, 0x88, 0},
  12493. {0x70, 0x8, 0},
  12494. {0x71, 0xf, 0},
  12495. {0x72, 0xbc, 0},
  12496. {0x73, 0x8, 0},
  12497. {0x74, 0x60, 0},
  12498. {0x75, 0x13, 1},
  12499. {0x76, 0x70, 0},
  12500. {0x77, 0, 0},
  12501. {0x78, 0, 0},
  12502. {0x79, 0, 0},
  12503. {0x7A, 0x33, 0},
  12504. {0x7B, 0x13, 1},
  12505. {0x7C, 0x14, 1},
  12506. {0x7D, 0xee, 1},
  12507. {0x80, 0x3c, 0},
  12508. {0x81, 0x1, 1},
  12509. {0x82, 0xa, 0},
  12510. {0x83, 0x9d, 0},
  12511. {0x84, 0xa, 0},
  12512. {0x85, 0, 0},
  12513. {0x86, 0x40, 0},
  12514. {0x87, 0x40, 0},
  12515. {0x88, 0x88, 0},
  12516. {0x89, 0x10, 0},
  12517. {0x8A, 0xf0, 0},
  12518. {0x8B, 0x10, 0},
  12519. {0x8C, 0xf0, 0},
  12520. {0x8D, 0, 0},
  12521. {0x8E, 0, 0},
  12522. {0x8F, 0x10, 0},
  12523. {0x90, 0x55, 0},
  12524. {0x91, 0x3f, 1},
  12525. {0x92, 0x36, 1},
  12526. {0x93, 0, 0},
  12527. {0x94, 0, 0},
  12528. {0x95, 0, 0},
  12529. {0x96, 0x87, 0},
  12530. {0x97, 0x11, 0},
  12531. {0x98, 0, 0},
  12532. {0x99, 0x33, 0},
  12533. {0x9A, 0x88, 0},
  12534. {0x9B, 0, 0},
  12535. {0x9C, 0x87, 0},
  12536. {0x9D, 0x11, 0},
  12537. {0x9E, 0, 0},
  12538. {0x9F, 0x33, 0},
  12539. {0xA0, 0x88, 0},
  12540. {0xA1, 0x20, 1},
  12541. {0xA2, 0x3f, 0},
  12542. {0xA3, 0x44, 0},
  12543. {0xA4, 0x8c, 0},
  12544. {0xA5, 0x6c, 0},
  12545. {0xA6, 0x22, 0},
  12546. {0xA7, 0xbe, 0},
  12547. {0xA8, 0x55, 0},
  12548. {0xAA, 0xc, 0},
  12549. {0xAB, 0xaa, 0},
  12550. {0xAC, 0x2, 0},
  12551. {0xAD, 0, 0},
  12552. {0xAE, 0x10, 0},
  12553. {0xAF, 0x1, 0},
  12554. {0xB0, 0, 0},
  12555. {0xB1, 0, 0},
  12556. {0xB2, 0x80, 0},
  12557. {0xB3, 0x60, 0},
  12558. {0xB4, 0x44, 0},
  12559. {0xB5, 0x55, 0},
  12560. {0xB6, 0x1, 0},
  12561. {0xB7, 0x55, 0},
  12562. {0xB8, 0x1, 0},
  12563. {0xB9, 0x5, 0},
  12564. {0xBA, 0x55, 0},
  12565. {0xBB, 0x55, 0},
  12566. {0xC1, 0, 0},
  12567. {0xC2, 0, 0},
  12568. {0xC3, 0, 0},
  12569. {0xC4, 0, 0},
  12570. {0xC5, 0, 0},
  12571. {0xC6, 0, 0},
  12572. {0xC7, 0, 0},
  12573. {0xC8, 0, 0},
  12574. {0xC9, 0, 0},
  12575. {0xCA, 0, 0},
  12576. {0xCB, 0, 0},
  12577. {0xCC, 0, 0},
  12578. {0xCD, 0, 0},
  12579. {0xCE, 0x5e, 0},
  12580. {0xCF, 0xc, 0},
  12581. {0xD0, 0xc, 0},
  12582. {0xD1, 0xc, 0},
  12583. {0xD2, 0, 0},
  12584. {0xD3, 0x2b, 0},
  12585. {0xD4, 0xc, 0},
  12586. {0xD5, 0, 0},
  12587. {0xD6, 0x70, 1},
  12588. {0xDB, 0x7, 0},
  12589. {0xDC, 0, 0},
  12590. {0xDD, 0, 0},
  12591. {0xDE, 0x88, 1},
  12592. {0xDF, 0, 0},
  12593. {0xE0, 0x1f, 0},
  12594. {0xE1, 0x20, 1},
  12595. {0xE2, 0x1, 0},
  12596. {0xE3, 0x30, 0},
  12597. {0xE4, 0x70, 0},
  12598. {0xE5, 0, 0},
  12599. {0xE6, 0, 0},
  12600. {0xE7, 0x33, 0},
  12601. {0xE8, 0xf, 1},
  12602. {0xE9, 0x13, 1},
  12603. {0xEA, 0, 0},
  12604. {0xEB, 0xee, 1},
  12605. {0xEE, 0, 0},
  12606. {0xEF, 0x7e, 0},
  12607. {0xF0, 0x3f, 0},
  12608. {0xF1, 0x7f, 0},
  12609. {0xF2, 0x78, 0},
  12610. {0xF3, 0x58, 1},
  12611. {0xF4, 0x88, 0},
  12612. {0xF5, 0x8, 0},
  12613. {0xF6, 0xf, 0},
  12614. {0xF7, 0xbc, 0},
  12615. {0xF8, 0x8, 0},
  12616. {0xF9, 0x60, 0},
  12617. {0xFA, 0x13, 1},
  12618. {0xFB, 0x70, 0},
  12619. {0xFC, 0, 0},
  12620. {0xFD, 0, 0},
  12621. {0xFE, 0, 0},
  12622. {0xFF, 0x33, 0},
  12623. {0x100, 0x13, 1},
  12624. {0x101, 0x14, 1},
  12625. {0x102, 0xee, 1},
  12626. {0x105, 0x3c, 0},
  12627. {0x106, 0x1, 1},
  12628. {0x107, 0xa, 0},
  12629. {0x108, 0x9d, 0},
  12630. {0x109, 0xa, 0},
  12631. {0x10A, 0, 0},
  12632. {0x10B, 0x40, 0},
  12633. {0x10C, 0x40, 0},
  12634. {0x10D, 0x88, 0},
  12635. {0x10E, 0x10, 0},
  12636. {0x10F, 0xf0, 0},
  12637. {0x110, 0x10, 0},
  12638. {0x111, 0xf0, 0},
  12639. {0x112, 0, 0},
  12640. {0x113, 0, 0},
  12641. {0x114, 0x10, 0},
  12642. {0x115, 0x55, 0},
  12643. {0x116, 0x3f, 1},
  12644. {0x117, 0x36, 1},
  12645. {0x118, 0, 0},
  12646. {0x119, 0, 0},
  12647. {0x11A, 0, 0},
  12648. {0x11B, 0x87, 0},
  12649. {0x11C, 0x11, 0},
  12650. {0x11D, 0, 0},
  12651. {0x11E, 0x33, 0},
  12652. {0x11F, 0x88, 0},
  12653. {0x120, 0, 0},
  12654. {0x121, 0x87, 0},
  12655. {0x122, 0x11, 0},
  12656. {0x123, 0, 0},
  12657. {0x124, 0x33, 0},
  12658. {0x125, 0x88, 0},
  12659. {0x126, 0x20, 1},
  12660. {0x127, 0x3f, 0},
  12661. {0x128, 0x44, 0},
  12662. {0x129, 0x8c, 0},
  12663. {0x12A, 0x6c, 0},
  12664. {0x12B, 0x22, 0},
  12665. {0x12C, 0xbe, 0},
  12666. {0x12D, 0x55, 0},
  12667. {0x12F, 0xc, 0},
  12668. {0x130, 0xaa, 0},
  12669. {0x131, 0x2, 0},
  12670. {0x132, 0, 0},
  12671. {0x133, 0x10, 0},
  12672. {0x134, 0x1, 0},
  12673. {0x135, 0, 0},
  12674. {0x136, 0, 0},
  12675. {0x137, 0x80, 0},
  12676. {0x138, 0x60, 0},
  12677. {0x139, 0x44, 0},
  12678. {0x13A, 0x55, 0},
  12679. {0x13B, 0x1, 0},
  12680. {0x13C, 0x55, 0},
  12681. {0x13D, 0x1, 0},
  12682. {0x13E, 0x5, 0},
  12683. {0x13F, 0x55, 0},
  12684. {0x140, 0x55, 0},
  12685. {0x146, 0, 0},
  12686. {0x147, 0, 0},
  12687. {0x148, 0, 0},
  12688. {0x149, 0, 0},
  12689. {0x14A, 0, 0},
  12690. {0x14B, 0, 0},
  12691. {0x14C, 0, 0},
  12692. {0x14D, 0, 0},
  12693. {0x14E, 0, 0},
  12694. {0x14F, 0, 0},
  12695. {0x150, 0, 0},
  12696. {0x151, 0, 0},
  12697. {0x154, 0xc, 0},
  12698. {0x155, 0xc, 0},
  12699. {0x156, 0xc, 0},
  12700. {0x157, 0, 0},
  12701. {0x158, 0x2b, 0},
  12702. {0x159, 0x84, 0},
  12703. {0x15A, 0x15, 0},
  12704. {0x15B, 0xf, 0},
  12705. {0x15C, 0, 0},
  12706. {0x15D, 0, 0},
  12707. {0x15E, 0, 1},
  12708. {0x15F, 0, 1},
  12709. {0x160, 0, 1},
  12710. {0x161, 0, 1},
  12711. {0x162, 0, 1},
  12712. {0x163, 0, 1},
  12713. {0x164, 0, 0},
  12714. {0x165, 0, 0},
  12715. {0x166, 0, 0},
  12716. {0x167, 0, 0},
  12717. {0x168, 0, 0},
  12718. {0x169, 0, 0},
  12719. {0x16A, 0, 1},
  12720. {0x16B, 0, 1},
  12721. {0x16C, 0, 1},
  12722. {0x16D, 0, 0},
  12723. {0x170, 0, 0},
  12724. {0x171, 0x77, 0},
  12725. {0x172, 0x77, 0},
  12726. {0x173, 0x77, 0},
  12727. {0x174, 0x77, 0},
  12728. {0x175, 0, 0},
  12729. {0x176, 0x3, 0},
  12730. {0x177, 0x37, 0},
  12731. {0x178, 0x3, 0},
  12732. {0x179, 0, 0},
  12733. {0x17A, 0x21, 0},
  12734. {0x17B, 0x21, 0},
  12735. {0x17C, 0, 0},
  12736. {0x17D, 0xaa, 0},
  12737. {0x17E, 0, 0},
  12738. {0x17F, 0xaa, 0},
  12739. {0x180, 0, 0},
  12740. {0x190, 0, 0},
  12741. {0x191, 0x77, 0},
  12742. {0x192, 0x77, 0},
  12743. {0x193, 0x77, 0},
  12744. {0x194, 0x77, 0},
  12745. {0x195, 0, 0},
  12746. {0x196, 0x3, 0},
  12747. {0x197, 0x37, 0},
  12748. {0x198, 0x3, 0},
  12749. {0x199, 0, 0},
  12750. {0x19A, 0x21, 0},
  12751. {0x19B, 0x21, 0},
  12752. {0x19C, 0, 0},
  12753. {0x19D, 0xaa, 0},
  12754. {0x19E, 0, 0},
  12755. {0x19F, 0xaa, 0},
  12756. {0x1A0, 0, 0},
  12757. {0x1A1, 0x2, 0},
  12758. {0x1A2, 0xf, 0},
  12759. {0x1A3, 0xf, 0},
  12760. {0x1A4, 0, 1},
  12761. {0x1A5, 0, 1},
  12762. {0x1A6, 0, 1},
  12763. {0x1A7, 0x2, 0},
  12764. {0x1A8, 0xf, 0},
  12765. {0x1A9, 0xf, 0},
  12766. {0x1AA, 0, 1},
  12767. {0x1AB, 0, 1},
  12768. {0x1AC, 0, 1},
  12769. {0x1AD, 0x84, 0},
  12770. {0x1AE, 0x60, 0},
  12771. {0x1AF, 0x47, 0},
  12772. {0x1B0, 0x47, 0},
  12773. {0x1B1, 0, 0},
  12774. {0x1B2, 0, 0},
  12775. {0x1B3, 0, 0},
  12776. {0x1B4, 0, 0},
  12777. {0x1B5, 0, 0},
  12778. {0x1B6, 0, 0},
  12779. {0x1B7, 0x5, 1},
  12780. {0x1B8, 0, 0},
  12781. {0x1B9, 0, 0},
  12782. {0x1BA, 0, 0},
  12783. {0x1BB, 0, 0},
  12784. {0x1BC, 0, 0},
  12785. {0x1BD, 0, 0},
  12786. {0x1BE, 0, 0},
  12787. {0x1BF, 0, 0},
  12788. {0x1C0, 0, 0},
  12789. {0x1C1, 0, 0},
  12790. {0x1C2, 0xa0, 1},
  12791. {0x1C3, 0, 0},
  12792. {0x1C4, 0, 0},
  12793. {0x1C5, 0, 0},
  12794. {0x1C6, 0, 0},
  12795. {0x1C7, 0, 0},
  12796. {0x1C8, 0, 0},
  12797. {0x1C9, 0, 0},
  12798. {0x1CA, 0, 0},
  12799. {0xFFFF, 0, 0}
  12800. };
  12801. static struct radio_20xx_regs regs_2057_rev8[] = {
  12802. {0x00, 0x8, 1},
  12803. {0x01, 0x57, 1},
  12804. {0x02, 0x20, 1},
  12805. {0x03, 0x1f, 0},
  12806. {0x04, 0x4, 0},
  12807. {0x05, 0x2, 0},
  12808. {0x06, 0x1, 0},
  12809. {0x07, 0x1, 0},
  12810. {0x08, 0x1, 0},
  12811. {0x09, 0x69, 0},
  12812. {0x0A, 0x66, 0},
  12813. {0x0B, 0x6, 0},
  12814. {0x0C, 0x18, 0},
  12815. {0x0D, 0x3, 0},
  12816. {0x0E, 0x20, 0},
  12817. {0x0F, 0x20, 0},
  12818. {0x10, 0, 0},
  12819. {0x11, 0x7c, 0},
  12820. {0x12, 0x42, 0},
  12821. {0x13, 0xbd, 0},
  12822. {0x14, 0x7, 0},
  12823. {0x15, 0x87, 0},
  12824. {0x16, 0x8, 0},
  12825. {0x17, 0x17, 0},
  12826. {0x18, 0x7, 0},
  12827. {0x19, 0, 0},
  12828. {0x1A, 0x2, 0},
  12829. {0x1B, 0x13, 0},
  12830. {0x1C, 0x3e, 0},
  12831. {0x1D, 0x3e, 0},
  12832. {0x1E, 0x96, 0},
  12833. {0x1F, 0x4, 0},
  12834. {0x20, 0, 0},
  12835. {0x21, 0, 0},
  12836. {0x22, 0x17, 0},
  12837. {0x23, 0x6, 0},
  12838. {0x24, 0x1, 0},
  12839. {0x25, 0x6, 0},
  12840. {0x26, 0x4, 0},
  12841. {0x27, 0xd, 0},
  12842. {0x28, 0xd, 0},
  12843. {0x29, 0x30, 0},
  12844. {0x2A, 0x32, 0},
  12845. {0x2B, 0x8, 0},
  12846. {0x2C, 0x1c, 0},
  12847. {0x2D, 0x2, 0},
  12848. {0x2E, 0x4, 0},
  12849. {0x2F, 0x7f, 0},
  12850. {0x30, 0x27, 0},
  12851. {0x31, 0, 1},
  12852. {0x32, 0, 1},
  12853. {0x33, 0, 1},
  12854. {0x34, 0, 0},
  12855. {0x35, 0x20, 0},
  12856. {0x36, 0x18, 0},
  12857. {0x37, 0x7, 0},
  12858. {0x38, 0x66, 0},
  12859. {0x39, 0x66, 0},
  12860. {0x3A, 0x66, 0},
  12861. {0x3B, 0x66, 0},
  12862. {0x3C, 0xff, 0},
  12863. {0x3D, 0xff, 0},
  12864. {0x3E, 0xff, 0},
  12865. {0x3F, 0xff, 0},
  12866. {0x40, 0x16, 0},
  12867. {0x41, 0x7, 0},
  12868. {0x42, 0x19, 0},
  12869. {0x43, 0x7, 0},
  12870. {0x44, 0x6, 0},
  12871. {0x45, 0x3, 0},
  12872. {0x46, 0x1, 0},
  12873. {0x47, 0x7, 0},
  12874. {0x48, 0x33, 0},
  12875. {0x49, 0x5, 0},
  12876. {0x4A, 0x77, 0},
  12877. {0x4B, 0x66, 0},
  12878. {0x4C, 0x66, 0},
  12879. {0x4D, 0, 0},
  12880. {0x4E, 0x4, 0},
  12881. {0x4F, 0xc, 0},
  12882. {0x50, 0, 0},
  12883. {0x51, 0x70, 1},
  12884. {0x56, 0x7, 0},
  12885. {0x57, 0, 0},
  12886. {0x58, 0, 0},
  12887. {0x59, 0x88, 1},
  12888. {0x5A, 0, 0},
  12889. {0x5B, 0x1f, 0},
  12890. {0x5C, 0x20, 1},
  12891. {0x5D, 0x1, 0},
  12892. {0x5E, 0x30, 0},
  12893. {0x5F, 0x70, 0},
  12894. {0x60, 0, 0},
  12895. {0x61, 0, 0},
  12896. {0x62, 0x33, 1},
  12897. {0x63, 0xf, 1},
  12898. {0x64, 0xf, 1},
  12899. {0x65, 0, 0},
  12900. {0x66, 0x11, 0},
  12901. {0x69, 0, 0},
  12902. {0x6A, 0x7e, 0},
  12903. {0x6B, 0x3f, 0},
  12904. {0x6C, 0x7f, 0},
  12905. {0x6D, 0x78, 0},
  12906. {0x6E, 0x58, 1},
  12907. {0x6F, 0x88, 0},
  12908. {0x70, 0x8, 0},
  12909. {0x71, 0xf, 0},
  12910. {0x72, 0xbc, 0},
  12911. {0x73, 0x8, 0},
  12912. {0x74, 0x60, 0},
  12913. {0x75, 0x13, 1},
  12914. {0x76, 0x70, 0},
  12915. {0x77, 0, 0},
  12916. {0x78, 0, 0},
  12917. {0x79, 0, 0},
  12918. {0x7A, 0x33, 0},
  12919. {0x7B, 0x13, 1},
  12920. {0x7C, 0xf, 1},
  12921. {0x7D, 0xee, 1},
  12922. {0x80, 0x3c, 0},
  12923. {0x81, 0x1, 1},
  12924. {0x82, 0xa, 0},
  12925. {0x83, 0x9d, 0},
  12926. {0x84, 0xa, 0},
  12927. {0x85, 0, 0},
  12928. {0x86, 0x40, 0},
  12929. {0x87, 0x40, 0},
  12930. {0x88, 0x88, 0},
  12931. {0x89, 0x10, 0},
  12932. {0x8A, 0xf0, 0},
  12933. {0x8B, 0x10, 0},
  12934. {0x8C, 0xf0, 0},
  12935. {0x8D, 0, 0},
  12936. {0x8E, 0, 0},
  12937. {0x8F, 0x10, 0},
  12938. {0x90, 0x55, 0},
  12939. {0x91, 0x3f, 1},
  12940. {0x92, 0x36, 1},
  12941. {0x93, 0, 0},
  12942. {0x94, 0, 0},
  12943. {0x95, 0, 0},
  12944. {0x96, 0x87, 0},
  12945. {0x97, 0x11, 0},
  12946. {0x98, 0, 0},
  12947. {0x99, 0x33, 0},
  12948. {0x9A, 0x88, 0},
  12949. {0x9B, 0, 0},
  12950. {0x9C, 0x87, 0},
  12951. {0x9D, 0x11, 0},
  12952. {0x9E, 0, 0},
  12953. {0x9F, 0x33, 0},
  12954. {0xA0, 0x88, 0},
  12955. {0xA1, 0x20, 1},
  12956. {0xA2, 0x3f, 0},
  12957. {0xA3, 0x44, 0},
  12958. {0xA4, 0x8c, 0},
  12959. {0xA5, 0x6c, 0},
  12960. {0xA6, 0x22, 0},
  12961. {0xA7, 0xbe, 0},
  12962. {0xA8, 0x55, 0},
  12963. {0xAA, 0xc, 0},
  12964. {0xAB, 0xaa, 0},
  12965. {0xAC, 0x2, 0},
  12966. {0xAD, 0, 0},
  12967. {0xAE, 0x10, 0},
  12968. {0xAF, 0x1, 0},
  12969. {0xB0, 0, 0},
  12970. {0xB1, 0, 0},
  12971. {0xB2, 0x80, 0},
  12972. {0xB3, 0x60, 0},
  12973. {0xB4, 0x44, 0},
  12974. {0xB5, 0x55, 0},
  12975. {0xB6, 0x1, 0},
  12976. {0xB7, 0x55, 0},
  12977. {0xB8, 0x1, 0},
  12978. {0xB9, 0x5, 0},
  12979. {0xBA, 0x55, 0},
  12980. {0xBB, 0x55, 0},
  12981. {0xC1, 0, 0},
  12982. {0xC2, 0, 0},
  12983. {0xC3, 0, 0},
  12984. {0xC4, 0, 0},
  12985. {0xC5, 0, 0},
  12986. {0xC6, 0, 0},
  12987. {0xC7, 0, 0},
  12988. {0xC8, 0, 0},
  12989. {0xC9, 0x1, 1},
  12990. {0xCA, 0, 0},
  12991. {0xCB, 0, 0},
  12992. {0xCC, 0, 0},
  12993. {0xCD, 0, 0},
  12994. {0xCE, 0x5e, 0},
  12995. {0xCF, 0xc, 0},
  12996. {0xD0, 0xc, 0},
  12997. {0xD1, 0xc, 0},
  12998. {0xD2, 0, 0},
  12999. {0xD3, 0x2b, 0},
  13000. {0xD4, 0xc, 0},
  13001. {0xD5, 0, 0},
  13002. {0xD6, 0x70, 1},
  13003. {0xDB, 0x7, 0},
  13004. {0xDC, 0, 0},
  13005. {0xDD, 0, 0},
  13006. {0xDE, 0x88, 1},
  13007. {0xDF, 0, 0},
  13008. {0xE0, 0x1f, 0},
  13009. {0xE1, 0x20, 1},
  13010. {0xE2, 0x1, 0},
  13011. {0xE3, 0x30, 0},
  13012. {0xE4, 0x70, 0},
  13013. {0xE5, 0, 0},
  13014. {0xE6, 0, 0},
  13015. {0xE7, 0x33, 0},
  13016. {0xE8, 0xf, 1},
  13017. {0xE9, 0xf, 1},
  13018. {0xEA, 0, 0},
  13019. {0xEB, 0x11, 0},
  13020. {0xEE, 0, 0},
  13021. {0xEF, 0x7e, 0},
  13022. {0xF0, 0x3f, 0},
  13023. {0xF1, 0x7f, 0},
  13024. {0xF2, 0x78, 0},
  13025. {0xF3, 0x58, 1},
  13026. {0xF4, 0x88, 0},
  13027. {0xF5, 0x8, 0},
  13028. {0xF6, 0xf, 0},
  13029. {0xF7, 0xbc, 0},
  13030. {0xF8, 0x8, 0},
  13031. {0xF9, 0x60, 0},
  13032. {0xFA, 0x13, 1},
  13033. {0xFB, 0x70, 0},
  13034. {0xFC, 0, 0},
  13035. {0xFD, 0, 0},
  13036. {0xFE, 0, 0},
  13037. {0xFF, 0x33, 0},
  13038. {0x100, 0x13, 1},
  13039. {0x101, 0xf, 1},
  13040. {0x102, 0xee, 1},
  13041. {0x105, 0x3c, 0},
  13042. {0x106, 0x1, 1},
  13043. {0x107, 0xa, 0},
  13044. {0x108, 0x9d, 0},
  13045. {0x109, 0xa, 0},
  13046. {0x10A, 0, 0},
  13047. {0x10B, 0x40, 0},
  13048. {0x10C, 0x40, 0},
  13049. {0x10D, 0x88, 0},
  13050. {0x10E, 0x10, 0},
  13051. {0x10F, 0xf0, 0},
  13052. {0x110, 0x10, 0},
  13053. {0x111, 0xf0, 0},
  13054. {0x112, 0, 0},
  13055. {0x113, 0, 0},
  13056. {0x114, 0x10, 0},
  13057. {0x115, 0x55, 0},
  13058. {0x116, 0x3f, 1},
  13059. {0x117, 0x36, 1},
  13060. {0x118, 0, 0},
  13061. {0x119, 0, 0},
  13062. {0x11A, 0, 0},
  13063. {0x11B, 0x87, 0},
  13064. {0x11C, 0x11, 0},
  13065. {0x11D, 0, 0},
  13066. {0x11E, 0x33, 0},
  13067. {0x11F, 0x88, 0},
  13068. {0x120, 0, 0},
  13069. {0x121, 0x87, 0},
  13070. {0x122, 0x11, 0},
  13071. {0x123, 0, 0},
  13072. {0x124, 0x33, 0},
  13073. {0x125, 0x88, 0},
  13074. {0x126, 0x20, 1},
  13075. {0x127, 0x3f, 0},
  13076. {0x128, 0x44, 0},
  13077. {0x129, 0x8c, 0},
  13078. {0x12A, 0x6c, 0},
  13079. {0x12B, 0x22, 0},
  13080. {0x12C, 0xbe, 0},
  13081. {0x12D, 0x55, 0},
  13082. {0x12F, 0xc, 0},
  13083. {0x130, 0xaa, 0},
  13084. {0x131, 0x2, 0},
  13085. {0x132, 0, 0},
  13086. {0x133, 0x10, 0},
  13087. {0x134, 0x1, 0},
  13088. {0x135, 0, 0},
  13089. {0x136, 0, 0},
  13090. {0x137, 0x80, 0},
  13091. {0x138, 0x60, 0},
  13092. {0x139, 0x44, 0},
  13093. {0x13A, 0x55, 0},
  13094. {0x13B, 0x1, 0},
  13095. {0x13C, 0x55, 0},
  13096. {0x13D, 0x1, 0},
  13097. {0x13E, 0x5, 0},
  13098. {0x13F, 0x55, 0},
  13099. {0x140, 0x55, 0},
  13100. {0x146, 0, 0},
  13101. {0x147, 0, 0},
  13102. {0x148, 0, 0},
  13103. {0x149, 0, 0},
  13104. {0x14A, 0, 0},
  13105. {0x14B, 0, 0},
  13106. {0x14C, 0, 0},
  13107. {0x14D, 0, 0},
  13108. {0x14E, 0x1, 1},
  13109. {0x14F, 0, 0},
  13110. {0x150, 0, 0},
  13111. {0x151, 0, 0},
  13112. {0x154, 0xc, 0},
  13113. {0x155, 0xc, 0},
  13114. {0x156, 0xc, 0},
  13115. {0x157, 0, 0},
  13116. {0x158, 0x2b, 0},
  13117. {0x159, 0x84, 0},
  13118. {0x15A, 0x15, 0},
  13119. {0x15B, 0xf, 0},
  13120. {0x15C, 0, 0},
  13121. {0x15D, 0, 0},
  13122. {0x15E, 0, 1},
  13123. {0x15F, 0, 1},
  13124. {0x160, 0, 1},
  13125. {0x161, 0, 1},
  13126. {0x162, 0, 1},
  13127. {0x163, 0, 1},
  13128. {0x164, 0, 0},
  13129. {0x165, 0, 0},
  13130. {0x166, 0, 0},
  13131. {0x167, 0, 0},
  13132. {0x168, 0, 0},
  13133. {0x169, 0, 0},
  13134. {0x16A, 0, 1},
  13135. {0x16B, 0, 1},
  13136. {0x16C, 0, 1},
  13137. {0x16D, 0, 0},
  13138. {0x170, 0, 0},
  13139. {0x171, 0x77, 0},
  13140. {0x172, 0x77, 0},
  13141. {0x173, 0x77, 0},
  13142. {0x174, 0x77, 0},
  13143. {0x175, 0, 0},
  13144. {0x176, 0x3, 0},
  13145. {0x177, 0x37, 0},
  13146. {0x178, 0x3, 0},
  13147. {0x179, 0, 0},
  13148. {0x17A, 0x21, 0},
  13149. {0x17B, 0x21, 0},
  13150. {0x17C, 0, 0},
  13151. {0x17D, 0xaa, 0},
  13152. {0x17E, 0, 0},
  13153. {0x17F, 0xaa, 0},
  13154. {0x180, 0, 0},
  13155. {0x190, 0, 0},
  13156. {0x191, 0x77, 0},
  13157. {0x192, 0x77, 0},
  13158. {0x193, 0x77, 0},
  13159. {0x194, 0x77, 0},
  13160. {0x195, 0, 0},
  13161. {0x196, 0x3, 0},
  13162. {0x197, 0x37, 0},
  13163. {0x198, 0x3, 0},
  13164. {0x199, 0, 0},
  13165. {0x19A, 0x21, 0},
  13166. {0x19B, 0x21, 0},
  13167. {0x19C, 0, 0},
  13168. {0x19D, 0xaa, 0},
  13169. {0x19E, 0, 0},
  13170. {0x19F, 0xaa, 0},
  13171. {0x1A0, 0, 0},
  13172. {0x1A1, 0x2, 0},
  13173. {0x1A2, 0xf, 0},
  13174. {0x1A3, 0xf, 0},
  13175. {0x1A4, 0, 1},
  13176. {0x1A5, 0, 1},
  13177. {0x1A6, 0, 1},
  13178. {0x1A7, 0x2, 0},
  13179. {0x1A8, 0xf, 0},
  13180. {0x1A9, 0xf, 0},
  13181. {0x1AA, 0, 1},
  13182. {0x1AB, 0, 1},
  13183. {0x1AC, 0, 1},
  13184. {0x1AD, 0x84, 0},
  13185. {0x1AE, 0x60, 0},
  13186. {0x1AF, 0x47, 0},
  13187. {0x1B0, 0x47, 0},
  13188. {0x1B1, 0, 0},
  13189. {0x1B2, 0, 0},
  13190. {0x1B3, 0, 0},
  13191. {0x1B4, 0, 0},
  13192. {0x1B5, 0, 0},
  13193. {0x1B6, 0, 0},
  13194. {0x1B7, 0x5, 1},
  13195. {0x1B8, 0, 0},
  13196. {0x1B9, 0, 0},
  13197. {0x1BA, 0, 0},
  13198. {0x1BB, 0, 0},
  13199. {0x1BC, 0, 0},
  13200. {0x1BD, 0, 0},
  13201. {0x1BE, 0, 0},
  13202. {0x1BF, 0, 0},
  13203. {0x1C0, 0, 0},
  13204. {0x1C1, 0, 0},
  13205. {0x1C2, 0xa0, 1},
  13206. {0x1C3, 0, 0},
  13207. {0x1C4, 0, 0},
  13208. {0x1C5, 0, 0},
  13209. {0x1C6, 0, 0},
  13210. {0x1C7, 0, 0},
  13211. {0x1C8, 0, 0},
  13212. {0x1C9, 0, 0},
  13213. {0x1CA, 0, 0},
  13214. {0xFFFF, 0, 0}
  13215. };
  13216. static s16 nphy_def_lnagains[] = { -2, 10, 19, 25 };
  13217. static s32 nphy_lnagain_est0[] = { -315, 40370 };
  13218. static s32 nphy_lnagain_est1[] = { -224, 23242 };
  13219. static const u16 tbl_iqcal_gainparams_nphy[2][NPHY_IQCAL_NUMGAINS][8] = {
  13220. {
  13221. {0x000, 0, 0, 2, 0x69, 0x69, 0x69, 0x69},
  13222. {0x700, 7, 0, 0, 0x69, 0x69, 0x69, 0x69},
  13223. {0x710, 7, 1, 0, 0x68, 0x68, 0x68, 0x68},
  13224. {0x720, 7, 2, 0, 0x67, 0x67, 0x67, 0x67},
  13225. {0x730, 7, 3, 0, 0x66, 0x66, 0x66, 0x66},
  13226. {0x740, 7, 4, 0, 0x65, 0x65, 0x65, 0x65},
  13227. {0x741, 7, 4, 1, 0x65, 0x65, 0x65, 0x65},
  13228. {0x742, 7, 4, 2, 0x65, 0x65, 0x65, 0x65},
  13229. {0x743, 7, 4, 3, 0x65, 0x65, 0x65, 0x65}
  13230. },
  13231. {
  13232. {0x000, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13233. {0x700, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13234. {0x710, 7, 1, 0, 0x79, 0x79, 0x79, 0x79},
  13235. {0x720, 7, 2, 0, 0x78, 0x78, 0x78, 0x78},
  13236. {0x730, 7, 3, 0, 0x78, 0x78, 0x78, 0x78},
  13237. {0x740, 7, 4, 0, 0x78, 0x78, 0x78, 0x78},
  13238. {0x741, 7, 4, 1, 0x78, 0x78, 0x78, 0x78},
  13239. {0x742, 7, 4, 2, 0x78, 0x78, 0x78, 0x78},
  13240. {0x743, 7, 4, 3, 0x78, 0x78, 0x78, 0x78}
  13241. }
  13242. };
  13243. static const u32 nphy_tpc_txgain[] = {
  13244. 0x03cc2b44, 0x03cc2b42, 0x03cc2a44, 0x03cc2a42,
  13245. 0x03cc2944, 0x03c82b44, 0x03c82b42, 0x03c82a44,
  13246. 0x03c82a42, 0x03c82944, 0x03c82942, 0x03c82844,
  13247. 0x03c82842, 0x03c42b44, 0x03c42b42, 0x03c42a44,
  13248. 0x03c42a42, 0x03c42944, 0x03c42942, 0x03c42844,
  13249. 0x03c42842, 0x03c42744, 0x03c42742, 0x03c42644,
  13250. 0x03c42642, 0x03c42544, 0x03c42542, 0x03c42444,
  13251. 0x03c42442, 0x03c02b44, 0x03c02b42, 0x03c02a44,
  13252. 0x03c02a42, 0x03c02944, 0x03c02942, 0x03c02844,
  13253. 0x03c02842, 0x03c02744, 0x03c02742, 0x03b02b44,
  13254. 0x03b02b42, 0x03b02a44, 0x03b02a42, 0x03b02944,
  13255. 0x03b02942, 0x03b02844, 0x03b02842, 0x03b02744,
  13256. 0x03b02742, 0x03b02644, 0x03b02642, 0x03b02544,
  13257. 0x03b02542, 0x03a02b44, 0x03a02b42, 0x03a02a44,
  13258. 0x03a02a42, 0x03a02944, 0x03a02942, 0x03a02844,
  13259. 0x03a02842, 0x03a02744, 0x03a02742, 0x03902b44,
  13260. 0x03902b42, 0x03902a44, 0x03902a42, 0x03902944,
  13261. 0x03902942, 0x03902844, 0x03902842, 0x03902744,
  13262. 0x03902742, 0x03902644, 0x03902642, 0x03902544,
  13263. 0x03902542, 0x03802b44, 0x03802b42, 0x03802a44,
  13264. 0x03802a42, 0x03802944, 0x03802942, 0x03802844,
  13265. 0x03802842, 0x03802744, 0x03802742, 0x03802644,
  13266. 0x03802642, 0x03802544, 0x03802542, 0x03802444,
  13267. 0x03802442, 0x03802344, 0x03802342, 0x03802244,
  13268. 0x03802242, 0x03802144, 0x03802142, 0x03802044,
  13269. 0x03802042, 0x03801f44, 0x03801f42, 0x03801e44,
  13270. 0x03801e42, 0x03801d44, 0x03801d42, 0x03801c44,
  13271. 0x03801c42, 0x03801b44, 0x03801b42, 0x03801a44,
  13272. 0x03801a42, 0x03801944, 0x03801942, 0x03801844,
  13273. 0x03801842, 0x03801744, 0x03801742, 0x03801644,
  13274. 0x03801642, 0x03801544, 0x03801542, 0x03801444,
  13275. 0x03801442, 0x03801344, 0x03801342, 0x00002b00
  13276. };
  13277. static const u16 nphy_tpc_loscale[] = {
  13278. 256, 256, 271, 271, 287, 256, 256, 271,
  13279. 271, 287, 287, 304, 304, 256, 256, 271,
  13280. 271, 287, 287, 304, 304, 322, 322, 341,
  13281. 341, 362, 362, 383, 383, 256, 256, 271,
  13282. 271, 287, 287, 304, 304, 322, 322, 256,
  13283. 256, 271, 271, 287, 287, 304, 304, 322,
  13284. 322, 341, 341, 362, 362, 256, 256, 271,
  13285. 271, 287, 287, 304, 304, 322, 322, 256,
  13286. 256, 271, 271, 287, 287, 304, 304, 322,
  13287. 322, 341, 341, 362, 362, 256, 256, 271,
  13288. 271, 287, 287, 304, 304, 322, 322, 341,
  13289. 341, 362, 362, 383, 383, 406, 406, 430,
  13290. 430, 455, 455, 482, 482, 511, 511, 541,
  13291. 541, 573, 573, 607, 607, 643, 643, 681,
  13292. 681, 722, 722, 764, 764, 810, 810, 858,
  13293. 858, 908, 908, 962, 962, 1019, 1019, 256
  13294. };
  13295. static u32 nphy_tpc_txgain_ipa[] = {
  13296. 0x5ff7002d, 0x5ff7002b, 0x5ff7002a, 0x5ff70029,
  13297. 0x5ff70028, 0x5ff70027, 0x5ff70026, 0x5ff70025,
  13298. 0x5ef7002d, 0x5ef7002b, 0x5ef7002a, 0x5ef70029,
  13299. 0x5ef70028, 0x5ef70027, 0x5ef70026, 0x5ef70025,
  13300. 0x5df7002d, 0x5df7002b, 0x5df7002a, 0x5df70029,
  13301. 0x5df70028, 0x5df70027, 0x5df70026, 0x5df70025,
  13302. 0x5cf7002d, 0x5cf7002b, 0x5cf7002a, 0x5cf70029,
  13303. 0x5cf70028, 0x5cf70027, 0x5cf70026, 0x5cf70025,
  13304. 0x5bf7002d, 0x5bf7002b, 0x5bf7002a, 0x5bf70029,
  13305. 0x5bf70028, 0x5bf70027, 0x5bf70026, 0x5bf70025,
  13306. 0x5af7002d, 0x5af7002b, 0x5af7002a, 0x5af70029,
  13307. 0x5af70028, 0x5af70027, 0x5af70026, 0x5af70025,
  13308. 0x59f7002d, 0x59f7002b, 0x59f7002a, 0x59f70029,
  13309. 0x59f70028, 0x59f70027, 0x59f70026, 0x59f70025,
  13310. 0x58f7002d, 0x58f7002b, 0x58f7002a, 0x58f70029,
  13311. 0x58f70028, 0x58f70027, 0x58f70026, 0x58f70025,
  13312. 0x57f7002d, 0x57f7002b, 0x57f7002a, 0x57f70029,
  13313. 0x57f70028, 0x57f70027, 0x57f70026, 0x57f70025,
  13314. 0x56f7002d, 0x56f7002b, 0x56f7002a, 0x56f70029,
  13315. 0x56f70028, 0x56f70027, 0x56f70026, 0x56f70025,
  13316. 0x55f7002d, 0x55f7002b, 0x55f7002a, 0x55f70029,
  13317. 0x55f70028, 0x55f70027, 0x55f70026, 0x55f70025,
  13318. 0x54f7002d, 0x54f7002b, 0x54f7002a, 0x54f70029,
  13319. 0x54f70028, 0x54f70027, 0x54f70026, 0x54f70025,
  13320. 0x53f7002d, 0x53f7002b, 0x53f7002a, 0x53f70029,
  13321. 0x53f70028, 0x53f70027, 0x53f70026, 0x53f70025,
  13322. 0x52f7002d, 0x52f7002b, 0x52f7002a, 0x52f70029,
  13323. 0x52f70028, 0x52f70027, 0x52f70026, 0x52f70025,
  13324. 0x51f7002d, 0x51f7002b, 0x51f7002a, 0x51f70029,
  13325. 0x51f70028, 0x51f70027, 0x51f70026, 0x51f70025,
  13326. 0x50f7002d, 0x50f7002b, 0x50f7002a, 0x50f70029,
  13327. 0x50f70028, 0x50f70027, 0x50f70026, 0x50f70025
  13328. };
  13329. static u32 nphy_tpc_txgain_ipa_rev5[] = {
  13330. 0x1ff7002d, 0x1ff7002b, 0x1ff7002a, 0x1ff70029,
  13331. 0x1ff70028, 0x1ff70027, 0x1ff70026, 0x1ff70025,
  13332. 0x1ef7002d, 0x1ef7002b, 0x1ef7002a, 0x1ef70029,
  13333. 0x1ef70028, 0x1ef70027, 0x1ef70026, 0x1ef70025,
  13334. 0x1df7002d, 0x1df7002b, 0x1df7002a, 0x1df70029,
  13335. 0x1df70028, 0x1df70027, 0x1df70026, 0x1df70025,
  13336. 0x1cf7002d, 0x1cf7002b, 0x1cf7002a, 0x1cf70029,
  13337. 0x1cf70028, 0x1cf70027, 0x1cf70026, 0x1cf70025,
  13338. 0x1bf7002d, 0x1bf7002b, 0x1bf7002a, 0x1bf70029,
  13339. 0x1bf70028, 0x1bf70027, 0x1bf70026, 0x1bf70025,
  13340. 0x1af7002d, 0x1af7002b, 0x1af7002a, 0x1af70029,
  13341. 0x1af70028, 0x1af70027, 0x1af70026, 0x1af70025,
  13342. 0x19f7002d, 0x19f7002b, 0x19f7002a, 0x19f70029,
  13343. 0x19f70028, 0x19f70027, 0x19f70026, 0x19f70025,
  13344. 0x18f7002d, 0x18f7002b, 0x18f7002a, 0x18f70029,
  13345. 0x18f70028, 0x18f70027, 0x18f70026, 0x18f70025,
  13346. 0x17f7002d, 0x17f7002b, 0x17f7002a, 0x17f70029,
  13347. 0x17f70028, 0x17f70027, 0x17f70026, 0x17f70025,
  13348. 0x16f7002d, 0x16f7002b, 0x16f7002a, 0x16f70029,
  13349. 0x16f70028, 0x16f70027, 0x16f70026, 0x16f70025,
  13350. 0x15f7002d, 0x15f7002b, 0x15f7002a, 0x15f70029,
  13351. 0x15f70028, 0x15f70027, 0x15f70026, 0x15f70025,
  13352. 0x14f7002d, 0x14f7002b, 0x14f7002a, 0x14f70029,
  13353. 0x14f70028, 0x14f70027, 0x14f70026, 0x14f70025,
  13354. 0x13f7002d, 0x13f7002b, 0x13f7002a, 0x13f70029,
  13355. 0x13f70028, 0x13f70027, 0x13f70026, 0x13f70025,
  13356. 0x12f7002d, 0x12f7002b, 0x12f7002a, 0x12f70029,
  13357. 0x12f70028, 0x12f70027, 0x12f70026, 0x12f70025,
  13358. 0x11f7002d, 0x11f7002b, 0x11f7002a, 0x11f70029,
  13359. 0x11f70028, 0x11f70027, 0x11f70026, 0x11f70025,
  13360. 0x10f7002d, 0x10f7002b, 0x10f7002a, 0x10f70029,
  13361. 0x10f70028, 0x10f70027, 0x10f70026, 0x10f70025
  13362. };
  13363. static u32 nphy_tpc_txgain_ipa_rev6[] = {
  13364. 0x0ff7002d, 0x0ff7002b, 0x0ff7002a, 0x0ff70029,
  13365. 0x0ff70028, 0x0ff70027, 0x0ff70026, 0x0ff70025,
  13366. 0x0ef7002d, 0x0ef7002b, 0x0ef7002a, 0x0ef70029,
  13367. 0x0ef70028, 0x0ef70027, 0x0ef70026, 0x0ef70025,
  13368. 0x0df7002d, 0x0df7002b, 0x0df7002a, 0x0df70029,
  13369. 0x0df70028, 0x0df70027, 0x0df70026, 0x0df70025,
  13370. 0x0cf7002d, 0x0cf7002b, 0x0cf7002a, 0x0cf70029,
  13371. 0x0cf70028, 0x0cf70027, 0x0cf70026, 0x0cf70025,
  13372. 0x0bf7002d, 0x0bf7002b, 0x0bf7002a, 0x0bf70029,
  13373. 0x0bf70028, 0x0bf70027, 0x0bf70026, 0x0bf70025,
  13374. 0x0af7002d, 0x0af7002b, 0x0af7002a, 0x0af70029,
  13375. 0x0af70028, 0x0af70027, 0x0af70026, 0x0af70025,
  13376. 0x09f7002d, 0x09f7002b, 0x09f7002a, 0x09f70029,
  13377. 0x09f70028, 0x09f70027, 0x09f70026, 0x09f70025,
  13378. 0x08f7002d, 0x08f7002b, 0x08f7002a, 0x08f70029,
  13379. 0x08f70028, 0x08f70027, 0x08f70026, 0x08f70025,
  13380. 0x07f7002d, 0x07f7002b, 0x07f7002a, 0x07f70029,
  13381. 0x07f70028, 0x07f70027, 0x07f70026, 0x07f70025,
  13382. 0x06f7002d, 0x06f7002b, 0x06f7002a, 0x06f70029,
  13383. 0x06f70028, 0x06f70027, 0x06f70026, 0x06f70025,
  13384. 0x05f7002d, 0x05f7002b, 0x05f7002a, 0x05f70029,
  13385. 0x05f70028, 0x05f70027, 0x05f70026, 0x05f70025,
  13386. 0x04f7002d, 0x04f7002b, 0x04f7002a, 0x04f70029,
  13387. 0x04f70028, 0x04f70027, 0x04f70026, 0x04f70025,
  13388. 0x03f7002d, 0x03f7002b, 0x03f7002a, 0x03f70029,
  13389. 0x03f70028, 0x03f70027, 0x03f70026, 0x03f70025,
  13390. 0x02f7002d, 0x02f7002b, 0x02f7002a, 0x02f70029,
  13391. 0x02f70028, 0x02f70027, 0x02f70026, 0x02f70025,
  13392. 0x01f7002d, 0x01f7002b, 0x01f7002a, 0x01f70029,
  13393. 0x01f70028, 0x01f70027, 0x01f70026, 0x01f70025,
  13394. 0x00f7002d, 0x00f7002b, 0x00f7002a, 0x00f70029,
  13395. 0x00f70028, 0x00f70027, 0x00f70026, 0x00f70025
  13396. };
  13397. static u32 nphy_tpc_txgain_ipa_2g_2057rev3[] = {
  13398. 0x70ff0040, 0x70f7003e, 0x70ef003b, 0x70e70039,
  13399. 0x70df0037, 0x70d70036, 0x70cf0033, 0x70c70032,
  13400. 0x70bf0031, 0x70b7002f, 0x70af002e, 0x70a7002d,
  13401. 0x709f002d, 0x7097002c, 0x708f002c, 0x7087002c,
  13402. 0x707f002b, 0x7077002c, 0x706f002c, 0x7067002d,
  13403. 0x705f002e, 0x705f002b, 0x705f0029, 0x7057002a,
  13404. 0x70570028, 0x704f002a, 0x7047002c, 0x7047002a,
  13405. 0x70470028, 0x70470026, 0x70470024, 0x70470022,
  13406. 0x7047001f, 0x70370027, 0x70370024, 0x70370022,
  13407. 0x70370020, 0x7037001f, 0x7037001d, 0x7037001b,
  13408. 0x7037001a, 0x70370018, 0x70370017, 0x7027001e,
  13409. 0x7027001d, 0x7027001a, 0x701f0024, 0x701f0022,
  13410. 0x701f0020, 0x701f001f, 0x701f001d, 0x701f001b,
  13411. 0x701f001a, 0x701f0018, 0x701f0017, 0x701f0015,
  13412. 0x701f0014, 0x701f0013, 0x701f0012, 0x701f0011,
  13413. 0x70170019, 0x70170018, 0x70170016, 0x70170015,
  13414. 0x70170014, 0x70170013, 0x70170012, 0x70170010,
  13415. 0x70170010, 0x7017000f, 0x700f001d, 0x700f001b,
  13416. 0x700f001a, 0x700f0018, 0x700f0017, 0x700f0015,
  13417. 0x700f0015, 0x700f0013, 0x700f0013, 0x700f0011,
  13418. 0x700f0010, 0x700f0010, 0x700f000f, 0x700f000e,
  13419. 0x700f000d, 0x700f000c, 0x700f000b, 0x700f000b,
  13420. 0x700f000b, 0x700f000a, 0x700f0009, 0x700f0009,
  13421. 0x700f0009, 0x700f0008, 0x700f0007, 0x700f0007,
  13422. 0x700f0006, 0x700f0006, 0x700f0006, 0x700f0006,
  13423. 0x700f0005, 0x700f0005, 0x700f0005, 0x700f0004,
  13424. 0x700f0004, 0x700f0004, 0x700f0004, 0x700f0004,
  13425. 0x700f0004, 0x700f0003, 0x700f0003, 0x700f0003,
  13426. 0x700f0003, 0x700f0002, 0x700f0002, 0x700f0002,
  13427. 0x700f0002, 0x700f0002, 0x700f0002, 0x700f0001,
  13428. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001,
  13429. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001
  13430. };
  13431. static u32 nphy_tpc_txgain_ipa_2g_2057rev4n6[] = {
  13432. 0xf0ff0040, 0xf0f7003e, 0xf0ef003b, 0xf0e70039,
  13433. 0xf0df0037, 0xf0d70036, 0xf0cf0033, 0xf0c70032,
  13434. 0xf0bf0031, 0xf0b7002f, 0xf0af002e, 0xf0a7002d,
  13435. 0xf09f002d, 0xf097002c, 0xf08f002c, 0xf087002c,
  13436. 0xf07f002b, 0xf077002c, 0xf06f002c, 0xf067002d,
  13437. 0xf05f002e, 0xf05f002b, 0xf05f0029, 0xf057002a,
  13438. 0xf0570028, 0xf04f002a, 0xf047002c, 0xf047002a,
  13439. 0xf0470028, 0xf0470026, 0xf0470024, 0xf0470022,
  13440. 0xf047001f, 0xf0370027, 0xf0370024, 0xf0370022,
  13441. 0xf0370020, 0xf037001f, 0xf037001d, 0xf037001b,
  13442. 0xf037001a, 0xf0370018, 0xf0370017, 0xf027001e,
  13443. 0xf027001d, 0xf027001a, 0xf01f0024, 0xf01f0022,
  13444. 0xf01f0020, 0xf01f001f, 0xf01f001d, 0xf01f001b,
  13445. 0xf01f001a, 0xf01f0018, 0xf01f0017, 0xf01f0015,
  13446. 0xf01f0014, 0xf01f0013, 0xf01f0012, 0xf01f0011,
  13447. 0xf0170019, 0xf0170018, 0xf0170016, 0xf0170015,
  13448. 0xf0170014, 0xf0170013, 0xf0170012, 0xf0170010,
  13449. 0xf0170010, 0xf017000f, 0xf00f001d, 0xf00f001b,
  13450. 0xf00f001a, 0xf00f0018, 0xf00f0017, 0xf00f0015,
  13451. 0xf00f0015, 0xf00f0013, 0xf00f0013, 0xf00f0011,
  13452. 0xf00f0010, 0xf00f0010, 0xf00f000f, 0xf00f000e,
  13453. 0xf00f000d, 0xf00f000c, 0xf00f000b, 0xf00f000b,
  13454. 0xf00f000b, 0xf00f000a, 0xf00f0009, 0xf00f0009,
  13455. 0xf00f0009, 0xf00f0008, 0xf00f0007, 0xf00f0007,
  13456. 0xf00f0006, 0xf00f0006, 0xf00f0006, 0xf00f0006,
  13457. 0xf00f0005, 0xf00f0005, 0xf00f0005, 0xf00f0004,
  13458. 0xf00f0004, 0xf00f0004, 0xf00f0004, 0xf00f0004,
  13459. 0xf00f0004, 0xf00f0003, 0xf00f0003, 0xf00f0003,
  13460. 0xf00f0003, 0xf00f0002, 0xf00f0002, 0xf00f0002,
  13461. 0xf00f0002, 0xf00f0002, 0xf00f0002, 0xf00f0001,
  13462. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001,
  13463. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001
  13464. };
  13465. static u32 nphy_tpc_txgain_ipa_2g_2057rev5[] = {
  13466. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13467. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13468. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13469. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13470. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13471. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13472. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13473. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13474. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13475. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13476. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13477. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13478. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13479. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13480. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13481. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13482. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13483. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13484. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  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. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13498. };
  13499. static u32 nphy_tpc_txgain_ipa_2g_2057rev7[] = {
  13500. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13501. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13502. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13503. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13504. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13505. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13506. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13507. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13508. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13509. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13510. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13511. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13512. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13513. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13514. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13515. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13516. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13517. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13518. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  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. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13532. };
  13533. static u32 nphy_tpc_txgain_ipa_5g[] = {
  13534. 0x7ff70035, 0x7ff70033, 0x7ff70032, 0x7ff70031,
  13535. 0x7ff7002f, 0x7ff7002e, 0x7ff7002d, 0x7ff7002b,
  13536. 0x7ff7002a, 0x7ff70029, 0x7ff70028, 0x7ff70027,
  13537. 0x7ff70026, 0x7ff70024, 0x7ff70023, 0x7ff70022,
  13538. 0x7ef70028, 0x7ef70027, 0x7ef70026, 0x7ef70025,
  13539. 0x7ef70024, 0x7ef70023, 0x7df70028, 0x7df70027,
  13540. 0x7df70026, 0x7df70025, 0x7df70024, 0x7df70023,
  13541. 0x7df70022, 0x7cf70029, 0x7cf70028, 0x7cf70027,
  13542. 0x7cf70026, 0x7cf70025, 0x7cf70023, 0x7cf70022,
  13543. 0x7bf70029, 0x7bf70028, 0x7bf70026, 0x7bf70025,
  13544. 0x7bf70024, 0x7bf70023, 0x7bf70022, 0x7bf70021,
  13545. 0x7af70029, 0x7af70028, 0x7af70027, 0x7af70026,
  13546. 0x7af70025, 0x7af70024, 0x7af70023, 0x7af70022,
  13547. 0x79f70029, 0x79f70028, 0x79f70027, 0x79f70026,
  13548. 0x79f70025, 0x79f70024, 0x79f70023, 0x79f70022,
  13549. 0x78f70029, 0x78f70028, 0x78f70027, 0x78f70026,
  13550. 0x78f70025, 0x78f70024, 0x78f70023, 0x78f70022,
  13551. 0x77f70029, 0x77f70028, 0x77f70027, 0x77f70026,
  13552. 0x77f70025, 0x77f70024, 0x77f70023, 0x77f70022,
  13553. 0x76f70029, 0x76f70028, 0x76f70027, 0x76f70026,
  13554. 0x76f70024, 0x76f70023, 0x76f70022, 0x76f70021,
  13555. 0x75f70029, 0x75f70028, 0x75f70027, 0x75f70026,
  13556. 0x75f70025, 0x75f70024, 0x75f70023, 0x74f70029,
  13557. 0x74f70028, 0x74f70026, 0x74f70025, 0x74f70024,
  13558. 0x74f70023, 0x74f70022, 0x73f70029, 0x73f70027,
  13559. 0x73f70026, 0x73f70025, 0x73f70024, 0x73f70023,
  13560. 0x73f70022, 0x72f70028, 0x72f70027, 0x72f70026,
  13561. 0x72f70025, 0x72f70024, 0x72f70023, 0x72f70022,
  13562. 0x71f70028, 0x71f70027, 0x71f70026, 0x71f70025,
  13563. 0x71f70024, 0x71f70023, 0x70f70028, 0x70f70027,
  13564. 0x70f70026, 0x70f70024, 0x70f70023, 0x70f70022,
  13565. 0x70f70021, 0x70f70020, 0x70f70020, 0x70f7001f
  13566. };
  13567. static u32 nphy_tpc_txgain_ipa_5g_2057[] = {
  13568. 0x7f7f0044, 0x7f7f0040, 0x7f7f003c, 0x7f7f0039,
  13569. 0x7f7f0036, 0x7e7f003c, 0x7e7f0038, 0x7e7f0035,
  13570. 0x7d7f003c, 0x7d7f0039, 0x7d7f0036, 0x7d7f0033,
  13571. 0x7c7f003b, 0x7c7f0037, 0x7c7f0034, 0x7b7f003a,
  13572. 0x7b7f0036, 0x7b7f0033, 0x7a7f003c, 0x7a7f0039,
  13573. 0x7a7f0036, 0x7a7f0033, 0x797f003b, 0x797f0038,
  13574. 0x797f0035, 0x797f0032, 0x787f003b, 0x787f0038,
  13575. 0x787f0035, 0x787f0032, 0x777f003a, 0x777f0037,
  13576. 0x777f0034, 0x777f0031, 0x767f003a, 0x767f0036,
  13577. 0x767f0033, 0x767f0031, 0x757f003a, 0x757f0037,
  13578. 0x757f0034, 0x747f003c, 0x747f0039, 0x747f0036,
  13579. 0x747f0033, 0x737f003b, 0x737f0038, 0x737f0035,
  13580. 0x737f0032, 0x727f0039, 0x727f0036, 0x727f0033,
  13581. 0x727f0030, 0x717f003a, 0x717f0037, 0x717f0034,
  13582. 0x707f003b, 0x707f0038, 0x707f0035, 0x707f0032,
  13583. 0x707f002f, 0x707f002d, 0x707f002a, 0x707f0028,
  13584. 0x707f0025, 0x707f0023, 0x707f0021, 0x707f0020,
  13585. 0x707f001e, 0x707f001c, 0x707f001b, 0x707f0019,
  13586. 0x707f0018, 0x707f0016, 0x707f0015, 0x707f0014,
  13587. 0x707f0013, 0x707f0012, 0x707f0011, 0x707f0010,
  13588. 0x707f000f, 0x707f000e, 0x707f000d, 0x707f000d,
  13589. 0x707f000c, 0x707f000b, 0x707f000b, 0x707f000a,
  13590. 0x707f0009, 0x707f0009, 0x707f0008, 0x707f0008,
  13591. 0x707f0007, 0x707f0007, 0x707f0007, 0x707f0006,
  13592. 0x707f0006, 0x707f0006, 0x707f0005, 0x707f0005,
  13593. 0x707f0005, 0x707f0004, 0x707f0004, 0x707f0004,
  13594. 0x707f0004, 0x707f0004, 0x707f0003, 0x707f0003,
  13595. 0x707f0003, 0x707f0003, 0x707f0003, 0x707f0003,
  13596. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13597. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13598. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001,
  13599. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001
  13600. };
  13601. static u32 nphy_tpc_txgain_ipa_5g_2057rev7[] = {
  13602. 0x6f7f0031, 0x6f7f002e, 0x6f7f002c, 0x6f7f002a,
  13603. 0x6f7f0027, 0x6e7f002e, 0x6e7f002c, 0x6e7f002a,
  13604. 0x6d7f0030, 0x6d7f002d, 0x6d7f002a, 0x6d7f0028,
  13605. 0x6c7f0030, 0x6c7f002d, 0x6c7f002b, 0x6b7f002e,
  13606. 0x6b7f002c, 0x6b7f002a, 0x6b7f0027, 0x6a7f002e,
  13607. 0x6a7f002c, 0x6a7f002a, 0x697f0030, 0x697f002e,
  13608. 0x697f002b, 0x697f0029, 0x687f002f, 0x687f002d,
  13609. 0x687f002a, 0x687f0027, 0x677f002f, 0x677f002d,
  13610. 0x677f002a, 0x667f0031, 0x667f002e, 0x667f002c,
  13611. 0x667f002a, 0x657f0030, 0x657f002e, 0x657f002b,
  13612. 0x657f0029, 0x647f0030, 0x647f002d, 0x647f002b,
  13613. 0x647f0029, 0x637f002f, 0x637f002d, 0x637f002a,
  13614. 0x627f0030, 0x627f002d, 0x627f002b, 0x627f0029,
  13615. 0x617f0030, 0x617f002e, 0x617f002b, 0x617f0029,
  13616. 0x607f002f, 0x607f002d, 0x607f002a, 0x607f0027,
  13617. 0x607f0026, 0x607f0023, 0x607f0021, 0x607f0020,
  13618. 0x607f001e, 0x607f001c, 0x607f001a, 0x607f0019,
  13619. 0x607f0018, 0x607f0016, 0x607f0015, 0x607f0014,
  13620. 0x607f0012, 0x607f0012, 0x607f0011, 0x607f000f,
  13621. 0x607f000f, 0x607f000e, 0x607f000d, 0x607f000c,
  13622. 0x607f000c, 0x607f000b, 0x607f000b, 0x607f000a,
  13623. 0x607f0009, 0x607f0009, 0x607f0008, 0x607f0008,
  13624. 0x607f0008, 0x607f0007, 0x607f0007, 0x607f0006,
  13625. 0x607f0006, 0x607f0005, 0x607f0005, 0x607f0005,
  13626. 0x607f0005, 0x607f0005, 0x607f0004, 0x607f0004,
  13627. 0x607f0004, 0x607f0004, 0x607f0003, 0x607f0003,
  13628. 0x607f0003, 0x607f0003, 0x607f0002, 0x607f0002,
  13629. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13630. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13631. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13632. 0x607f0002, 0x607f0001, 0x607f0001, 0x607f0001,
  13633. 0x607f0001, 0x607f0001, 0x607f0001, 0x607f0001
  13634. };
  13635. static s8 nphy_papd_pga_gain_delta_ipa_2g[] = {
  13636. -114, -108, -98, -91, -84, -78, -70, -62,
  13637. -54, -46, -39, -31, -23, -15, -8, 0
  13638. };
  13639. static s8 nphy_papd_pga_gain_delta_ipa_5g[] = {
  13640. -100, -95, -89, -83, -77, -70, -63, -56,
  13641. -48, -41, -33, -25, -19, -12, -6, 0
  13642. };
  13643. static s16 nphy_papd_padgain_dlt_2g_2057rev3n4[] = {
  13644. -159, -113, -86, -72, -62, -54, -48, -43,
  13645. -39, -35, -31, -28, -25, -23, -20, -18,
  13646. -17, -15, -13, -11, -10, -8, -7, -6,
  13647. -5, -4, -3, -3, -2, -1, -1, 0
  13648. };
  13649. static s16 nphy_papd_padgain_dlt_2g_2057rev5[] = {
  13650. -109, -109, -82, -68, -58, -50, -44, -39,
  13651. -35, -31, -28, -26, -23, -21, -19, -17,
  13652. -16, -14, -13, -11, -10, -9, -8, -7,
  13653. -5, -5, -4, -3, -2, -1, -1, 0
  13654. };
  13655. static s16 nphy_papd_padgain_dlt_2g_2057rev7[] = {
  13656. -122, -122, -95, -80, -69, -61, -54, -49,
  13657. -43, -39, -35, -32, -28, -26, -23, -21,
  13658. -18, -16, -15, -13, -11, -10, -8, -7,
  13659. -6, -5, -4, -3, -2, -1, -1, 0
  13660. };
  13661. static s8 nphy_papd_pgagain_dlt_5g_2057[] = {
  13662. -107, -101, -92, -85, -78, -71, -62, -55,
  13663. -47, -39, -32, -24, -19, -12, -6, 0
  13664. };
  13665. static s8 nphy_papd_pgagain_dlt_5g_2057rev7[] = {
  13666. -110, -104, -95, -88, -81, -74, -66, -58,
  13667. -50, -44, -36, -28, -23, -15, -8, 0
  13668. };
  13669. static u8 pad_gain_codes_used_2057rev5[] = {
  13670. 20, 19, 18, 17, 16, 15, 14, 13, 12, 11,
  13671. 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
  13672. };
  13673. static u8 pad_gain_codes_used_2057rev7[] = {
  13674. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6,
  13675. 5, 4, 3, 2, 1
  13676. };
  13677. static u8 pad_all_gain_codes_2057[] = {
  13678. 31, 30, 29, 28, 27, 26, 25, 24, 23, 22,
  13679. 21, 20, 19, 18, 17, 16, 15, 14, 13, 12,
  13680. 11, 10, 9, 8, 7, 6, 5, 4, 3, 2,
  13681. 1, 0
  13682. };
  13683. static u8 pga_all_gain_codes_2057[] = {
  13684. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
  13685. };
  13686. static u32 nphy_papd_scaltbl[] = {
  13687. 0x0ae2002f, 0x0a3b0032, 0x09a70035, 0x09220038,
  13688. 0x0887003c, 0x081f003f, 0x07a20043, 0x07340047,
  13689. 0x06d2004b, 0x067a004f, 0x06170054, 0x05bf0059,
  13690. 0x0571005e, 0x051e0064, 0x04d3006a, 0x04910070,
  13691. 0x044c0077, 0x040f007e, 0x03d90085, 0x03a1008d,
  13692. 0x036f0095, 0x033d009e, 0x030b00a8, 0x02e000b2,
  13693. 0x02b900bc, 0x029200c7, 0x026d00d3, 0x024900e0,
  13694. 0x022900ed, 0x020a00fb, 0x01ec010a, 0x01d0011a,
  13695. 0x01b7012a, 0x019e013c, 0x0187014f, 0x01720162,
  13696. 0x015d0177, 0x0149018e, 0x013701a5, 0x012601be,
  13697. 0x011501d9, 0x010501f5, 0x00f70212, 0x00e90232,
  13698. 0x00dc0253, 0x00d00276, 0x00c4029c, 0x00b902c3,
  13699. 0x00af02ed, 0x00a5031a, 0x009c0349, 0x0093037a,
  13700. 0x008b03af, 0x008303e7, 0x007c0422, 0x00750461,
  13701. 0x006e04a3, 0x006804ea, 0x00620534, 0x005d0583,
  13702. 0x005805d7, 0x0053062f, 0x004e068d, 0x004a06f1
  13703. };
  13704. static u32 nphy_tpc_txgain_rev3[] = {
  13705. 0x1f410044, 0x1f410042, 0x1f410040, 0x1f41003e,
  13706. 0x1f41003c, 0x1f41003b, 0x1f410039, 0x1f410037,
  13707. 0x1e410044, 0x1e410042, 0x1e410040, 0x1e41003e,
  13708. 0x1e41003c, 0x1e41003b, 0x1e410039, 0x1e410037,
  13709. 0x1d410044, 0x1d410042, 0x1d410040, 0x1d41003e,
  13710. 0x1d41003c, 0x1d41003b, 0x1d410039, 0x1d410037,
  13711. 0x1c410044, 0x1c410042, 0x1c410040, 0x1c41003e,
  13712. 0x1c41003c, 0x1c41003b, 0x1c410039, 0x1c410037,
  13713. 0x1b410044, 0x1b410042, 0x1b410040, 0x1b41003e,
  13714. 0x1b41003c, 0x1b41003b, 0x1b410039, 0x1b410037,
  13715. 0x1a410044, 0x1a410042, 0x1a410040, 0x1a41003e,
  13716. 0x1a41003c, 0x1a41003b, 0x1a410039, 0x1a410037,
  13717. 0x19410044, 0x19410042, 0x19410040, 0x1941003e,
  13718. 0x1941003c, 0x1941003b, 0x19410039, 0x19410037,
  13719. 0x18410044, 0x18410042, 0x18410040, 0x1841003e,
  13720. 0x1841003c, 0x1841003b, 0x18410039, 0x18410037,
  13721. 0x17410044, 0x17410042, 0x17410040, 0x1741003e,
  13722. 0x1741003c, 0x1741003b, 0x17410039, 0x17410037,
  13723. 0x16410044, 0x16410042, 0x16410040, 0x1641003e,
  13724. 0x1641003c, 0x1641003b, 0x16410039, 0x16410037,
  13725. 0x15410044, 0x15410042, 0x15410040, 0x1541003e,
  13726. 0x1541003c, 0x1541003b, 0x15410039, 0x15410037,
  13727. 0x14410044, 0x14410042, 0x14410040, 0x1441003e,
  13728. 0x1441003c, 0x1441003b, 0x14410039, 0x14410037,
  13729. 0x13410044, 0x13410042, 0x13410040, 0x1341003e,
  13730. 0x1341003c, 0x1341003b, 0x13410039, 0x13410037,
  13731. 0x12410044, 0x12410042, 0x12410040, 0x1241003e,
  13732. 0x1241003c, 0x1241003b, 0x12410039, 0x12410037,
  13733. 0x11410044, 0x11410042, 0x11410040, 0x1141003e,
  13734. 0x1141003c, 0x1141003b, 0x11410039, 0x11410037,
  13735. 0x10410044, 0x10410042, 0x10410040, 0x1041003e,
  13736. 0x1041003c, 0x1041003b, 0x10410039, 0x10410037
  13737. };
  13738. static u32 nphy_tpc_txgain_HiPwrEPA[] = {
  13739. 0x0f410044, 0x0f410042, 0x0f410040, 0x0f41003e,
  13740. 0x0f41003c, 0x0f41003b, 0x0f410039, 0x0f410037,
  13741. 0x0e410044, 0x0e410042, 0x0e410040, 0x0e41003e,
  13742. 0x0e41003c, 0x0e41003b, 0x0e410039, 0x0e410037,
  13743. 0x0d410044, 0x0d410042, 0x0d410040, 0x0d41003e,
  13744. 0x0d41003c, 0x0d41003b, 0x0d410039, 0x0d410037,
  13745. 0x0c410044, 0x0c410042, 0x0c410040, 0x0c41003e,
  13746. 0x0c41003c, 0x0c41003b, 0x0c410039, 0x0c410037,
  13747. 0x0b410044, 0x0b410042, 0x0b410040, 0x0b41003e,
  13748. 0x0b41003c, 0x0b41003b, 0x0b410039, 0x0b410037,
  13749. 0x0a410044, 0x0a410042, 0x0a410040, 0x0a41003e,
  13750. 0x0a41003c, 0x0a41003b, 0x0a410039, 0x0a410037,
  13751. 0x09410044, 0x09410042, 0x09410040, 0x0941003e,
  13752. 0x0941003c, 0x0941003b, 0x09410039, 0x09410037,
  13753. 0x08410044, 0x08410042, 0x08410040, 0x0841003e,
  13754. 0x0841003c, 0x0841003b, 0x08410039, 0x08410037,
  13755. 0x07410044, 0x07410042, 0x07410040, 0x0741003e,
  13756. 0x0741003c, 0x0741003b, 0x07410039, 0x07410037,
  13757. 0x06410044, 0x06410042, 0x06410040, 0x0641003e,
  13758. 0x0641003c, 0x0641003b, 0x06410039, 0x06410037,
  13759. 0x05410044, 0x05410042, 0x05410040, 0x0541003e,
  13760. 0x0541003c, 0x0541003b, 0x05410039, 0x05410037,
  13761. 0x04410044, 0x04410042, 0x04410040, 0x0441003e,
  13762. 0x0441003c, 0x0441003b, 0x04410039, 0x04410037,
  13763. 0x03410044, 0x03410042, 0x03410040, 0x0341003e,
  13764. 0x0341003c, 0x0341003b, 0x03410039, 0x03410037,
  13765. 0x02410044, 0x02410042, 0x02410040, 0x0241003e,
  13766. 0x0241003c, 0x0241003b, 0x02410039, 0x02410037,
  13767. 0x01410044, 0x01410042, 0x01410040, 0x0141003e,
  13768. 0x0141003c, 0x0141003b, 0x01410039, 0x01410037,
  13769. 0x00410044, 0x00410042, 0x00410040, 0x0041003e,
  13770. 0x0041003c, 0x0041003b, 0x00410039, 0x00410037
  13771. };
  13772. static u32 nphy_tpc_txgain_epa_2057rev3[] = {
  13773. 0x80f90040, 0x80e10040, 0x80e1003c, 0x80c9003d,
  13774. 0x80b9003c, 0x80a9003d, 0x80a1003c, 0x8099003b,
  13775. 0x8091003b, 0x8089003a, 0x8081003a, 0x80790039,
  13776. 0x80710039, 0x8069003a, 0x8061003b, 0x8059003d,
  13777. 0x8051003f, 0x80490042, 0x8049003e, 0x8049003b,
  13778. 0x8041003e, 0x8041003b, 0x8039003e, 0x8039003b,
  13779. 0x80390038, 0x80390035, 0x8031003a, 0x80310036,
  13780. 0x80310033, 0x8029003a, 0x80290037, 0x80290034,
  13781. 0x80290031, 0x80210039, 0x80210036, 0x80210033,
  13782. 0x80210030, 0x8019003c, 0x80190039, 0x80190036,
  13783. 0x80190033, 0x80190030, 0x8019002d, 0x8019002b,
  13784. 0x80190028, 0x8011003a, 0x80110036, 0x80110033,
  13785. 0x80110030, 0x8011002e, 0x8011002b, 0x80110029,
  13786. 0x80110027, 0x80110024, 0x80110022, 0x80110020,
  13787. 0x8011001f, 0x8011001d, 0x8009003a, 0x80090037,
  13788. 0x80090034, 0x80090031, 0x8009002e, 0x8009002c,
  13789. 0x80090029, 0x80090027, 0x80090025, 0x80090023,
  13790. 0x80090021, 0x8009001f, 0x8009001d, 0x8009011d,
  13791. 0x8009021d, 0x8009031d, 0x8009041d, 0x8009051d,
  13792. 0x8009061d, 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. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d
  13805. };
  13806. static u32 nphy_tpc_txgain_epa_2057rev5[] = {
  13807. 0x10f90040, 0x10e10040, 0x10e1003c, 0x10c9003d,
  13808. 0x10b9003c, 0x10a9003d, 0x10a1003c, 0x1099003b,
  13809. 0x1091003b, 0x1089003a, 0x1081003a, 0x10790039,
  13810. 0x10710039, 0x1069003a, 0x1061003b, 0x1059003d,
  13811. 0x1051003f, 0x10490042, 0x1049003e, 0x1049003b,
  13812. 0x1041003e, 0x1041003b, 0x1039003e, 0x1039003b,
  13813. 0x10390038, 0x10390035, 0x1031003a, 0x10310036,
  13814. 0x10310033, 0x1029003a, 0x10290037, 0x10290034,
  13815. 0x10290031, 0x10210039, 0x10210036, 0x10210033,
  13816. 0x10210030, 0x1019003c, 0x10190039, 0x10190036,
  13817. 0x10190033, 0x10190030, 0x1019002d, 0x1019002b,
  13818. 0x10190028, 0x1011003a, 0x10110036, 0x10110033,
  13819. 0x10110030, 0x1011002e, 0x1011002b, 0x10110029,
  13820. 0x10110027, 0x10110024, 0x10110022, 0x10110020,
  13821. 0x1011001f, 0x1011001d, 0x1009003a, 0x10090037,
  13822. 0x10090034, 0x10090031, 0x1009002e, 0x1009002c,
  13823. 0x10090029, 0x10090027, 0x10090025, 0x10090023,
  13824. 0x10090021, 0x1009001f, 0x1009001d, 0x1009001b,
  13825. 0x1009001a, 0x10090018, 0x10090017, 0x10090016,
  13826. 0x10090015, 0x10090013, 0x10090012, 0x10090011,
  13827. 0x10090010, 0x1009000f, 0x1009000f, 0x1009000e,
  13828. 0x1009000d, 0x1009000c, 0x1009000c, 0x1009000b,
  13829. 0x1009000a, 0x1009000a, 0x10090009, 0x10090009,
  13830. 0x10090008, 0x10090008, 0x10090007, 0x10090007,
  13831. 0x10090007, 0x10090006, 0x10090006, 0x10090005,
  13832. 0x10090005, 0x10090005, 0x10090005, 0x10090004,
  13833. 0x10090004, 0x10090004, 0x10090004, 0x10090003,
  13834. 0x10090003, 0x10090003, 0x10090003, 0x10090003,
  13835. 0x10090003, 0x10090002, 0x10090002, 0x10090002,
  13836. 0x10090002, 0x10090002, 0x10090002, 0x10090002,
  13837. 0x10090002, 0x10090002, 0x10090001, 0x10090001,
  13838. 0x10090001, 0x10090001, 0x10090001, 0x10090001
  13839. };
  13840. static u32 nphy_tpc_5GHz_txgain_rev3[] = {
  13841. 0xcff70044, 0xcff70042, 0xcff70040, 0xcff7003e,
  13842. 0xcff7003c, 0xcff7003b, 0xcff70039, 0xcff70037,
  13843. 0xcef70044, 0xcef70042, 0xcef70040, 0xcef7003e,
  13844. 0xcef7003c, 0xcef7003b, 0xcef70039, 0xcef70037,
  13845. 0xcdf70044, 0xcdf70042, 0xcdf70040, 0xcdf7003e,
  13846. 0xcdf7003c, 0xcdf7003b, 0xcdf70039, 0xcdf70037,
  13847. 0xccf70044, 0xccf70042, 0xccf70040, 0xccf7003e,
  13848. 0xccf7003c, 0xccf7003b, 0xccf70039, 0xccf70037,
  13849. 0xcbf70044, 0xcbf70042, 0xcbf70040, 0xcbf7003e,
  13850. 0xcbf7003c, 0xcbf7003b, 0xcbf70039, 0xcbf70037,
  13851. 0xcaf70044, 0xcaf70042, 0xcaf70040, 0xcaf7003e,
  13852. 0xcaf7003c, 0xcaf7003b, 0xcaf70039, 0xcaf70037,
  13853. 0xc9f70044, 0xc9f70042, 0xc9f70040, 0xc9f7003e,
  13854. 0xc9f7003c, 0xc9f7003b, 0xc9f70039, 0xc9f70037,
  13855. 0xc8f70044, 0xc8f70042, 0xc8f70040, 0xc8f7003e,
  13856. 0xc8f7003c, 0xc8f7003b, 0xc8f70039, 0xc8f70037,
  13857. 0xc7f70044, 0xc7f70042, 0xc7f70040, 0xc7f7003e,
  13858. 0xc7f7003c, 0xc7f7003b, 0xc7f70039, 0xc7f70037,
  13859. 0xc6f70044, 0xc6f70042, 0xc6f70040, 0xc6f7003e,
  13860. 0xc6f7003c, 0xc6f7003b, 0xc6f70039, 0xc6f70037,
  13861. 0xc5f70044, 0xc5f70042, 0xc5f70040, 0xc5f7003e,
  13862. 0xc5f7003c, 0xc5f7003b, 0xc5f70039, 0xc5f70037,
  13863. 0xc4f70044, 0xc4f70042, 0xc4f70040, 0xc4f7003e,
  13864. 0xc4f7003c, 0xc4f7003b, 0xc4f70039, 0xc4f70037,
  13865. 0xc3f70044, 0xc3f70042, 0xc3f70040, 0xc3f7003e,
  13866. 0xc3f7003c, 0xc3f7003b, 0xc3f70039, 0xc3f70037,
  13867. 0xc2f70044, 0xc2f70042, 0xc2f70040, 0xc2f7003e,
  13868. 0xc2f7003c, 0xc2f7003b, 0xc2f70039, 0xc2f70037,
  13869. 0xc1f70044, 0xc1f70042, 0xc1f70040, 0xc1f7003e,
  13870. 0xc1f7003c, 0xc1f7003b, 0xc1f70039, 0xc1f70037,
  13871. 0xc0f70044, 0xc0f70042, 0xc0f70040, 0xc0f7003e,
  13872. 0xc0f7003c, 0xc0f7003b, 0xc0f70039, 0xc0f70037
  13873. };
  13874. static u32 nphy_tpc_5GHz_txgain_rev4[] = {
  13875. 0x2ff20044, 0x2ff20042, 0x2ff20040, 0x2ff2003e,
  13876. 0x2ff2003c, 0x2ff2003b, 0x2ff20039, 0x2ff20037,
  13877. 0x2ef20044, 0x2ef20042, 0x2ef20040, 0x2ef2003e,
  13878. 0x2ef2003c, 0x2ef2003b, 0x2ef20039, 0x2ef20037,
  13879. 0x2df20044, 0x2df20042, 0x2df20040, 0x2df2003e,
  13880. 0x2df2003c, 0x2df2003b, 0x2df20039, 0x2df20037,
  13881. 0x2cf20044, 0x2cf20042, 0x2cf20040, 0x2cf2003e,
  13882. 0x2cf2003c, 0x2cf2003b, 0x2cf20039, 0x2cf20037,
  13883. 0x2bf20044, 0x2bf20042, 0x2bf20040, 0x2bf2003e,
  13884. 0x2bf2003c, 0x2bf2003b, 0x2bf20039, 0x2bf20037,
  13885. 0x2af20044, 0x2af20042, 0x2af20040, 0x2af2003e,
  13886. 0x2af2003c, 0x2af2003b, 0x2af20039, 0x2af20037,
  13887. 0x29f20044, 0x29f20042, 0x29f20040, 0x29f2003e,
  13888. 0x29f2003c, 0x29f2003b, 0x29f20039, 0x29f20037,
  13889. 0x28f20044, 0x28f20042, 0x28f20040, 0x28f2003e,
  13890. 0x28f2003c, 0x28f2003b, 0x28f20039, 0x28f20037,
  13891. 0x27f20044, 0x27f20042, 0x27f20040, 0x27f2003e,
  13892. 0x27f2003c, 0x27f2003b, 0x27f20039, 0x27f20037,
  13893. 0x26f20044, 0x26f20042, 0x26f20040, 0x26f2003e,
  13894. 0x26f2003c, 0x26f2003b, 0x26f20039, 0x26f20037,
  13895. 0x25f20044, 0x25f20042, 0x25f20040, 0x25f2003e,
  13896. 0x25f2003c, 0x25f2003b, 0x25f20039, 0x25f20037,
  13897. 0x24f20044, 0x24f20042, 0x24f20040, 0x24f2003e,
  13898. 0x24f2003c, 0x24f2003b, 0x24f20039, 0x24f20038,
  13899. 0x23f20041, 0x23f20040, 0x23f2003f, 0x23f2003e,
  13900. 0x23f2003c, 0x23f2003b, 0x23f20039, 0x23f20037,
  13901. 0x22f20044, 0x22f20042, 0x22f20040, 0x22f2003e,
  13902. 0x22f2003c, 0x22f2003b, 0x22f20039, 0x22f20037,
  13903. 0x21f20044, 0x21f20042, 0x21f20040, 0x21f2003e,
  13904. 0x21f2003c, 0x21f2003b, 0x21f20039, 0x21f20037,
  13905. 0x20d20043, 0x20d20041, 0x20d2003e, 0x20d2003c,
  13906. 0x20d2003a, 0x20d20038, 0x20d20036, 0x20d20034
  13907. };
  13908. static u32 nphy_tpc_5GHz_txgain_rev5[] = {
  13909. 0x0f62004a, 0x0f620048, 0x0f620046, 0x0f620044,
  13910. 0x0f620042, 0x0f620040, 0x0f62003e, 0x0f62003c,
  13911. 0x0e620044, 0x0e620042, 0x0e620040, 0x0e62003e,
  13912. 0x0e62003c, 0x0e62003d, 0x0e62003b, 0x0e62003a,
  13913. 0x0d620043, 0x0d620041, 0x0d620040, 0x0d62003e,
  13914. 0x0d62003d, 0x0d62003c, 0x0d62003b, 0x0d62003a,
  13915. 0x0c620041, 0x0c620040, 0x0c62003f, 0x0c62003e,
  13916. 0x0c62003c, 0x0c62003b, 0x0c620039, 0x0c620037,
  13917. 0x0b620046, 0x0b620044, 0x0b620042, 0x0b620040,
  13918. 0x0b62003e, 0x0b62003c, 0x0b62003b, 0x0b62003a,
  13919. 0x0a620041, 0x0a620040, 0x0a62003e, 0x0a62003c,
  13920. 0x0a62003b, 0x0a62003a, 0x0a620039, 0x0a620038,
  13921. 0x0962003e, 0x0962003d, 0x0962003c, 0x0962003b,
  13922. 0x09620039, 0x09620037, 0x09620035, 0x09620033,
  13923. 0x08620044, 0x08620042, 0x08620040, 0x0862003e,
  13924. 0x0862003c, 0x0862003b, 0x0862003a, 0x08620039,
  13925. 0x07620043, 0x07620042, 0x07620040, 0x0762003f,
  13926. 0x0762003d, 0x0762003b, 0x0762003a, 0x07620039,
  13927. 0x0662003e, 0x0662003d, 0x0662003c, 0x0662003b,
  13928. 0x06620039, 0x06620037, 0x06620035, 0x06620033,
  13929. 0x05620046, 0x05620044, 0x05620042, 0x05620040,
  13930. 0x0562003e, 0x0562003c, 0x0562003b, 0x05620039,
  13931. 0x04620044, 0x04620042, 0x04620040, 0x0462003e,
  13932. 0x0462003c, 0x0462003b, 0x04620039, 0x04620038,
  13933. 0x0362003c, 0x0362003b, 0x0362003a, 0x03620039,
  13934. 0x03620038, 0x03620037, 0x03620035, 0x03620033,
  13935. 0x0262004c, 0x0262004a, 0x02620048, 0x02620047,
  13936. 0x02620046, 0x02620044, 0x02620043, 0x02620042,
  13937. 0x0162004a, 0x01620048, 0x01620046, 0x01620044,
  13938. 0x01620043, 0x01620042, 0x01620041, 0x01620040,
  13939. 0x00620042, 0x00620040, 0x0062003e, 0x0062003c,
  13940. 0x0062003b, 0x00620039, 0x00620037, 0x00620035
  13941. };
  13942. static u32 nphy_tpc_5GHz_txgain_HiPwrEPA[] = {
  13943. 0x2ff10044, 0x2ff10042, 0x2ff10040, 0x2ff1003e,
  13944. 0x2ff1003c, 0x2ff1003b, 0x2ff10039, 0x2ff10037,
  13945. 0x2ef10044, 0x2ef10042, 0x2ef10040, 0x2ef1003e,
  13946. 0x2ef1003c, 0x2ef1003b, 0x2ef10039, 0x2ef10037,
  13947. 0x2df10044, 0x2df10042, 0x2df10040, 0x2df1003e,
  13948. 0x2df1003c, 0x2df1003b, 0x2df10039, 0x2df10037,
  13949. 0x2cf10044, 0x2cf10042, 0x2cf10040, 0x2cf1003e,
  13950. 0x2cf1003c, 0x2cf1003b, 0x2cf10039, 0x2cf10037,
  13951. 0x2bf10044, 0x2bf10042, 0x2bf10040, 0x2bf1003e,
  13952. 0x2bf1003c, 0x2bf1003b, 0x2bf10039, 0x2bf10037,
  13953. 0x2af10044, 0x2af10042, 0x2af10040, 0x2af1003e,
  13954. 0x2af1003c, 0x2af1003b, 0x2af10039, 0x2af10037,
  13955. 0x29f10044, 0x29f10042, 0x29f10040, 0x29f1003e,
  13956. 0x29f1003c, 0x29f1003b, 0x29f10039, 0x29f10037,
  13957. 0x28f10044, 0x28f10042, 0x28f10040, 0x28f1003e,
  13958. 0x28f1003c, 0x28f1003b, 0x28f10039, 0x28f10037,
  13959. 0x27f10044, 0x27f10042, 0x27f10040, 0x27f1003e,
  13960. 0x27f1003c, 0x27f1003b, 0x27f10039, 0x27f10037,
  13961. 0x26f10044, 0x26f10042, 0x26f10040, 0x26f1003e,
  13962. 0x26f1003c, 0x26f1003b, 0x26f10039, 0x26f10037,
  13963. 0x25f10044, 0x25f10042, 0x25f10040, 0x25f1003e,
  13964. 0x25f1003c, 0x25f1003b, 0x25f10039, 0x25f10037,
  13965. 0x24f10044, 0x24f10042, 0x24f10040, 0x24f1003e,
  13966. 0x24f1003c, 0x24f1003b, 0x24f10039, 0x24f10038,
  13967. 0x23f10041, 0x23f10040, 0x23f1003f, 0x23f1003e,
  13968. 0x23f1003c, 0x23f1003b, 0x23f10039, 0x23f10037,
  13969. 0x22f10044, 0x22f10042, 0x22f10040, 0x22f1003e,
  13970. 0x22f1003c, 0x22f1003b, 0x22f10039, 0x22f10037,
  13971. 0x21f10044, 0x21f10042, 0x21f10040, 0x21f1003e,
  13972. 0x21f1003c, 0x21f1003b, 0x21f10039, 0x21f10037,
  13973. 0x20d10043, 0x20d10041, 0x20d1003e, 0x20d1003c,
  13974. 0x20d1003a, 0x20d10038, 0x20d10036, 0x20d10034
  13975. };
  13976. static u8 ant_sw_ctrl_tbl_rev8_2o3[] = { 0x14, 0x18 };
  13977. static u8 ant_sw_ctrl_tbl_rev8[] = { 0x4, 0x8, 0x4, 0x8, 0x11, 0x12 };
  13978. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core0[] = {
  13979. 0x09, 0x0a, 0x15, 0x16, 0x09, 0x0a
  13980. };
  13981. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core1[] = {
  13982. 0x09, 0x0a, 0x09, 0x0a, 0x15, 0x16
  13983. };
  13984. bool wlc_phy_bist_check_phy(struct brcms_phy_pub *pih)
  13985. {
  13986. struct brcms_phy *pi = (struct brcms_phy *) pih;
  13987. u32 phybist0, phybist1, phybist2, phybist3, phybist4;
  13988. if (NREV_GE(pi->pubpi.phy_rev, 16))
  13989. return true;
  13990. phybist0 = read_phy_reg(pi, 0x0e);
  13991. phybist1 = read_phy_reg(pi, 0x0f);
  13992. phybist2 = read_phy_reg(pi, 0xea);
  13993. phybist3 = read_phy_reg(pi, 0xeb);
  13994. phybist4 = read_phy_reg(pi, 0x156);
  13995. if ((phybist0 == 0) && (phybist1 == 0x4000) && (phybist2 == 0x1fe0) &&
  13996. (phybist3 == 0) && (phybist4 == 0))
  13997. return true;
  13998. return false;
  13999. }
  14000. static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi)
  14001. {
  14002. u16 addr, val;
  14003. val = 0x1e1f;
  14004. for (addr = (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT);
  14005. addr <= (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT_END); addr++) {
  14006. write_phy_reg(pi, addr, val);
  14007. if (addr == (NPHY_TO_BPHY_OFF + 0x97))
  14008. val = 0x3e3f;
  14009. else
  14010. val -= 0x0202;
  14011. }
  14012. write_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_STEP, 0x668);
  14013. }
  14014. void
  14015. wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14016. u32 width, const void *data)
  14017. {
  14018. struct phytbl_info tbl;
  14019. tbl.tbl_id = id;
  14020. tbl.tbl_len = len;
  14021. tbl.tbl_offset = offset;
  14022. tbl.tbl_width = width;
  14023. tbl.tbl_ptr = data;
  14024. wlc_phy_write_table_nphy(pi, &tbl);
  14025. }
  14026. void
  14027. wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14028. u32 width, void *data)
  14029. {
  14030. struct phytbl_info tbl;
  14031. tbl.tbl_id = id;
  14032. tbl.tbl_len = len;
  14033. tbl.tbl_offset = offset;
  14034. tbl.tbl_width = width;
  14035. tbl.tbl_ptr = data;
  14036. wlc_phy_read_table_nphy(pi, &tbl);
  14037. }
  14038. static void
  14039. wlc_phy_static_table_download_nphy(struct brcms_phy *pi)
  14040. {
  14041. uint idx;
  14042. if (NREV_GE(pi->pubpi.phy_rev, 16)) {
  14043. for (idx = 0; idx < mimophytbl_info_sz_rev16; idx++)
  14044. wlc_phy_write_table_nphy(pi,
  14045. &mimophytbl_info_rev16[idx]);
  14046. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14047. for (idx = 0; idx < mimophytbl_info_sz_rev7; idx++)
  14048. wlc_phy_write_table_nphy(pi,
  14049. &mimophytbl_info_rev7[idx]);
  14050. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14051. for (idx = 0; idx < mimophytbl_info_sz_rev3; idx++)
  14052. wlc_phy_write_table_nphy(pi,
  14053. &mimophytbl_info_rev3[idx]);
  14054. } else {
  14055. for (idx = 0; idx < mimophytbl_info_sz_rev0; idx++)
  14056. wlc_phy_write_table_nphy(pi,
  14057. &mimophytbl_info_rev0[idx]);
  14058. }
  14059. }
  14060. static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi)
  14061. {
  14062. uint idx = 0;
  14063. u8 antswctrllut;
  14064. if (pi->phy_init_por)
  14065. wlc_phy_static_table_download_nphy(pi);
  14066. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14067. antswctrllut = CHSPEC_IS2G(pi->radio_chanspec) ?
  14068. pi->srom_fem2g.antswctrllut : pi->srom_fem5g.
  14069. antswctrllut;
  14070. switch (antswctrllut) {
  14071. case 0:
  14072. break;
  14073. case 1:
  14074. if (pi->aa2g == 7)
  14075. wlc_phy_table_write_nphy(
  14076. pi,
  14077. NPHY_TBL_ID_ANTSWCTRLLUT,
  14078. 2, 0x21, 8,
  14079. &ant_sw_ctrl_tbl_rev8_2o3[0]);
  14080. else
  14081. wlc_phy_table_write_nphy(
  14082. pi,
  14083. NPHY_TBL_ID_ANTSWCTRLLUT,
  14084. 2, 0x21, 8,
  14085. &ant_sw_ctrl_tbl_rev8
  14086. [0]);
  14087. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14088. 2, 0x25, 8,
  14089. &ant_sw_ctrl_tbl_rev8[2]);
  14090. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14091. 2, 0x29, 8,
  14092. &ant_sw_ctrl_tbl_rev8[4]);
  14093. break;
  14094. case 2:
  14095. wlc_phy_table_write_nphy(
  14096. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14097. 2, 0x1, 8,
  14098. &ant_sw_ctrl_tbl_rev8_2057v7_core0[0]);
  14099. wlc_phy_table_write_nphy(
  14100. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14101. 2, 0x5, 8,
  14102. &ant_sw_ctrl_tbl_rev8_2057v7_core0[2]);
  14103. wlc_phy_table_write_nphy(
  14104. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14105. 2, 0x9, 8,
  14106. &ant_sw_ctrl_tbl_rev8_2057v7_core0[4]);
  14107. wlc_phy_table_write_nphy(
  14108. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14109. 2, 0x21, 8,
  14110. &ant_sw_ctrl_tbl_rev8_2057v7_core1[0]);
  14111. wlc_phy_table_write_nphy(
  14112. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14113. 2, 0x25, 8,
  14114. &ant_sw_ctrl_tbl_rev8_2057v7_core1[2]);
  14115. wlc_phy_table_write_nphy(
  14116. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14117. 2, 0x29, 8,
  14118. &ant_sw_ctrl_tbl_rev8_2057v7_core1[4]);
  14119. break;
  14120. default:
  14121. break;
  14122. }
  14123. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14124. for (idx = 0; idx < mimophytbl_info_sz_rev3_volatile; idx++) {
  14125. if (idx == ANT_SWCTRL_TBL_REV3_IDX) {
  14126. antswctrllut =
  14127. CHSPEC_IS2G(pi->radio_chanspec) ?
  14128. pi->srom_fem2g.antswctrllut :
  14129. pi->srom_fem5g.antswctrllut;
  14130. switch (antswctrllut) {
  14131. case 0:
  14132. wlc_phy_write_table_nphy(
  14133. pi,
  14134. &mimophytbl_info_rev3_volatile
  14135. [idx]);
  14136. break;
  14137. case 1:
  14138. wlc_phy_write_table_nphy(
  14139. pi,
  14140. &mimophytbl_info_rev3_volatile1
  14141. [idx]);
  14142. break;
  14143. case 2:
  14144. wlc_phy_write_table_nphy(
  14145. pi,
  14146. &mimophytbl_info_rev3_volatile2
  14147. [idx]);
  14148. break;
  14149. case 3:
  14150. wlc_phy_write_table_nphy(
  14151. pi,
  14152. &mimophytbl_info_rev3_volatile3
  14153. [idx]);
  14154. break;
  14155. default:
  14156. break;
  14157. }
  14158. } else {
  14159. wlc_phy_write_table_nphy(
  14160. pi,
  14161. &mimophytbl_info_rev3_volatile[idx]);
  14162. }
  14163. }
  14164. } else {
  14165. for (idx = 0; idx < mimophytbl_info_sz_rev0_volatile; idx++)
  14166. wlc_phy_write_table_nphy(pi,
  14167. &mimophytbl_info_rev0_volatile
  14168. [idx]);
  14169. }
  14170. }
  14171. static void
  14172. wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay)
  14173. {
  14174. write_phy_reg(pi, 0x77, holdoff);
  14175. write_phy_reg(pi, 0xb4, delay);
  14176. }
  14177. void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs)
  14178. {
  14179. u16 holdoff, delay;
  14180. if (rifs) {
  14181. holdoff = 0x10;
  14182. delay = 0x258;
  14183. } else {
  14184. holdoff = 0x15;
  14185. delay = 0x320;
  14186. }
  14187. wlc_phy_write_txmacreg_nphy(pi, holdoff, delay);
  14188. if (pi && pi->sh && (pi->sh->_rifs_phy != rifs))
  14189. pi->sh->_rifs_phy = rifs;
  14190. }
  14191. static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi)
  14192. {
  14193. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14194. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14195. pi->phy_5g_pwrgain = true;
  14196. return;
  14197. }
  14198. pi->nphy_txpwrctrl = PHY_TPC_HW_OFF;
  14199. pi->phy_5g_pwrgain = false;
  14200. if ((pi->sh->boardflags2 & BFL2_TXPWRCTRL_EN) &&
  14201. NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4))
  14202. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14203. else if ((pi->sh->sromrev >= 4)
  14204. && (pi->sh->boardflags2 & BFL2_5G_PWRGAIN))
  14205. pi->phy_5g_pwrgain = true;
  14206. }
  14207. static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi)
  14208. {
  14209. u16 bw40po, cddpo, stbcpo, bwduppo;
  14210. uint band_num;
  14211. struct phy_shim_info *shim = pi->sh->physhim;
  14212. if (pi->sh->sromrev >= 9)
  14213. return;
  14214. bw40po = (u16) wlapi_getintvar(shim, BRCMS_SROM_BW40PO);
  14215. pi->bw402gpo = bw40po & 0xf;
  14216. pi->bw405gpo = (bw40po & 0xf0) >> 4;
  14217. pi->bw405glpo = (bw40po & 0xf00) >> 8;
  14218. pi->bw405ghpo = (bw40po & 0xf000) >> 12;
  14219. cddpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_CDDPO);
  14220. pi->cdd2gpo = cddpo & 0xf;
  14221. pi->cdd5gpo = (cddpo & 0xf0) >> 4;
  14222. pi->cdd5glpo = (cddpo & 0xf00) >> 8;
  14223. pi->cdd5ghpo = (cddpo & 0xf000) >> 12;
  14224. stbcpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_STBCPO);
  14225. pi->stbc2gpo = stbcpo & 0xf;
  14226. pi->stbc5gpo = (stbcpo & 0xf0) >> 4;
  14227. pi->stbc5glpo = (stbcpo & 0xf00) >> 8;
  14228. pi->stbc5ghpo = (stbcpo & 0xf000) >> 12;
  14229. bwduppo = (u16) wlapi_getintvar(shim, BRCMS_SROM_BWDUPPO);
  14230. pi->bwdup2gpo = bwduppo & 0xf;
  14231. pi->bwdup5gpo = (bwduppo & 0xf0) >> 4;
  14232. pi->bwdup5glpo = (bwduppo & 0xf00) >> 8;
  14233. pi->bwdup5ghpo = (bwduppo & 0xf000) >> 12;
  14234. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  14235. band_num++) {
  14236. switch (band_num) {
  14237. case 0:
  14238. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_2g =
  14239. (s8) wlapi_getintvar(shim,
  14240. BRCMS_SROM_MAXP2GA0);
  14241. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_2g =
  14242. (s8) wlapi_getintvar(shim,
  14243. BRCMS_SROM_MAXP2GA1);
  14244. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_a1 =
  14245. (s16) wlapi_getintvar(shim,
  14246. BRCMS_SROM_PA2GW0A0);
  14247. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_a1 =
  14248. (s16) wlapi_getintvar(shim,
  14249. BRCMS_SROM_PA2GW0A1);
  14250. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b0 =
  14251. (s16) wlapi_getintvar(shim,
  14252. BRCMS_SROM_PA2GW1A0);
  14253. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b0 =
  14254. (s16) wlapi_getintvar(shim,
  14255. BRCMS_SROM_PA2GW1A1);
  14256. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b1 =
  14257. (s16) wlapi_getintvar(shim,
  14258. BRCMS_SROM_PA2GW2A0);
  14259. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b1 =
  14260. (s16) wlapi_getintvar(shim,
  14261. BRCMS_SROM_PA2GW2A1);
  14262. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_2g =
  14263. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA0);
  14264. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_2g =
  14265. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA1);
  14266. pi->cck2gpo = (u16) wlapi_getintvar(shim,
  14267. BRCMS_SROM_CCK2GPO);
  14268. pi->ofdm2gpo =
  14269. (u32) wlapi_getintvar(shim,
  14270. BRCMS_SROM_OFDM2GPO);
  14271. pi->mcs2gpo[0] =
  14272. (u16) wlapi_getintvar(shim,
  14273. BRCMS_SROM_MCS2GPO0);
  14274. pi->mcs2gpo[1] =
  14275. (u16) wlapi_getintvar(shim,
  14276. BRCMS_SROM_MCS2GPO1);
  14277. pi->mcs2gpo[2] =
  14278. (u16) wlapi_getintvar(shim,
  14279. BRCMS_SROM_MCS2GPO2);
  14280. pi->mcs2gpo[3] =
  14281. (u16) wlapi_getintvar(shim,
  14282. BRCMS_SROM_MCS2GPO3);
  14283. pi->mcs2gpo[4] =
  14284. (u16) wlapi_getintvar(shim,
  14285. BRCMS_SROM_MCS2GPO4);
  14286. pi->mcs2gpo[5] =
  14287. (u16) wlapi_getintvar(shim,
  14288. BRCMS_SROM_MCS2GPO5);
  14289. pi->mcs2gpo[6] =
  14290. (u16) wlapi_getintvar(shim,
  14291. BRCMS_SROM_MCS2GPO6);
  14292. pi->mcs2gpo[7] =
  14293. (u16) wlapi_getintvar(shim,
  14294. BRCMS_SROM_MCS2GPO7);
  14295. break;
  14296. case 1:
  14297. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_5gm =
  14298. (s8) wlapi_getintvar(shim, BRCMS_SROM_MAXP5GA0);
  14299. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_5gm =
  14300. (s8) wlapi_getintvar(shim,
  14301. BRCMS_SROM_MAXP5GA1);
  14302. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_a1 =
  14303. (s16) wlapi_getintvar(shim,
  14304. BRCMS_SROM_PA5GW0A0);
  14305. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_a1 =
  14306. (s16) wlapi_getintvar(shim,
  14307. BRCMS_SROM_PA5GW0A1);
  14308. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b0 =
  14309. (s16) wlapi_getintvar(shim,
  14310. BRCMS_SROM_PA5GW1A0);
  14311. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b0 =
  14312. (s16) wlapi_getintvar(shim,
  14313. BRCMS_SROM_PA5GW1A1);
  14314. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b1 =
  14315. (s16) wlapi_getintvar(shim,
  14316. BRCMS_SROM_PA5GW2A0);
  14317. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b1 =
  14318. (s16) wlapi_getintvar(shim,
  14319. BRCMS_SROM_PA5GW2A1);
  14320. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_5gm =
  14321. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA0);
  14322. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_5gm =
  14323. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA1);
  14324. pi->ofdm5gpo =
  14325. (u32) wlapi_getintvar(shim,
  14326. BRCMS_SROM_OFDM5GPO);
  14327. pi->mcs5gpo[0] =
  14328. (u16) wlapi_getintvar(shim,
  14329. BRCMS_SROM_MCS5GPO0);
  14330. pi->mcs5gpo[1] =
  14331. (u16) wlapi_getintvar(shim,
  14332. BRCMS_SROM_MCS5GPO1);
  14333. pi->mcs5gpo[2] =
  14334. (u16) wlapi_getintvar(shim,
  14335. BRCMS_SROM_MCS5GPO2);
  14336. pi->mcs5gpo[3] =
  14337. (u16) wlapi_getintvar(shim,
  14338. BRCMS_SROM_MCS5GPO3);
  14339. pi->mcs5gpo[4] =
  14340. (u16) wlapi_getintvar(shim,
  14341. BRCMS_SROM_MCS5GPO4);
  14342. pi->mcs5gpo[5] =
  14343. (u16) wlapi_getintvar(shim,
  14344. BRCMS_SROM_MCS5GPO5);
  14345. pi->mcs5gpo[6] =
  14346. (u16) wlapi_getintvar(shim,
  14347. BRCMS_SROM_MCS5GPO6);
  14348. pi->mcs5gpo[7] =
  14349. (u16) wlapi_getintvar(shim,
  14350. BRCMS_SROM_MCS5GPO7);
  14351. break;
  14352. case 2:
  14353. pi->nphy_pwrctrl_info[0].max_pwr_5gl =
  14354. (s8) wlapi_getintvar(shim,
  14355. BRCMS_SROM_MAXP5GLA0);
  14356. pi->nphy_pwrctrl_info[1].max_pwr_5gl =
  14357. (s8) wlapi_getintvar(shim,
  14358. BRCMS_SROM_MAXP5GLA1);
  14359. pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1 =
  14360. (s16) wlapi_getintvar(shim,
  14361. BRCMS_SROM_PA5GLW0A0);
  14362. pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1 =
  14363. (s16) wlapi_getintvar(shim,
  14364. BRCMS_SROM_PA5GLW0A1);
  14365. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0 =
  14366. (s16) wlapi_getintvar(shim,
  14367. BRCMS_SROM_PA5GLW1A0);
  14368. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0 =
  14369. (s16) wlapi_getintvar(shim,
  14370. BRCMS_SROM_PA5GLW1A1);
  14371. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1 =
  14372. (s16) wlapi_getintvar(shim,
  14373. BRCMS_SROM_PA5GLW2A0);
  14374. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1 =
  14375. (s16) wlapi_getintvar(shim,
  14376. BRCMS_SROM_PA5GLW2A1);
  14377. pi->nphy_pwrctrl_info[0].idle_targ_5gl = 0;
  14378. pi->nphy_pwrctrl_info[1].idle_targ_5gl = 0;
  14379. pi->ofdm5glpo =
  14380. (u32) wlapi_getintvar(shim,
  14381. BRCMS_SROM_OFDM5GLPO);
  14382. pi->mcs5glpo[0] =
  14383. (u16) wlapi_getintvar(shim,
  14384. BRCMS_SROM_MCS5GLPO0);
  14385. pi->mcs5glpo[1] =
  14386. (u16) wlapi_getintvar(shim,
  14387. BRCMS_SROM_MCS5GLPO1);
  14388. pi->mcs5glpo[2] =
  14389. (u16) wlapi_getintvar(shim,
  14390. BRCMS_SROM_MCS5GLPO2);
  14391. pi->mcs5glpo[3] =
  14392. (u16) wlapi_getintvar(shim,
  14393. BRCMS_SROM_MCS5GLPO3);
  14394. pi->mcs5glpo[4] =
  14395. (u16) wlapi_getintvar(shim,
  14396. BRCMS_SROM_MCS5GLPO4);
  14397. pi->mcs5glpo[5] =
  14398. (u16) wlapi_getintvar(shim,
  14399. BRCMS_SROM_MCS5GLPO5);
  14400. pi->mcs5glpo[6] =
  14401. (u16) wlapi_getintvar(shim,
  14402. BRCMS_SROM_MCS5GLPO6);
  14403. pi->mcs5glpo[7] =
  14404. (u16) wlapi_getintvar(shim,
  14405. BRCMS_SROM_MCS5GLPO7);
  14406. break;
  14407. case 3:
  14408. pi->nphy_pwrctrl_info[0].max_pwr_5gh =
  14409. (s8) wlapi_getintvar(shim,
  14410. BRCMS_SROM_MAXP5GHA0);
  14411. pi->nphy_pwrctrl_info[1].max_pwr_5gh =
  14412. (s8) wlapi_getintvar(shim,
  14413. BRCMS_SROM_MAXP5GHA1);
  14414. pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1 =
  14415. (s16) wlapi_getintvar(shim,
  14416. BRCMS_SROM_PA5GHW0A0);
  14417. pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1 =
  14418. (s16) wlapi_getintvar(shim,
  14419. BRCMS_SROM_PA5GHW0A1);
  14420. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0 =
  14421. (s16) wlapi_getintvar(shim,
  14422. BRCMS_SROM_PA5GHW1A0);
  14423. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0 =
  14424. (s16) wlapi_getintvar(shim,
  14425. BRCMS_SROM_PA5GHW1A1);
  14426. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1 =
  14427. (s16) wlapi_getintvar(shim,
  14428. BRCMS_SROM_PA5GHW2A0);
  14429. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1 =
  14430. (s16) wlapi_getintvar(shim,
  14431. BRCMS_SROM_PA5GHW2A1);
  14432. pi->nphy_pwrctrl_info[0].idle_targ_5gh = 0;
  14433. pi->nphy_pwrctrl_info[1].idle_targ_5gh = 0;
  14434. pi->ofdm5ghpo =
  14435. (u32) wlapi_getintvar(shim,
  14436. BRCMS_SROM_OFDM5GHPO);
  14437. pi->mcs5ghpo[0] =
  14438. (u16) wlapi_getintvar(shim,
  14439. BRCMS_SROM_MCS5GHPO0);
  14440. pi->mcs5ghpo[1] =
  14441. (u16) wlapi_getintvar(shim,
  14442. BRCMS_SROM_MCS5GHPO1);
  14443. pi->mcs5ghpo[2] =
  14444. (u16) wlapi_getintvar(shim,
  14445. BRCMS_SROM_MCS5GHPO2);
  14446. pi->mcs5ghpo[3] =
  14447. (u16) wlapi_getintvar(shim,
  14448. BRCMS_SROM_MCS5GHPO3);
  14449. pi->mcs5ghpo[4] =
  14450. (u16) wlapi_getintvar(shim,
  14451. BRCMS_SROM_MCS5GHPO4);
  14452. pi->mcs5ghpo[5] =
  14453. (u16) wlapi_getintvar(shim,
  14454. BRCMS_SROM_MCS5GHPO5);
  14455. pi->mcs5ghpo[6] =
  14456. (u16) wlapi_getintvar(shim,
  14457. BRCMS_SROM_MCS5GHPO6);
  14458. pi->mcs5ghpo[7] =
  14459. (u16) wlapi_getintvar(shim,
  14460. BRCMS_SROM_MCS5GHPO7);
  14461. break;
  14462. }
  14463. }
  14464. wlc_phy_txpwr_apply_nphy(pi);
  14465. }
  14466. static bool wlc_phy_txpwr_srom_read_nphy(struct brcms_phy *pi)
  14467. {
  14468. struct phy_shim_info *shim = pi->sh->physhim;
  14469. pi->antswitch = (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWITCH);
  14470. pi->aa2g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA2G);
  14471. pi->aa5g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA5G);
  14472. pi->srom_fem2g.tssipos = (u8) wlapi_getintvar(shim,
  14473. BRCMS_SROM_TSSIPOS2G);
  14474. pi->srom_fem2g.extpagain = (u8) wlapi_getintvar(shim,
  14475. BRCMS_SROM_EXTPAGAIN2G);
  14476. pi->srom_fem2g.pdetrange = (u8) wlapi_getintvar(shim,
  14477. BRCMS_SROM_PDETRANGE2G);
  14478. pi->srom_fem2g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO2G);
  14479. pi->srom_fem2g.antswctrllut =
  14480. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14481. pi->srom_fem5g.tssipos = (u8) wlapi_getintvar(shim,
  14482. BRCMS_SROM_TSSIPOS5G);
  14483. pi->srom_fem5g.extpagain = (u8) wlapi_getintvar(shim,
  14484. BRCMS_SROM_EXTPAGAIN5G);
  14485. pi->srom_fem5g.pdetrange = (u8) wlapi_getintvar(shim,
  14486. BRCMS_SROM_PDETRANGE5G);
  14487. pi->srom_fem5g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO5G);
  14488. if (wlapi_getvar(shim, BRCMS_SROM_ANTSWCTL5G))
  14489. pi->srom_fem5g.antswctrllut =
  14490. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL5G);
  14491. else
  14492. pi->srom_fem5g.antswctrllut =
  14493. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14494. wlc_phy_txpower_ipa_upd(pi);
  14495. pi->phy_txcore_disable_temp =
  14496. (s16) wlapi_getintvar(shim, BRCMS_SROM_TEMPTHRESH);
  14497. if (pi->phy_txcore_disable_temp == 0)
  14498. pi->phy_txcore_disable_temp = PHY_CHAIN_TX_DISABLE_TEMP;
  14499. pi->phy_tempsense_offset = (s8) wlapi_getintvar(shim,
  14500. BRCMS_SROM_TEMPOFFSET);
  14501. if (pi->phy_tempsense_offset != 0) {
  14502. if (pi->phy_tempsense_offset >
  14503. (NPHY_SROM_TEMPSHIFT + NPHY_SROM_MAXTEMPOFFSET))
  14504. pi->phy_tempsense_offset = NPHY_SROM_MAXTEMPOFFSET;
  14505. else if (pi->phy_tempsense_offset < (NPHY_SROM_TEMPSHIFT +
  14506. NPHY_SROM_MINTEMPOFFSET))
  14507. pi->phy_tempsense_offset = NPHY_SROM_MINTEMPOFFSET;
  14508. else
  14509. pi->phy_tempsense_offset -= NPHY_SROM_TEMPSHIFT;
  14510. }
  14511. pi->phy_txcore_enable_temp =
  14512. pi->phy_txcore_disable_temp - PHY_HYSTERESIS_DELTATEMP;
  14513. pi->phycal_tempdelta =
  14514. (u8) wlapi_getintvar(shim, BRCMS_SROM_PHYCAL_TEMPDELTA);
  14515. if (pi->phycal_tempdelta > NPHY_CAL_MAXTEMPDELTA)
  14516. pi->phycal_tempdelta = 0;
  14517. wlc_phy_txpwr_srom_read_ppr_nphy(pi);
  14518. return true;
  14519. }
  14520. bool wlc_phy_attach_nphy(struct brcms_phy *pi)
  14521. {
  14522. uint i;
  14523. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 6))
  14524. pi->phyhang_avoid = true;
  14525. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14526. pi->nphy_gband_spurwar_en = true;
  14527. if (pi->sh->boardflags2 & BFL2_SPUR_WAR)
  14528. pi->nphy_aband_spurwar_en = true;
  14529. }
  14530. if (NREV_GE(pi->pubpi.phy_rev, 6) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14531. if (pi->sh->boardflags2 & BFL2_2G_SPUR_WAR)
  14532. pi->nphy_gband_spurwar2_en = true;
  14533. }
  14534. pi->n_preamble_override = AUTO;
  14535. if (NREV_IS(pi->pubpi.phy_rev, 3) || NREV_IS(pi->pubpi.phy_rev, 4))
  14536. pi->n_preamble_override = BRCMS_N_PREAMBLE_MIXEDMODE;
  14537. pi->nphy_txrx_chain = AUTO;
  14538. pi->phy_scraminit = AUTO;
  14539. pi->nphy_rxcalparams = 0x010100B5;
  14540. pi->nphy_perical = PHY_PERICAL_MPHASE;
  14541. pi->mphase_cal_phase_id = MPHASE_CAL_STATE_IDLE;
  14542. pi->mphase_txcal_numcmds = MPHASE_TXCAL_NUMCMDS;
  14543. pi->nphy_gain_boost = true;
  14544. pi->nphy_elna_gain_config = false;
  14545. pi->radio_is_on = false;
  14546. for (i = 0; i < pi->pubpi.phy_corenum; i++)
  14547. pi->nphy_txpwrindex[i].index = AUTO;
  14548. wlc_phy_txpwrctrl_config_nphy(pi);
  14549. if (pi->nphy_txpwrctrl == PHY_TPC_HW_ON)
  14550. pi->hwpwrctrl_capable = true;
  14551. pi->pi_fptr.init = wlc_phy_init_nphy;
  14552. pi->pi_fptr.calinit = wlc_phy_cal_init_nphy;
  14553. pi->pi_fptr.chanset = wlc_phy_chanspec_set_nphy;
  14554. pi->pi_fptr.txpwrrecalc = wlc_phy_txpower_recalc_target_nphy;
  14555. if (!wlc_phy_txpwr_srom_read_nphy(pi))
  14556. return false;
  14557. return true;
  14558. }
  14559. static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn)
  14560. {
  14561. s32 rfpwr_offset = 0;
  14562. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  14563. if ((pi->pubpi.radiorev == 3) ||
  14564. (pi->pubpi.radiorev == 4) ||
  14565. (pi->pubpi.radiorev == 6))
  14566. rfpwr_offset = (s16)
  14567. nphy_papd_padgain_dlt_2g_2057rev3n4
  14568. [pad_gn];
  14569. else if (pi->pubpi.radiorev == 5)
  14570. rfpwr_offset = (s16)
  14571. nphy_papd_padgain_dlt_2g_2057rev5
  14572. [pad_gn];
  14573. else if ((pi->pubpi.radiorev == 7)
  14574. || (pi->pubpi.radiorev ==
  14575. 8))
  14576. rfpwr_offset = (s16)
  14577. nphy_papd_padgain_dlt_2g_2057rev7
  14578. [pad_gn];
  14579. } else {
  14580. if ((pi->pubpi.radiorev == 3) ||
  14581. (pi->pubpi.radiorev == 4) ||
  14582. (pi->pubpi.radiorev == 6))
  14583. rfpwr_offset = (s16)
  14584. nphy_papd_pgagain_dlt_5g_2057
  14585. [pga_gn];
  14586. else if ((pi->pubpi.radiorev == 7)
  14587. || (pi->pubpi.radiorev ==
  14588. 8))
  14589. rfpwr_offset = (s16)
  14590. nphy_papd_pgagain_dlt_5g_2057rev7
  14591. [pga_gn];
  14592. }
  14593. return rfpwr_offset;
  14594. }
  14595. static void wlc_phy_update_mimoconfig_nphy(struct brcms_phy *pi, s32 preamble)
  14596. {
  14597. bool gf_preamble = false;
  14598. u16 val;
  14599. if (preamble == BRCMS_N_PREAMBLE_GF)
  14600. gf_preamble = true;
  14601. val = read_phy_reg(pi, 0xed);
  14602. val |= RX_GF_MM_AUTO;
  14603. val &= ~RX_GF_OR_MM;
  14604. if (gf_preamble)
  14605. val |= RX_GF_OR_MM;
  14606. write_phy_reg(pi, 0xed, val);
  14607. }
  14608. static void wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  14609. {
  14610. int j, type;
  14611. u16 addr_offset[] = { 0x186, 0x195, 0x2c5};
  14612. for (type = 0; type < 3; type++) {
  14613. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14614. write_phy_reg(pi, addr_offset[type] + j,
  14615. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  14616. }
  14617. if (pi->bw == WL_CHANSPEC_BW_40) {
  14618. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14619. write_phy_reg(pi, 0x186 + j,
  14620. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14621. } else {
  14622. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  14623. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14624. write_phy_reg(pi, 0x186 + j,
  14625. NPHY_IPA_REV4_txdigi_filtcoeffs[5][j]);
  14626. }
  14627. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  14628. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14629. write_phy_reg(pi, 0x2c5 + j,
  14630. NPHY_IPA_REV4_txdigi_filtcoeffs[6][j]);
  14631. }
  14632. }
  14633. }
  14634. static void wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy *pi)
  14635. {
  14636. int j;
  14637. if (pi->bw == WL_CHANSPEC_BW_40) {
  14638. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14639. write_phy_reg(pi, 0x195 + j,
  14640. NPHY_IPA_REV4_txdigi_filtcoeffs[4][j]);
  14641. } else {
  14642. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14643. write_phy_reg(pi, 0x186 + j,
  14644. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14645. }
  14646. }
  14647. static void
  14648. wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, u8 *events, u8 *dlys,
  14649. u8 len)
  14650. {
  14651. u32 t1_offset, t2_offset;
  14652. u8 ctr;
  14653. u8 end_event =
  14654. NREV_GE(pi->pubpi.phy_rev,
  14655. 3) ? NPHY_REV3_RFSEQ_CMD_END : NPHY_RFSEQ_CMD_END;
  14656. u8 end_dly = 1;
  14657. if (pi->phyhang_avoid)
  14658. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14659. t1_offset = cmd << 4;
  14660. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t1_offset, 8,
  14661. events);
  14662. t2_offset = t1_offset + 0x080;
  14663. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t2_offset, 8,
  14664. dlys);
  14665. for (ctr = len; ctr < 16; ctr++) {
  14666. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14667. t1_offset + ctr, 8, &end_event);
  14668. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14669. t2_offset + ctr, 8, &end_dly);
  14670. }
  14671. if (pi->phyhang_avoid)
  14672. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  14673. }
  14674. static u16 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy *pi, u16 offset)
  14675. {
  14676. u16 lpf_bw_ctl_val = 0;
  14677. u16 rx2tx_lpf_rc_lut_offset = 0;
  14678. if (offset == 0) {
  14679. if (CHSPEC_IS40(pi->radio_chanspec))
  14680. rx2tx_lpf_rc_lut_offset = 0x159;
  14681. else
  14682. rx2tx_lpf_rc_lut_offset = 0x154;
  14683. } else {
  14684. rx2tx_lpf_rc_lut_offset = offset;
  14685. }
  14686. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14687. (u32) rx2tx_lpf_rc_lut_offset, 16,
  14688. &lpf_bw_ctl_val);
  14689. lpf_bw_ctl_val = lpf_bw_ctl_val & 0x7;
  14690. return lpf_bw_ctl_val;
  14691. }
  14692. static void
  14693. wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value,
  14694. u8 core_mask, u8 off, u8 override_id)
  14695. {
  14696. u8 core_num;
  14697. u16 addr = 0, en_addr = 0, val_addr = 0, en_mask = 0, val_mask = 0;
  14698. u8 val_shift = 0;
  14699. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14700. en_mask = field;
  14701. for (core_num = 0; core_num < 2; core_num++) {
  14702. if (override_id == NPHY_REV7_RFCTRLOVERRIDE_ID0) {
  14703. switch (field) {
  14704. case (0x1 << 2):
  14705. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14706. val_addr = (core_num == 0) ? 0x7a :
  14707. 0x7d;
  14708. val_mask = (0x1 << 1);
  14709. val_shift = 1;
  14710. break;
  14711. case (0x1 << 3):
  14712. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14713. val_addr = (core_num == 0) ? 0x7a :
  14714. 0x7d;
  14715. val_mask = (0x1 << 2);
  14716. val_shift = 2;
  14717. break;
  14718. case (0x1 << 4):
  14719. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14720. val_addr = (core_num == 0) ? 0x7a :
  14721. 0x7d;
  14722. val_mask = (0x1 << 4);
  14723. val_shift = 4;
  14724. break;
  14725. case (0x1 << 5):
  14726. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14727. val_addr = (core_num == 0) ? 0x7a :
  14728. 0x7d;
  14729. val_mask = (0x1 << 5);
  14730. val_shift = 5;
  14731. break;
  14732. case (0x1 << 6):
  14733. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14734. val_addr = (core_num == 0) ? 0x7a :
  14735. 0x7d;
  14736. val_mask = (0x1 << 6);
  14737. val_shift = 6;
  14738. break;
  14739. case (0x1 << 7):
  14740. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14741. val_addr = (core_num == 0) ? 0x7a :
  14742. 0x7d;
  14743. val_mask = (0x1 << 7);
  14744. val_shift = 7;
  14745. break;
  14746. case (0x1 << 10):
  14747. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14748. val_addr = (core_num == 0) ? 0xf8 :
  14749. 0xfa;
  14750. val_mask = (0x7 << 4);
  14751. val_shift = 4;
  14752. break;
  14753. case (0x1 << 11):
  14754. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14755. val_addr = (core_num == 0) ? 0x7b :
  14756. 0x7e;
  14757. val_mask = (0xffff << 0);
  14758. val_shift = 0;
  14759. break;
  14760. case (0x1 << 12):
  14761. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14762. val_addr = (core_num == 0) ? 0x7c :
  14763. 0x7f;
  14764. val_mask = (0xffff << 0);
  14765. val_shift = 0;
  14766. break;
  14767. case (0x3 << 13):
  14768. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14769. val_addr = (core_num == 0) ? 0x348 :
  14770. 0x349;
  14771. val_mask = (0xff << 0);
  14772. val_shift = 0;
  14773. break;
  14774. case (0x1 << 13):
  14775. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14776. val_addr = (core_num == 0) ? 0x348 :
  14777. 0x349;
  14778. val_mask = (0xf << 0);
  14779. val_shift = 0;
  14780. break;
  14781. default:
  14782. addr = 0xffff;
  14783. break;
  14784. }
  14785. } else if (override_id ==
  14786. NPHY_REV7_RFCTRLOVERRIDE_ID1) {
  14787. switch (field) {
  14788. case (0x1 << 1):
  14789. en_addr = (core_num == 0) ? 0x342 :
  14790. 0x343;
  14791. val_addr = (core_num == 0) ? 0x340 :
  14792. 0x341;
  14793. val_mask = (0x1 << 1);
  14794. val_shift = 1;
  14795. break;
  14796. case (0x1 << 3):
  14797. en_addr = (core_num == 0) ? 0x342 :
  14798. 0x343;
  14799. val_addr = (core_num == 0) ? 0x340 :
  14800. 0x341;
  14801. val_mask = (0x1 << 3);
  14802. val_shift = 3;
  14803. break;
  14804. case (0x1 << 5):
  14805. en_addr = (core_num == 0) ? 0x342 :
  14806. 0x343;
  14807. val_addr = (core_num == 0) ? 0x340 :
  14808. 0x341;
  14809. val_mask = (0x1 << 5);
  14810. val_shift = 5;
  14811. break;
  14812. case (0x1 << 4):
  14813. en_addr = (core_num == 0) ? 0x342 :
  14814. 0x343;
  14815. val_addr = (core_num == 0) ? 0x340 :
  14816. 0x341;
  14817. val_mask = (0x1 << 4);
  14818. val_shift = 4;
  14819. break;
  14820. case (0x1 << 2):
  14821. en_addr = (core_num == 0) ? 0x342 :
  14822. 0x343;
  14823. val_addr = (core_num == 0) ? 0x340 :
  14824. 0x341;
  14825. val_mask = (0x1 << 2);
  14826. val_shift = 2;
  14827. break;
  14828. case (0x1 << 7):
  14829. en_addr = (core_num == 0) ? 0x342 :
  14830. 0x343;
  14831. val_addr = (core_num == 0) ? 0x340 :
  14832. 0x341;
  14833. val_mask = (0x7 << 8);
  14834. val_shift = 8;
  14835. break;
  14836. case (0x1 << 11):
  14837. en_addr = (core_num == 0) ? 0x342 :
  14838. 0x343;
  14839. val_addr = (core_num == 0) ? 0x340 :
  14840. 0x341;
  14841. val_mask = (0x1 << 14);
  14842. val_shift = 14;
  14843. break;
  14844. case (0x1 << 10):
  14845. en_addr = (core_num == 0) ? 0x342 :
  14846. 0x343;
  14847. val_addr = (core_num == 0) ? 0x340 :
  14848. 0x341;
  14849. val_mask = (0x1 << 13);
  14850. val_shift = 13;
  14851. break;
  14852. case (0x1 << 9):
  14853. en_addr = (core_num == 0) ? 0x342 :
  14854. 0x343;
  14855. val_addr = (core_num == 0) ? 0x340 :
  14856. 0x341;
  14857. val_mask = (0x1 << 12);
  14858. val_shift = 12;
  14859. break;
  14860. case (0x1 << 8):
  14861. en_addr = (core_num == 0) ? 0x342 :
  14862. 0x343;
  14863. val_addr = (core_num == 0) ? 0x340 :
  14864. 0x341;
  14865. val_mask = (0x1 << 11);
  14866. val_shift = 11;
  14867. break;
  14868. case (0x1 << 6):
  14869. en_addr = (core_num == 0) ? 0x342 :
  14870. 0x343;
  14871. val_addr = (core_num == 0) ? 0x340 :
  14872. 0x341;
  14873. val_mask = (0x1 << 6);
  14874. val_shift = 6;
  14875. break;
  14876. case (0x1 << 0):
  14877. en_addr = (core_num == 0) ? 0x342 :
  14878. 0x343;
  14879. val_addr = (core_num == 0) ? 0x340 :
  14880. 0x341;
  14881. val_mask = (0x1 << 0);
  14882. val_shift = 0;
  14883. break;
  14884. default:
  14885. addr = 0xffff;
  14886. break;
  14887. }
  14888. } else if (override_id ==
  14889. NPHY_REV7_RFCTRLOVERRIDE_ID2) {
  14890. switch (field) {
  14891. case (0x1 << 3):
  14892. en_addr = (core_num == 0) ? 0x346 :
  14893. 0x347;
  14894. val_addr = (core_num == 0) ? 0x344 :
  14895. 0x345;
  14896. val_mask = (0x1 << 3);
  14897. val_shift = 3;
  14898. break;
  14899. case (0x1 << 1):
  14900. en_addr = (core_num == 0) ? 0x346 :
  14901. 0x347;
  14902. val_addr = (core_num == 0) ? 0x344 :
  14903. 0x345;
  14904. val_mask = (0x1 << 1);
  14905. val_shift = 1;
  14906. break;
  14907. case (0x1 << 0):
  14908. en_addr = (core_num == 0) ? 0x346 :
  14909. 0x347;
  14910. val_addr = (core_num == 0) ? 0x344 :
  14911. 0x345;
  14912. val_mask = (0x1 << 0);
  14913. val_shift = 0;
  14914. break;
  14915. case (0x1 << 2):
  14916. en_addr = (core_num == 0) ? 0x346 :
  14917. 0x347;
  14918. val_addr = (core_num == 0) ? 0x344 :
  14919. 0x345;
  14920. val_mask = (0x1 << 2);
  14921. val_shift = 2;
  14922. break;
  14923. case (0x1 << 4):
  14924. en_addr = (core_num == 0) ? 0x346 :
  14925. 0x347;
  14926. val_addr = (core_num == 0) ? 0x344 :
  14927. 0x345;
  14928. val_mask = (0x1 << 4);
  14929. val_shift = 4;
  14930. break;
  14931. default:
  14932. addr = 0xffff;
  14933. break;
  14934. }
  14935. }
  14936. if (off) {
  14937. and_phy_reg(pi, en_addr, ~en_mask);
  14938. and_phy_reg(pi, val_addr, ~val_mask);
  14939. } else {
  14940. if ((core_mask == 0)
  14941. || (core_mask & (1 << core_num))) {
  14942. or_phy_reg(pi, en_addr, en_mask);
  14943. if (addr != 0xffff)
  14944. mod_phy_reg(pi, val_addr,
  14945. val_mask,
  14946. (value <<
  14947. val_shift));
  14948. }
  14949. }
  14950. }
  14951. }
  14952. }
  14953. static void wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy *pi)
  14954. {
  14955. uint core;
  14956. int ctr;
  14957. s16 gain_delta[2];
  14958. u8 curr_channel;
  14959. u16 minmax_gain[2];
  14960. u16 regval[4];
  14961. if (pi->phyhang_avoid)
  14962. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14963. if (pi->nphy_gain_boost) {
  14964. if ((CHSPEC_IS2G(pi->radio_chanspec))) {
  14965. gain_delta[0] = 6;
  14966. gain_delta[1] = 6;
  14967. } else {
  14968. curr_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  14969. gain_delta[0] =
  14970. (s16)
  14971. PHY_HW_ROUND(((nphy_lnagain_est0[0] *
  14972. curr_channel) +
  14973. nphy_lnagain_est0[1]), 13);
  14974. gain_delta[1] =
  14975. (s16)
  14976. PHY_HW_ROUND(((nphy_lnagain_est1[0] *
  14977. curr_channel) +
  14978. nphy_lnagain_est1[1]), 13);
  14979. }
  14980. } else {
  14981. gain_delta[0] = 0;
  14982. gain_delta[1] = 0;
  14983. }
  14984. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  14985. if (pi->nphy_elna_gain_config) {
  14986. regval[0] = nphy_def_lnagains[2] + gain_delta[core];
  14987. regval[1] = nphy_def_lnagains[3] + gain_delta[core];
  14988. regval[2] = nphy_def_lnagains[3] + gain_delta[core];
  14989. regval[3] = nphy_def_lnagains[3] + gain_delta[core];
  14990. } else {
  14991. for (ctr = 0; ctr < 4; ctr++)
  14992. regval[ctr] =
  14993. nphy_def_lnagains[ctr] +
  14994. gain_delta[core];
  14995. }
  14996. wlc_phy_table_write_nphy(pi, core, 4, 8, 16, regval);
  14997. minmax_gain[core] =
  14998. (u16) (nphy_def_lnagains[2] + gain_delta[core] + 4);
  14999. }
  15000. mod_phy_reg(pi, 0x1e, (0xff << 0), (minmax_gain[0] << 0));
  15001. mod_phy_reg(pi, 0x34, (0xff << 0), (minmax_gain[1] << 0));
  15002. if (pi->phyhang_avoid)
  15003. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  15004. }
  15005. static void
  15006. wlc_phy_war_force_trsw_to_R_cliplo_nphy(struct brcms_phy *pi, u8 core)
  15007. {
  15008. if (core == PHY_CORE_0) {
  15009. write_phy_reg(pi, 0x38, 0x4);
  15010. if (CHSPEC_IS2G(pi->radio_chanspec))
  15011. write_phy_reg(pi, 0x37, 0x0060);
  15012. else
  15013. write_phy_reg(pi, 0x37, 0x1080);
  15014. } else if (core == PHY_CORE_1) {
  15015. write_phy_reg(pi, 0x2ae, 0x4);
  15016. if (CHSPEC_IS2G(pi->radio_chanspec))
  15017. write_phy_reg(pi, 0x2ad, 0x0060);
  15018. else
  15019. write_phy_reg(pi, 0x2ad, 0x1080);
  15020. }
  15021. }
  15022. static void wlc_phy_war_txchain_upd_nphy(struct brcms_phy *pi, u8 txchain)
  15023. {
  15024. u8 txchain0, txchain1;
  15025. txchain0 = txchain & 0x1;
  15026. txchain1 = (txchain & 0x2) >> 1;
  15027. if (!txchain0)
  15028. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  15029. if (!txchain1)
  15030. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  15031. }
  15032. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy *pi)
  15033. {
  15034. s8 lna1_gain_db[] = { 8, 13, 17, 22 };
  15035. s8 lna2_gain_db[] = { -2, 7, 11, 15 };
  15036. s8 tia_gain_db[] = { -4, -1, 2, 5, 5, 5, 5, 5, 5, 5 };
  15037. s8 tia_gainbits[] = {
  15038. 0x0, 0x01, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15039. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15040. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15041. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15042. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3c << 0));
  15043. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3c << 0));
  15044. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x8, 8,
  15045. lna1_gain_db);
  15046. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x8, 8,
  15047. lna1_gain_db);
  15048. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10, 8,
  15049. lna2_gain_db);
  15050. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10, 8,
  15051. lna2_gain_db);
  15052. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15053. tia_gain_db);
  15054. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15055. tia_gain_db);
  15056. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15057. tia_gainbits);
  15058. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15059. tia_gainbits);
  15060. write_phy_reg(pi, 0x37, 0x74);
  15061. write_phy_reg(pi, 0x2ad, 0x74);
  15062. write_phy_reg(pi, 0x38, 0x18);
  15063. write_phy_reg(pi, 0x2ae, 0x18);
  15064. write_phy_reg(pi, 0x2b, 0xe8);
  15065. write_phy_reg(pi, 0x41, 0xe8);
  15066. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15067. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x12 << 0));
  15068. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x12 << 0));
  15069. } else {
  15070. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x10 << 0));
  15071. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x10 << 0));
  15072. }
  15073. }
  15074. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy *pi)
  15075. {
  15076. u16 currband;
  15077. s8 lna1G_gain_db_rev7[] = { 9, 14, 19, 24 };
  15078. s8 *lna1_gain_db = NULL;
  15079. s8 *lna1_gain_db_2 = NULL;
  15080. s8 *lna2_gain_db = NULL;
  15081. s8 tiaA_gain_db_rev7[] = { -9, -6, -3, 0, 3, 3, 3, 3, 3, 3 };
  15082. s8 *tia_gain_db;
  15083. s8 tiaA_gainbits_rev7[] = { 0, 1, 2, 3, 4, 4, 4, 4, 4, 4 };
  15084. s8 *tia_gainbits;
  15085. u16 rfseqA_init_gain_rev7[] = { 0x624f, 0x624f };
  15086. u16 *rfseq_init_gain;
  15087. u16 init_gaincode;
  15088. u16 clip1hi_gaincode;
  15089. u16 clip1md_gaincode = 0;
  15090. u16 clip1md_gaincode_B;
  15091. u16 clip1lo_gaincode;
  15092. u16 clip1lo_gaincode_B;
  15093. u8 crsminl_th = 0;
  15094. u8 crsminu_th;
  15095. u16 nbclip_th = 0;
  15096. u8 w1clip_th;
  15097. u16 freq;
  15098. s8 nvar_baseline_offset0 = 0, nvar_baseline_offset1 = 0;
  15099. u8 chg_nbclip_th = 0;
  15100. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15101. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15102. currband = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15103. if (currband == 0) {
  15104. lna1_gain_db = lna1G_gain_db_rev7;
  15105. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15106. lna1_gain_db);
  15107. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15108. lna1_gain_db);
  15109. mod_phy_reg(pi, 0x283, (0xff << 0), (0x40 << 0));
  15110. if (CHSPEC_IS40(pi->radio_chanspec)) {
  15111. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3e << 0));
  15112. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3e << 0));
  15113. }
  15114. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15115. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15116. mod_phy_reg(pi, 0x300, (0x3f << 0), (13 << 0));
  15117. mod_phy_reg(pi, 0x301, (0x3f << 0), (13 << 0));
  15118. }
  15119. } else {
  15120. init_gaincode = 0x9e;
  15121. clip1hi_gaincode = 0x9e;
  15122. clip1md_gaincode_B = 0x24;
  15123. clip1lo_gaincode = 0x8a;
  15124. clip1lo_gaincode_B = 8;
  15125. rfseq_init_gain = rfseqA_init_gain_rev7;
  15126. tia_gain_db = tiaA_gain_db_rev7;
  15127. tia_gainbits = tiaA_gainbits_rev7;
  15128. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  15129. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15130. w1clip_th = 25;
  15131. clip1md_gaincode = 0x82;
  15132. if ((freq <= 5080) || (freq == 5825)) {
  15133. s8 lna1A_gain_db_rev7[] = { 11, 16, 20, 24 };
  15134. s8 lna1A_gain_db_2_rev7[] = {
  15135. 11, 17, 22, 25};
  15136. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15137. crsminu_th = 0x3e;
  15138. lna1_gain_db = lna1A_gain_db_rev7;
  15139. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15140. lna2_gain_db = lna2A_gain_db_rev7;
  15141. } else if ((freq >= 5500) && (freq <= 5700)) {
  15142. s8 lna1A_gain_db_rev7[] = { 11, 17, 21, 25 };
  15143. s8 lna1A_gain_db_2_rev7[] = {
  15144. 12, 18, 22, 26};
  15145. s8 lna2A_gain_db_rev7[] = { 1, 8, 12, 16 };
  15146. crsminu_th = 0x45;
  15147. clip1md_gaincode_B = 0x14;
  15148. nbclip_th = 0xff;
  15149. chg_nbclip_th = 1;
  15150. lna1_gain_db = lna1A_gain_db_rev7;
  15151. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15152. lna2_gain_db = lna2A_gain_db_rev7;
  15153. } else {
  15154. s8 lna1A_gain_db_rev7[] = { 12, 18, 22, 26 };
  15155. s8 lna1A_gain_db_2_rev7[] = {
  15156. 12, 18, 22, 26};
  15157. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15158. crsminu_th = 0x41;
  15159. lna1_gain_db = lna1A_gain_db_rev7;
  15160. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15161. lna2_gain_db = lna2A_gain_db_rev7;
  15162. }
  15163. if (freq <= 4920) {
  15164. nvar_baseline_offset0 = 5;
  15165. nvar_baseline_offset1 = 5;
  15166. } else if ((freq > 4920) && (freq <= 5320)) {
  15167. nvar_baseline_offset0 = 3;
  15168. nvar_baseline_offset1 = 5;
  15169. } else if ((freq > 5320) && (freq <= 5700)) {
  15170. nvar_baseline_offset0 = 3;
  15171. nvar_baseline_offset1 = 2;
  15172. } else {
  15173. nvar_baseline_offset0 = 4;
  15174. nvar_baseline_offset1 = 0;
  15175. }
  15176. } else {
  15177. crsminu_th = 0x3a;
  15178. crsminl_th = 0x3a;
  15179. w1clip_th = 20;
  15180. if ((freq >= 4920) && (freq <= 5320)) {
  15181. nvar_baseline_offset0 = 4;
  15182. nvar_baseline_offset1 = 5;
  15183. } else if ((freq > 5320) && (freq <= 5550)) {
  15184. nvar_baseline_offset0 = 4;
  15185. nvar_baseline_offset1 = 2;
  15186. } else {
  15187. nvar_baseline_offset0 = 5;
  15188. nvar_baseline_offset1 = 3;
  15189. }
  15190. }
  15191. write_phy_reg(pi, 0x20, init_gaincode);
  15192. write_phy_reg(pi, 0x2a7, init_gaincode);
  15193. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15194. pi->pubpi.phy_corenum, 0x106, 16,
  15195. rfseq_init_gain);
  15196. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15197. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15198. write_phy_reg(pi, 0x36, clip1md_gaincode_B);
  15199. write_phy_reg(pi, 0x2ac, clip1md_gaincode_B);
  15200. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15201. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15202. write_phy_reg(pi, 0x38, clip1lo_gaincode_B);
  15203. write_phy_reg(pi, 0x2ae, clip1lo_gaincode_B);
  15204. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15205. tia_gain_db);
  15206. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15207. tia_gain_db);
  15208. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15209. tia_gainbits);
  15210. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15211. tia_gainbits);
  15212. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15213. if (chg_nbclip_th == 1) {
  15214. write_phy_reg(pi, 0x2b, nbclip_th);
  15215. write_phy_reg(pi, 0x41, nbclip_th);
  15216. }
  15217. mod_phy_reg(pi, 0x300, (0x3f << 0), (w1clip_th << 0));
  15218. mod_phy_reg(pi, 0x301, (0x3f << 0), (w1clip_th << 0));
  15219. mod_phy_reg(pi, 0x2e4,
  15220. (0x3f << 0), (nvar_baseline_offset0 << 0));
  15221. mod_phy_reg(pi, 0x2e4,
  15222. (0x3f << 6), (nvar_baseline_offset1 << 6));
  15223. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15224. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15225. lna1_gain_db);
  15226. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15227. lna1_gain_db_2);
  15228. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15229. 8, lna2_gain_db);
  15230. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15231. 8, lna2_gain_db);
  15232. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15233. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15234. } else {
  15235. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15236. }
  15237. }
  15238. }
  15239. static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi)
  15240. {
  15241. u16 w1th, hpf_code, currband;
  15242. int ctr;
  15243. u8 rfseq_updategainu_events[] = {
  15244. NPHY_RFSEQ_CMD_RX_GAIN,
  15245. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15246. NPHY_RFSEQ_CMD_SET_HPF_BW
  15247. };
  15248. u8 rfseq_updategainu_dlys[] = { 10, 30, 1 };
  15249. s8 lna1G_gain_db[] = { 7, 11, 16, 23 };
  15250. s8 lna1G_gain_db_rev4[] = { 8, 12, 17, 25 };
  15251. s8 lna1G_gain_db_rev5[] = { 9, 13, 18, 26 };
  15252. s8 lna1G_gain_db_rev6[] = { 8, 13, 18, 25 };
  15253. s8 lna1G_gain_db_rev6_224B0[] = { 10, 14, 19, 27 };
  15254. s8 lna1A_gain_db[] = { 7, 11, 17, 23 };
  15255. s8 lna1A_gain_db_rev4[] = { 8, 12, 18, 23 };
  15256. s8 lna1A_gain_db_rev5[] = { 6, 10, 16, 21 };
  15257. s8 lna1A_gain_db_rev6[] = { 6, 10, 16, 21 };
  15258. s8 *lna1_gain_db = NULL;
  15259. s8 lna2G_gain_db[] = { -5, 6, 10, 14 };
  15260. s8 lna2G_gain_db_rev5[] = { -3, 7, 11, 16 };
  15261. s8 lna2G_gain_db_rev6[] = { -5, 6, 10, 14 };
  15262. s8 lna2G_gain_db_rev6_224B0[] = { -5, 6, 10, 15 };
  15263. s8 lna2A_gain_db[] = { -6, 2, 6, 10 };
  15264. s8 lna2A_gain_db_rev4[] = { -5, 2, 6, 10 };
  15265. s8 lna2A_gain_db_rev5[] = { -7, 0, 4, 8 };
  15266. s8 lna2A_gain_db_rev6[] = { -7, 0, 4, 8 };
  15267. s8 *lna2_gain_db = NULL;
  15268. s8 tiaG_gain_db[] = {
  15269. 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A };
  15270. s8 tiaA_gain_db[] = {
  15271. 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13 };
  15272. s8 tiaA_gain_db_rev4[] = {
  15273. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15274. s8 tiaA_gain_db_rev5[] = {
  15275. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15276. s8 tiaA_gain_db_rev6[] = {
  15277. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15278. s8 *tia_gain_db;
  15279. s8 tiaG_gainbits[] = {
  15280. 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15281. s8 tiaA_gainbits[] = {
  15282. 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06 };
  15283. s8 tiaA_gainbits_rev4[] = {
  15284. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15285. s8 tiaA_gainbits_rev5[] = {
  15286. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15287. s8 tiaA_gainbits_rev6[] = {
  15288. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15289. s8 *tia_gainbits;
  15290. s8 lpf_gain_db[] = { 0x00, 0x06, 0x0c, 0x12, 0x12, 0x12 };
  15291. s8 lpf_gainbits[] = { 0x00, 0x01, 0x02, 0x03, 0x03, 0x03 };
  15292. u16 rfseqG_init_gain[] = { 0x613f, 0x613f, 0x613f, 0x613f };
  15293. u16 rfseqG_init_gain_rev4[] = { 0x513f, 0x513f, 0x513f, 0x513f };
  15294. u16 rfseqG_init_gain_rev5[] = { 0x413f, 0x413f, 0x413f, 0x413f };
  15295. u16 rfseqG_init_gain_rev5_elna[] = {
  15296. 0x013f, 0x013f, 0x013f, 0x013f };
  15297. u16 rfseqG_init_gain_rev6[] = { 0x513f, 0x513f };
  15298. u16 rfseqG_init_gain_rev6_224B0[] = { 0x413f, 0x413f };
  15299. u16 rfseqG_init_gain_rev6_elna[] = { 0x113f, 0x113f };
  15300. u16 rfseqA_init_gain[] = { 0x516f, 0x516f, 0x516f, 0x516f };
  15301. u16 rfseqA_init_gain_rev4[] = { 0x614f, 0x614f, 0x614f, 0x614f };
  15302. u16 rfseqA_init_gain_rev4_elna[] = {
  15303. 0x314f, 0x314f, 0x314f, 0x314f };
  15304. u16 rfseqA_init_gain_rev5[] = { 0x714f, 0x714f, 0x714f, 0x714f };
  15305. u16 rfseqA_init_gain_rev6[] = { 0x714f, 0x714f };
  15306. u16 *rfseq_init_gain;
  15307. u16 initG_gaincode = 0x627e;
  15308. u16 initG_gaincode_rev4 = 0x527e;
  15309. u16 initG_gaincode_rev5 = 0x427e;
  15310. u16 initG_gaincode_rev5_elna = 0x027e;
  15311. u16 initG_gaincode_rev6 = 0x527e;
  15312. u16 initG_gaincode_rev6_224B0 = 0x427e;
  15313. u16 initG_gaincode_rev6_elna = 0x127e;
  15314. u16 initA_gaincode = 0x52de;
  15315. u16 initA_gaincode_rev4 = 0x629e;
  15316. u16 initA_gaincode_rev4_elna = 0x329e;
  15317. u16 initA_gaincode_rev5 = 0x729e;
  15318. u16 initA_gaincode_rev6 = 0x729e;
  15319. u16 init_gaincode;
  15320. u16 clip1hiG_gaincode = 0x107e;
  15321. u16 clip1hiG_gaincode_rev4 = 0x007e;
  15322. u16 clip1hiG_gaincode_rev5 = 0x1076;
  15323. u16 clip1hiG_gaincode_rev6 = 0x007e;
  15324. u16 clip1hiA_gaincode = 0x00de;
  15325. u16 clip1hiA_gaincode_rev4 = 0x029e;
  15326. u16 clip1hiA_gaincode_rev5 = 0x029e;
  15327. u16 clip1hiA_gaincode_rev6 = 0x029e;
  15328. u16 clip1hi_gaincode;
  15329. u16 clip1mdG_gaincode = 0x0066;
  15330. u16 clip1mdA_gaincode = 0x00ca;
  15331. u16 clip1mdA_gaincode_rev4 = 0x1084;
  15332. u16 clip1mdA_gaincode_rev5 = 0x2084;
  15333. u16 clip1mdA_gaincode_rev6 = 0x2084;
  15334. u16 clip1md_gaincode = 0;
  15335. u16 clip1loG_gaincode = 0x0074;
  15336. u16 clip1loG_gaincode_rev5[] = {
  15337. 0x0062, 0x0064, 0x006a, 0x106a, 0x106c, 0x1074, 0x107c, 0x207c
  15338. };
  15339. u16 clip1loG_gaincode_rev6[] = {
  15340. 0x106a, 0x106c, 0x1074, 0x107c, 0x007e, 0x107e, 0x207e, 0x307e
  15341. };
  15342. u16 clip1loG_gaincode_rev6_224B0 = 0x1074;
  15343. u16 clip1loA_gaincode = 0x00cc;
  15344. u16 clip1loA_gaincode_rev4 = 0x0086;
  15345. u16 clip1loA_gaincode_rev5 = 0x2086;
  15346. u16 clip1loA_gaincode_rev6 = 0x2086;
  15347. u16 clip1lo_gaincode;
  15348. u8 crsminG_th = 0x18;
  15349. u8 crsminG_th_rev5 = 0x18;
  15350. u8 crsminG_th_rev6 = 0x18;
  15351. u8 crsminA_th = 0x1e;
  15352. u8 crsminA_th_rev4 = 0x24;
  15353. u8 crsminA_th_rev5 = 0x24;
  15354. u8 crsminA_th_rev6 = 0x24;
  15355. u8 crsmin_th;
  15356. u8 crsminlG_th = 0x18;
  15357. u8 crsminlG_th_rev5 = 0x18;
  15358. u8 crsminlG_th_rev6 = 0x18;
  15359. u8 crsminlA_th = 0x1e;
  15360. u8 crsminlA_th_rev4 = 0x24;
  15361. u8 crsminlA_th_rev5 = 0x24;
  15362. u8 crsminlA_th_rev6 = 0x24;
  15363. u8 crsminl_th = 0;
  15364. u8 crsminuG_th = 0x18;
  15365. u8 crsminuG_th_rev5 = 0x18;
  15366. u8 crsminuG_th_rev6 = 0x18;
  15367. u8 crsminuA_th = 0x1e;
  15368. u8 crsminuA_th_rev4 = 0x24;
  15369. u8 crsminuA_th_rev5 = 0x24;
  15370. u8 crsminuA_th_rev6 = 0x24;
  15371. u8 crsminuA_th_rev6_224B0 = 0x2d;
  15372. u8 crsminu_th;
  15373. u16 nbclipG_th = 0x20d;
  15374. u16 nbclipG_th_rev4 = 0x1a1;
  15375. u16 nbclipG_th_rev5 = 0x1d0;
  15376. u16 nbclipG_th_rev6 = 0x1d0;
  15377. u16 nbclipA_th = 0x1a1;
  15378. u16 nbclipA_th_rev4 = 0x107;
  15379. u16 nbclipA_th_rev5 = 0x0a9;
  15380. u16 nbclipA_th_rev6 = 0x0f0;
  15381. u16 nbclip_th = 0;
  15382. u8 w1clipG_th = 5;
  15383. u8 w1clipG_th_rev5 = 9;
  15384. u8 w1clipG_th_rev6 = 5;
  15385. u8 w1clipA_th = 25, w1clip_th;
  15386. u8 rssi_gain_default = 0x50;
  15387. u8 rssiG_gain_rev6_224B0 = 0x50;
  15388. u8 rssiA_gain_rev5 = 0x90;
  15389. u8 rssiA_gain_rev6 = 0x90;
  15390. u8 rssi_gain;
  15391. u16 regval[21];
  15392. u8 triso;
  15393. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.triso :
  15394. pi->srom_fem2g.triso;
  15395. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15396. if (pi->pubpi.radiorev == 5) {
  15397. wlc_phy_workarounds_nphy_gainctrl_2057_rev5(pi);
  15398. } else if (pi->pubpi.radiorev == 7) {
  15399. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15400. mod_phy_reg(pi, 0x283, (0xff << 0), (0x44 << 0));
  15401. mod_phy_reg(pi, 0x280, (0xff << 0), (0x44 << 0));
  15402. } else if ((pi->pubpi.radiorev == 3)
  15403. || (pi->pubpi.radiorev == 8)) {
  15404. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15405. if (pi->pubpi.radiorev == 8) {
  15406. mod_phy_reg(pi, 0x283,
  15407. (0xff << 0), (0x44 << 0));
  15408. mod_phy_reg(pi, 0x280,
  15409. (0xff << 0), (0x44 << 0));
  15410. }
  15411. } else {
  15412. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15413. }
  15414. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  15415. mod_phy_reg(pi, 0xa0, (0x1 << 6), (1 << 6));
  15416. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15417. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15418. currband =
  15419. read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15420. if (currband == 0) {
  15421. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15422. if (pi->pubpi.radiorev == 11) {
  15423. lna1_gain_db = lna1G_gain_db_rev6_224B0;
  15424. lna2_gain_db = lna2G_gain_db_rev6_224B0;
  15425. rfseq_init_gain =
  15426. rfseqG_init_gain_rev6_224B0;
  15427. init_gaincode =
  15428. initG_gaincode_rev6_224B0;
  15429. clip1hi_gaincode =
  15430. clip1hiG_gaincode_rev6;
  15431. clip1lo_gaincode =
  15432. clip1loG_gaincode_rev6_224B0;
  15433. nbclip_th = nbclipG_th_rev6;
  15434. w1clip_th = w1clipG_th_rev6;
  15435. crsmin_th = crsminG_th_rev6;
  15436. crsminl_th = crsminlG_th_rev6;
  15437. crsminu_th = crsminuG_th_rev6;
  15438. rssi_gain = rssiG_gain_rev6_224B0;
  15439. } else {
  15440. lna1_gain_db = lna1G_gain_db_rev6;
  15441. lna2_gain_db = lna2G_gain_db_rev6;
  15442. if (pi->sh->boardflags & BFL_EXTLNA) {
  15443. rfseq_init_gain =
  15444. rfseqG_init_gain_rev6_elna;
  15445. init_gaincode =
  15446. initG_gaincode_rev6_elna;
  15447. } else {
  15448. rfseq_init_gain =
  15449. rfseqG_init_gain_rev6;
  15450. init_gaincode =
  15451. initG_gaincode_rev6;
  15452. }
  15453. clip1hi_gaincode =
  15454. clip1hiG_gaincode_rev6;
  15455. switch (triso) {
  15456. case 0:
  15457. clip1lo_gaincode =
  15458. clip1loG_gaincode_rev6
  15459. [0];
  15460. break;
  15461. case 1:
  15462. clip1lo_gaincode =
  15463. clip1loG_gaincode_rev6
  15464. [1];
  15465. break;
  15466. case 2:
  15467. clip1lo_gaincode =
  15468. clip1loG_gaincode_rev6
  15469. [2];
  15470. break;
  15471. case 3:
  15472. default:
  15473. clip1lo_gaincode =
  15474. clip1loG_gaincode_rev6
  15475. [3];
  15476. break;
  15477. case 4:
  15478. clip1lo_gaincode =
  15479. clip1loG_gaincode_rev6
  15480. [4];
  15481. break;
  15482. case 5:
  15483. clip1lo_gaincode =
  15484. clip1loG_gaincode_rev6
  15485. [5];
  15486. break;
  15487. case 6:
  15488. clip1lo_gaincode =
  15489. clip1loG_gaincode_rev6
  15490. [6];
  15491. break;
  15492. case 7:
  15493. clip1lo_gaincode =
  15494. clip1loG_gaincode_rev6
  15495. [7];
  15496. break;
  15497. }
  15498. nbclip_th = nbclipG_th_rev6;
  15499. w1clip_th = w1clipG_th_rev6;
  15500. crsmin_th = crsminG_th_rev6;
  15501. crsminl_th = crsminlG_th_rev6;
  15502. crsminu_th = crsminuG_th_rev6;
  15503. rssi_gain = rssi_gain_default;
  15504. }
  15505. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15506. lna1_gain_db = lna1G_gain_db_rev5;
  15507. lna2_gain_db = lna2G_gain_db_rev5;
  15508. if (pi->sh->boardflags & BFL_EXTLNA) {
  15509. rfseq_init_gain =
  15510. rfseqG_init_gain_rev5_elna;
  15511. init_gaincode =
  15512. initG_gaincode_rev5_elna;
  15513. } else {
  15514. rfseq_init_gain = rfseqG_init_gain_rev5;
  15515. init_gaincode = initG_gaincode_rev5;
  15516. }
  15517. clip1hi_gaincode = clip1hiG_gaincode_rev5;
  15518. switch (triso) {
  15519. case 0:
  15520. clip1lo_gaincode =
  15521. clip1loG_gaincode_rev5[0];
  15522. break;
  15523. case 1:
  15524. clip1lo_gaincode =
  15525. clip1loG_gaincode_rev5[1];
  15526. break;
  15527. case 2:
  15528. clip1lo_gaincode =
  15529. clip1loG_gaincode_rev5[2];
  15530. break;
  15531. case 3:
  15532. clip1lo_gaincode =
  15533. clip1loG_gaincode_rev5[3];
  15534. break;
  15535. case 4:
  15536. clip1lo_gaincode =
  15537. clip1loG_gaincode_rev5[4];
  15538. break;
  15539. case 5:
  15540. clip1lo_gaincode =
  15541. clip1loG_gaincode_rev5[5];
  15542. break;
  15543. case 6:
  15544. clip1lo_gaincode =
  15545. clip1loG_gaincode_rev5[6];
  15546. break;
  15547. case 7:
  15548. clip1lo_gaincode =
  15549. clip1loG_gaincode_rev5[7];
  15550. break;
  15551. default:
  15552. clip1lo_gaincode =
  15553. clip1loG_gaincode_rev5[3];
  15554. break;
  15555. }
  15556. nbclip_th = nbclipG_th_rev5;
  15557. w1clip_th = w1clipG_th_rev5;
  15558. crsmin_th = crsminG_th_rev5;
  15559. crsminl_th = crsminlG_th_rev5;
  15560. crsminu_th = crsminuG_th_rev5;
  15561. rssi_gain = rssi_gain_default;
  15562. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15563. lna1_gain_db = lna1G_gain_db_rev4;
  15564. lna2_gain_db = lna2G_gain_db;
  15565. rfseq_init_gain = rfseqG_init_gain_rev4;
  15566. init_gaincode = initG_gaincode_rev4;
  15567. clip1hi_gaincode = clip1hiG_gaincode_rev4;
  15568. clip1lo_gaincode = clip1loG_gaincode;
  15569. nbclip_th = nbclipG_th_rev4;
  15570. w1clip_th = w1clipG_th;
  15571. crsmin_th = crsminG_th;
  15572. crsminl_th = crsminlG_th;
  15573. crsminu_th = crsminuG_th;
  15574. rssi_gain = rssi_gain_default;
  15575. } else {
  15576. lna1_gain_db = lna1G_gain_db;
  15577. lna2_gain_db = lna2G_gain_db;
  15578. rfseq_init_gain = rfseqG_init_gain;
  15579. init_gaincode = initG_gaincode;
  15580. clip1hi_gaincode = clip1hiG_gaincode;
  15581. clip1lo_gaincode = clip1loG_gaincode;
  15582. nbclip_th = nbclipG_th;
  15583. w1clip_th = w1clipG_th;
  15584. crsmin_th = crsminG_th;
  15585. crsminl_th = crsminlG_th;
  15586. crsminu_th = crsminuG_th;
  15587. rssi_gain = rssi_gain_default;
  15588. }
  15589. tia_gain_db = tiaG_gain_db;
  15590. tia_gainbits = tiaG_gainbits;
  15591. clip1md_gaincode = clip1mdG_gaincode;
  15592. } else {
  15593. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15594. lna1_gain_db = lna1A_gain_db_rev6;
  15595. lna2_gain_db = lna2A_gain_db_rev6;
  15596. tia_gain_db = tiaA_gain_db_rev6;
  15597. tia_gainbits = tiaA_gainbits_rev6;
  15598. rfseq_init_gain = rfseqA_init_gain_rev6;
  15599. init_gaincode = initA_gaincode_rev6;
  15600. clip1hi_gaincode = clip1hiA_gaincode_rev6;
  15601. clip1md_gaincode = clip1mdA_gaincode_rev6;
  15602. clip1lo_gaincode = clip1loA_gaincode_rev6;
  15603. crsmin_th = crsminA_th_rev6;
  15604. crsminl_th = crsminlA_th_rev6;
  15605. if ((pi->pubpi.radiorev == 11) &&
  15606. (CHSPEC_IS40(pi->radio_chanspec) == 0))
  15607. crsminu_th = crsminuA_th_rev6_224B0;
  15608. else
  15609. crsminu_th = crsminuA_th_rev6;
  15610. nbclip_th = nbclipA_th_rev6;
  15611. rssi_gain = rssiA_gain_rev6;
  15612. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15613. lna1_gain_db = lna1A_gain_db_rev5;
  15614. lna2_gain_db = lna2A_gain_db_rev5;
  15615. tia_gain_db = tiaA_gain_db_rev5;
  15616. tia_gainbits = tiaA_gainbits_rev5;
  15617. rfseq_init_gain = rfseqA_init_gain_rev5;
  15618. init_gaincode = initA_gaincode_rev5;
  15619. clip1hi_gaincode = clip1hiA_gaincode_rev5;
  15620. clip1md_gaincode = clip1mdA_gaincode_rev5;
  15621. clip1lo_gaincode = clip1loA_gaincode_rev5;
  15622. crsmin_th = crsminA_th_rev5;
  15623. crsminl_th = crsminlA_th_rev5;
  15624. crsminu_th = crsminuA_th_rev5;
  15625. nbclip_th = nbclipA_th_rev5;
  15626. rssi_gain = rssiA_gain_rev5;
  15627. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15628. lna1_gain_db = lna1A_gain_db_rev4;
  15629. lna2_gain_db = lna2A_gain_db_rev4;
  15630. tia_gain_db = tiaA_gain_db_rev4;
  15631. tia_gainbits = tiaA_gainbits_rev4;
  15632. if (pi->sh->boardflags & BFL_EXTLNA_5GHz) {
  15633. rfseq_init_gain =
  15634. rfseqA_init_gain_rev4_elna;
  15635. init_gaincode =
  15636. initA_gaincode_rev4_elna;
  15637. } else {
  15638. rfseq_init_gain = rfseqA_init_gain_rev4;
  15639. init_gaincode = initA_gaincode_rev4;
  15640. }
  15641. clip1hi_gaincode = clip1hiA_gaincode_rev4;
  15642. clip1md_gaincode = clip1mdA_gaincode_rev4;
  15643. clip1lo_gaincode = clip1loA_gaincode_rev4;
  15644. crsmin_th = crsminA_th_rev4;
  15645. crsminl_th = crsminlA_th_rev4;
  15646. crsminu_th = crsminuA_th_rev4;
  15647. nbclip_th = nbclipA_th_rev4;
  15648. rssi_gain = rssi_gain_default;
  15649. } else {
  15650. lna1_gain_db = lna1A_gain_db;
  15651. lna2_gain_db = lna2A_gain_db;
  15652. tia_gain_db = tiaA_gain_db;
  15653. tia_gainbits = tiaA_gainbits;
  15654. rfseq_init_gain = rfseqA_init_gain;
  15655. init_gaincode = initA_gaincode;
  15656. clip1hi_gaincode = clip1hiA_gaincode;
  15657. clip1md_gaincode = clip1mdA_gaincode;
  15658. clip1lo_gaincode = clip1loA_gaincode;
  15659. crsmin_th = crsminA_th;
  15660. crsminl_th = crsminlA_th;
  15661. crsminu_th = crsminuA_th;
  15662. nbclip_th = nbclipA_th;
  15663. rssi_gain = rssi_gain_default;
  15664. }
  15665. w1clip_th = w1clipA_th;
  15666. }
  15667. write_radio_reg(pi,
  15668. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15669. RADIO_2056_RX0), 0x17);
  15670. write_radio_reg(pi,
  15671. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15672. RADIO_2056_RX1), 0x17);
  15673. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX0),
  15674. 0xf0);
  15675. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX1),
  15676. 0xf0);
  15677. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX0),
  15678. 0x0);
  15679. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX1),
  15680. 0x0);
  15681. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX0),
  15682. rssi_gain);
  15683. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX1),
  15684. rssi_gain);
  15685. write_radio_reg(pi,
  15686. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15687. RADIO_2056_RX0), 0x17);
  15688. write_radio_reg(pi,
  15689. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15690. RADIO_2056_RX1), 0x17);
  15691. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX0),
  15692. 0xFF);
  15693. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX1),
  15694. 0xFF);
  15695. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8,
  15696. 8, lna1_gain_db);
  15697. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8,
  15698. 8, lna1_gain_db);
  15699. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15700. 8, lna2_gain_db);
  15701. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15702. 8, lna2_gain_db);
  15703. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20,
  15704. 8, tia_gain_db);
  15705. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20,
  15706. 8, tia_gain_db);
  15707. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20,
  15708. 8, tia_gainbits);
  15709. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20,
  15710. 8, tia_gainbits);
  15711. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 6, 0x40,
  15712. 8, &lpf_gain_db);
  15713. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 6, 0x40,
  15714. 8, &lpf_gain_db);
  15715. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 6, 0x40,
  15716. 8, &lpf_gainbits);
  15717. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 6, 0x40,
  15718. 8, &lpf_gainbits);
  15719. write_phy_reg(pi, 0x20, init_gaincode);
  15720. write_phy_reg(pi, 0x2a7, init_gaincode);
  15721. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15722. pi->pubpi.phy_corenum, 0x106, 16,
  15723. rfseq_init_gain);
  15724. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15725. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15726. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15727. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15728. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15729. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15730. mod_phy_reg(pi, 0x27d, (0xff << 0), (crsmin_th << 0));
  15731. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15732. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15733. write_phy_reg(pi, 0x2b, nbclip_th);
  15734. write_phy_reg(pi, 0x41, nbclip_th);
  15735. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1clip_th << 0));
  15736. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1clip_th << 0));
  15737. write_phy_reg(pi, 0x150, 0x809c);
  15738. } else {
  15739. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15740. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15741. write_phy_reg(pi, 0x2b, 0x84);
  15742. write_phy_reg(pi, 0x41, 0x84);
  15743. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15744. write_phy_reg(pi, 0x6b, 0x2b);
  15745. write_phy_reg(pi, 0x6c, 0x2b);
  15746. write_phy_reg(pi, 0x6d, 0x9);
  15747. write_phy_reg(pi, 0x6e, 0x9);
  15748. }
  15749. w1th = NPHY_RSSICAL_W1_TARGET - 4;
  15750. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1th << 0));
  15751. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1th << 0));
  15752. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15753. mod_phy_reg(pi, 0x1c, (0x1f << 0), (0x1 << 0));
  15754. mod_phy_reg(pi, 0x32, (0x1f << 0), (0x1 << 0));
  15755. mod_phy_reg(pi, 0x1d, (0x1f << 0), (0x1 << 0));
  15756. mod_phy_reg(pi, 0x33, (0x1f << 0), (0x1 << 0));
  15757. }
  15758. write_phy_reg(pi, 0x150, 0x809c);
  15759. if (pi->nphy_gain_boost)
  15760. if ((CHSPEC_IS2G(pi->radio_chanspec)) &&
  15761. (CHSPEC_IS40(pi->radio_chanspec)))
  15762. hpf_code = 4;
  15763. else
  15764. hpf_code = 5;
  15765. else if (CHSPEC_IS40(pi->radio_chanspec))
  15766. hpf_code = 6;
  15767. else
  15768. hpf_code = 7;
  15769. mod_phy_reg(pi, 0x20, (0x1f << 7), (hpf_code << 7));
  15770. mod_phy_reg(pi, 0x36, (0x1f << 7), (hpf_code << 7));
  15771. for (ctr = 0; ctr < 4; ctr++)
  15772. regval[ctr] = (hpf_code << 8) | 0x7c;
  15773. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15774. wlc_phy_adjust_lnagaintbl_nphy(pi);
  15775. if (pi->nphy_elna_gain_config) {
  15776. regval[0] = 0;
  15777. regval[1] = 1;
  15778. regval[2] = 1;
  15779. regval[3] = 1;
  15780. wlc_phy_table_write_nphy(pi, 2, 4, 8, 16, regval);
  15781. wlc_phy_table_write_nphy(pi, 3, 4, 8, 16, regval);
  15782. for (ctr = 0; ctr < 4; ctr++)
  15783. regval[ctr] = (hpf_code << 8) | 0x74;
  15784. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15785. }
  15786. if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  15787. for (ctr = 0; ctr < 21; ctr++)
  15788. regval[ctr] = 3 * ctr;
  15789. wlc_phy_table_write_nphy(pi, 0, 21, 32, 16, regval);
  15790. wlc_phy_table_write_nphy(pi, 1, 21, 32, 16, regval);
  15791. for (ctr = 0; ctr < 21; ctr++)
  15792. regval[ctr] = (u16) ctr;
  15793. wlc_phy_table_write_nphy(pi, 2, 21, 32, 16, regval);
  15794. wlc_phy_table_write_nphy(pi, 3, 21, 32, 16, regval);
  15795. }
  15796. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_UPDATEGAINU,
  15797. rfseq_updategainu_events,
  15798. rfseq_updategainu_dlys,
  15799. sizeof(rfseq_updategainu_events) /
  15800. sizeof(rfseq_updategainu_events[0]));
  15801. mod_phy_reg(pi, 0x153, (0xff << 8), (90 << 8));
  15802. if (CHSPEC_IS2G(pi->radio_chanspec))
  15803. mod_phy_reg(pi,
  15804. (NPHY_TO_BPHY_OFF + BPHY_OPTIONAL_MODES),
  15805. 0x7f, 0x4);
  15806. }
  15807. }
  15808. static void wlc_phy_workarounds_nphy(struct brcms_phy *pi)
  15809. {
  15810. u8 rfseq_rx2tx_events[] = {
  15811. NPHY_RFSEQ_CMD_NOP,
  15812. NPHY_RFSEQ_CMD_RXG_FBW,
  15813. NPHY_RFSEQ_CMD_TR_SWITCH,
  15814. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15815. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15816. NPHY_RFSEQ_CMD_TX_GAIN,
  15817. NPHY_RFSEQ_CMD_EXT_PA
  15818. };
  15819. u8 rfseq_rx2tx_dlys[] = { 8, 6, 6, 2, 4, 60, 1 };
  15820. u8 rfseq_tx2rx_events[] = {
  15821. NPHY_RFSEQ_CMD_NOP,
  15822. NPHY_RFSEQ_CMD_EXT_PA,
  15823. NPHY_RFSEQ_CMD_TX_GAIN,
  15824. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15825. NPHY_RFSEQ_CMD_TR_SWITCH,
  15826. NPHY_RFSEQ_CMD_RXG_FBW,
  15827. NPHY_RFSEQ_CMD_CLR_HIQ_DIS
  15828. };
  15829. u8 rfseq_tx2rx_dlys[] = { 8, 6, 2, 4, 4, 6, 1 };
  15830. u8 rfseq_tx2rx_events_rev3[] = {
  15831. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15832. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15833. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15834. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15835. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15836. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15837. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15838. NPHY_REV3_RFSEQ_CMD_END
  15839. };
  15840. u8 rfseq_tx2rx_dlys_rev3[] = { 8, 4, 2, 2, 4, 4, 6, 1 };
  15841. u8 rfseq_rx2tx_events_rev3[] = {
  15842. NPHY_REV3_RFSEQ_CMD_NOP,
  15843. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15844. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15845. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15846. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15847. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15848. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15849. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15850. NPHY_REV3_RFSEQ_CMD_END
  15851. };
  15852. u8 rfseq_rx2tx_dlys_rev3[] = { 8, 6, 6, 4, 4, 18, 42, 1, 1 };
  15853. u8 rfseq_rx2tx_events_rev3_ipa[] = {
  15854. NPHY_REV3_RFSEQ_CMD_NOP,
  15855. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15856. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15857. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15858. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15859. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15860. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  15861. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15862. NPHY_REV3_RFSEQ_CMD_END
  15863. };
  15864. u8 rfseq_rx2tx_dlys_rev3_ipa[] = { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  15865. u16 rfseq_rx2tx_dacbufpu_rev7[] = { 0x10f, 0x10f };
  15866. s16 alpha0, alpha1, alpha2;
  15867. s16 beta0, beta1, beta2;
  15868. u32 leg_data_weights, ht_data_weights, nss1_data_weights,
  15869. stbc_data_weights;
  15870. u8 chan_freq_range = 0;
  15871. u16 dac_control = 0x0002;
  15872. u16 aux_adc_vmid_rev7_core0[] = { 0x8e, 0x96, 0x96, 0x96 };
  15873. u16 aux_adc_vmid_rev7_core1[] = { 0x8f, 0x9f, 0x9f, 0x96 };
  15874. u16 aux_adc_vmid_rev4[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15875. u16 aux_adc_vmid_rev3[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15876. u16 *aux_adc_vmid;
  15877. u16 aux_adc_gain_rev7[] = { 0x02, 0x02, 0x02, 0x02 };
  15878. u16 aux_adc_gain_rev4[] = { 0x02, 0x02, 0x02, 0x00 };
  15879. u16 aux_adc_gain_rev3[] = { 0x02, 0x02, 0x02, 0x00 };
  15880. u16 *aux_adc_gain;
  15881. u16 sk_adc_vmid[] = { 0xb4, 0xb4, 0xb4, 0x24 };
  15882. u16 sk_adc_gain[] = { 0x02, 0x02, 0x02, 0x02 };
  15883. s32 min_nvar_val = 0x18d;
  15884. s32 min_nvar_offset_6mbps = 20;
  15885. u8 pdetrange;
  15886. u8 triso;
  15887. u16 regval;
  15888. u16 afectrl_adc_ctrl1_rev7 = 0x20;
  15889. u16 afectrl_adc_ctrl2_rev7 = 0x0;
  15890. u16 rfseq_rx2tx_lpf_h_hpc_rev7 = 0x77;
  15891. u16 rfseq_tx2rx_lpf_h_hpc_rev7 = 0x77;
  15892. u16 rfseq_pktgn_lpf_h_hpc_rev7 = 0x77;
  15893. u16 rfseq_htpktgn_lpf_hpc_rev7[] = { 0x77, 0x11, 0x11 };
  15894. u16 rfseq_pktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15895. u16 rfseq_cckpktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15896. u16 ipalvlshift_3p3_war_en = 0;
  15897. u16 rccal_bcap_val, rccal_scap_val;
  15898. u16 rccal_tx20_11b_bcap = 0;
  15899. u16 rccal_tx20_11b_scap = 0;
  15900. u16 rccal_tx20_11n_bcap = 0;
  15901. u16 rccal_tx20_11n_scap = 0;
  15902. u16 rccal_tx40_11n_bcap = 0;
  15903. u16 rccal_tx40_11n_scap = 0;
  15904. u16 rx2tx_lpf_rc_lut_tx20_11b = 0;
  15905. u16 rx2tx_lpf_rc_lut_tx20_11n = 0;
  15906. u16 rx2tx_lpf_rc_lut_tx40_11n = 0;
  15907. u16 tx_lpf_bw_ofdm_20mhz = 0;
  15908. u16 tx_lpf_bw_ofdm_40mhz = 0;
  15909. u16 tx_lpf_bw_11b = 0;
  15910. u16 ipa2g_mainbias, ipa2g_casconv, ipa2g_biasfilt;
  15911. u16 txgm_idac_bleed = 0;
  15912. bool rccal_ovrd = false;
  15913. u16 freq;
  15914. int coreNum;
  15915. if (CHSPEC_IS5G(pi->radio_chanspec))
  15916. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 0);
  15917. else
  15918. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 1);
  15919. if (pi->phyhang_avoid)
  15920. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  15921. or_phy_reg(pi, 0xb1, NPHY_IQFlip_ADC1 | NPHY_IQFlip_ADC2);
  15922. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15923. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  15924. mod_phy_reg(pi, 0x221, (0x1 << 4), (1 << 4));
  15925. mod_phy_reg(pi, 0x160, (0x7f << 0), (32 << 0));
  15926. mod_phy_reg(pi, 0x160, (0x7f << 8), (39 << 8));
  15927. mod_phy_reg(pi, 0x161, (0x7f << 0), (46 << 0));
  15928. mod_phy_reg(pi, 0x161, (0x7f << 8), (51 << 8));
  15929. mod_phy_reg(pi, 0x162, (0x7f << 0), (55 << 0));
  15930. mod_phy_reg(pi, 0x162, (0x7f << 8), (58 << 8));
  15931. mod_phy_reg(pi, 0x163, (0x7f << 0), (60 << 0));
  15932. mod_phy_reg(pi, 0x163, (0x7f << 8), (62 << 8));
  15933. mod_phy_reg(pi, 0x164, (0x7f << 0), (62 << 0));
  15934. mod_phy_reg(pi, 0x164, (0x7f << 8), (63 << 8));
  15935. mod_phy_reg(pi, 0x165, (0x7f << 0), (63 << 0));
  15936. mod_phy_reg(pi, 0x165, (0x7f << 8), (64 << 8));
  15937. mod_phy_reg(pi, 0x166, (0x7f << 0), (64 << 0));
  15938. mod_phy_reg(pi, 0x166, (0x7f << 8), (64 << 8));
  15939. mod_phy_reg(pi, 0x167, (0x7f << 0), (64 << 0));
  15940. mod_phy_reg(pi, 0x167, (0x7f << 8), (64 << 8));
  15941. }
  15942. if (NREV_LE(pi->pubpi.phy_rev, 8)) {
  15943. write_phy_reg(pi, 0x23f, 0x1b0);
  15944. write_phy_reg(pi, 0x240, 0x1b0);
  15945. }
  15946. if (NREV_GE(pi->pubpi.phy_rev, 8))
  15947. mod_phy_reg(pi, 0xbd, (0xff << 0), (114 << 0));
  15948. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  15949. &dac_control);
  15950. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  15951. &dac_control);
  15952. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15953. 1, 0, 32, &leg_data_weights);
  15954. leg_data_weights = leg_data_weights & 0xffffff;
  15955. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15956. 1, 0, 32, &leg_data_weights);
  15957. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15958. 2, 0x15e, 16,
  15959. rfseq_rx2tx_dacbufpu_rev7);
  15960. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x16e, 16,
  15961. rfseq_rx2tx_dacbufpu_rev7);
  15962. if (PHY_IPA(pi))
  15963. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  15964. rfseq_rx2tx_events_rev3_ipa,
  15965. rfseq_rx2tx_dlys_rev3_ipa,
  15966. sizeof
  15967. (rfseq_rx2tx_events_rev3_ipa) /
  15968. sizeof
  15969. (rfseq_rx2tx_events_rev3_ipa
  15970. [0]));
  15971. mod_phy_reg(pi, 0x299, (0x3 << 14), (0x1 << 14));
  15972. mod_phy_reg(pi, 0x29d, (0x3 << 14), (0x1 << 14));
  15973. tx_lpf_bw_ofdm_20mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x154);
  15974. tx_lpf_bw_ofdm_40mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x159);
  15975. tx_lpf_bw_11b = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x152);
  15976. if (PHY_IPA(pi)) {
  15977. if (((pi->pubpi.radiorev == 5)
  15978. && (CHSPEC_IS40(pi->radio_chanspec) == 1))
  15979. || (pi->pubpi.radiorev == 7)
  15980. || (pi->pubpi.radiorev == 8)) {
  15981. rccal_bcap_val =
  15982. read_radio_reg(
  15983. pi,
  15984. RADIO_2057_RCCAL_BCAP_VAL);
  15985. rccal_scap_val =
  15986. read_radio_reg(
  15987. pi,
  15988. RADIO_2057_RCCAL_SCAP_VAL);
  15989. rccal_tx20_11b_bcap = rccal_bcap_val;
  15990. rccal_tx20_11b_scap = rccal_scap_val;
  15991. if ((pi->pubpi.radiorev == 5) &&
  15992. (CHSPEC_IS40(pi->radio_chanspec) == 1)) {
  15993. rccal_tx20_11n_bcap = rccal_bcap_val;
  15994. rccal_tx20_11n_scap = rccal_scap_val;
  15995. rccal_tx40_11n_bcap = 0xc;
  15996. rccal_tx40_11n_scap = 0xc;
  15997. rccal_ovrd = true;
  15998. } else if ((pi->pubpi.radiorev == 7)
  15999. || (pi->pubpi.radiorev == 8)) {
  16000. tx_lpf_bw_ofdm_20mhz = 4;
  16001. tx_lpf_bw_11b = 1;
  16002. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16003. rccal_tx20_11n_bcap = 0xc;
  16004. rccal_tx20_11n_scap = 0xc;
  16005. rccal_tx40_11n_bcap = 0xa;
  16006. rccal_tx40_11n_scap = 0xa;
  16007. } else {
  16008. rccal_tx20_11n_bcap = 0x14;
  16009. rccal_tx20_11n_scap = 0x14;
  16010. rccal_tx40_11n_bcap = 0xf;
  16011. rccal_tx40_11n_scap = 0xf;
  16012. }
  16013. rccal_ovrd = true;
  16014. }
  16015. }
  16016. } else {
  16017. if (pi->pubpi.radiorev == 5) {
  16018. tx_lpf_bw_ofdm_20mhz = 1;
  16019. tx_lpf_bw_ofdm_40mhz = 3;
  16020. rccal_bcap_val =
  16021. read_radio_reg(
  16022. pi,
  16023. RADIO_2057_RCCAL_BCAP_VAL);
  16024. rccal_scap_val =
  16025. read_radio_reg(
  16026. pi,
  16027. RADIO_2057_RCCAL_SCAP_VAL);
  16028. rccal_tx20_11b_bcap = rccal_bcap_val;
  16029. rccal_tx20_11b_scap = rccal_scap_val;
  16030. rccal_tx20_11n_bcap = 0x13;
  16031. rccal_tx20_11n_scap = 0x11;
  16032. rccal_tx40_11n_bcap = 0x13;
  16033. rccal_tx40_11n_scap = 0x11;
  16034. rccal_ovrd = true;
  16035. }
  16036. }
  16037. if (rccal_ovrd) {
  16038. rx2tx_lpf_rc_lut_tx20_11b =
  16039. (rccal_tx20_11b_bcap << 8) |
  16040. (rccal_tx20_11b_scap << 3) |
  16041. tx_lpf_bw_11b;
  16042. rx2tx_lpf_rc_lut_tx20_11n =
  16043. (rccal_tx20_11n_bcap << 8) |
  16044. (rccal_tx20_11n_scap << 3) |
  16045. tx_lpf_bw_ofdm_20mhz;
  16046. rx2tx_lpf_rc_lut_tx40_11n =
  16047. (rccal_tx40_11n_bcap << 8) |
  16048. (rccal_tx40_11n_scap << 3) |
  16049. tx_lpf_bw_ofdm_40mhz;
  16050. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16051. wlc_phy_table_write_nphy(
  16052. pi, NPHY_TBL_ID_RFSEQ,
  16053. 1,
  16054. 0x152 + coreNum * 0x10,
  16055. 16,
  16056. &rx2tx_lpf_rc_lut_tx20_11b);
  16057. wlc_phy_table_write_nphy(
  16058. pi, NPHY_TBL_ID_RFSEQ,
  16059. 1,
  16060. 0x153 + coreNum * 0x10,
  16061. 16,
  16062. &rx2tx_lpf_rc_lut_tx20_11n);
  16063. wlc_phy_table_write_nphy(
  16064. pi, NPHY_TBL_ID_RFSEQ,
  16065. 1,
  16066. 0x154 + coreNum * 0x10,
  16067. 16,
  16068. &rx2tx_lpf_rc_lut_tx20_11n);
  16069. wlc_phy_table_write_nphy(
  16070. pi, NPHY_TBL_ID_RFSEQ,
  16071. 1,
  16072. 0x155 + coreNum * 0x10,
  16073. 16,
  16074. &rx2tx_lpf_rc_lut_tx40_11n);
  16075. wlc_phy_table_write_nphy(
  16076. pi, NPHY_TBL_ID_RFSEQ,
  16077. 1,
  16078. 0x156 + coreNum * 0x10,
  16079. 16,
  16080. &rx2tx_lpf_rc_lut_tx40_11n);
  16081. wlc_phy_table_write_nphy(
  16082. pi, NPHY_TBL_ID_RFSEQ,
  16083. 1,
  16084. 0x157 + coreNum * 0x10,
  16085. 16,
  16086. &rx2tx_lpf_rc_lut_tx40_11n);
  16087. wlc_phy_table_write_nphy(
  16088. pi, NPHY_TBL_ID_RFSEQ,
  16089. 1,
  16090. 0x158 + coreNum * 0x10,
  16091. 16,
  16092. &rx2tx_lpf_rc_lut_tx40_11n);
  16093. wlc_phy_table_write_nphy(
  16094. pi, NPHY_TBL_ID_RFSEQ,
  16095. 1,
  16096. 0x159 + coreNum * 0x10,
  16097. 16,
  16098. &rx2tx_lpf_rc_lut_tx40_11n);
  16099. }
  16100. wlc_phy_rfctrl_override_nphy_rev7(
  16101. pi, (0x1 << 4),
  16102. 1, 0x3, 0,
  16103. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  16104. }
  16105. write_phy_reg(pi, 0x32f, 0x3);
  16106. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  16107. wlc_phy_rfctrl_override_nphy_rev7(
  16108. pi, (0x1 << 2),
  16109. 1, 0x3, 0,
  16110. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16111. if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) ||
  16112. (pi->pubpi.radiorev == 6)) {
  16113. if ((pi->sh->sromrev >= 8)
  16114. && (pi->sh->boardflags2 & BFL2_IPALVLSHIFT_3P3))
  16115. ipalvlshift_3p3_war_en = 1;
  16116. if (ipalvlshift_3p3_war_en) {
  16117. write_radio_reg(pi, RADIO_2057_GPAIO_CONFIG,
  16118. 0x5);
  16119. write_radio_reg(pi, RADIO_2057_GPAIO_SEL1,
  16120. 0x30);
  16121. write_radio_reg(pi, RADIO_2057_GPAIO_SEL0, 0x0);
  16122. or_radio_reg(pi,
  16123. RADIO_2057_RXTXBIAS_CONFIG_CORE0,
  16124. 0x1);
  16125. or_radio_reg(pi,
  16126. RADIO_2057_RXTXBIAS_CONFIG_CORE1,
  16127. 0x1);
  16128. ipa2g_mainbias = 0x1f;
  16129. ipa2g_casconv = 0x6f;
  16130. ipa2g_biasfilt = 0xaa;
  16131. } else {
  16132. ipa2g_mainbias = 0x2b;
  16133. ipa2g_casconv = 0x7f;
  16134. ipa2g_biasfilt = 0xee;
  16135. }
  16136. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16137. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16138. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16139. coreNum, IPA2G_IMAIN,
  16140. ipa2g_mainbias);
  16141. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16142. coreNum, IPA2G_CASCONV,
  16143. ipa2g_casconv);
  16144. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16145. coreNum,
  16146. IPA2G_BIAS_FILTER,
  16147. ipa2g_biasfilt);
  16148. }
  16149. }
  16150. }
  16151. if (PHY_IPA(pi)) {
  16152. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16153. if ((pi->pubpi.radiorev == 3)
  16154. || (pi->pubpi.radiorev == 4)
  16155. || (pi->pubpi.radiorev == 6))
  16156. txgm_idac_bleed = 0x7f;
  16157. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16158. if (txgm_idac_bleed != 0)
  16159. WRITE_RADIO_REG4(
  16160. pi, RADIO_2057,
  16161. CORE, coreNum,
  16162. TXGM_IDAC_BLEED,
  16163. txgm_idac_bleed);
  16164. }
  16165. if (pi->pubpi.radiorev == 5) {
  16166. for (coreNum = 0; coreNum <= 1;
  16167. coreNum++) {
  16168. WRITE_RADIO_REG4(pi, RADIO_2057,
  16169. CORE, coreNum,
  16170. IPA2G_CASCONV,
  16171. 0x13);
  16172. WRITE_RADIO_REG4(pi, RADIO_2057,
  16173. CORE, coreNum,
  16174. IPA2G_IMAIN,
  16175. 0x1f);
  16176. WRITE_RADIO_REG4(
  16177. pi, RADIO_2057,
  16178. CORE, coreNum,
  16179. IPA2G_BIAS_FILTER,
  16180. 0xee);
  16181. WRITE_RADIO_REG4(pi, RADIO_2057,
  16182. CORE, coreNum,
  16183. PAD2G_IDACS,
  16184. 0x8a);
  16185. WRITE_RADIO_REG4(
  16186. pi, RADIO_2057,
  16187. CORE, coreNum,
  16188. PAD_BIAS_FILTER_BWS,
  16189. 0x3e);
  16190. }
  16191. } else if ((pi->pubpi.radiorev == 7)
  16192. || (pi->pubpi.radiorev == 8)) {
  16193. if (CHSPEC_IS40(pi->radio_chanspec) ==
  16194. 0) {
  16195. WRITE_RADIO_REG4(pi, RADIO_2057,
  16196. CORE, 0,
  16197. IPA2G_IMAIN,
  16198. 0x14);
  16199. WRITE_RADIO_REG4(pi, RADIO_2057,
  16200. CORE, 1,
  16201. IPA2G_IMAIN,
  16202. 0x12);
  16203. } else {
  16204. WRITE_RADIO_REG4(pi, RADIO_2057,
  16205. CORE, 0,
  16206. IPA2G_IMAIN,
  16207. 0x16);
  16208. WRITE_RADIO_REG4(pi, RADIO_2057,
  16209. CORE, 1,
  16210. IPA2G_IMAIN,
  16211. 0x16);
  16212. }
  16213. }
  16214. } else {
  16215. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(
  16216. pi->radio_chanspec));
  16217. if (((freq >= 5180) && (freq <= 5230))
  16218. || ((freq >= 5745) && (freq <= 5805))) {
  16219. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16220. 0, IPA5G_BIAS_FILTER,
  16221. 0xff);
  16222. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16223. 1, IPA5G_BIAS_FILTER,
  16224. 0xff);
  16225. }
  16226. }
  16227. } else {
  16228. if (pi->pubpi.radiorev != 5) {
  16229. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16230. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16231. coreNum,
  16232. TXMIX2G_TUNE_BOOST_PU,
  16233. 0x61);
  16234. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16235. coreNum,
  16236. TXGM_IDAC_BLEED, 0x70);
  16237. }
  16238. }
  16239. }
  16240. if (pi->pubpi.radiorev == 4) {
  16241. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16242. 0x05, 16,
  16243. &afectrl_adc_ctrl1_rev7);
  16244. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16245. 0x15, 16,
  16246. &afectrl_adc_ctrl1_rev7);
  16247. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16248. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16249. AFE_VCM_CAL_MASTER, 0x0);
  16250. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16251. AFE_SET_VCM_I, 0x3f);
  16252. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16253. AFE_SET_VCM_Q, 0x3f);
  16254. }
  16255. } else {
  16256. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  16257. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  16258. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  16259. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  16260. mod_phy_reg(pi, 0xa6, (0x1 << 0), 0);
  16261. mod_phy_reg(pi, 0x8f, (0x1 << 0), (0x1 << 0));
  16262. mod_phy_reg(pi, 0xa7, (0x1 << 0), 0);
  16263. mod_phy_reg(pi, 0xa5, (0x1 << 0), (0x1 << 0));
  16264. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16265. 0x05, 16,
  16266. &afectrl_adc_ctrl2_rev7);
  16267. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16268. 0x15, 16,
  16269. &afectrl_adc_ctrl2_rev7);
  16270. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  16271. mod_phy_reg(pi, 0x8f, (0x1 << 2), 0);
  16272. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  16273. mod_phy_reg(pi, 0xa5, (0x1 << 2), 0);
  16274. }
  16275. write_phy_reg(pi, 0x6a, 0x2);
  16276. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 256, 32,
  16277. &min_nvar_offset_6mbps);
  16278. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x138, 16,
  16279. &rfseq_pktgn_lpf_hpc_rev7);
  16280. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x141, 16,
  16281. &rfseq_pktgn_lpf_h_hpc_rev7);
  16282. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 3, 0x133, 16,
  16283. &rfseq_htpktgn_lpf_hpc_rev7);
  16284. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x146, 16,
  16285. &rfseq_cckpktgn_lpf_hpc_rev7);
  16286. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x123, 16,
  16287. &rfseq_tx2rx_lpf_h_hpc_rev7);
  16288. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x12A, 16,
  16289. &rfseq_rx2tx_lpf_h_hpc_rev7);
  16290. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16291. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16292. 32, &min_nvar_val);
  16293. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16294. 127, 32, &min_nvar_val);
  16295. } else {
  16296. min_nvar_val = noise_var_tbl_rev7[3];
  16297. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16298. 32, &min_nvar_val);
  16299. min_nvar_val = noise_var_tbl_rev7[127];
  16300. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16301. 127, 32, &min_nvar_val);
  16302. }
  16303. wlc_phy_workarounds_nphy_gainctrl(pi);
  16304. pdetrange =
  16305. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16306. pdetrange : pi->srom_fem2g.pdetrange;
  16307. if (pdetrange == 0) {
  16308. chan_freq_range =
  16309. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16310. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16311. aux_adc_vmid_rev7_core0[3] = 0x70;
  16312. aux_adc_vmid_rev7_core1[3] = 0x70;
  16313. aux_adc_gain_rev7[3] = 2;
  16314. } else {
  16315. aux_adc_vmid_rev7_core0[3] = 0x80;
  16316. aux_adc_vmid_rev7_core1[3] = 0x80;
  16317. aux_adc_gain_rev7[3] = 3;
  16318. }
  16319. } else if (pdetrange == 1) {
  16320. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16321. aux_adc_vmid_rev7_core0[3] = 0x7c;
  16322. aux_adc_vmid_rev7_core1[3] = 0x7c;
  16323. aux_adc_gain_rev7[3] = 2;
  16324. } else {
  16325. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16326. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16327. aux_adc_gain_rev7[3] = 1;
  16328. }
  16329. } else if (pdetrange == 2) {
  16330. if (pi->pubpi.radioid == BCM2057_ID) {
  16331. if ((pi->pubpi.radiorev == 5)
  16332. || (pi->pubpi.radiorev == 7)
  16333. || (pi->pubpi.radiorev == 8)) {
  16334. if (chan_freq_range ==
  16335. WL_CHAN_FREQ_RANGE_2G) {
  16336. aux_adc_vmid_rev7_core0[3] =
  16337. 0x8c;
  16338. aux_adc_vmid_rev7_core1[3] =
  16339. 0x8c;
  16340. aux_adc_gain_rev7[3] = 0;
  16341. } else {
  16342. aux_adc_vmid_rev7_core0[3] =
  16343. 0x96;
  16344. aux_adc_vmid_rev7_core1[3] =
  16345. 0x96;
  16346. aux_adc_gain_rev7[3] = 0;
  16347. }
  16348. }
  16349. }
  16350. } else if (pdetrange == 3) {
  16351. if (chan_freq_range == WL_CHAN_FREQ_RANGE_2G) {
  16352. aux_adc_vmid_rev7_core0[3] = 0x89;
  16353. aux_adc_vmid_rev7_core1[3] = 0x89;
  16354. aux_adc_gain_rev7[3] = 0;
  16355. }
  16356. } else if (pdetrange == 5) {
  16357. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16358. aux_adc_vmid_rev7_core0[3] = 0x80;
  16359. aux_adc_vmid_rev7_core1[3] = 0x80;
  16360. aux_adc_gain_rev7[3] = 3;
  16361. } else {
  16362. aux_adc_vmid_rev7_core0[3] = 0x70;
  16363. aux_adc_vmid_rev7_core1[3] = 0x70;
  16364. aux_adc_gain_rev7[3] = 2;
  16365. }
  16366. }
  16367. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x08, 16,
  16368. &aux_adc_vmid_rev7_core0);
  16369. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x18, 16,
  16370. &aux_adc_vmid_rev7_core1);
  16371. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x0c, 16,
  16372. &aux_adc_gain_rev7);
  16373. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x1c, 16,
  16374. &aux_adc_gain_rev7);
  16375. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16376. write_phy_reg(pi, 0x23f, 0x1f8);
  16377. write_phy_reg(pi, 0x240, 0x1f8);
  16378. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16379. 1, 0, 32, &leg_data_weights);
  16380. leg_data_weights = leg_data_weights & 0xffffff;
  16381. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16382. 1, 0, 32, &leg_data_weights);
  16383. alpha0 = 293;
  16384. alpha1 = 435;
  16385. alpha2 = 261;
  16386. beta0 = 366;
  16387. beta1 = 205;
  16388. beta2 = 32;
  16389. write_phy_reg(pi, 0x145, alpha0);
  16390. write_phy_reg(pi, 0x146, alpha1);
  16391. write_phy_reg(pi, 0x147, alpha2);
  16392. write_phy_reg(pi, 0x148, beta0);
  16393. write_phy_reg(pi, 0x149, beta1);
  16394. write_phy_reg(pi, 0x14a, beta2);
  16395. write_phy_reg(pi, 0x38, 0xC);
  16396. write_phy_reg(pi, 0x2ae, 0xC);
  16397. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX,
  16398. rfseq_tx2rx_events_rev3,
  16399. rfseq_tx2rx_dlys_rev3,
  16400. sizeof(rfseq_tx2rx_events_rev3) /
  16401. sizeof(rfseq_tx2rx_events_rev3[0]));
  16402. if (PHY_IPA(pi))
  16403. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16404. rfseq_rx2tx_events_rev3_ipa,
  16405. rfseq_rx2tx_dlys_rev3_ipa,
  16406. sizeof
  16407. (rfseq_rx2tx_events_rev3_ipa) /
  16408. sizeof
  16409. (rfseq_rx2tx_events_rev3_ipa
  16410. [0]));
  16411. if ((pi->sh->hw_phyrxchain != 0x3) &&
  16412. (pi->sh->hw_phyrxchain != pi->sh->hw_phytxchain)) {
  16413. if (PHY_IPA(pi)) {
  16414. rfseq_rx2tx_dlys_rev3[5] = 59;
  16415. rfseq_rx2tx_dlys_rev3[6] = 1;
  16416. rfseq_rx2tx_events_rev3[7] =
  16417. NPHY_REV3_RFSEQ_CMD_END;
  16418. }
  16419. wlc_phy_set_rfseq_nphy(
  16420. pi, NPHY_RFSEQ_RX2TX,
  16421. rfseq_rx2tx_events_rev3,
  16422. rfseq_rx2tx_dlys_rev3,
  16423. sizeof(rfseq_rx2tx_events_rev3) /
  16424. sizeof(rfseq_rx2tx_events_rev3[0]));
  16425. }
  16426. if (CHSPEC_IS2G(pi->radio_chanspec))
  16427. write_phy_reg(pi, 0x6a, 0x2);
  16428. else
  16429. write_phy_reg(pi, 0x6a, 0x9c40);
  16430. mod_phy_reg(pi, 0x294, (0xf << 8), (7 << 8));
  16431. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16432. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16433. 32, &min_nvar_val);
  16434. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16435. 127, 32, &min_nvar_val);
  16436. } else {
  16437. min_nvar_val = noise_var_tbl_rev3[3];
  16438. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16439. 32, &min_nvar_val);
  16440. min_nvar_val = noise_var_tbl_rev3[127];
  16441. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16442. 127, 32, &min_nvar_val);
  16443. }
  16444. wlc_phy_workarounds_nphy_gainctrl(pi);
  16445. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  16446. &dac_control);
  16447. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  16448. &dac_control);
  16449. pdetrange =
  16450. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16451. pdetrange : pi->srom_fem2g.pdetrange;
  16452. if (pdetrange == 0) {
  16453. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  16454. aux_adc_vmid = aux_adc_vmid_rev4;
  16455. aux_adc_gain = aux_adc_gain_rev4;
  16456. } else {
  16457. aux_adc_vmid = aux_adc_vmid_rev3;
  16458. aux_adc_gain = aux_adc_gain_rev3;
  16459. }
  16460. chan_freq_range =
  16461. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16462. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16463. switch (chan_freq_range) {
  16464. case WL_CHAN_FREQ_RANGE_5GL:
  16465. aux_adc_vmid[3] = 0x89;
  16466. aux_adc_gain[3] = 0;
  16467. break;
  16468. case WL_CHAN_FREQ_RANGE_5GM:
  16469. aux_adc_vmid[3] = 0x89;
  16470. aux_adc_gain[3] = 0;
  16471. break;
  16472. case WL_CHAN_FREQ_RANGE_5GH:
  16473. aux_adc_vmid[3] = 0x89;
  16474. aux_adc_gain[3] = 0;
  16475. break;
  16476. default:
  16477. break;
  16478. }
  16479. }
  16480. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16481. 0x08, 16, aux_adc_vmid);
  16482. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16483. 0x18, 16, aux_adc_vmid);
  16484. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16485. 0x0c, 16, aux_adc_gain);
  16486. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16487. 0x1c, 16, aux_adc_gain);
  16488. } else if (pdetrange == 1) {
  16489. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16490. 0x08, 16, sk_adc_vmid);
  16491. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16492. 0x18, 16, sk_adc_vmid);
  16493. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16494. 0x0c, 16, sk_adc_gain);
  16495. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16496. 0x1c, 16, sk_adc_gain);
  16497. } else if (pdetrange == 2) {
  16498. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x74 };
  16499. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x04 };
  16500. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16501. chan_freq_range =
  16502. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16503. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16504. bcm_adc_vmid[3] = 0x8e;
  16505. bcm_adc_gain[3] = 0x03;
  16506. } else {
  16507. bcm_adc_vmid[3] = 0x94;
  16508. bcm_adc_gain[3] = 0x03;
  16509. }
  16510. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  16511. bcm_adc_vmid[3] = 0x84;
  16512. bcm_adc_gain[3] = 0x02;
  16513. }
  16514. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16515. 0x08, 16, bcm_adc_vmid);
  16516. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16517. 0x18, 16, bcm_adc_vmid);
  16518. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16519. 0x0c, 16, bcm_adc_gain);
  16520. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16521. 0x1c, 16, bcm_adc_gain);
  16522. } else if (pdetrange == 3) {
  16523. chan_freq_range =
  16524. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16525. if ((NREV_GE(pi->pubpi.phy_rev, 4))
  16526. && (chan_freq_range == WL_CHAN_FREQ_RANGE_2G)) {
  16527. u16 auxadc_vmid[] = {
  16528. 0xa2, 0xb4, 0xb4, 0x270
  16529. };
  16530. u16 auxadc_gain[] = {
  16531. 0x02, 0x02, 0x02, 0x00
  16532. };
  16533. wlc_phy_table_write_nphy(pi,
  16534. NPHY_TBL_ID_AFECTRL, 4,
  16535. 0x08, 16, auxadc_vmid);
  16536. wlc_phy_table_write_nphy(pi,
  16537. NPHY_TBL_ID_AFECTRL, 4,
  16538. 0x18, 16, auxadc_vmid);
  16539. wlc_phy_table_write_nphy(pi,
  16540. NPHY_TBL_ID_AFECTRL, 4,
  16541. 0x0c, 16, auxadc_gain);
  16542. wlc_phy_table_write_nphy(pi,
  16543. NPHY_TBL_ID_AFECTRL, 4,
  16544. 0x1c, 16, auxadc_gain);
  16545. }
  16546. } else if ((pdetrange == 4) || (pdetrange == 5)) {
  16547. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x0 };
  16548. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x0 };
  16549. u16 Vmid[2], Av[2];
  16550. chan_freq_range =
  16551. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16552. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16553. Vmid[0] = (pdetrange == 4) ? 0x8e : 0x89;
  16554. Vmid[1] = (pdetrange == 4) ? 0x96 : 0x89;
  16555. Av[0] = (pdetrange == 4) ? 2 : 0;
  16556. Av[1] = (pdetrange == 4) ? 2 : 0;
  16557. } else {
  16558. Vmid[0] = (pdetrange == 4) ? 0x89 : 0x74;
  16559. Vmid[1] = (pdetrange == 4) ? 0x8b : 0x70;
  16560. Av[0] = (pdetrange == 4) ? 2 : 0;
  16561. Av[1] = (pdetrange == 4) ? 2 : 0;
  16562. }
  16563. bcm_adc_vmid[3] = Vmid[0];
  16564. bcm_adc_gain[3] = Av[0];
  16565. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16566. 0x08, 16, bcm_adc_vmid);
  16567. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16568. 0x0c, 16, bcm_adc_gain);
  16569. bcm_adc_vmid[3] = Vmid[1];
  16570. bcm_adc_gain[3] = Av[1];
  16571. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16572. 0x18, 16, bcm_adc_vmid);
  16573. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16574. 0x1c, 16, bcm_adc_gain);
  16575. }
  16576. write_radio_reg(pi,
  16577. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX0),
  16578. 0x0);
  16579. write_radio_reg(pi,
  16580. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX1),
  16581. 0x0);
  16582. write_radio_reg(pi,
  16583. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX0),
  16584. 0x6);
  16585. write_radio_reg(pi,
  16586. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX1),
  16587. 0x6);
  16588. write_radio_reg(pi,
  16589. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX0),
  16590. 0x7);
  16591. write_radio_reg(pi,
  16592. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX1),
  16593. 0x7);
  16594. write_radio_reg(pi,
  16595. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX0),
  16596. 0x88);
  16597. write_radio_reg(pi,
  16598. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX1),
  16599. 0x88);
  16600. write_radio_reg(pi,
  16601. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX0),
  16602. 0x0);
  16603. write_radio_reg(pi,
  16604. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX1),
  16605. 0x0);
  16606. write_radio_reg(pi,
  16607. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX0),
  16608. 0x0);
  16609. write_radio_reg(pi,
  16610. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX1),
  16611. 0x0);
  16612. triso =
  16613. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16614. triso : pi->srom_fem2g.triso;
  16615. if (triso == 7) {
  16616. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  16617. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  16618. }
  16619. wlc_phy_war_txchain_upd_nphy(pi, pi->sh->hw_phytxchain);
  16620. if (((pi->sh->boardflags2 & BFL2_APLL_WAR) &&
  16621. (CHSPEC_IS5G(pi->radio_chanspec))) ||
  16622. (((pi->sh->boardflags2 & BFL2_GPLL_WAR) ||
  16623. (pi->sh->boardflags2 & BFL2_GPLL_WAR2)) &&
  16624. (CHSPEC_IS2G(pi->radio_chanspec)))) {
  16625. nss1_data_weights = 0x00088888;
  16626. ht_data_weights = 0x00088888;
  16627. stbc_data_weights = 0x00088888;
  16628. } else {
  16629. nss1_data_weights = 0x88888888;
  16630. ht_data_weights = 0x88888888;
  16631. stbc_data_weights = 0x88888888;
  16632. }
  16633. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16634. 1, 1, 32, &nss1_data_weights);
  16635. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16636. 1, 2, 32, &ht_data_weights);
  16637. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16638. 1, 3, 32, &stbc_data_weights);
  16639. if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  16640. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  16641. write_radio_reg(pi,
  16642. RADIO_2056_TX_GMBB_IDAC |
  16643. RADIO_2056_TX0, 0x70);
  16644. write_radio_reg(pi,
  16645. RADIO_2056_TX_GMBB_IDAC |
  16646. RADIO_2056_TX1, 0x70);
  16647. }
  16648. }
  16649. if (!pi->edcrs_threshold_lock) {
  16650. write_phy_reg(pi, 0x224, 0x3eb);
  16651. write_phy_reg(pi, 0x225, 0x3eb);
  16652. write_phy_reg(pi, 0x226, 0x341);
  16653. write_phy_reg(pi, 0x227, 0x341);
  16654. write_phy_reg(pi, 0x228, 0x42b);
  16655. write_phy_reg(pi, 0x229, 0x42b);
  16656. write_phy_reg(pi, 0x22a, 0x381);
  16657. write_phy_reg(pi, 0x22b, 0x381);
  16658. write_phy_reg(pi, 0x22c, 0x42b);
  16659. write_phy_reg(pi, 0x22d, 0x42b);
  16660. write_phy_reg(pi, 0x22e, 0x381);
  16661. write_phy_reg(pi, 0x22f, 0x381);
  16662. }
  16663. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16664. if (pi->sh->boardflags2 & BFL2_SINGLEANT_CCK)
  16665. wlapi_bmac_mhf(pi->sh->physhim, MHF4,
  16666. MHF4_BPHY_TXCORE0,
  16667. MHF4_BPHY_TXCORE0, BRCM_BAND_ALL);
  16668. }
  16669. } else {
  16670. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD ||
  16671. (pi->sh->boardtype == 0x8b)) {
  16672. uint i;
  16673. u8 war_dlys[] = { 1, 6, 6, 2, 4, 20, 1 };
  16674. for (i = 0; i < ARRAY_SIZE(rfseq_rx2tx_dlys); i++)
  16675. rfseq_rx2tx_dlys[i] = war_dlys[i];
  16676. }
  16677. if (CHSPEC_IS5G(pi->radio_chanspec) && pi->phy_5g_pwrgain) {
  16678. and_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0xf7);
  16679. and_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0xf7);
  16680. } else {
  16681. or_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0x8);
  16682. or_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0x8);
  16683. }
  16684. regval = 0x000a;
  16685. wlc_phy_table_write_nphy(pi, 8, 1, 0, 16, &regval);
  16686. wlc_phy_table_write_nphy(pi, 8, 1, 0x10, 16, &regval);
  16687. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16688. regval = 0xcdaa;
  16689. wlc_phy_table_write_nphy(pi, 8, 1, 0x02, 16, &regval);
  16690. wlc_phy_table_write_nphy(pi, 8, 1, 0x12, 16, &regval);
  16691. }
  16692. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16693. regval = 0x0000;
  16694. wlc_phy_table_write_nphy(pi, 8, 1, 0x08, 16, &regval);
  16695. wlc_phy_table_write_nphy(pi, 8, 1, 0x18, 16, &regval);
  16696. regval = 0x7aab;
  16697. wlc_phy_table_write_nphy(pi, 8, 1, 0x07, 16, &regval);
  16698. wlc_phy_table_write_nphy(pi, 8, 1, 0x17, 16, &regval);
  16699. regval = 0x0800;
  16700. wlc_phy_table_write_nphy(pi, 8, 1, 0x06, 16, &regval);
  16701. wlc_phy_table_write_nphy(pi, 8, 1, 0x16, 16, &regval);
  16702. }
  16703. write_phy_reg(pi, 0xf8, 0x02d8);
  16704. write_phy_reg(pi, 0xf9, 0x0301);
  16705. write_phy_reg(pi, 0xfa, 0x02d8);
  16706. write_phy_reg(pi, 0xfb, 0x0301);
  16707. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX, rfseq_rx2tx_events,
  16708. rfseq_rx2tx_dlys,
  16709. sizeof(rfseq_rx2tx_events) /
  16710. sizeof(rfseq_rx2tx_events[0]));
  16711. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX, rfseq_tx2rx_events,
  16712. rfseq_tx2rx_dlys,
  16713. sizeof(rfseq_tx2rx_events) /
  16714. sizeof(rfseq_tx2rx_events[0]));
  16715. wlc_phy_workarounds_nphy_gainctrl(pi);
  16716. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16717. if (read_phy_reg(pi, 0xa0) & NPHY_MLenable)
  16718. wlapi_bmac_mhf(pi->sh->physhim, MHF3,
  16719. MHF3_NPHY_MLADV_WAR,
  16720. MHF3_NPHY_MLADV_WAR,
  16721. BRCM_BAND_ALL);
  16722. } else if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  16723. write_phy_reg(pi, 0x1e3, 0x0);
  16724. write_phy_reg(pi, 0x1e4, 0x0);
  16725. }
  16726. if (NREV_LT(pi->pubpi.phy_rev, 2))
  16727. mod_phy_reg(pi, 0x90, (0x1 << 7), 0);
  16728. alpha0 = 293;
  16729. alpha1 = 435;
  16730. alpha2 = 261;
  16731. beta0 = 366;
  16732. beta1 = 205;
  16733. beta2 = 32;
  16734. write_phy_reg(pi, 0x145, alpha0);
  16735. write_phy_reg(pi, 0x146, alpha1);
  16736. write_phy_reg(pi, 0x147, alpha2);
  16737. write_phy_reg(pi, 0x148, beta0);
  16738. write_phy_reg(pi, 0x149, beta1);
  16739. write_phy_reg(pi, 0x14a, beta2);
  16740. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16741. mod_phy_reg(pi, 0x142, (0xf << 12), 0);
  16742. write_phy_reg(pi, 0x192, 0xb5);
  16743. write_phy_reg(pi, 0x193, 0xa4);
  16744. write_phy_reg(pi, 0x194, 0x0);
  16745. }
  16746. if (NREV_IS(pi->pubpi.phy_rev, 2))
  16747. mod_phy_reg(pi, 0x221,
  16748. NPHY_FORCESIG_DECODEGATEDCLKS,
  16749. NPHY_FORCESIG_DECODEGATEDCLKS);
  16750. }
  16751. if (pi->phyhang_avoid)
  16752. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  16753. }
  16754. static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  16755. {
  16756. int j, type = 2;
  16757. u16 addr_offset = 0x2c5;
  16758. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  16759. write_phy_reg(pi, addr_offset + j,
  16760. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  16761. }
  16762. static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals)
  16763. {
  16764. if (write == 0) {
  16765. vals[0] = read_phy_reg(pi, 0x2c);
  16766. vals[1] = read_phy_reg(pi, 0x42);
  16767. } else {
  16768. write_phy_reg(pi, 0x2c, vals[0]);
  16769. write_phy_reg(pi, 0x42, vals[1]);
  16770. }
  16771. }
  16772. static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi)
  16773. {
  16774. u8 core;
  16775. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  16776. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16777. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16778. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16779. TX_SSI_MASTER, 0x5);
  16780. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16781. TX_SSI_MUX, 0xe);
  16782. if (pi->pubpi.radiorev != 5)
  16783. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16784. core, TSSIA, 0);
  16785. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16786. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16787. core, TSSIG, 0x1);
  16788. else
  16789. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16790. core, TSSIG, 0x31);
  16791. } else {
  16792. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16793. TX_SSI_MASTER, 0x9);
  16794. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16795. TX_SSI_MUX, 0xc);
  16796. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16797. TSSIG, 0);
  16798. if (pi->pubpi.radiorev != 5) {
  16799. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16800. WRITE_RADIO_REG3(pi, RADIO_2057,
  16801. TX, core,
  16802. TSSIA, 0x1);
  16803. else
  16804. WRITE_RADIO_REG3(pi, RADIO_2057,
  16805. TX, core,
  16806. TSSIA, 0x31);
  16807. }
  16808. }
  16809. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  16810. 0);
  16811. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  16812. 0);
  16813. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  16814. 0x3);
  16815. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  16816. 0x0);
  16817. }
  16818. } else {
  16819. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR31,
  16820. (CHSPEC_IS2G(pi->radio_chanspec)) ? 0x128 :
  16821. 0x80);
  16822. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR30, 0x0);
  16823. WRITE_RADIO_SYN(pi, RADIO_2056, GPIO_MASTER1, 0x29);
  16824. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16825. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_VCM_HG,
  16826. 0x0);
  16827. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_IDAC,
  16828. 0x0);
  16829. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_VCM,
  16830. 0x3);
  16831. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TX_AMP_DET,
  16832. 0x0);
  16833. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC1,
  16834. 0x8);
  16835. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC2,
  16836. 0x0);
  16837. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC3,
  16838. 0x0);
  16839. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16840. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16841. TX_SSI_MASTER, 0x5);
  16842. if (pi->pubpi.radiorev != 5)
  16843. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16844. core, TSSIA, 0x0);
  16845. if (NREV_GE(pi->pubpi.phy_rev, 5))
  16846. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16847. core, TSSIG, 0x31);
  16848. else
  16849. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16850. core, TSSIG, 0x11);
  16851. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16852. TX_SSI_MUX, 0xe);
  16853. } else {
  16854. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16855. TX_SSI_MASTER, 0x9);
  16856. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16857. TSSIA, 0x31);
  16858. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16859. TSSIG, 0x0);
  16860. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16861. TX_SSI_MUX, 0xc);
  16862. }
  16863. }
  16864. }
  16865. }
  16866. static void
  16867. wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value,
  16868. u8 core_mask, u8 off)
  16869. {
  16870. u8 core_num;
  16871. u16 addr = 0, mask = 0, en_addr = 0, val_addr = 0, en_mask =
  16872. 0, val_mask = 0;
  16873. u8 shift = 0, val_shift = 0;
  16874. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  16875. en_mask = field;
  16876. for (core_num = 0; core_num < 2; core_num++) {
  16877. switch (field) {
  16878. case (0x1 << 1):
  16879. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16880. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16881. val_mask = (0x1 << 0);
  16882. val_shift = 0;
  16883. break;
  16884. case (0x1 << 2):
  16885. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16886. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16887. val_mask = (0x1 << 1);
  16888. val_shift = 1;
  16889. break;
  16890. case (0x1 << 3):
  16891. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16892. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16893. val_mask = (0x1 << 2);
  16894. val_shift = 2;
  16895. break;
  16896. case (0x1 << 4):
  16897. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16898. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16899. val_mask = (0x1 << 4);
  16900. val_shift = 4;
  16901. break;
  16902. case (0x1 << 5):
  16903. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16904. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16905. val_mask = (0x1 << 5);
  16906. val_shift = 5;
  16907. break;
  16908. case (0x1 << 6):
  16909. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16910. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16911. val_mask = (0x1 << 6);
  16912. val_shift = 6;
  16913. break;
  16914. case (0x1 << 7):
  16915. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16916. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16917. val_mask = (0x1 << 7);
  16918. val_shift = 7;
  16919. break;
  16920. case (0x1 << 8):
  16921. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16922. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16923. val_mask = (0x7 << 8);
  16924. val_shift = 8;
  16925. break;
  16926. case (0x1 << 11):
  16927. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16928. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16929. val_mask = (0x7 << 13);
  16930. val_shift = 13;
  16931. break;
  16932. case (0x1 << 9):
  16933. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16934. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16935. val_mask = (0x7 << 0);
  16936. val_shift = 0;
  16937. break;
  16938. case (0x1 << 10):
  16939. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16940. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16941. val_mask = (0x7 << 4);
  16942. val_shift = 4;
  16943. break;
  16944. case (0x1 << 12):
  16945. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16946. val_addr = (core_num == 0) ? 0x7b : 0x7e;
  16947. val_mask = (0xffff << 0);
  16948. val_shift = 0;
  16949. break;
  16950. case (0x1 << 13):
  16951. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16952. val_addr = (core_num == 0) ? 0x7c : 0x7f;
  16953. val_mask = (0xffff << 0);
  16954. val_shift = 0;
  16955. break;
  16956. case (0x1 << 14):
  16957. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16958. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16959. val_mask = (0x3 << 6);
  16960. val_shift = 6;
  16961. break;
  16962. case (0x1 << 0):
  16963. en_addr = (core_num == 0) ? 0xe5 : 0xe6;
  16964. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16965. val_mask = (0x1 << 15);
  16966. val_shift = 15;
  16967. break;
  16968. default:
  16969. addr = 0xffff;
  16970. break;
  16971. }
  16972. if (off) {
  16973. and_phy_reg(pi, en_addr, ~en_mask);
  16974. and_phy_reg(pi, val_addr, ~val_mask);
  16975. } else {
  16976. if ((core_mask == 0)
  16977. || (core_mask & (1 << core_num))) {
  16978. or_phy_reg(pi, en_addr, en_mask);
  16979. if (addr != 0xffff)
  16980. mod_phy_reg(pi, val_addr,
  16981. val_mask,
  16982. (value <<
  16983. val_shift));
  16984. }
  16985. }
  16986. }
  16987. } else {
  16988. if (off) {
  16989. and_phy_reg(pi, 0xec, ~field);
  16990. value = 0x0;
  16991. } else {
  16992. or_phy_reg(pi, 0xec, field);
  16993. }
  16994. for (core_num = 0; core_num < 2; core_num++) {
  16995. switch (field) {
  16996. case (0x1 << 1):
  16997. case (0x1 << 9):
  16998. case (0x1 << 12):
  16999. case (0x1 << 13):
  17000. case (0x1 << 14):
  17001. addr = 0x78;
  17002. core_mask = 0x1;
  17003. break;
  17004. case (0x1 << 2):
  17005. case (0x1 << 3):
  17006. case (0x1 << 4):
  17007. case (0x1 << 5):
  17008. case (0x1 << 6):
  17009. case (0x1 << 7):
  17010. case (0x1 << 8):
  17011. addr = (core_num == 0) ? 0x7a : 0x7d;
  17012. break;
  17013. case (0x1 << 10):
  17014. addr = (core_num == 0) ? 0x7b : 0x7e;
  17015. break;
  17016. case (0x1 << 11):
  17017. addr = (core_num == 0) ? 0x7c : 0x7f;
  17018. break;
  17019. default:
  17020. addr = 0xffff;
  17021. }
  17022. switch (field) {
  17023. case (0x1 << 1):
  17024. mask = (0x7 << 3);
  17025. shift = 3;
  17026. break;
  17027. case (0x1 << 9):
  17028. mask = (0x1 << 2);
  17029. shift = 2;
  17030. break;
  17031. case (0x1 << 12):
  17032. mask = (0x1 << 8);
  17033. shift = 8;
  17034. break;
  17035. case (0x1 << 13):
  17036. mask = (0x1 << 9);
  17037. shift = 9;
  17038. break;
  17039. case (0x1 << 14):
  17040. mask = (0xf << 12);
  17041. shift = 12;
  17042. break;
  17043. case (0x1 << 2):
  17044. mask = (0x1 << 0);
  17045. shift = 0;
  17046. break;
  17047. case (0x1 << 3):
  17048. mask = (0x1 << 1);
  17049. shift = 1;
  17050. break;
  17051. case (0x1 << 4):
  17052. mask = (0x1 << 2);
  17053. shift = 2;
  17054. break;
  17055. case (0x1 << 5):
  17056. mask = (0x3 << 4);
  17057. shift = 4;
  17058. break;
  17059. case (0x1 << 6):
  17060. mask = (0x3 << 6);
  17061. shift = 6;
  17062. break;
  17063. case (0x1 << 7):
  17064. mask = (0x1 << 8);
  17065. shift = 8;
  17066. break;
  17067. case (0x1 << 8):
  17068. mask = (0x1 << 9);
  17069. shift = 9;
  17070. break;
  17071. case (0x1 << 10):
  17072. mask = 0x1fff;
  17073. shift = 0x0;
  17074. break;
  17075. case (0x1 << 11):
  17076. mask = 0x1fff;
  17077. shift = 0x0;
  17078. break;
  17079. default:
  17080. mask = 0x0;
  17081. shift = 0x0;
  17082. break;
  17083. }
  17084. if ((addr != 0xffff) && (core_mask & (1 << core_num)))
  17085. mod_phy_reg(pi, addr, mask, (value << shift));
  17086. }
  17087. or_phy_reg(pi, 0xec, (0x1 << 0));
  17088. or_phy_reg(pi, 0x78, (0x1 << 0));
  17089. udelay(1);
  17090. and_phy_reg(pi, 0xec, ~(0x1 << 0));
  17091. }
  17092. }
  17093. static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi)
  17094. {
  17095. s32 rssi_buf[4];
  17096. s32 int_val;
  17097. if (SCAN_RM_IN_PROGRESS(pi) || PLT_INPROG_PHY(pi) || PHY_MUTED(pi))
  17098. return;
  17099. if (PHY_IPA(pi))
  17100. wlc_phy_ipa_internal_tssi_setup_nphy(pi);
  17101. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17102. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17103. 0, 0x3, 0,
  17104. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17105. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17106. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 0);
  17107. wlc_phy_stopplayback_nphy(pi);
  17108. wlc_phy_tx_tone_nphy(pi, 4000, 0, 0, 0, false);
  17109. udelay(20);
  17110. int_val =
  17111. wlc_phy_poll_rssi_nphy(pi, (u8) NPHY_RSSI_SEL_TSSI_2G, rssi_buf,
  17112. 1);
  17113. wlc_phy_stopplayback_nphy(pi);
  17114. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, 0);
  17115. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17116. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17117. 0, 0x3, 1,
  17118. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17119. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17120. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 1);
  17121. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17122. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17123. (u8) ((int_val >> 24) & 0xff);
  17124. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17125. (u8) ((int_val >> 24) & 0xff);
  17126. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17127. (u8) ((int_val >> 8) & 0xff);
  17128. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17129. (u8) ((int_val >> 8) & 0xff);
  17130. } else {
  17131. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17132. (u8) ((int_val >> 24) & 0xff);
  17133. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17134. (u8) ((int_val >> 8) & 0xff);
  17135. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17136. (u8) ((int_val >> 16) & 0xff);
  17137. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17138. (u8) ((int_val) & 0xff);
  17139. }
  17140. }
  17141. static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi)
  17142. {
  17143. u8 idx, idx2, i, delta_ind;
  17144. for (idx = TXP_FIRST_CCK; idx <= TXP_LAST_CCK; idx++)
  17145. pi->adj_pwr_tbl_nphy[idx] = pi->tx_power_offset[idx];
  17146. for (i = 0; i < 4; i++) {
  17147. idx2 = 0;
  17148. delta_ind = 0;
  17149. switch (i) {
  17150. case 0:
  17151. if (CHSPEC_IS40(pi->radio_chanspec)
  17152. && NPHY_IS_SROM_REINTERPRET) {
  17153. idx = TXP_FIRST_MCS_40_SISO;
  17154. } else {
  17155. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17156. TXP_FIRST_OFDM_40_SISO : TXP_FIRST_OFDM;
  17157. delta_ind = 1;
  17158. }
  17159. break;
  17160. case 1:
  17161. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17162. TXP_FIRST_MCS_40_CDD : TXP_FIRST_MCS_20_CDD;
  17163. break;
  17164. case 2:
  17165. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17166. TXP_FIRST_MCS_40_STBC : TXP_FIRST_MCS_20_STBC;
  17167. break;
  17168. case 3:
  17169. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17170. TXP_FIRST_MCS_40_SDM : TXP_FIRST_MCS_20_SDM;
  17171. break;
  17172. }
  17173. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17174. pi->tx_power_offset[idx];
  17175. idx = idx + delta_ind;
  17176. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17177. pi->tx_power_offset[idx];
  17178. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17179. pi->tx_power_offset[idx];
  17180. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17181. pi->tx_power_offset[idx++];
  17182. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17183. pi->tx_power_offset[idx++];
  17184. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17185. pi->tx_power_offset[idx];
  17186. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17187. pi->tx_power_offset[idx];
  17188. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17189. pi->tx_power_offset[idx++];
  17190. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17191. pi->tx_power_offset[idx++];
  17192. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17193. pi->tx_power_offset[idx];
  17194. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17195. pi->tx_power_offset[idx];
  17196. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17197. pi->tx_power_offset[idx++];
  17198. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17199. pi->tx_power_offset[idx];
  17200. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17201. pi->tx_power_offset[idx++];
  17202. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17203. pi->tx_power_offset[idx];
  17204. idx = idx + 1 - delta_ind;
  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. }
  17216. }
  17217. static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi)
  17218. {
  17219. u32 idx;
  17220. s16 a1[2], b0[2], b1[2];
  17221. s8 target_pwr_qtrdbm[2];
  17222. s32 num, den, pwr_est;
  17223. u8 chan_freq_range;
  17224. u8 idle_tssi[2];
  17225. u32 tbl_id, tbl_len, tbl_offset;
  17226. u32 regval[64];
  17227. u8 core;
  17228. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17229. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17230. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17231. udelay(1);
  17232. }
  17233. if (pi->phyhang_avoid)
  17234. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17235. or_phy_reg(pi, 0x122, (0x1 << 0));
  17236. if (NREV_GE(pi->pubpi.phy_rev, 3))
  17237. and_phy_reg(pi, 0x1e7, (u16) (~(0x1 << 15)));
  17238. else
  17239. or_phy_reg(pi, 0x1e7, (0x1 << 15));
  17240. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17241. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17242. if (pi->sh->sromrev < 4) {
  17243. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17244. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17245. target_pwr_qtrdbm[0] = 13 * 4;
  17246. target_pwr_qtrdbm[1] = 13 * 4;
  17247. a1[0] = -424;
  17248. a1[1] = -424;
  17249. b0[0] = 5612;
  17250. b0[1] = 5612;
  17251. b1[1] = -1393;
  17252. b1[0] = -1393;
  17253. } else {
  17254. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  17255. switch (chan_freq_range) {
  17256. case WL_CHAN_FREQ_RANGE_2G:
  17257. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17258. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17259. target_pwr_qtrdbm[0] =
  17260. pi->nphy_pwrctrl_info[0].max_pwr_2g;
  17261. target_pwr_qtrdbm[1] =
  17262. pi->nphy_pwrctrl_info[1].max_pwr_2g;
  17263. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_a1;
  17264. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_a1;
  17265. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b0;
  17266. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b0;
  17267. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b1;
  17268. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b1;
  17269. break;
  17270. case WL_CHAN_FREQ_RANGE_5GL:
  17271. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17272. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17273. target_pwr_qtrdbm[0] =
  17274. pi->nphy_pwrctrl_info[0].max_pwr_5gl;
  17275. target_pwr_qtrdbm[1] =
  17276. pi->nphy_pwrctrl_info[1].max_pwr_5gl;
  17277. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1;
  17278. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1;
  17279. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0;
  17280. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0;
  17281. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1;
  17282. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1;
  17283. break;
  17284. case WL_CHAN_FREQ_RANGE_5GM:
  17285. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17286. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17287. target_pwr_qtrdbm[0] =
  17288. pi->nphy_pwrctrl_info[0].max_pwr_5gm;
  17289. target_pwr_qtrdbm[1] =
  17290. pi->nphy_pwrctrl_info[1].max_pwr_5gm;
  17291. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_a1;
  17292. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_a1;
  17293. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b0;
  17294. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b0;
  17295. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b1;
  17296. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b1;
  17297. break;
  17298. case WL_CHAN_FREQ_RANGE_5GH:
  17299. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17300. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17301. target_pwr_qtrdbm[0] =
  17302. pi->nphy_pwrctrl_info[0].max_pwr_5gh;
  17303. target_pwr_qtrdbm[1] =
  17304. pi->nphy_pwrctrl_info[1].max_pwr_5gh;
  17305. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1;
  17306. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1;
  17307. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0;
  17308. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0;
  17309. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1;
  17310. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1;
  17311. break;
  17312. default:
  17313. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17314. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17315. target_pwr_qtrdbm[0] = 13 * 4;
  17316. target_pwr_qtrdbm[1] = 13 * 4;
  17317. a1[0] = -424;
  17318. a1[1] = -424;
  17319. b0[0] = 5612;
  17320. b0[1] = 5612;
  17321. b1[1] = -1393;
  17322. b1[0] = -1393;
  17323. break;
  17324. }
  17325. }
  17326. target_pwr_qtrdbm[0] = (s8) pi->tx_power_max;
  17327. target_pwr_qtrdbm[1] = (s8) pi->tx_power_max;
  17328. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17329. if (pi->srom_fem2g.tssipos)
  17330. or_phy_reg(pi, 0x1e9, (0x1 << 14));
  17331. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17332. for (core = 0; core <= 1; core++) {
  17333. if (PHY_IPA(pi)) {
  17334. if (CHSPEC_IS2G(pi->radio_chanspec))
  17335. WRITE_RADIO_REG3(pi, RADIO_2057,
  17336. TX, core,
  17337. TX_SSI_MUX,
  17338. 0xe);
  17339. else
  17340. WRITE_RADIO_REG3(pi, RADIO_2057,
  17341. TX, core,
  17342. TX_SSI_MUX,
  17343. 0xc);
  17344. }
  17345. }
  17346. } else {
  17347. if (PHY_IPA(pi)) {
  17348. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17349. RADIO_2056_TX0,
  17350. (CHSPEC_IS5G
  17351. (pi->radio_chanspec)) ?
  17352. 0xc : 0xe);
  17353. write_radio_reg(pi,
  17354. RADIO_2056_TX_TX_SSI_MUX |
  17355. RADIO_2056_TX1,
  17356. (CHSPEC_IS5G
  17357. (pi->radio_chanspec)) ?
  17358. 0xc : 0xe);
  17359. } else {
  17360. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17361. RADIO_2056_TX0, 0x11);
  17362. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17363. RADIO_2056_TX1, 0x11);
  17364. }
  17365. }
  17366. }
  17367. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17368. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17369. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17370. udelay(1);
  17371. }
  17372. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17373. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17374. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17375. else
  17376. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17377. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17378. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17379. mod_phy_reg(pi, 0x222, (0xff << 0),
  17380. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17381. else if (NREV_GT(pi->pubpi.phy_rev, 1))
  17382. mod_phy_reg(pi, 0x222, (0xff << 0),
  17383. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17384. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17385. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17386. write_phy_reg(pi, 0x1e8, (0x3 << 8) | (240 << 0));
  17387. write_phy_reg(pi, 0x1e9,
  17388. (1 << 15) | (idle_tssi[0] << 0) | (idle_tssi[1] << 8));
  17389. write_phy_reg(pi, 0x1ea,
  17390. (target_pwr_qtrdbm[0] << 0) |
  17391. (target_pwr_qtrdbm[1] << 8));
  17392. tbl_len = 64;
  17393. tbl_offset = 0;
  17394. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  17395. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  17396. for (idx = 0; idx < tbl_len; idx++) {
  17397. num = 8 *
  17398. (16 * b0[tbl_id - 26] + b1[tbl_id - 26] * idx);
  17399. den = 32768 + a1[tbl_id - 26] * idx;
  17400. pwr_est = max(((4 * num + den / 2) / den), -8);
  17401. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  17402. if (idx <=
  17403. (uint) (31 - idle_tssi[tbl_id - 26] + 1))
  17404. pwr_est =
  17405. max(pwr_est,
  17406. target_pwr_qtrdbm
  17407. [tbl_id - 26] + 1);
  17408. }
  17409. regval[idx] = (u32) pwr_est;
  17410. }
  17411. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  17412. regval);
  17413. }
  17414. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  17415. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64, 8,
  17416. pi->adj_pwr_tbl_nphy);
  17417. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64, 8,
  17418. pi->adj_pwr_tbl_nphy);
  17419. if (pi->phyhang_avoid)
  17420. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17421. }
  17422. static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi)
  17423. {
  17424. u32 *tx_pwrctrl_tbl = NULL;
  17425. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17426. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17427. if ((pi->pubpi.radiorev == 4)
  17428. || (pi->pubpi.radiorev == 6))
  17429. tx_pwrctrl_tbl =
  17430. nphy_tpc_txgain_ipa_2g_2057rev4n6;
  17431. else if (pi->pubpi.radiorev == 3)
  17432. tx_pwrctrl_tbl =
  17433. nphy_tpc_txgain_ipa_2g_2057rev3;
  17434. else if (pi->pubpi.radiorev == 5)
  17435. tx_pwrctrl_tbl =
  17436. nphy_tpc_txgain_ipa_2g_2057rev5;
  17437. else if ((pi->pubpi.radiorev == 7)
  17438. || (pi->pubpi.radiorev == 8))
  17439. tx_pwrctrl_tbl =
  17440. nphy_tpc_txgain_ipa_2g_2057rev7;
  17441. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17442. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev6;
  17443. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17444. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17445. } else {
  17446. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa;
  17447. }
  17448. } else {
  17449. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17450. if ((pi->pubpi.radiorev == 3) ||
  17451. (pi->pubpi.radiorev == 4) ||
  17452. (pi->pubpi.radiorev == 6))
  17453. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g_2057;
  17454. else if ((pi->pubpi.radiorev == 7)
  17455. || (pi->pubpi.radiorev == 8))
  17456. tx_pwrctrl_tbl =
  17457. nphy_tpc_txgain_ipa_5g_2057rev7;
  17458. } else {
  17459. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g;
  17460. }
  17461. }
  17462. return tx_pwrctrl_tbl;
  17463. }
  17464. static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi)
  17465. {
  17466. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17467. if (pi->nphy_rssical_chanspec_2G == 0)
  17468. return;
  17469. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17470. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17471. RADIO_2057_VCM_MASK,
  17472. pi->rssical_cache.
  17473. rssical_radio_regs_2G[0]);
  17474. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17475. RADIO_2057_VCM_MASK,
  17476. pi->rssical_cache.
  17477. rssical_radio_regs_2G[1]);
  17478. } else {
  17479. mod_radio_reg(pi,
  17480. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17481. RADIO_2056_VCM_MASK,
  17482. pi->rssical_cache.
  17483. rssical_radio_regs_2G[0]);
  17484. mod_radio_reg(pi,
  17485. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17486. RADIO_2056_VCM_MASK,
  17487. pi->rssical_cache.
  17488. rssical_radio_regs_2G[1]);
  17489. }
  17490. write_phy_reg(pi, 0x1a6,
  17491. pi->rssical_cache.rssical_phyregs_2G[0]);
  17492. write_phy_reg(pi, 0x1ac,
  17493. pi->rssical_cache.rssical_phyregs_2G[1]);
  17494. write_phy_reg(pi, 0x1b2,
  17495. pi->rssical_cache.rssical_phyregs_2G[2]);
  17496. write_phy_reg(pi, 0x1b8,
  17497. pi->rssical_cache.rssical_phyregs_2G[3]);
  17498. write_phy_reg(pi, 0x1a4,
  17499. pi->rssical_cache.rssical_phyregs_2G[4]);
  17500. write_phy_reg(pi, 0x1aa,
  17501. pi->rssical_cache.rssical_phyregs_2G[5]);
  17502. write_phy_reg(pi, 0x1b0,
  17503. pi->rssical_cache.rssical_phyregs_2G[6]);
  17504. write_phy_reg(pi, 0x1b6,
  17505. pi->rssical_cache.rssical_phyregs_2G[7]);
  17506. write_phy_reg(pi, 0x1a5,
  17507. pi->rssical_cache.rssical_phyregs_2G[8]);
  17508. write_phy_reg(pi, 0x1ab,
  17509. pi->rssical_cache.rssical_phyregs_2G[9]);
  17510. write_phy_reg(pi, 0x1b1,
  17511. pi->rssical_cache.rssical_phyregs_2G[10]);
  17512. write_phy_reg(pi, 0x1b7,
  17513. pi->rssical_cache.rssical_phyregs_2G[11]);
  17514. } else {
  17515. if (pi->nphy_rssical_chanspec_5G == 0)
  17516. return;
  17517. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17518. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17519. RADIO_2057_VCM_MASK,
  17520. pi->rssical_cache.
  17521. rssical_radio_regs_5G[0]);
  17522. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17523. RADIO_2057_VCM_MASK,
  17524. pi->rssical_cache.
  17525. rssical_radio_regs_5G[1]);
  17526. } else {
  17527. mod_radio_reg(pi,
  17528. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17529. RADIO_2056_VCM_MASK,
  17530. pi->rssical_cache.
  17531. rssical_radio_regs_5G[0]);
  17532. mod_radio_reg(pi,
  17533. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17534. RADIO_2056_VCM_MASK,
  17535. pi->rssical_cache.
  17536. rssical_radio_regs_5G[1]);
  17537. }
  17538. write_phy_reg(pi, 0x1a6,
  17539. pi->rssical_cache.rssical_phyregs_5G[0]);
  17540. write_phy_reg(pi, 0x1ac,
  17541. pi->rssical_cache.rssical_phyregs_5G[1]);
  17542. write_phy_reg(pi, 0x1b2,
  17543. pi->rssical_cache.rssical_phyregs_5G[2]);
  17544. write_phy_reg(pi, 0x1b8,
  17545. pi->rssical_cache.rssical_phyregs_5G[3]);
  17546. write_phy_reg(pi, 0x1a4,
  17547. pi->rssical_cache.rssical_phyregs_5G[4]);
  17548. write_phy_reg(pi, 0x1aa,
  17549. pi->rssical_cache.rssical_phyregs_5G[5]);
  17550. write_phy_reg(pi, 0x1b0,
  17551. pi->rssical_cache.rssical_phyregs_5G[6]);
  17552. write_phy_reg(pi, 0x1b6,
  17553. pi->rssical_cache.rssical_phyregs_5G[7]);
  17554. write_phy_reg(pi, 0x1a5,
  17555. pi->rssical_cache.rssical_phyregs_5G[8]);
  17556. write_phy_reg(pi, 0x1ab,
  17557. pi->rssical_cache.rssical_phyregs_5G[9]);
  17558. write_phy_reg(pi, 0x1b1,
  17559. pi->rssical_cache.rssical_phyregs_5G[10]);
  17560. write_phy_reg(pi, 0x1b7,
  17561. pi->rssical_cache.rssical_phyregs_5G[11]);
  17562. }
  17563. }
  17564. static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi)
  17565. {
  17566. u16 txcal_gain[2];
  17567. pi->nphy_txcal_pwr_idx[0] = pi->nphy_cal_orig_pwr_idx[0];
  17568. pi->nphy_txcal_pwr_idx[1] = pi->nphy_cal_orig_pwr_idx[0];
  17569. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17570. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17571. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17572. txcal_gain);
  17573. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17574. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F40;
  17575. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F40;
  17576. } else {
  17577. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F60;
  17578. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F60;
  17579. }
  17580. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17581. txcal_gain);
  17582. }
  17583. static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi)
  17584. {
  17585. bool save_bbmult = false;
  17586. u8 txcal_index_2057_rev5n7 = 0;
  17587. u8 txcal_index_2057_rev3n4n6 = 10;
  17588. if (pi->use_int_tx_iqlo_cal_nphy) {
  17589. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17590. if ((pi->pubpi.radiorev == 3) ||
  17591. (pi->pubpi.radiorev == 4) ||
  17592. (pi->pubpi.radiorev == 6)) {
  17593. pi->nphy_txcal_pwr_idx[0] =
  17594. txcal_index_2057_rev3n4n6;
  17595. pi->nphy_txcal_pwr_idx[1] =
  17596. txcal_index_2057_rev3n4n6;
  17597. wlc_phy_txpwr_index_nphy(
  17598. pi, 3,
  17599. txcal_index_2057_rev3n4n6,
  17600. false);
  17601. } else {
  17602. pi->nphy_txcal_pwr_idx[0] =
  17603. txcal_index_2057_rev5n7;
  17604. pi->nphy_txcal_pwr_idx[1] =
  17605. txcal_index_2057_rev5n7;
  17606. wlc_phy_txpwr_index_nphy(
  17607. pi, 3,
  17608. txcal_index_2057_rev5n7,
  17609. false);
  17610. }
  17611. save_bbmult = true;
  17612. } else if (NREV_LT(pi->pubpi.phy_rev, 5)) {
  17613. wlc_phy_cal_txgainctrl_nphy(pi, 11, false);
  17614. if (pi->sh->hw_phytxchain != 3) {
  17615. pi->nphy_txcal_pwr_idx[1] =
  17616. pi->nphy_txcal_pwr_idx[0];
  17617. wlc_phy_txpwr_index_nphy(pi, 3,
  17618. pi->
  17619. nphy_txcal_pwr_idx[0],
  17620. true);
  17621. save_bbmult = true;
  17622. }
  17623. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17624. if (PHY_IPA(pi)) {
  17625. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17626. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17627. false);
  17628. } else {
  17629. pi->nphy_txcal_pwr_idx[0] = 80;
  17630. pi->nphy_txcal_pwr_idx[1] = 80;
  17631. wlc_phy_txpwr_index_nphy(pi, 3, 80,
  17632. false);
  17633. save_bbmult = true;
  17634. }
  17635. } else {
  17636. wlc_phy_internal_cal_txgain_nphy(pi);
  17637. save_bbmult = true;
  17638. }
  17639. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17640. if (PHY_IPA(pi)) {
  17641. if (CHSPEC_IS2G(pi->radio_chanspec))
  17642. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17643. false);
  17644. else
  17645. wlc_phy_cal_txgainctrl_nphy(pi, 14,
  17646. false);
  17647. } else {
  17648. wlc_phy_internal_cal_txgain_nphy(pi);
  17649. save_bbmult = true;
  17650. }
  17651. }
  17652. } else {
  17653. wlc_phy_cal_txgainctrl_nphy(pi, 10, false);
  17654. }
  17655. if (save_bbmult)
  17656. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  17657. &pi->nphy_txcal_bbmult);
  17658. }
  17659. static void
  17660. wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value,
  17661. u8 core_code)
  17662. {
  17663. u16 mask;
  17664. u16 val;
  17665. u8 core;
  17666. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17667. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17668. if (core_code == RADIO_MIMO_CORESEL_CORE1
  17669. && core == PHY_CORE_1)
  17670. continue;
  17671. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  17672. && core == PHY_CORE_0)
  17673. continue;
  17674. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  17675. mask = (0x1 << 10);
  17676. val = 1 << 10;
  17677. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17678. 0x92, mask, val);
  17679. }
  17680. if (field == NPHY_RfctrlIntc_override_OFF) {
  17681. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17682. 0x92, 0);
  17683. wlc_phy_force_rfseq_nphy(pi,
  17684. NPHY_RFSEQ_RESET2RX);
  17685. } else if (field == NPHY_RfctrlIntc_override_TRSW) {
  17686. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17687. mask = (0x1 << 6) | (0x1 << 7);
  17688. val = value << 6;
  17689. mod_phy_reg(pi,
  17690. (core ==
  17691. PHY_CORE_0) ? 0x91 : 0x92,
  17692. mask, val);
  17693. or_phy_reg(pi,
  17694. (core ==
  17695. PHY_CORE_0) ? 0x91 : 0x92,
  17696. (0x1 << 10));
  17697. and_phy_reg(pi, 0x2ff, (u16)
  17698. ~(0x3 << 14));
  17699. or_phy_reg(pi, 0x2ff, (0x1 << 13));
  17700. or_phy_reg(pi, 0x2ff, (0x1 << 0));
  17701. } else {
  17702. mask = (0x1 << 6) |
  17703. (0x1 << 7) |
  17704. (0x1 << 8) | (0x1 << 9);
  17705. val = value << 6;
  17706. mod_phy_reg(pi,
  17707. (core ==
  17708. PHY_CORE_0) ? 0x91 : 0x92,
  17709. mask, val);
  17710. mask = (0x1 << 0);
  17711. val = 1 << 0;
  17712. mod_phy_reg(pi,
  17713. (core ==
  17714. PHY_CORE_0) ? 0xe7 : 0xec,
  17715. mask, val);
  17716. mask = (core == PHY_CORE_0) ?
  17717. (0x1 << 0) : (0x1 << 1);
  17718. val = 1 << ((core == PHY_CORE_0) ?
  17719. 0 : 1);
  17720. mod_phy_reg(pi, 0x78, mask, val);
  17721. SPINWAIT(((read_phy_reg(pi, 0x78) & val)
  17722. != 0), 10000);
  17723. if (WARN(read_phy_reg(pi, 0x78) & val,
  17724. "HW error: override failed"))
  17725. return;
  17726. mask = (0x1 << 0);
  17727. val = 0 << 0;
  17728. mod_phy_reg(pi,
  17729. (core ==
  17730. PHY_CORE_0) ? 0xe7 : 0xec,
  17731. mask, val);
  17732. }
  17733. } else if (field == NPHY_RfctrlIntc_override_PA) {
  17734. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17735. mask = (0x1 << 4) | (0x1 << 5);
  17736. if (CHSPEC_IS5G(pi->radio_chanspec))
  17737. val = value << 5;
  17738. else
  17739. val = value << 4;
  17740. mod_phy_reg(pi,
  17741. (core ==
  17742. PHY_CORE_0) ? 0x91 : 0x92,
  17743. mask, val);
  17744. or_phy_reg(pi,
  17745. (core ==
  17746. PHY_CORE_0) ? 0x91 : 0x92,
  17747. (0x1 << 12));
  17748. } else {
  17749. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17750. mask = (0x1 << 5);
  17751. val = value << 5;
  17752. } else {
  17753. mask = (0x1 << 4);
  17754. val = value << 4;
  17755. }
  17756. mod_phy_reg(pi,
  17757. (core ==
  17758. PHY_CORE_0) ? 0x91 : 0x92,
  17759. mask, val);
  17760. }
  17761. } else if (field ==
  17762. NPHY_RfctrlIntc_override_EXT_LNA_PU) {
  17763. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17764. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17765. mask = (0x1 << 0);
  17766. val = value << 0;
  17767. mod_phy_reg(pi,
  17768. (core ==
  17769. PHY_CORE_0) ? 0x91
  17770. : 0x92, mask, val);
  17771. mask = (0x1 << 2);
  17772. mod_phy_reg(pi,
  17773. (core ==
  17774. PHY_CORE_0) ? 0x91
  17775. : 0x92, mask, 0);
  17776. } else {
  17777. mask = (0x1 << 2);
  17778. val = value << 2;
  17779. mod_phy_reg(pi,
  17780. (core ==
  17781. PHY_CORE_0) ? 0x91
  17782. : 0x92, mask, val);
  17783. mask = (0x1 << 0);
  17784. mod_phy_reg(pi,
  17785. (core ==
  17786. PHY_CORE_0) ? 0x91
  17787. : 0x92, mask, 0);
  17788. }
  17789. mask = (0x1 << 11);
  17790. val = 1 << 11;
  17791. mod_phy_reg(pi,
  17792. (core ==
  17793. PHY_CORE_0) ? 0x91 : 0x92,
  17794. mask, val);
  17795. } else {
  17796. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17797. mask = (0x1 << 0);
  17798. val = value << 0;
  17799. } else {
  17800. mask = (0x1 << 2);
  17801. val = value << 2;
  17802. }
  17803. mod_phy_reg(pi,
  17804. (core ==
  17805. PHY_CORE_0) ? 0x91 : 0x92,
  17806. mask, val);
  17807. }
  17808. } else if (field ==
  17809. NPHY_RfctrlIntc_override_EXT_LNA_GAIN) {
  17810. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17811. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17812. mask = (0x1 << 1);
  17813. val = value << 1;
  17814. mod_phy_reg(pi,
  17815. (core ==
  17816. PHY_CORE_0) ? 0x91
  17817. : 0x92, mask, val);
  17818. mask = (0x1 << 3);
  17819. mod_phy_reg(pi,
  17820. (core ==
  17821. PHY_CORE_0) ? 0x91
  17822. : 0x92, mask, 0);
  17823. } else {
  17824. mask = (0x1 << 3);
  17825. val = value << 3;
  17826. mod_phy_reg(pi,
  17827. (core ==
  17828. PHY_CORE_0) ? 0x91
  17829. : 0x92, mask, val);
  17830. mask = (0x1 << 1);
  17831. mod_phy_reg(pi,
  17832. (core ==
  17833. PHY_CORE_0) ? 0x91
  17834. : 0x92, mask, 0);
  17835. }
  17836. mask = (0x1 << 11);
  17837. val = 1 << 11;
  17838. mod_phy_reg(pi,
  17839. (core ==
  17840. PHY_CORE_0) ? 0x91 : 0x92,
  17841. mask, val);
  17842. } else {
  17843. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17844. mask = (0x1 << 1);
  17845. val = value << 1;
  17846. } else {
  17847. mask = (0x1 << 3);
  17848. val = value << 3;
  17849. }
  17850. mod_phy_reg(pi,
  17851. (core ==
  17852. PHY_CORE_0) ? 0x91 : 0x92,
  17853. mask, val);
  17854. }
  17855. }
  17856. }
  17857. }
  17858. }
  17859. void
  17860. wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower,
  17861. bool debug)
  17862. {
  17863. int gainctrl_loopidx;
  17864. uint core;
  17865. u16 m0m1, curr_m0m1;
  17866. s32 delta_power;
  17867. s32 txpwrindex;
  17868. s32 qdBm_power[2];
  17869. u16 orig_BBConfig;
  17870. u16 phy_saveregs[4];
  17871. u32 freq_test;
  17872. u16 ampl_test = 250;
  17873. uint stepsize;
  17874. bool phyhang_avoid_state = false;
  17875. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17876. stepsize = 2;
  17877. else
  17878. stepsize = 1;
  17879. if (CHSPEC_IS40(pi->radio_chanspec))
  17880. freq_test = 5000;
  17881. else
  17882. freq_test = 2500;
  17883. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17884. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17885. if (pi->phyhang_avoid)
  17886. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17887. phyhang_avoid_state = pi->phyhang_avoid;
  17888. pi->phyhang_avoid = false;
  17889. phy_saveregs[0] = read_phy_reg(pi, 0x91);
  17890. phy_saveregs[1] = read_phy_reg(pi, 0x92);
  17891. phy_saveregs[2] = read_phy_reg(pi, 0xe7);
  17892. phy_saveregs[3] = read_phy_reg(pi, 0xec);
  17893. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 1,
  17894. RADIO_MIMO_CORESEL_CORE1 |
  17895. RADIO_MIMO_CORESEL_CORE2);
  17896. if (!debug) {
  17897. wlc_phy_rfctrlintc_override_nphy(pi,
  17898. NPHY_RfctrlIntc_override_TRSW,
  17899. 0x2, RADIO_MIMO_CORESEL_CORE1);
  17900. wlc_phy_rfctrlintc_override_nphy(pi,
  17901. NPHY_RfctrlIntc_override_TRSW,
  17902. 0x8, RADIO_MIMO_CORESEL_CORE2);
  17903. } else {
  17904. wlc_phy_rfctrlintc_override_nphy(pi,
  17905. NPHY_RfctrlIntc_override_TRSW,
  17906. 0x1, RADIO_MIMO_CORESEL_CORE1);
  17907. wlc_phy_rfctrlintc_override_nphy(pi,
  17908. NPHY_RfctrlIntc_override_TRSW,
  17909. 0x7, RADIO_MIMO_CORESEL_CORE2);
  17910. }
  17911. orig_BBConfig = read_phy_reg(pi, 0x01);
  17912. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  17913. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  17914. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17915. txpwrindex = (s32) pi->nphy_cal_orig_pwr_idx[core];
  17916. for (gainctrl_loopidx = 0; gainctrl_loopidx < 2;
  17917. gainctrl_loopidx++) {
  17918. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17919. false);
  17920. if (core == PHY_CORE_0)
  17921. curr_m0m1 = m0m1 & 0xff00;
  17922. else
  17923. curr_m0m1 = m0m1 & 0x00ff;
  17924. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &curr_m0m1);
  17925. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &curr_m0m1);
  17926. udelay(50);
  17927. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17928. NPHY_CAL_TSSISAMPS);
  17929. pi->nphy_bb_mult_save = 0;
  17930. wlc_phy_stopplayback_nphy(pi);
  17931. delta_power = (dBm_targetpower * 4) - qdBm_power[core];
  17932. txpwrindex -= stepsize * delta_power;
  17933. if (txpwrindex < 0)
  17934. txpwrindex = 0;
  17935. else if (txpwrindex > 127)
  17936. txpwrindex = 127;
  17937. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17938. if (NREV_IS(pi->pubpi.phy_rev, 4) &&
  17939. (pi->srom_fem5g.extpagain == 3)) {
  17940. if (txpwrindex < 30)
  17941. txpwrindex = 30;
  17942. }
  17943. } else {
  17944. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  17945. (pi->srom_fem2g.extpagain == 3)) {
  17946. if (txpwrindex < 50)
  17947. txpwrindex = 50;
  17948. }
  17949. }
  17950. wlc_phy_txpwr_index_nphy(pi, (1 << core),
  17951. (u8) txpwrindex, true);
  17952. }
  17953. pi->nphy_txcal_pwr_idx[core] = (u8) txpwrindex;
  17954. if (debug) {
  17955. u16 radio_gain;
  17956. u16 dbg_m0m1;
  17957. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17958. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17959. false);
  17960. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17961. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &dbg_m0m1);
  17962. udelay(100);
  17963. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17964. NPHY_CAL_TSSISAMPS);
  17965. wlc_phy_table_read_nphy(pi, 7, 1, (0x110 + core), 16,
  17966. &radio_gain);
  17967. mdelay(4000);
  17968. pi->nphy_bb_mult_save = 0;
  17969. wlc_phy_stopplayback_nphy(pi);
  17970. }
  17971. }
  17972. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_txcal_pwr_idx[0], true);
  17973. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_txcal_pwr_idx[1], true);
  17974. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &pi->nphy_txcal_bbmult);
  17975. write_phy_reg(pi, 0x01, orig_BBConfig);
  17976. write_phy_reg(pi, 0x91, phy_saveregs[0]);
  17977. write_phy_reg(pi, 0x92, phy_saveregs[1]);
  17978. write_phy_reg(pi, 0xe7, phy_saveregs[2]);
  17979. write_phy_reg(pi, 0xec, phy_saveregs[3]);
  17980. pi->phyhang_avoid = phyhang_avoid_state;
  17981. if (pi->phyhang_avoid)
  17982. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17983. }
  17984. static void wlc_phy_savecal_nphy(struct brcms_phy *pi)
  17985. {
  17986. void *tbl_ptr;
  17987. int coreNum;
  17988. u16 *txcal_radio_regs = NULL;
  17989. if (pi->phyhang_avoid)
  17990. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17991. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17992. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17993. &pi->calibration_cache.
  17994. rxcal_coeffs_2G);
  17995. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17996. txcal_radio_regs =
  17997. pi->calibration_cache.txcal_radio_regs_2G;
  17998. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17999. pi->calibration_cache.txcal_radio_regs_2G[0] =
  18000. read_radio_reg(pi,
  18001. RADIO_2056_TX_LOFT_FINE_I |
  18002. RADIO_2056_TX0);
  18003. pi->calibration_cache.txcal_radio_regs_2G[1] =
  18004. read_radio_reg(pi,
  18005. RADIO_2056_TX_LOFT_FINE_Q |
  18006. RADIO_2056_TX0);
  18007. pi->calibration_cache.txcal_radio_regs_2G[2] =
  18008. read_radio_reg(pi,
  18009. RADIO_2056_TX_LOFT_FINE_I |
  18010. RADIO_2056_TX1);
  18011. pi->calibration_cache.txcal_radio_regs_2G[3] =
  18012. read_radio_reg(pi,
  18013. RADIO_2056_TX_LOFT_FINE_Q |
  18014. RADIO_2056_TX1);
  18015. pi->calibration_cache.txcal_radio_regs_2G[4] =
  18016. read_radio_reg(pi,
  18017. RADIO_2056_TX_LOFT_COARSE_I |
  18018. RADIO_2056_TX0);
  18019. pi->calibration_cache.txcal_radio_regs_2G[5] =
  18020. read_radio_reg(pi,
  18021. RADIO_2056_TX_LOFT_COARSE_Q |
  18022. RADIO_2056_TX0);
  18023. pi->calibration_cache.txcal_radio_regs_2G[6] =
  18024. read_radio_reg(pi,
  18025. RADIO_2056_TX_LOFT_COARSE_I |
  18026. RADIO_2056_TX1);
  18027. pi->calibration_cache.txcal_radio_regs_2G[7] =
  18028. read_radio_reg(pi,
  18029. RADIO_2056_TX_LOFT_COARSE_Q |
  18030. RADIO_2056_TX1);
  18031. } else {
  18032. pi->calibration_cache.txcal_radio_regs_2G[0] =
  18033. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18034. pi->calibration_cache.txcal_radio_regs_2G[1] =
  18035. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18036. pi->calibration_cache.txcal_radio_regs_2G[2] =
  18037. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18038. pi->calibration_cache.txcal_radio_regs_2G[3] =
  18039. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18040. }
  18041. pi->nphy_iqcal_chanspec_2G = pi->radio_chanspec;
  18042. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18043. } else {
  18044. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  18045. &pi->calibration_cache.
  18046. rxcal_coeffs_5G);
  18047. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18048. txcal_radio_regs =
  18049. pi->calibration_cache.txcal_radio_regs_5G;
  18050. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18051. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18052. read_radio_reg(pi,
  18053. RADIO_2056_TX_LOFT_FINE_I |
  18054. RADIO_2056_TX0);
  18055. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18056. read_radio_reg(pi,
  18057. RADIO_2056_TX_LOFT_FINE_Q |
  18058. RADIO_2056_TX0);
  18059. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18060. read_radio_reg(pi,
  18061. RADIO_2056_TX_LOFT_FINE_I |
  18062. RADIO_2056_TX1);
  18063. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18064. read_radio_reg(pi,
  18065. RADIO_2056_TX_LOFT_FINE_Q |
  18066. RADIO_2056_TX1);
  18067. pi->calibration_cache.txcal_radio_regs_5G[4] =
  18068. read_radio_reg(pi,
  18069. RADIO_2056_TX_LOFT_COARSE_I |
  18070. RADIO_2056_TX0);
  18071. pi->calibration_cache.txcal_radio_regs_5G[5] =
  18072. read_radio_reg(pi,
  18073. RADIO_2056_TX_LOFT_COARSE_Q |
  18074. RADIO_2056_TX0);
  18075. pi->calibration_cache.txcal_radio_regs_5G[6] =
  18076. read_radio_reg(pi,
  18077. RADIO_2056_TX_LOFT_COARSE_I |
  18078. RADIO_2056_TX1);
  18079. pi->calibration_cache.txcal_radio_regs_5G[7] =
  18080. read_radio_reg(pi,
  18081. RADIO_2056_TX_LOFT_COARSE_Q |
  18082. RADIO_2056_TX1);
  18083. } else {
  18084. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18085. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18086. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18087. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18088. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18089. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18090. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18091. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18092. }
  18093. pi->nphy_iqcal_chanspec_5G = pi->radio_chanspec;
  18094. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18095. }
  18096. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18097. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18098. txcal_radio_regs[2 * coreNum] =
  18099. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18100. LOFT_FINE_I);
  18101. txcal_radio_regs[2 * coreNum + 1] =
  18102. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18103. LOFT_FINE_Q);
  18104. txcal_radio_regs[2 * coreNum + 4] =
  18105. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18106. LOFT_COARSE_I);
  18107. txcal_radio_regs[2 * coreNum + 5] =
  18108. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18109. LOFT_COARSE_Q);
  18110. }
  18111. }
  18112. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 8, 80, 16, tbl_ptr);
  18113. if (pi->phyhang_avoid)
  18114. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18115. }
  18116. static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi)
  18117. {
  18118. struct nphy_iq_comp tx_comp;
  18119. wlc_phy_table_read_nphy(pi, 15, 4, 0x50, 16, &tx_comp);
  18120. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0);
  18121. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0);
  18122. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 4, tx_comp.a1);
  18123. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 6, tx_comp.b1);
  18124. }
  18125. static void wlc_phy_restorecal_nphy(struct brcms_phy *pi)
  18126. {
  18127. u16 *loft_comp;
  18128. u16 txcal_coeffs_bphy[4];
  18129. u16 *tbl_ptr;
  18130. int coreNum;
  18131. u16 *txcal_radio_regs = NULL;
  18132. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18133. if (pi->nphy_iqcal_chanspec_2G == 0)
  18134. return;
  18135. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18136. loft_comp = &pi->calibration_cache.txcal_coeffs_2G[5];
  18137. } else {
  18138. if (pi->nphy_iqcal_chanspec_5G == 0)
  18139. return;
  18140. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18141. loft_comp = &pi->calibration_cache.txcal_coeffs_5G[5];
  18142. }
  18143. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80, 16, tbl_ptr);
  18144. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18145. txcal_coeffs_bphy[0] = tbl_ptr[0];
  18146. txcal_coeffs_bphy[1] = tbl_ptr[1];
  18147. txcal_coeffs_bphy[2] = tbl_ptr[2];
  18148. txcal_coeffs_bphy[3] = tbl_ptr[3];
  18149. } else {
  18150. txcal_coeffs_bphy[0] = 0;
  18151. txcal_coeffs_bphy[1] = 0;
  18152. txcal_coeffs_bphy[2] = 0;
  18153. txcal_coeffs_bphy[3] = 0;
  18154. }
  18155. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88, 16,
  18156. txcal_coeffs_bphy);
  18157. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85, 16, loft_comp);
  18158. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93, 16, loft_comp);
  18159. if (NREV_LT(pi->pubpi.phy_rev, 2))
  18160. wlc_phy_tx_iq_war_nphy(pi);
  18161. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18162. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18163. txcal_radio_regs =
  18164. pi->calibration_cache.txcal_radio_regs_2G;
  18165. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18166. write_radio_reg(pi,
  18167. RADIO_2056_TX_LOFT_FINE_I |
  18168. RADIO_2056_TX0,
  18169. pi->calibration_cache.
  18170. txcal_radio_regs_2G[0]);
  18171. write_radio_reg(pi,
  18172. RADIO_2056_TX_LOFT_FINE_Q |
  18173. RADIO_2056_TX0,
  18174. pi->calibration_cache.
  18175. txcal_radio_regs_2G[1]);
  18176. write_radio_reg(pi,
  18177. RADIO_2056_TX_LOFT_FINE_I |
  18178. RADIO_2056_TX1,
  18179. pi->calibration_cache.
  18180. txcal_radio_regs_2G[2]);
  18181. write_radio_reg(pi,
  18182. RADIO_2056_TX_LOFT_FINE_Q |
  18183. RADIO_2056_TX1,
  18184. pi->calibration_cache.
  18185. txcal_radio_regs_2G[3]);
  18186. write_radio_reg(pi,
  18187. RADIO_2056_TX_LOFT_COARSE_I |
  18188. RADIO_2056_TX0,
  18189. pi->calibration_cache.
  18190. txcal_radio_regs_2G[4]);
  18191. write_radio_reg(pi,
  18192. RADIO_2056_TX_LOFT_COARSE_Q |
  18193. RADIO_2056_TX0,
  18194. pi->calibration_cache.
  18195. txcal_radio_regs_2G[5]);
  18196. write_radio_reg(pi,
  18197. RADIO_2056_TX_LOFT_COARSE_I |
  18198. RADIO_2056_TX1,
  18199. pi->calibration_cache.
  18200. txcal_radio_regs_2G[6]);
  18201. write_radio_reg(pi,
  18202. RADIO_2056_TX_LOFT_COARSE_Q |
  18203. RADIO_2056_TX1,
  18204. pi->calibration_cache.
  18205. txcal_radio_regs_2G[7]);
  18206. } else {
  18207. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18208. pi->calibration_cache.
  18209. txcal_radio_regs_2G[0]);
  18210. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18211. pi->calibration_cache.
  18212. txcal_radio_regs_2G[1]);
  18213. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18214. pi->calibration_cache.
  18215. txcal_radio_regs_2G[2]);
  18216. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18217. pi->calibration_cache.
  18218. txcal_radio_regs_2G[3]);
  18219. }
  18220. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18221. &pi->calibration_cache.
  18222. rxcal_coeffs_2G);
  18223. } else {
  18224. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18225. txcal_radio_regs =
  18226. pi->calibration_cache.txcal_radio_regs_5G;
  18227. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18228. write_radio_reg(pi,
  18229. RADIO_2056_TX_LOFT_FINE_I |
  18230. RADIO_2056_TX0,
  18231. pi->calibration_cache.
  18232. txcal_radio_regs_5G[0]);
  18233. write_radio_reg(pi,
  18234. RADIO_2056_TX_LOFT_FINE_Q |
  18235. RADIO_2056_TX0,
  18236. pi->calibration_cache.
  18237. txcal_radio_regs_5G[1]);
  18238. write_radio_reg(pi,
  18239. RADIO_2056_TX_LOFT_FINE_I |
  18240. RADIO_2056_TX1,
  18241. pi->calibration_cache.
  18242. txcal_radio_regs_5G[2]);
  18243. write_radio_reg(pi,
  18244. RADIO_2056_TX_LOFT_FINE_Q |
  18245. RADIO_2056_TX1,
  18246. pi->calibration_cache.
  18247. txcal_radio_regs_5G[3]);
  18248. write_radio_reg(pi,
  18249. RADIO_2056_TX_LOFT_COARSE_I |
  18250. RADIO_2056_TX0,
  18251. pi->calibration_cache.
  18252. txcal_radio_regs_5G[4]);
  18253. write_radio_reg(pi,
  18254. RADIO_2056_TX_LOFT_COARSE_Q |
  18255. RADIO_2056_TX0,
  18256. pi->calibration_cache.
  18257. txcal_radio_regs_5G[5]);
  18258. write_radio_reg(pi,
  18259. RADIO_2056_TX_LOFT_COARSE_I |
  18260. RADIO_2056_TX1,
  18261. pi->calibration_cache.
  18262. txcal_radio_regs_5G[6]);
  18263. write_radio_reg(pi,
  18264. RADIO_2056_TX_LOFT_COARSE_Q |
  18265. RADIO_2056_TX1,
  18266. pi->calibration_cache.
  18267. txcal_radio_regs_5G[7]);
  18268. } else {
  18269. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18270. pi->calibration_cache.
  18271. txcal_radio_regs_5G[0]);
  18272. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18273. pi->calibration_cache.
  18274. txcal_radio_regs_5G[1]);
  18275. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18276. pi->calibration_cache.
  18277. txcal_radio_regs_5G[2]);
  18278. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18279. pi->calibration_cache.
  18280. txcal_radio_regs_5G[3]);
  18281. }
  18282. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18283. &pi->calibration_cache.
  18284. rxcal_coeffs_5G);
  18285. }
  18286. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18287. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18288. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18289. LOFT_FINE_I,
  18290. txcal_radio_regs[2 * coreNum]);
  18291. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18292. LOFT_FINE_Q,
  18293. txcal_radio_regs[2 * coreNum + 1]);
  18294. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18295. LOFT_COARSE_I,
  18296. txcal_radio_regs[2 * coreNum + 4]);
  18297. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18298. LOFT_COARSE_Q,
  18299. txcal_radio_regs[2 * coreNum + 5]);
  18300. }
  18301. }
  18302. }
  18303. static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi)
  18304. {
  18305. u32 idx;
  18306. u16 iqloCalbuf[7];
  18307. u32 iqcomp, locomp, curr_locomp;
  18308. s8 locomp_i, locomp_q;
  18309. s8 curr_locomp_i, curr_locomp_q;
  18310. u32 tbl_id, tbl_len, tbl_offset;
  18311. u32 regval[128];
  18312. if (pi->phyhang_avoid)
  18313. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18314. wlc_phy_table_read_nphy(pi, 15, 7, 80, 16, iqloCalbuf);
  18315. tbl_len = 128;
  18316. tbl_offset = 320;
  18317. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18318. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18319. iqcomp =
  18320. (tbl_id ==
  18321. 26) ? (((u32) (iqloCalbuf[0] & 0x3ff)) << 10) |
  18322. (iqloCalbuf[1] & 0x3ff)
  18323. : (((u32) (iqloCalbuf[2] & 0x3ff)) << 10) |
  18324. (iqloCalbuf[3] & 0x3ff);
  18325. for (idx = 0; idx < tbl_len; idx++)
  18326. regval[idx] = iqcomp;
  18327. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18328. regval);
  18329. }
  18330. tbl_offset = 448;
  18331. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18332. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18333. locomp =
  18334. (u32) ((tbl_id == 26) ? iqloCalbuf[5] : iqloCalbuf[6]);
  18335. locomp_i = (s8) ((locomp >> 8) & 0xff);
  18336. locomp_q = (s8) ((locomp) & 0xff);
  18337. for (idx = 0; idx < tbl_len; idx++) {
  18338. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18339. curr_locomp_i = locomp_i;
  18340. curr_locomp_q = locomp_q;
  18341. } else {
  18342. curr_locomp_i = (s8) ((locomp_i *
  18343. nphy_tpc_loscale[idx] +
  18344. 128) >> 8);
  18345. curr_locomp_q =
  18346. (s8) ((locomp_q *
  18347. nphy_tpc_loscale[idx] +
  18348. 128) >> 8);
  18349. }
  18350. curr_locomp = (u32) ((curr_locomp_i & 0xff) << 8);
  18351. curr_locomp |= (u32) (curr_locomp_q & 0xff);
  18352. regval[idx] = curr_locomp;
  18353. }
  18354. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18355. regval);
  18356. }
  18357. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18358. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX1, 0xFFFF);
  18359. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX2, 0xFFFF);
  18360. }
  18361. if (pi->phyhang_avoid)
  18362. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18363. }
  18364. static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi)
  18365. {
  18366. u8 tx_lpf_bw = 0;
  18367. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18368. if (CHSPEC_IS40(pi->radio_chanspec))
  18369. tx_lpf_bw = 3;
  18370. else
  18371. tx_lpf_bw = 1;
  18372. if (PHY_IPA(pi)) {
  18373. if (CHSPEC_IS40(pi->radio_chanspec))
  18374. tx_lpf_bw = 5;
  18375. else
  18376. tx_lpf_bw = 4;
  18377. }
  18378. write_phy_reg(pi, 0xe8,
  18379. (tx_lpf_bw << 0) |
  18380. (tx_lpf_bw << 3) |
  18381. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18382. if (PHY_IPA(pi)) {
  18383. if (CHSPEC_IS40(pi->radio_chanspec))
  18384. tx_lpf_bw = 4;
  18385. else
  18386. tx_lpf_bw = 1;
  18387. write_phy_reg(pi, 0xe9,
  18388. (tx_lpf_bw << 0) |
  18389. (tx_lpf_bw << 3) |
  18390. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18391. }
  18392. }
  18393. }
  18394. static void
  18395. wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr)
  18396. {
  18397. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18398. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18399. CHSPEC_IS40(pi->radio_chanspec)) {
  18400. if (!pi->nphy_anarxlpf_adjusted) {
  18401. write_radio_reg(pi,
  18402. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18403. RADIO_2056_RX0),
  18404. ((pi->nphy_rccal_value +
  18405. reduction_factr) | 0x80));
  18406. pi->nphy_anarxlpf_adjusted = true;
  18407. }
  18408. } else {
  18409. if (pi->nphy_anarxlpf_adjusted) {
  18410. write_radio_reg(pi,
  18411. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18412. RADIO_2056_RX0),
  18413. (pi->nphy_rccal_value | 0x80));
  18414. pi->nphy_anarxlpf_adjusted = false;
  18415. }
  18416. }
  18417. }
  18418. }
  18419. static void
  18420. wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones,
  18421. int *tone_id_buf, u32 *noise_var_buf)
  18422. {
  18423. int i;
  18424. u32 offset;
  18425. int tone_id;
  18426. int tbllen =
  18427. CHSPEC_IS40(pi->radio_chanspec) ?
  18428. NPHY_NOISEVAR_TBLLEN40 : NPHY_NOISEVAR_TBLLEN20;
  18429. if (pi->nphy_noisevars_adjusted) {
  18430. for (i = 0; i < pi->nphy_saved_noisevars.bufcount; i++) {
  18431. tone_id = pi->nphy_saved_noisevars.tone_id[i];
  18432. offset = (tone_id >= 0) ?
  18433. ((tone_id *
  18434. 2) + 1) : (tbllen + (tone_id * 2) + 1);
  18435. wlc_phy_table_write_nphy(
  18436. pi, NPHY_TBL_ID_NOISEVAR, 1,
  18437. offset, 32,
  18438. &pi->nphy_saved_noisevars.min_noise_vars[i]);
  18439. }
  18440. pi->nphy_saved_noisevars.bufcount = 0;
  18441. pi->nphy_noisevars_adjusted = false;
  18442. }
  18443. if ((noise_var_buf != NULL) && (tone_id_buf != NULL)) {
  18444. pi->nphy_saved_noisevars.bufcount = 0;
  18445. for (i = 0; i < ntones; i++) {
  18446. tone_id = tone_id_buf[i];
  18447. offset = (tone_id >= 0) ?
  18448. ((tone_id * 2) + 1) :
  18449. (tbllen + (tone_id * 2) + 1);
  18450. pi->nphy_saved_noisevars.tone_id[i] = tone_id;
  18451. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18452. offset, 32,
  18453. &pi->nphy_saved_noisevars.
  18454. min_noise_vars[i]);
  18455. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18456. offset, 32, &noise_var_buf[i]);
  18457. pi->nphy_saved_noisevars.bufcount++;
  18458. }
  18459. pi->nphy_noisevars_adjusted = true;
  18460. }
  18461. }
  18462. static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr)
  18463. {
  18464. u16 regval;
  18465. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18466. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18467. CHSPEC_IS40(pi->radio_chanspec)) {
  18468. if (!pi->nphy_crsminpwr_adjusted) {
  18469. regval = read_phy_reg(pi, 0x27d);
  18470. pi->nphy_crsminpwr[0] = regval & 0xff;
  18471. regval &= 0xff00;
  18472. regval |= (u16) minpwr;
  18473. write_phy_reg(pi, 0x27d, regval);
  18474. regval = read_phy_reg(pi, 0x280);
  18475. pi->nphy_crsminpwr[1] = regval & 0xff;
  18476. regval &= 0xff00;
  18477. regval |= (u16) minpwr;
  18478. write_phy_reg(pi, 0x280, regval);
  18479. regval = read_phy_reg(pi, 0x283);
  18480. pi->nphy_crsminpwr[2] = regval & 0xff;
  18481. regval &= 0xff00;
  18482. regval |= (u16) minpwr;
  18483. write_phy_reg(pi, 0x283, regval);
  18484. pi->nphy_crsminpwr_adjusted = true;
  18485. }
  18486. } else {
  18487. if (pi->nphy_crsminpwr_adjusted) {
  18488. regval = read_phy_reg(pi, 0x27d);
  18489. regval &= 0xff00;
  18490. regval |= pi->nphy_crsminpwr[0];
  18491. write_phy_reg(pi, 0x27d, regval);
  18492. regval = read_phy_reg(pi, 0x280);
  18493. regval &= 0xff00;
  18494. regval |= pi->nphy_crsminpwr[1];
  18495. write_phy_reg(pi, 0x280, regval);
  18496. regval = read_phy_reg(pi, 0x283);
  18497. regval &= 0xff00;
  18498. regval |= pi->nphy_crsminpwr[2];
  18499. write_phy_reg(pi, 0x283, regval);
  18500. pi->nphy_crsminpwr_adjusted = false;
  18501. }
  18502. }
  18503. }
  18504. }
  18505. static void wlc_phy_spurwar_nphy(struct brcms_phy *pi)
  18506. {
  18507. u16 cur_channel = 0;
  18508. int nphy_adj_tone_id_buf[] = { 57, 58 };
  18509. u32 nphy_adj_noise_var_buf[] = { 0x3ff, 0x3ff };
  18510. bool isAdjustNoiseVar = false;
  18511. uint numTonesAdjust = 0;
  18512. u32 tempval = 0;
  18513. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18514. if (pi->phyhang_avoid)
  18515. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18516. cur_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  18517. if (pi->nphy_gband_spurwar_en) {
  18518. wlc_phy_adjust_rx_analpfbw_nphy(
  18519. pi,
  18520. NPHY_ANARXLPFBW_REDUCTIONFACT);
  18521. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18522. if ((cur_channel == 11)
  18523. && CHSPEC_IS40(pi->radio_chanspec))
  18524. wlc_phy_adjust_min_noisevar_nphy(
  18525. pi, 2,
  18526. nphy_adj_tone_id_buf,
  18527. nphy_adj_noise_var_buf);
  18528. else
  18529. wlc_phy_adjust_min_noisevar_nphy(pi, 0,
  18530. NULL,
  18531. NULL);
  18532. }
  18533. wlc_phy_adjust_crsminpwr_nphy(pi,
  18534. NPHY_ADJUSTED_MINCRSPOWER);
  18535. }
  18536. if ((pi->nphy_gband_spurwar2_en)
  18537. && CHSPEC_IS2G(pi->radio_chanspec)) {
  18538. if (CHSPEC_IS40(pi->radio_chanspec)) {
  18539. switch (cur_channel) {
  18540. case 3:
  18541. nphy_adj_tone_id_buf[0] = 57;
  18542. nphy_adj_tone_id_buf[1] = 58;
  18543. nphy_adj_noise_var_buf[0] = 0x22f;
  18544. nphy_adj_noise_var_buf[1] = 0x25f;
  18545. isAdjustNoiseVar = true;
  18546. break;
  18547. case 4:
  18548. nphy_adj_tone_id_buf[0] = 41;
  18549. nphy_adj_tone_id_buf[1] = 42;
  18550. nphy_adj_noise_var_buf[0] = 0x22f;
  18551. nphy_adj_noise_var_buf[1] = 0x25f;
  18552. isAdjustNoiseVar = true;
  18553. break;
  18554. case 5:
  18555. nphy_adj_tone_id_buf[0] = 25;
  18556. nphy_adj_tone_id_buf[1] = 26;
  18557. nphy_adj_noise_var_buf[0] = 0x24f;
  18558. nphy_adj_noise_var_buf[1] = 0x25f;
  18559. isAdjustNoiseVar = true;
  18560. break;
  18561. case 6:
  18562. nphy_adj_tone_id_buf[0] = 9;
  18563. nphy_adj_tone_id_buf[1] = 10;
  18564. nphy_adj_noise_var_buf[0] = 0x22f;
  18565. nphy_adj_noise_var_buf[1] = 0x24f;
  18566. isAdjustNoiseVar = true;
  18567. break;
  18568. case 7:
  18569. nphy_adj_tone_id_buf[0] = 121;
  18570. nphy_adj_tone_id_buf[1] = 122;
  18571. nphy_adj_noise_var_buf[0] = 0x18f;
  18572. nphy_adj_noise_var_buf[1] = 0x24f;
  18573. isAdjustNoiseVar = true;
  18574. break;
  18575. case 8:
  18576. nphy_adj_tone_id_buf[0] = 105;
  18577. nphy_adj_tone_id_buf[1] = 106;
  18578. nphy_adj_noise_var_buf[0] = 0x22f;
  18579. nphy_adj_noise_var_buf[1] = 0x25f;
  18580. isAdjustNoiseVar = true;
  18581. break;
  18582. case 9:
  18583. nphy_adj_tone_id_buf[0] = 89;
  18584. nphy_adj_tone_id_buf[1] = 90;
  18585. nphy_adj_noise_var_buf[0] = 0x22f;
  18586. nphy_adj_noise_var_buf[1] = 0x24f;
  18587. isAdjustNoiseVar = true;
  18588. break;
  18589. case 10:
  18590. nphy_adj_tone_id_buf[0] = 73;
  18591. nphy_adj_tone_id_buf[1] = 74;
  18592. nphy_adj_noise_var_buf[0] = 0x22f;
  18593. nphy_adj_noise_var_buf[1] = 0x24f;
  18594. isAdjustNoiseVar = true;
  18595. break;
  18596. default:
  18597. isAdjustNoiseVar = false;
  18598. break;
  18599. }
  18600. }
  18601. if (isAdjustNoiseVar) {
  18602. numTonesAdjust = sizeof(nphy_adj_tone_id_buf) /
  18603. sizeof(nphy_adj_tone_id_buf[0]);
  18604. wlc_phy_adjust_min_noisevar_nphy(
  18605. pi,
  18606. numTonesAdjust,
  18607. nphy_adj_tone_id_buf,
  18608. nphy_adj_noise_var_buf);
  18609. tempval = 0;
  18610. } else {
  18611. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18612. NULL);
  18613. }
  18614. }
  18615. if ((pi->nphy_aband_spurwar_en) &&
  18616. (CHSPEC_IS5G(pi->radio_chanspec))) {
  18617. switch (cur_channel) {
  18618. case 54:
  18619. nphy_adj_tone_id_buf[0] = 32;
  18620. nphy_adj_noise_var_buf[0] = 0x25f;
  18621. break;
  18622. case 38:
  18623. case 102:
  18624. case 118:
  18625. nphy_adj_tone_id_buf[0] = 0;
  18626. nphy_adj_noise_var_buf[0] = 0x0;
  18627. break;
  18628. case 134:
  18629. nphy_adj_tone_id_buf[0] = 32;
  18630. nphy_adj_noise_var_buf[0] = 0x21f;
  18631. break;
  18632. case 151:
  18633. nphy_adj_tone_id_buf[0] = 16;
  18634. nphy_adj_noise_var_buf[0] = 0x23f;
  18635. break;
  18636. case 153:
  18637. case 161:
  18638. nphy_adj_tone_id_buf[0] = 48;
  18639. nphy_adj_noise_var_buf[0] = 0x23f;
  18640. break;
  18641. default:
  18642. nphy_adj_tone_id_buf[0] = 0;
  18643. nphy_adj_noise_var_buf[0] = 0x0;
  18644. break;
  18645. }
  18646. if (nphy_adj_tone_id_buf[0]
  18647. && nphy_adj_noise_var_buf[0])
  18648. wlc_phy_adjust_min_noisevar_nphy(
  18649. pi, 1,
  18650. nphy_adj_tone_id_buf,
  18651. nphy_adj_noise_var_buf);
  18652. else
  18653. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18654. NULL);
  18655. }
  18656. if (pi->phyhang_avoid)
  18657. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18658. }
  18659. }
  18660. void wlc_phy_init_nphy(struct brcms_phy *pi)
  18661. {
  18662. u16 val;
  18663. u16 clip1_ths[2];
  18664. struct nphy_txgains target_gain;
  18665. u8 tx_pwr_ctrl_state;
  18666. bool do_nphy_cal = false;
  18667. uint core;
  18668. u32 d11_clk_ctl_st;
  18669. bool do_rssi_cal = false;
  18670. core = 0;
  18671. if (!(pi->measure_hold & PHY_HOLD_FOR_SCAN))
  18672. pi->measure_hold |= PHY_HOLD_FOR_NOT_ASSOC;
  18673. if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) &&
  18674. ((pi->sh->chippkg == BCM4717_PKG_ID) ||
  18675. (pi->sh->chippkg == BCM4718_PKG_ID))) {
  18676. if ((pi->sh->boardflags & BFL_EXTLNA) &&
  18677. (CHSPEC_IS2G(pi->radio_chanspec)))
  18678. ai_cc_reg(pi->sh->sih,
  18679. offsetof(struct chipcregs, chipcontrol),
  18680. 0x40, 0x40);
  18681. }
  18682. if ((pi->nphy_gband_spurwar2_en) && CHSPEC_IS2G(pi->radio_chanspec) &&
  18683. CHSPEC_IS40(pi->radio_chanspec)) {
  18684. d11_clk_ctl_st = bcma_read32(pi->d11core,
  18685. D11REGOFFS(clk_ctl_st));
  18686. bcma_mask32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18687. ~(CCS_FORCEHT | CCS_HTAREQ));
  18688. bcma_write32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18689. d11_clk_ctl_st);
  18690. }
  18691. pi->use_int_tx_iqlo_cal_nphy =
  18692. (PHY_IPA(pi) ||
  18693. (NREV_GE(pi->pubpi.phy_rev, 7) ||
  18694. (NREV_GE(pi->pubpi.phy_rev, 5)
  18695. && pi->sh->boardflags2 & BFL2_INTERNDET_TXIQCAL)));
  18696. pi->internal_tx_iqlo_cal_tapoff_intpa_nphy = false;
  18697. pi->nphy_deaf_count = 0;
  18698. wlc_phy_tbl_init_nphy(pi);
  18699. pi->nphy_crsminpwr_adjusted = false;
  18700. pi->nphy_noisevars_adjusted = false;
  18701. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18702. write_phy_reg(pi, 0xe7, 0);
  18703. write_phy_reg(pi, 0xec, 0);
  18704. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18705. write_phy_reg(pi, 0x342, 0);
  18706. write_phy_reg(pi, 0x343, 0);
  18707. write_phy_reg(pi, 0x346, 0);
  18708. write_phy_reg(pi, 0x347, 0);
  18709. }
  18710. write_phy_reg(pi, 0xe5, 0);
  18711. write_phy_reg(pi, 0xe6, 0);
  18712. } else {
  18713. write_phy_reg(pi, 0xec, 0);
  18714. }
  18715. write_phy_reg(pi, 0x91, 0);
  18716. write_phy_reg(pi, 0x92, 0);
  18717. if (NREV_LT(pi->pubpi.phy_rev, 6)) {
  18718. write_phy_reg(pi, 0x93, 0);
  18719. write_phy_reg(pi, 0x94, 0);
  18720. }
  18721. and_phy_reg(pi, 0xa1, ~3);
  18722. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18723. write_phy_reg(pi, 0x8f, 0);
  18724. write_phy_reg(pi, 0xa5, 0);
  18725. } else {
  18726. write_phy_reg(pi, 0xa5, 0);
  18727. }
  18728. if (NREV_IS(pi->pubpi.phy_rev, 2))
  18729. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  18730. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  18731. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  18732. write_phy_reg(pi, 0x203, 32);
  18733. write_phy_reg(pi, 0x201, 32);
  18734. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD)
  18735. write_phy_reg(pi, 0x20d, 160);
  18736. else
  18737. write_phy_reg(pi, 0x20d, 184);
  18738. write_phy_reg(pi, 0x13a, 200);
  18739. write_phy_reg(pi, 0x70, 80);
  18740. write_phy_reg(pi, 0x1ff, 48);
  18741. if (NREV_LT(pi->pubpi.phy_rev, 8))
  18742. wlc_phy_update_mimoconfig_nphy(pi, pi->n_preamble_override);
  18743. wlc_phy_stf_chain_upd_nphy(pi);
  18744. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18745. write_phy_reg(pi, 0x180, 0xaa8);
  18746. write_phy_reg(pi, 0x181, 0x9a4);
  18747. }
  18748. if (PHY_IPA(pi)) {
  18749. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  18750. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  18751. 0x29b, (0x1 << 0), (1) << 0);
  18752. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x298 :
  18753. 0x29c, (0x1ff << 7),
  18754. (pi->nphy_papd_epsilon_offset[core]) << 7);
  18755. }
  18756. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  18757. } else if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  18758. wlc_phy_extpa_set_tx_digi_filts_nphy(pi);
  18759. }
  18760. wlc_phy_workarounds_nphy(pi);
  18761. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18762. val = read_phy_reg(pi, 0x01);
  18763. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18764. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18765. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18766. wlapi_bmac_macphyclk_set(pi->sh->physhim, ON);
  18767. wlc_phy_pa_override_nphy(pi, OFF);
  18768. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  18769. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18770. wlc_phy_pa_override_nphy(pi, ON);
  18771. wlc_phy_classifier_nphy(pi, 0, 0);
  18772. wlc_phy_clip_det_nphy(pi, 0, clip1_ths);
  18773. if (CHSPEC_IS2G(pi->radio_chanspec))
  18774. wlc_phy_bphy_init_nphy(pi);
  18775. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  18776. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  18777. wlc_phy_txpwr_fixpower_nphy(pi);
  18778. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  18779. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  18780. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18781. u32 *tx_pwrctrl_tbl = NULL;
  18782. u16 idx;
  18783. s16 pga_gn = 0;
  18784. s16 pad_gn = 0;
  18785. s32 rfpwr_offset;
  18786. if (PHY_IPA(pi)) {
  18787. tx_pwrctrl_tbl = wlc_phy_get_ipa_gaintbl_nphy(pi);
  18788. } else {
  18789. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  18790. if (NREV_IS(pi->pubpi.phy_rev, 3))
  18791. tx_pwrctrl_tbl =
  18792. nphy_tpc_5GHz_txgain_rev3;
  18793. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  18794. tx_pwrctrl_tbl =
  18795. (pi->srom_fem5g.extpagain ==
  18796. 3) ?
  18797. nphy_tpc_5GHz_txgain_HiPwrEPA :
  18798. nphy_tpc_5GHz_txgain_rev4;
  18799. else
  18800. tx_pwrctrl_tbl =
  18801. nphy_tpc_5GHz_txgain_rev5;
  18802. } else {
  18803. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18804. if (pi->pubpi.radiorev == 5)
  18805. tx_pwrctrl_tbl =
  18806. nphy_tpc_txgain_epa_2057rev5;
  18807. else if (pi->pubpi.radiorev == 3)
  18808. tx_pwrctrl_tbl =
  18809. nphy_tpc_txgain_epa_2057rev3;
  18810. } else {
  18811. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  18812. (pi->srom_fem2g.extpagain == 3))
  18813. tx_pwrctrl_tbl =
  18814. nphy_tpc_txgain_HiPwrEPA;
  18815. else
  18816. tx_pwrctrl_tbl =
  18817. nphy_tpc_txgain_rev3;
  18818. }
  18819. }
  18820. }
  18821. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18822. 192, 32, tx_pwrctrl_tbl);
  18823. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18824. 192, 32, tx_pwrctrl_tbl);
  18825. pi->nphy_gmval = (u16) ((*tx_pwrctrl_tbl >> 16) & 0x7000);
  18826. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18827. for (idx = 0; idx < 128; idx++) {
  18828. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18829. pad_gn = (tx_pwrctrl_tbl[idx] >> 19) & 0x1f;
  18830. rfpwr_offset = get_rf_pwr_offset(pi, pga_gn,
  18831. pad_gn);
  18832. wlc_phy_table_write_nphy(
  18833. pi,
  18834. NPHY_TBL_ID_CORE1TXPWRCTL,
  18835. 1, 576 + idx, 32,
  18836. &rfpwr_offset);
  18837. wlc_phy_table_write_nphy(
  18838. pi,
  18839. NPHY_TBL_ID_CORE2TXPWRCTL,
  18840. 1, 576 + idx, 32,
  18841. &rfpwr_offset);
  18842. }
  18843. } else {
  18844. for (idx = 0; idx < 128; idx++) {
  18845. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18846. if (CHSPEC_IS2G(pi->radio_chanspec))
  18847. rfpwr_offset = (s16)
  18848. nphy_papd_pga_gain_delta_ipa_2g
  18849. [pga_gn];
  18850. else
  18851. rfpwr_offset = (s16)
  18852. nphy_papd_pga_gain_delta_ipa_5g
  18853. [pga_gn];
  18854. wlc_phy_table_write_nphy(
  18855. pi,
  18856. NPHY_TBL_ID_CORE1TXPWRCTL,
  18857. 1, 576 + idx, 32,
  18858. &rfpwr_offset);
  18859. wlc_phy_table_write_nphy(
  18860. pi,
  18861. NPHY_TBL_ID_CORE2TXPWRCTL,
  18862. 1, 576 + idx, 32,
  18863. &rfpwr_offset);
  18864. }
  18865. }
  18866. } else {
  18867. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18868. 192, 32, nphy_tpc_txgain);
  18869. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18870. 192, 32, nphy_tpc_txgain);
  18871. }
  18872. if (pi->sh->phyrxchain != 0x3)
  18873. wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
  18874. pi->sh->phyrxchain);
  18875. if (PHY_PERICAL_MPHASE_PENDING(pi))
  18876. wlc_phy_cal_perical_mphase_restart(pi);
  18877. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18878. do_rssi_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18879. (pi->nphy_rssical_chanspec_2G == 0) :
  18880. (pi->nphy_rssical_chanspec_5G == 0);
  18881. if (do_rssi_cal)
  18882. wlc_phy_rssi_cal_nphy(pi);
  18883. else
  18884. wlc_phy_restore_rssical_nphy(pi);
  18885. } else {
  18886. wlc_phy_rssi_cal_nphy(pi);
  18887. }
  18888. if (!SCAN_RM_IN_PROGRESS(pi))
  18889. do_nphy_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18890. (pi->nphy_iqcal_chanspec_2G == 0) :
  18891. (pi->nphy_iqcal_chanspec_5G == 0);
  18892. if (!pi->do_initcal)
  18893. do_nphy_cal = false;
  18894. if (do_nphy_cal) {
  18895. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  18896. if (pi->antsel_type == ANTSEL_2x3)
  18897. wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
  18898. true);
  18899. if (pi->nphy_perical != PHY_PERICAL_MPHASE) {
  18900. wlc_phy_rssi_cal_nphy(pi);
  18901. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18902. pi->nphy_cal_orig_pwr_idx[0] =
  18903. pi->nphy_txpwrindex[PHY_CORE_0]
  18904. .
  18905. index_internal;
  18906. pi->nphy_cal_orig_pwr_idx[1] =
  18907. pi->nphy_txpwrindex[PHY_CORE_1]
  18908. .
  18909. index_internal;
  18910. wlc_phy_precal_txgain_nphy(pi);
  18911. target_gain =
  18912. wlc_phy_get_tx_gain_nphy(pi);
  18913. }
  18914. if (wlc_phy_cal_txiqlo_nphy
  18915. (pi, target_gain, true,
  18916. false) == 0) {
  18917. if (wlc_phy_cal_rxiq_nphy
  18918. (pi, target_gain, 2,
  18919. false) == 0)
  18920. wlc_phy_savecal_nphy(pi);
  18921. }
  18922. } else if (pi->mphase_cal_phase_id ==
  18923. MPHASE_CAL_STATE_IDLE) {
  18924. wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
  18925. PHY_PERICAL_PHYINIT);
  18926. }
  18927. } else {
  18928. wlc_phy_restorecal_nphy(pi);
  18929. }
  18930. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  18931. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  18932. wlc_phy_nphy_tkip_rifs_war(pi, pi->sh->_rifs_phy);
  18933. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6))
  18934. write_phy_reg(pi, 0x70, 50);
  18935. wlc_phy_txlpfbw_nphy(pi);
  18936. wlc_phy_spurwar_nphy(pi);
  18937. }
  18938. static void wlc_phy_resetcca_nphy(struct brcms_phy *pi)
  18939. {
  18940. u16 val;
  18941. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18942. val = read_phy_reg(pi, 0x01);
  18943. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18944. udelay(1);
  18945. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18946. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18947. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18948. }
  18949. void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en)
  18950. {
  18951. u16 rfctrlintc_override_val;
  18952. if (!en) {
  18953. pi->rfctrlIntc1_save = read_phy_reg(pi, 0x91);
  18954. pi->rfctrlIntc2_save = read_phy_reg(pi, 0x92);
  18955. if (NREV_GE(pi->pubpi.phy_rev, 7))
  18956. rfctrlintc_override_val = 0x1480;
  18957. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  18958. rfctrlintc_override_val =
  18959. CHSPEC_IS5G(pi->radio_chanspec) ? 0x600 : 0x480;
  18960. else
  18961. rfctrlintc_override_val =
  18962. CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  18963. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  18964. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  18965. } else {
  18966. write_phy_reg(pi, 0x91, pi->rfctrlIntc1_save);
  18967. write_phy_reg(pi, 0x92, pi->rfctrlIntc2_save);
  18968. }
  18969. }
  18970. void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi)
  18971. {
  18972. u16 txrx_chain =
  18973. (NPHY_RfseqCoreActv_TxRxChain0 | NPHY_RfseqCoreActv_TxRxChain1);
  18974. bool CoreActv_override = false;
  18975. if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN0) {
  18976. txrx_chain = NPHY_RfseqCoreActv_TxRxChain0;
  18977. CoreActv_override = true;
  18978. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18979. and_phy_reg(pi, 0xa0, ~0x20);
  18980. } else if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN1) {
  18981. txrx_chain = NPHY_RfseqCoreActv_TxRxChain1;
  18982. CoreActv_override = true;
  18983. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18984. or_phy_reg(pi, 0xa0, 0x20);
  18985. }
  18986. mod_phy_reg(pi, 0xa2, ((0xf << 0) | (0xf << 4)), txrx_chain);
  18987. if (CoreActv_override) {
  18988. pi->nphy_perical = PHY_PERICAL_DISABLE;
  18989. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  18990. } else {
  18991. pi->nphy_perical = PHY_PERICAL_MPHASE;
  18992. and_phy_reg(pi, 0xa1, ~NPHY_RfseqMode_CoreActv_override);
  18993. }
  18994. }
  18995. void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
  18996. {
  18997. u16 regval;
  18998. u16 tbl_buf[16];
  18999. uint i;
  19000. struct brcms_phy *pi = (struct brcms_phy *) pih;
  19001. u16 tbl_opcode;
  19002. bool suspend;
  19003. pi->sh->phyrxchain = rxcore_bitmask;
  19004. if (!pi->sh->clk)
  19005. return;
  19006. suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  19007. MCTL_EN_MAC));
  19008. if (!suspend)
  19009. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  19010. if (pi->phyhang_avoid)
  19011. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  19012. regval = read_phy_reg(pi, 0xa2);
  19013. regval &= ~(0xf << 4);
  19014. regval |= ((u16) (rxcore_bitmask & 0x3)) << 4;
  19015. write_phy_reg(pi, 0xa2, regval);
  19016. if ((rxcore_bitmask & 0x3) != 0x3) {
  19017. write_phy_reg(pi, 0x20e, 1);
  19018. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19019. if (pi->rx2tx_biasentry == -1) {
  19020. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19021. ARRAY_SIZE(tbl_buf), 80,
  19022. 16, tbl_buf);
  19023. for (i = 0; i < ARRAY_SIZE(tbl_buf); i++) {
  19024. if (tbl_buf[i] ==
  19025. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS) {
  19026. pi->rx2tx_biasentry = (u8) i;
  19027. tbl_opcode =
  19028. NPHY_REV3_RFSEQ_CMD_NOP;
  19029. wlc_phy_table_write_nphy(
  19030. pi,
  19031. NPHY_TBL_ID_RFSEQ,
  19032. 1, i,
  19033. 16,
  19034. &tbl_opcode);
  19035. break;
  19036. } else if (tbl_buf[i] ==
  19037. NPHY_REV3_RFSEQ_CMD_END)
  19038. break;
  19039. }
  19040. }
  19041. }
  19042. } else {
  19043. write_phy_reg(pi, 0x20e, 30);
  19044. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19045. if (pi->rx2tx_biasentry != -1) {
  19046. tbl_opcode = NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS;
  19047. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19048. 1, pi->rx2tx_biasentry,
  19049. 16, &tbl_opcode);
  19050. pi->rx2tx_biasentry = -1;
  19051. }
  19052. }
  19053. }
  19054. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  19055. if (pi->phyhang_avoid)
  19056. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  19057. if (!suspend)
  19058. wlapi_enable_mac(pi->sh->physhim);
  19059. }
  19060. u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
  19061. {
  19062. u16 regval, rxen_bits;
  19063. struct brcms_phy *pi = (struct brcms_phy *) pih;
  19064. regval = read_phy_reg(pi, 0xa2);
  19065. rxen_bits = (regval >> 4) & 0xf;
  19066. return (u8) rxen_bits;
  19067. }
  19068. bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi)
  19069. {
  19070. return PHY_IPA(pi);
  19071. }
  19072. void wlc_phy_cal_init_nphy(struct brcms_phy *pi)
  19073. {
  19074. }
  19075. static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi)
  19076. {
  19077. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19078. and_phy_reg(pi, 0x78, RFCC_OE_POR_FORCE);
  19079. or_phy_reg(pi, 0x78, ~RFCC_OE_POR_FORCE);
  19080. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU);
  19081. }
  19082. static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
  19083. {
  19084. struct radio_20xx_regs *regs_2057_ptr = NULL;
  19085. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19086. regs_2057_ptr = regs_2057_rev4;
  19087. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19088. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19089. switch (pi->pubpi.radiorev) {
  19090. case 5:
  19091. if (pi->pubpi.radiover == 0x0)
  19092. regs_2057_ptr = regs_2057_rev5;
  19093. else if (pi->pubpi.radiover == 0x1)
  19094. regs_2057_ptr = regs_2057_rev5v1;
  19095. else
  19096. break;
  19097. case 7:
  19098. regs_2057_ptr = regs_2057_rev7;
  19099. break;
  19100. case 8:
  19101. regs_2057_ptr = regs_2057_rev8;
  19102. break;
  19103. default:
  19104. break;
  19105. }
  19106. }
  19107. wlc_phy_init_radio_regs_allbands(pi, regs_2057_ptr);
  19108. }
  19109. static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi)
  19110. {
  19111. u16 rcal_reg = 0;
  19112. int i;
  19113. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19114. if (pi->pubpi.radiorev == 5) {
  19115. and_phy_reg(pi, 0x342, ~(0x1 << 1));
  19116. udelay(10);
  19117. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x1);
  19118. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19119. 0x1);
  19120. }
  19121. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x1);
  19122. udelay(10);
  19123. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x3, 0x3);
  19124. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19125. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS);
  19126. if (rcal_reg & 0x1)
  19127. break;
  19128. udelay(100);
  19129. }
  19130. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19131. "HW error: radio calib2"))
  19132. return 0;
  19133. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x2, 0x0);
  19134. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS) & 0x3e;
  19135. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x0);
  19136. if (pi->pubpi.radiorev == 5) {
  19137. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x0);
  19138. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19139. 0x0);
  19140. }
  19141. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19142. mod_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x3c,
  19143. rcal_reg);
  19144. mod_radio_reg(pi, RADIO_2057_BANDGAP_RCAL_TRIM, 0xf0,
  19145. rcal_reg << 2);
  19146. }
  19147. } else if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19148. u16 savereg;
  19149. savereg =
  19150. read_radio_reg(
  19151. pi,
  19152. RADIO_2056_SYN_PLL_MAST2 |
  19153. RADIO_2056_SYN);
  19154. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19155. savereg | 0x7);
  19156. udelay(10);
  19157. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19158. 0x1);
  19159. udelay(10);
  19160. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19161. 0x9);
  19162. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19163. rcal_reg = read_radio_reg(
  19164. pi,
  19165. RADIO_2056_SYN_RCAL_CODE_OUT |
  19166. RADIO_2056_SYN);
  19167. if (rcal_reg & 0x80)
  19168. break;
  19169. udelay(100);
  19170. }
  19171. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19172. "HW error: radio calib3"))
  19173. return 0;
  19174. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19175. 0x1);
  19176. rcal_reg =
  19177. read_radio_reg(pi,
  19178. RADIO_2056_SYN_RCAL_CODE_OUT |
  19179. RADIO_2056_SYN);
  19180. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19181. 0x0);
  19182. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19183. savereg);
  19184. return rcal_reg & 0x1f;
  19185. }
  19186. return rcal_reg & 0x3e;
  19187. }
  19188. static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi)
  19189. {
  19190. u16 rccal_valid;
  19191. int i;
  19192. bool chip43226_6362A0;
  19193. chip43226_6362A0 = ((pi->pubpi.radiorev == 3)
  19194. || (pi->pubpi.radiorev == 4)
  19195. || (pi->pubpi.radiorev == 6));
  19196. rccal_valid = 0;
  19197. if (chip43226_6362A0) {
  19198. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x61);
  19199. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xc0);
  19200. } else {
  19201. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x61);
  19202. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xe9);
  19203. }
  19204. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19205. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19206. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19207. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19208. if (rccal_valid & 0x2)
  19209. break;
  19210. udelay(500);
  19211. }
  19212. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19213. rccal_valid = 0;
  19214. if (chip43226_6362A0) {
  19215. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x69);
  19216. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19217. } else {
  19218. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x69);
  19219. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xd5);
  19220. }
  19221. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19222. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19223. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19224. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19225. if (rccal_valid & 0x2)
  19226. break;
  19227. udelay(500);
  19228. }
  19229. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19230. rccal_valid = 0;
  19231. if (chip43226_6362A0) {
  19232. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x73);
  19233. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x28);
  19234. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19235. } else {
  19236. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x73);
  19237. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19238. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0x99);
  19239. }
  19240. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19241. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19242. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19243. if (rccal_valid & 0x2)
  19244. break;
  19245. udelay(500);
  19246. }
  19247. if (WARN(!(rccal_valid & 0x2), "HW error: radio calib4"))
  19248. return 0;
  19249. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19250. return rccal_valid;
  19251. }
  19252. static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi)
  19253. {
  19254. mod_radio_reg(pi, RADIO_2057_XTALPUOVR_PINCTRL, 0x1, 0x1);
  19255. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x78);
  19256. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x80);
  19257. mdelay(2);
  19258. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x0);
  19259. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x0);
  19260. if (pi->phy_init_por) {
  19261. wlc_phy_radio205x_rcal(pi);
  19262. wlc_phy_radio2057_rccal(pi);
  19263. }
  19264. mod_radio_reg(pi, RADIO_2057_RFPLL_MASTER, 0x8, 0x0);
  19265. }
  19266. static void wlc_phy_radio_init_2056(struct brcms_phy *pi)
  19267. {
  19268. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19269. const struct radio_regs *regs_TX_2056_ptr = NULL;
  19270. const struct radio_regs *regs_RX_2056_ptr = NULL;
  19271. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19272. regs_SYN_2056_ptr = regs_SYN_2056;
  19273. regs_TX_2056_ptr = regs_TX_2056;
  19274. regs_RX_2056_ptr = regs_RX_2056;
  19275. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19276. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19277. regs_TX_2056_ptr = regs_TX_2056_A1;
  19278. regs_RX_2056_ptr = regs_RX_2056_A1;
  19279. } else {
  19280. switch (pi->pubpi.radiorev) {
  19281. case 5:
  19282. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19283. regs_TX_2056_ptr = regs_TX_2056_rev5;
  19284. regs_RX_2056_ptr = regs_RX_2056_rev5;
  19285. break;
  19286. case 6:
  19287. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19288. regs_TX_2056_ptr = regs_TX_2056_rev6;
  19289. regs_RX_2056_ptr = regs_RX_2056_rev6;
  19290. break;
  19291. case 7:
  19292. case 9:
  19293. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19294. regs_TX_2056_ptr = regs_TX_2056_rev7;
  19295. regs_RX_2056_ptr = regs_RX_2056_rev7;
  19296. break;
  19297. case 8:
  19298. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19299. regs_TX_2056_ptr = regs_TX_2056_rev8;
  19300. regs_RX_2056_ptr = regs_RX_2056_rev8;
  19301. break;
  19302. case 11:
  19303. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19304. regs_TX_2056_ptr = regs_TX_2056_rev11;
  19305. regs_RX_2056_ptr = regs_RX_2056_rev11;
  19306. break;
  19307. default:
  19308. break;
  19309. }
  19310. }
  19311. wlc_phy_init_radio_regs(pi, regs_SYN_2056_ptr, (u16) RADIO_2056_SYN);
  19312. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX0);
  19313. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX1);
  19314. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX0);
  19315. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX1);
  19316. }
  19317. static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi)
  19318. {
  19319. mod_radio_reg(pi, RADIO_2056_SYN_COM_CTRL, 0xb, 0xb);
  19320. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x2);
  19321. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x2);
  19322. udelay(1000);
  19323. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x0);
  19324. if ((pi->sh->boardflags2 & BFL2_LEGACY)
  19325. || (pi->sh->boardflags2 & BFL2_XTALBUFOUTEN))
  19326. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xf4, 0x0);
  19327. else
  19328. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xfc, 0x0);
  19329. mod_radio_reg(pi, RADIO_2056_SYN_RCCAL_CTRL0, 0x1, 0x0);
  19330. if (pi->phy_init_por)
  19331. wlc_phy_radio205x_rcal(pi);
  19332. }
  19333. static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi)
  19334. {
  19335. and_phy_reg(pi, 0x78, ~RFCC_POR_FORCE);
  19336. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU | RFCC_OE_POR_FORCE);
  19337. or_phy_reg(pi, 0x78, RFCC_POR_FORCE);
  19338. }
  19339. static void wlc_phy_radio_init_2055(struct brcms_phy *pi)
  19340. {
  19341. wlc_phy_init_radio_regs(pi, regs_2055, RADIO_DEFAULT_CORE);
  19342. }
  19343. static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi)
  19344. {
  19345. and_radio_reg(pi, RADIO_2055_MASTER_CNTRL1,
  19346. ~(RADIO_2055_JTAGCTRL_MASK | RADIO_2055_JTAGSYNC_MASK));
  19347. if (((pi->sh->sromrev >= 4)
  19348. && !(pi->sh->boardflags2 & BFL2_RXBB_INT_REG_DIS))
  19349. || ((pi->sh->sromrev < 4))) {
  19350. and_radio_reg(pi, RADIO_2055_CORE1_RXBB_REGULATOR, 0x7F);
  19351. and_radio_reg(pi, RADIO_2055_CORE2_RXBB_REGULATOR, 0x7F);
  19352. }
  19353. mod_radio_reg(pi, RADIO_2055_RRCCAL_N_OPT_SEL, 0x3F, 0x2C);
  19354. write_radio_reg(pi, RADIO_2055_CAL_MISC, 0x3C);
  19355. and_radio_reg(pi, RADIO_2055_CAL_MISC,
  19356. ~(RADIO_2055_RRCAL_START | RADIO_2055_RRCAL_RST_N));
  19357. or_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL, RADIO_2055_CAL_LPO_ENABLE);
  19358. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_RST_N);
  19359. udelay(1000);
  19360. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_START);
  19361. SPINWAIT(((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19362. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE), 2000);
  19363. if (WARN((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19364. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE,
  19365. "HW error: radio calibration1\n"))
  19366. return;
  19367. and_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL,
  19368. ~(RADIO_2055_CAL_LPO_ENABLE));
  19369. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
  19370. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_LPF, 9);
  19371. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_LPF, 9);
  19372. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_MIDAC_HIPAS, 0x83);
  19373. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_MIDAC_HIPAS, 0x83);
  19374. mod_radio_reg(pi, RADIO_2055_CORE1_LNA_GAINBST,
  19375. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19376. mod_radio_reg(pi, RADIO_2055_CORE2_LNA_GAINBST,
  19377. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19378. if (pi->nphy_gain_boost) {
  19379. and_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19380. ~(RADIO_2055_GAINBST_DISABLE));
  19381. and_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19382. ~(RADIO_2055_GAINBST_DISABLE));
  19383. } else {
  19384. or_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19385. RADIO_2055_GAINBST_DISABLE);
  19386. or_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19387. RADIO_2055_GAINBST_DISABLE);
  19388. }
  19389. udelay(2);
  19390. }
  19391. void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
  19392. {
  19393. if (on) {
  19394. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19395. if (!pi->radio_is_on) {
  19396. wlc_phy_radio_preinit_205x(pi);
  19397. wlc_phy_radio_init_2057(pi);
  19398. wlc_phy_radio_postinit_2057(pi);
  19399. }
  19400. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19401. pi->radio_chanspec);
  19402. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19403. wlc_phy_radio_preinit_205x(pi);
  19404. wlc_phy_radio_init_2056(pi);
  19405. wlc_phy_radio_postinit_2056(pi);
  19406. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19407. pi->radio_chanspec);
  19408. } else {
  19409. wlc_phy_radio_preinit_2055(pi);
  19410. wlc_phy_radio_init_2055(pi);
  19411. wlc_phy_radio_postinit_2055(pi);
  19412. }
  19413. pi->radio_is_on = true;
  19414. } else {
  19415. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19416. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  19417. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19418. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x0);
  19419. write_radio_reg(pi,
  19420. RADIO_2056_TX_PADA_BOOST_TUNE |
  19421. RADIO_2056_TX0, 0);
  19422. write_radio_reg(pi,
  19423. RADIO_2056_TX_PADG_BOOST_TUNE |
  19424. RADIO_2056_TX0, 0);
  19425. write_radio_reg(pi,
  19426. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19427. RADIO_2056_TX0, 0);
  19428. write_radio_reg(pi,
  19429. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19430. RADIO_2056_TX0, 0);
  19431. mod_radio_reg(pi,
  19432. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19433. RADIO_2056_TX0, 0xf0, 0);
  19434. write_radio_reg(pi,
  19435. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19436. RADIO_2056_TX0, 0);
  19437. write_radio_reg(pi,
  19438. RADIO_2056_TX_PADA_BOOST_TUNE |
  19439. RADIO_2056_TX1, 0);
  19440. write_radio_reg(pi,
  19441. RADIO_2056_TX_PADG_BOOST_TUNE |
  19442. RADIO_2056_TX1, 0);
  19443. write_radio_reg(pi,
  19444. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19445. RADIO_2056_TX1, 0);
  19446. write_radio_reg(pi,
  19447. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19448. RADIO_2056_TX1, 0);
  19449. mod_radio_reg(pi,
  19450. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19451. RADIO_2056_TX1, 0xf0, 0);
  19452. write_radio_reg(pi,
  19453. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19454. RADIO_2056_TX1, 0);
  19455. pi->radio_is_on = false;
  19456. }
  19457. if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  19458. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19459. pi->radio_is_on = false;
  19460. }
  19461. }
  19462. }
  19463. static bool
  19464. wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f,
  19465. const struct chan_info_nphy_radio2057 **t0,
  19466. const struct chan_info_nphy_radio205x **t1,
  19467. const struct chan_info_nphy_radio2057_rev5 **t2,
  19468. const struct chan_info_nphy_2055 **t3)
  19469. {
  19470. uint i;
  19471. const struct chan_info_nphy_radio2057 *chan_info_tbl_p_0 = NULL;
  19472. const struct chan_info_nphy_radio205x *chan_info_tbl_p_1 = NULL;
  19473. const struct chan_info_nphy_radio2057_rev5 *chan_info_tbl_p_2 = NULL;
  19474. u32 tbl_len = 0;
  19475. int freq = 0;
  19476. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19477. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19478. chan_info_tbl_p_0 = chan_info_nphyrev7_2057_rev4;
  19479. tbl_len = ARRAY_SIZE(chan_info_nphyrev7_2057_rev4);
  19480. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19481. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19482. switch (pi->pubpi.radiorev) {
  19483. case 5:
  19484. if (pi->pubpi.radiover == 0x0) {
  19485. chan_info_tbl_p_2 =
  19486. chan_info_nphyrev8_2057_rev5;
  19487. tbl_len = ARRAY_SIZE(
  19488. chan_info_nphyrev8_2057_rev5);
  19489. } else if (pi->pubpi.radiover == 0x1) {
  19490. chan_info_tbl_p_2 =
  19491. chan_info_nphyrev9_2057_rev5v1;
  19492. tbl_len = ARRAY_SIZE(
  19493. chan_info_nphyrev9_2057_rev5v1);
  19494. }
  19495. break;
  19496. case 7:
  19497. chan_info_tbl_p_0 =
  19498. chan_info_nphyrev8_2057_rev7;
  19499. tbl_len = ARRAY_SIZE(
  19500. chan_info_nphyrev8_2057_rev7);
  19501. break;
  19502. case 8:
  19503. chan_info_tbl_p_0 =
  19504. chan_info_nphyrev8_2057_rev8;
  19505. tbl_len = ARRAY_SIZE(
  19506. chan_info_nphyrev8_2057_rev8);
  19507. break;
  19508. default:
  19509. break;
  19510. }
  19511. } else if (NREV_IS(pi->pubpi.phy_rev, 16)) {
  19512. chan_info_tbl_p_0 = chan_info_nphyrev8_2057_rev8;
  19513. tbl_len = ARRAY_SIZE(chan_info_nphyrev8_2057_rev8);
  19514. } else {
  19515. goto fail;
  19516. }
  19517. for (i = 0; i < tbl_len; i++) {
  19518. if (pi->pubpi.radiorev == 5) {
  19519. if (chan_info_tbl_p_2[i].chan == channel)
  19520. break;
  19521. } else {
  19522. if (chan_info_tbl_p_0[i].chan == channel)
  19523. break;
  19524. }
  19525. }
  19526. if (i >= tbl_len)
  19527. goto fail;
  19528. if (pi->pubpi.radiorev == 5) {
  19529. *t2 = &chan_info_tbl_p_2[i];
  19530. freq = chan_info_tbl_p_2[i].freq;
  19531. } else {
  19532. *t0 = &chan_info_tbl_p_0[i];
  19533. freq = chan_info_tbl_p_0[i].freq;
  19534. }
  19535. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19536. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19537. chan_info_tbl_p_1 = chan_info_nphyrev3_2056;
  19538. tbl_len = ARRAY_SIZE(chan_info_nphyrev3_2056);
  19539. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19540. chan_info_tbl_p_1 = chan_info_nphyrev4_2056_A1;
  19541. tbl_len = ARRAY_SIZE(chan_info_nphyrev4_2056_A1);
  19542. } else if (NREV_IS(pi->pubpi.phy_rev, 5)
  19543. || NREV_IS(pi->pubpi.phy_rev, 6)) {
  19544. switch (pi->pubpi.radiorev) {
  19545. case 5:
  19546. chan_info_tbl_p_1 = chan_info_nphyrev5_2056v5;
  19547. tbl_len = ARRAY_SIZE(chan_info_nphyrev5_2056v5);
  19548. break;
  19549. case 6:
  19550. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v6;
  19551. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v6);
  19552. break;
  19553. case 7:
  19554. case 9:
  19555. chan_info_tbl_p_1 = chan_info_nphyrev5n6_2056v7;
  19556. tbl_len =
  19557. ARRAY_SIZE(chan_info_nphyrev5n6_2056v7);
  19558. break;
  19559. case 8:
  19560. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v8;
  19561. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v8);
  19562. break;
  19563. case 11:
  19564. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v11;
  19565. tbl_len = ARRAY_SIZE(
  19566. chan_info_nphyrev6_2056v11);
  19567. break;
  19568. default:
  19569. break;
  19570. }
  19571. }
  19572. for (i = 0; i < tbl_len; i++) {
  19573. if (chan_info_tbl_p_1[i].chan == channel)
  19574. break;
  19575. }
  19576. if (i >= tbl_len)
  19577. goto fail;
  19578. *t1 = &chan_info_tbl_p_1[i];
  19579. freq = chan_info_tbl_p_1[i].freq;
  19580. } else {
  19581. for (i = 0; i < ARRAY_SIZE(chan_info_nphy_2055); i++)
  19582. if (chan_info_nphy_2055[i].chan == channel)
  19583. break;
  19584. if (i >= ARRAY_SIZE(chan_info_nphy_2055))
  19585. goto fail;
  19586. *t3 = &chan_info_nphy_2055[i];
  19587. freq = chan_info_nphy_2055[i].freq;
  19588. }
  19589. *f = freq;
  19590. return true;
  19591. fail:
  19592. *f = WL_CHAN_FREQ_RANGE_2G;
  19593. return false;
  19594. }
  19595. u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel)
  19596. {
  19597. int freq;
  19598. const struct chan_info_nphy_radio2057 *t0 = NULL;
  19599. const struct chan_info_nphy_radio205x *t1 = NULL;
  19600. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  19601. const struct chan_info_nphy_2055 *t3 = NULL;
  19602. if (channel == 0)
  19603. channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  19604. wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
  19605. if (CHSPEC_IS2G(pi->radio_chanspec))
  19606. return WL_CHAN_FREQ_RANGE_2G;
  19607. if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
  19608. return WL_CHAN_FREQ_RANGE_5GL;
  19609. else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
  19610. return WL_CHAN_FREQ_RANGE_5GM;
  19611. else
  19612. return WL_CHAN_FREQ_RANGE_5GH;
  19613. }
  19614. static void
  19615. wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi,
  19616. const struct chan_info_nphy_2055 *ci)
  19617. {
  19618. write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref);
  19619. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0);
  19620. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1);
  19621. write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail);
  19622. BRCMS_PHY_WAR_PR51571(pi);
  19623. write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1);
  19624. write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2);
  19625. write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1);
  19626. write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1);
  19627. BRCMS_PHY_WAR_PR51571(pi);
  19628. write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2);
  19629. write_radio_reg(pi, RADIO_2055_LGBUF_CEN_BUF, ci->RF_lgbuf_cen_buf);
  19630. write_radio_reg(pi, RADIO_2055_LGEN_TUNE1, ci->RF_lgen_tune1);
  19631. write_radio_reg(pi, RADIO_2055_LGEN_TUNE2, ci->RF_lgen_tune2);
  19632. BRCMS_PHY_WAR_PR51571(pi);
  19633. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_A_TUNE,
  19634. ci->RF_core1_lgbuf_a_tune);
  19635. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_G_TUNE,
  19636. ci->RF_core1_lgbuf_g_tune);
  19637. write_radio_reg(pi, RADIO_2055_CORE1_RXRF_REG1, ci->RF_core1_rxrf_reg1);
  19638. write_radio_reg(pi, RADIO_2055_CORE1_TX_PGA_PAD_TN,
  19639. ci->RF_core1_tx_pga_pad_tn);
  19640. BRCMS_PHY_WAR_PR51571(pi);
  19641. write_radio_reg(pi, RADIO_2055_CORE1_TX_MX_BGTRIM,
  19642. ci->RF_core1_tx_mx_bgtrim);
  19643. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_A_TUNE,
  19644. ci->RF_core2_lgbuf_a_tune);
  19645. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_G_TUNE,
  19646. ci->RF_core2_lgbuf_g_tune);
  19647. write_radio_reg(pi, RADIO_2055_CORE2_RXRF_REG1, ci->RF_core2_rxrf_reg1);
  19648. BRCMS_PHY_WAR_PR51571(pi);
  19649. write_radio_reg(pi, RADIO_2055_CORE2_TX_PGA_PAD_TN,
  19650. ci->RF_core2_tx_pga_pad_tn);
  19651. write_radio_reg(pi, RADIO_2055_CORE2_TX_MX_BGTRIM,
  19652. ci->RF_core2_tx_mx_bgtrim);
  19653. udelay(50);
  19654. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x05);
  19655. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x45);
  19656. BRCMS_PHY_WAR_PR51571(pi);
  19657. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x65);
  19658. udelay(300);
  19659. }
  19660. static void
  19661. wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi,
  19662. const struct chan_info_nphy_radio205x *ci)
  19663. {
  19664. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19665. write_radio_reg(pi,
  19666. RADIO_2056_SYN_PLL_VCOCAL1 | RADIO_2056_SYN,
  19667. ci->RF_SYN_pll_vcocal1);
  19668. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL2 | RADIO_2056_SYN,
  19669. ci->RF_SYN_pll_vcocal2);
  19670. write_radio_reg(pi, RADIO_2056_SYN_PLL_REFDIV | RADIO_2056_SYN,
  19671. ci->RF_SYN_pll_refdiv);
  19672. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD2 | RADIO_2056_SYN,
  19673. ci->RF_SYN_pll_mmd2);
  19674. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD1 | RADIO_2056_SYN,
  19675. ci->RF_SYN_pll_mmd1);
  19676. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19677. ci->RF_SYN_pll_loopfilter1);
  19678. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19679. ci->RF_SYN_pll_loopfilter2);
  19680. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER3 | RADIO_2056_SYN,
  19681. ci->RF_SYN_pll_loopfilter3);
  19682. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19683. ci->RF_SYN_pll_loopfilter4);
  19684. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER5 | RADIO_2056_SYN,
  19685. ci->RF_SYN_pll_loopfilter5);
  19686. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR27 | RADIO_2056_SYN,
  19687. ci->RF_SYN_reserved_addr27);
  19688. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR28 | RADIO_2056_SYN,
  19689. ci->RF_SYN_reserved_addr28);
  19690. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR29 | RADIO_2056_SYN,
  19691. ci->RF_SYN_reserved_addr29);
  19692. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_VCOBUF1 | RADIO_2056_SYN,
  19693. ci->RF_SYN_logen_VCOBUF1);
  19694. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_MIXER2 | RADIO_2056_SYN,
  19695. ci->RF_SYN_logen_MIXER2);
  19696. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF3 | RADIO_2056_SYN,
  19697. ci->RF_SYN_logen_BUF3);
  19698. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF4 | RADIO_2056_SYN,
  19699. ci->RF_SYN_logen_BUF4);
  19700. write_radio_reg(pi,
  19701. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX0,
  19702. ci->RF_RX0_lnaa_tune);
  19703. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX0,
  19704. ci->RF_RX0_lnag_tune);
  19705. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX0,
  19706. ci->RF_TX0_intpaa_boost_tune);
  19707. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX0,
  19708. ci->RF_TX0_intpag_boost_tune);
  19709. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX0,
  19710. ci->RF_TX0_pada_boost_tune);
  19711. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX0,
  19712. ci->RF_TX0_padg_boost_tune);
  19713. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX0,
  19714. ci->RF_TX0_pgaa_boost_tune);
  19715. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX0,
  19716. ci->RF_TX0_pgag_boost_tune);
  19717. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX0,
  19718. ci->RF_TX0_mixa_boost_tune);
  19719. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX0,
  19720. ci->RF_TX0_mixg_boost_tune);
  19721. write_radio_reg(pi,
  19722. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX1,
  19723. ci->RF_RX1_lnaa_tune);
  19724. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX1,
  19725. ci->RF_RX1_lnag_tune);
  19726. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX1,
  19727. ci->RF_TX1_intpaa_boost_tune);
  19728. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX1,
  19729. ci->RF_TX1_intpag_boost_tune);
  19730. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX1,
  19731. ci->RF_TX1_pada_boost_tune);
  19732. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX1,
  19733. ci->RF_TX1_padg_boost_tune);
  19734. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX1,
  19735. ci->RF_TX1_pgaa_boost_tune);
  19736. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX1,
  19737. ci->RF_TX1_pgag_boost_tune);
  19738. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX1,
  19739. ci->RF_TX1_mixa_boost_tune);
  19740. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX1,
  19741. ci->RF_TX1_mixg_boost_tune);
  19742. if (NREV_IS(pi->pubpi.phy_rev, 3))
  19743. regs_SYN_2056_ptr = regs_SYN_2056;
  19744. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  19745. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19746. else {
  19747. switch (pi->pubpi.radiorev) {
  19748. case 5:
  19749. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19750. break;
  19751. case 6:
  19752. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19753. break;
  19754. case 7:
  19755. case 9:
  19756. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19757. break;
  19758. case 8:
  19759. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19760. break;
  19761. case 11:
  19762. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19763. break;
  19764. }
  19765. }
  19766. if (CHSPEC_IS2G(pi->radio_chanspec))
  19767. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19768. RADIO_2056_SYN,
  19769. (u16) regs_SYN_2056_ptr[0x49 - 2].init_g);
  19770. else
  19771. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19772. RADIO_2056_SYN,
  19773. (u16) regs_SYN_2056_ptr[0x49 - 2].init_a);
  19774. if (pi->sh->boardflags2 & BFL2_GPLL_WAR) {
  19775. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19776. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19777. RADIO_2056_SYN, 0x1f);
  19778. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19779. RADIO_2056_SYN, 0x1f);
  19780. write_radio_reg(pi,
  19781. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19782. RADIO_2056_SYN, 0xb);
  19783. write_radio_reg(pi,
  19784. RADIO_2056_SYN_PLL_CP2 |
  19785. RADIO_2056_SYN, 0x14);
  19786. }
  19787. }
  19788. if ((pi->sh->boardflags2 & BFL2_GPLL_WAR2) &&
  19789. (CHSPEC_IS2G(pi->radio_chanspec))) {
  19790. write_radio_reg(pi,
  19791. RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19792. 0x1f);
  19793. write_radio_reg(pi,
  19794. RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19795. 0x1f);
  19796. write_radio_reg(pi,
  19797. RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19798. 0xb);
  19799. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 | RADIO_2056_SYN,
  19800. 0x20);
  19801. }
  19802. if (pi->sh->boardflags2 & BFL2_APLL_WAR) {
  19803. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  19804. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19805. RADIO_2056_SYN, 0x1f);
  19806. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19807. RADIO_2056_SYN, 0x1f);
  19808. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19809. RADIO_2056_SYN, 0x5);
  19810. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19811. RADIO_2056_SYN, 0xc);
  19812. }
  19813. }
  19814. if (PHY_IPA(pi) && CHSPEC_IS2G(pi->radio_chanspec)) {
  19815. u16 pag_boost_tune;
  19816. u16 padg_boost_tune;
  19817. u16 pgag_boost_tune;
  19818. u16 mixg_boost_tune;
  19819. u16 bias, cascbias;
  19820. uint core;
  19821. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19822. if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  19823. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19824. PADG_IDAC, 0xcc);
  19825. bias = 0x25;
  19826. cascbias = 0x20;
  19827. if ((pi->sh->chip ==
  19828. BCM43224_CHIP_ID)
  19829. || (pi->sh->chip ==
  19830. BCM43225_CHIP_ID)) {
  19831. if (pi->sh->chippkg ==
  19832. BCM43224_FAB_SMIC) {
  19833. bias = 0x2a;
  19834. cascbias = 0x38;
  19835. }
  19836. }
  19837. pag_boost_tune = 0x4;
  19838. pgag_boost_tune = 0x03;
  19839. padg_boost_tune = 0x77;
  19840. mixg_boost_tune = 0x65;
  19841. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19842. INTPAG_IMAIN_STAT, bias);
  19843. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19844. INTPAG_IAUX_STAT, bias);
  19845. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19846. INTPAG_CASCBIAS, cascbias);
  19847. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19848. INTPAG_BOOST_TUNE,
  19849. pag_boost_tune);
  19850. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19851. PGAG_BOOST_TUNE,
  19852. pgag_boost_tune);
  19853. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19854. PADG_BOOST_TUNE,
  19855. padg_boost_tune);
  19856. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19857. MIXG_BOOST_TUNE,
  19858. mixg_boost_tune);
  19859. } else {
  19860. bias = (pi->bw == WL_CHANSPEC_BW_40) ?
  19861. 0x40 : 0x20;
  19862. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19863. INTPAG_IMAIN_STAT, bias);
  19864. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19865. INTPAG_IAUX_STAT, bias);
  19866. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19867. INTPAG_CASCBIAS, 0x30);
  19868. }
  19869. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, PA_SPARE1,
  19870. 0xee);
  19871. }
  19872. }
  19873. if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6)
  19874. && CHSPEC_IS5G(pi->radio_chanspec)) {
  19875. u16 paa_boost_tune;
  19876. u16 pada_boost_tune;
  19877. u16 pgaa_boost_tune;
  19878. u16 mixa_boost_tune;
  19879. u16 freq, pabias, cascbias;
  19880. uint core;
  19881. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  19882. if (freq < 5150) {
  19883. paa_boost_tune = 0xa;
  19884. pada_boost_tune = 0x77;
  19885. pgaa_boost_tune = 0xf;
  19886. mixa_boost_tune = 0xf;
  19887. } else if (freq < 5340) {
  19888. paa_boost_tune = 0x8;
  19889. pada_boost_tune = 0x77;
  19890. pgaa_boost_tune = 0xfb;
  19891. mixa_boost_tune = 0xf;
  19892. } else if (freq < 5650) {
  19893. paa_boost_tune = 0x0;
  19894. pada_boost_tune = 0x77;
  19895. pgaa_boost_tune = 0xb;
  19896. mixa_boost_tune = 0xf;
  19897. } else {
  19898. paa_boost_tune = 0x0;
  19899. pada_boost_tune = 0x77;
  19900. if (freq != 5825)
  19901. pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
  19902. else
  19903. pgaa_boost_tune = 6;
  19904. mixa_boost_tune = 0xf;
  19905. }
  19906. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19907. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19908. INTPAA_BOOST_TUNE, paa_boost_tune);
  19909. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19910. PADA_BOOST_TUNE, pada_boost_tune);
  19911. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19912. PGAA_BOOST_TUNE, pgaa_boost_tune);
  19913. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19914. MIXA_BOOST_TUNE, mixa_boost_tune);
  19915. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19916. TXSPARE1, 0x30);
  19917. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19918. PA_SPARE2, 0xee);
  19919. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19920. PADA_CASCBIAS, 0x3);
  19921. cascbias = 0x30;
  19922. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  19923. (pi->sh->chip == BCM43225_CHIP_ID)) {
  19924. if (pi->sh->chippkg == BCM43224_FAB_SMIC)
  19925. cascbias = 0x35;
  19926. }
  19927. pabias = (pi->phy_pabias == 0) ? 0x30 : pi->phy_pabias;
  19928. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19929. INTPAA_IAUX_STAT, pabias);
  19930. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19931. INTPAA_IMAIN_STAT, pabias);
  19932. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19933. INTPAA_CASCBIAS, cascbias);
  19934. }
  19935. }
  19936. udelay(50);
  19937. wlc_phy_radio205x_vcocal_nphy(pi);
  19938. }
  19939. void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi)
  19940. {
  19941. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19942. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x0);
  19943. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04, 0x0);
  19944. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04,
  19945. (1 << 2));
  19946. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x01);
  19947. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19948. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL12, 0x0);
  19949. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19950. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x18);
  19951. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19952. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x39);
  19953. }
  19954. udelay(300);
  19955. }
  19956. static void
  19957. wlc_phy_chanspec_radio2057_setup(
  19958. struct brcms_phy *pi,
  19959. const struct chan_info_nphy_radio2057 *ci,
  19960. const struct chan_info_nphy_radio2057_rev5 *
  19961. ci2)
  19962. {
  19963. int coreNum;
  19964. u16 txmix2g_tune_boost_pu = 0;
  19965. u16 pad2g_tune_pus = 0;
  19966. if (pi->pubpi.radiorev == 5) {
  19967. write_radio_reg(pi,
  19968. RADIO_2057_VCOCAL_COUNTVAL0,
  19969. ci2->RF_vcocal_countval0);
  19970. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19971. ci2->RF_vcocal_countval1);
  19972. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19973. ci2->RF_rfpll_refmaster_sparextalsize);
  19974. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19975. ci2->RF_rfpll_loopfilter_r1);
  19976. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19977. ci2->RF_rfpll_loopfilter_c2);
  19978. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19979. ci2->RF_rfpll_loopfilter_c1);
  19980. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC,
  19981. ci2->RF_cp_kpd_idac);
  19982. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci2->RF_rfpll_mmd0);
  19983. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci2->RF_rfpll_mmd1);
  19984. write_radio_reg(pi,
  19985. RADIO_2057_VCOBUF_TUNE, ci2->RF_vcobuf_tune);
  19986. write_radio_reg(pi,
  19987. RADIO_2057_LOGEN_MX2G_TUNE,
  19988. ci2->RF_logen_mx2g_tune);
  19989. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19990. ci2->RF_logen_indbuf2g_tune);
  19991. write_radio_reg(pi,
  19992. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19993. ci2->RF_txmix2g_tune_boost_pu_core0);
  19994. write_radio_reg(pi,
  19995. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19996. ci2->RF_pad2g_tune_pus_core0);
  19997. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19998. ci2->RF_lna2g_tune_core0);
  19999. write_radio_reg(pi,
  20000. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  20001. ci2->RF_txmix2g_tune_boost_pu_core1);
  20002. write_radio_reg(pi,
  20003. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  20004. ci2->RF_pad2g_tune_pus_core1);
  20005. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  20006. ci2->RF_lna2g_tune_core1);
  20007. } else {
  20008. write_radio_reg(pi,
  20009. RADIO_2057_VCOCAL_COUNTVAL0,
  20010. ci->RF_vcocal_countval0);
  20011. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  20012. ci->RF_vcocal_countval1);
  20013. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  20014. ci->RF_rfpll_refmaster_sparextalsize);
  20015. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20016. ci->RF_rfpll_loopfilter_r1);
  20017. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20018. ci->RF_rfpll_loopfilter_c2);
  20019. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20020. ci->RF_rfpll_loopfilter_c1);
  20021. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, ci->RF_cp_kpd_idac);
  20022. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci->RF_rfpll_mmd0);
  20023. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci->RF_rfpll_mmd1);
  20024. write_radio_reg(pi, RADIO_2057_VCOBUF_TUNE, ci->RF_vcobuf_tune);
  20025. write_radio_reg(pi,
  20026. RADIO_2057_LOGEN_MX2G_TUNE,
  20027. ci->RF_logen_mx2g_tune);
  20028. write_radio_reg(pi, RADIO_2057_LOGEN_MX5G_TUNE,
  20029. ci->RF_logen_mx5g_tune);
  20030. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  20031. ci->RF_logen_indbuf2g_tune);
  20032. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF5G_TUNE,
  20033. ci->RF_logen_indbuf5g_tune);
  20034. write_radio_reg(pi,
  20035. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  20036. ci->RF_txmix2g_tune_boost_pu_core0);
  20037. write_radio_reg(pi,
  20038. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  20039. ci->RF_pad2g_tune_pus_core0);
  20040. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE0,
  20041. ci->RF_pga_boost_tune_core0);
  20042. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE0,
  20043. ci->RF_txmix5g_boost_tune_core0);
  20044. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE0,
  20045. ci->RF_pad5g_tune_misc_pus_core0);
  20046. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  20047. ci->RF_lna2g_tune_core0);
  20048. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE0,
  20049. ci->RF_lna5g_tune_core0);
  20050. write_radio_reg(pi,
  20051. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  20052. ci->RF_txmix2g_tune_boost_pu_core1);
  20053. write_radio_reg(pi,
  20054. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  20055. ci->RF_pad2g_tune_pus_core1);
  20056. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE1,
  20057. ci->RF_pga_boost_tune_core1);
  20058. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE1,
  20059. ci->RF_txmix5g_boost_tune_core1);
  20060. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE1,
  20061. ci->RF_pad5g_tune_misc_pus_core1);
  20062. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  20063. ci->RF_lna2g_tune_core1);
  20064. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE1,
  20065. ci->RF_lna5g_tune_core1);
  20066. }
  20067. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  20068. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20069. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20070. 0x3f);
  20071. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20072. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20073. 0x8);
  20074. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20075. 0x8);
  20076. } else {
  20077. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20078. 0x1f);
  20079. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20080. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20081. 0x8);
  20082. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20083. 0x8);
  20084. }
  20085. } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) ||
  20086. (pi->pubpi.radiorev == 8)) {
  20087. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20088. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20089. 0x1b);
  20090. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x30);
  20091. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20092. 0xa);
  20093. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20094. 0xa);
  20095. } else {
  20096. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20097. 0x1f);
  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. }
  20104. }
  20105. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20106. if (PHY_IPA(pi)) {
  20107. if (pi->pubpi.radiorev == 3)
  20108. txmix2g_tune_boost_pu = 0x6b;
  20109. if (pi->pubpi.radiorev == 5)
  20110. pad2g_tune_pus = 0x73;
  20111. } else {
  20112. if (pi->pubpi.radiorev != 5) {
  20113. pad2g_tune_pus = 0x3;
  20114. txmix2g_tune_boost_pu = 0x61;
  20115. }
  20116. }
  20117. for (coreNum = 0; coreNum <= 1; coreNum++) {
  20118. if (txmix2g_tune_boost_pu != 0)
  20119. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20120. TXMIX2G_TUNE_BOOST_PU,
  20121. txmix2g_tune_boost_pu);
  20122. if (pad2g_tune_pus != 0)
  20123. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20124. PAD2G_TUNE_PUS,
  20125. pad2g_tune_pus);
  20126. }
  20127. }
  20128. udelay(50);
  20129. wlc_phy_radio205x_vcocal_nphy(pi);
  20130. }
  20131. static void
  20132. wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec,
  20133. const struct nphy_sfo_cfg *ci)
  20134. {
  20135. u16 val;
  20136. val = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  20137. if (CHSPEC_IS5G(chanspec) && !val) {
  20138. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20139. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20140. (val | MAC_PHY_FORCE_CLK));
  20141. or_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20142. (BBCFG_RESETCCA | BBCFG_RESETRX));
  20143. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20144. or_phy_reg(pi, 0x09, NPHY_BandControl_currentBand);
  20145. } else if (!CHSPEC_IS5G(chanspec) && val) {
  20146. and_phy_reg(pi, 0x09, ~NPHY_BandControl_currentBand);
  20147. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20148. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20149. (val | MAC_PHY_FORCE_CLK));
  20150. and_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20151. (u16) (~(BBCFG_RESETCCA | BBCFG_RESETRX)));
  20152. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20153. }
  20154. write_phy_reg(pi, 0x1ce, ci->PHY_BW1a);
  20155. write_phy_reg(pi, 0x1cf, ci->PHY_BW2);
  20156. write_phy_reg(pi, 0x1d0, ci->PHY_BW3);
  20157. write_phy_reg(pi, 0x1d1, ci->PHY_BW4);
  20158. write_phy_reg(pi, 0x1d2, ci->PHY_BW5);
  20159. write_phy_reg(pi, 0x1d3, ci->PHY_BW6);
  20160. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  20161. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en, 0);
  20162. or_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, 0x800);
  20163. } else {
  20164. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en,
  20165. NPHY_ClassifierCtrl_ofdm_en);
  20166. if (CHSPEC_IS2G(chanspec))
  20167. and_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, ~0x840);
  20168. }
  20169. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF)
  20170. wlc_phy_txpwr_fixpower_nphy(pi);
  20171. if (NREV_LT(pi->pubpi.phy_rev, 3))
  20172. wlc_phy_adjust_lnagaintbl_nphy(pi);
  20173. wlc_phy_txlpfbw_nphy(pi);
  20174. if (NREV_GE(pi->pubpi.phy_rev, 3)
  20175. && (pi->phy_spuravoid != SPURAVOID_DISABLE)) {
  20176. u8 spuravoid = 0;
  20177. val = CHSPEC_CHANNEL(chanspec);
  20178. if (!CHSPEC_IS40(pi->radio_chanspec)) {
  20179. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20180. if ((val == 13) || (val == 14) || (val == 153))
  20181. spuravoid = 1;
  20182. } else if (((val >= 5) && (val <= 8)) || (val == 13)
  20183. || (val == 14)) {
  20184. spuravoid = 1;
  20185. }
  20186. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20187. if (val == 54)
  20188. spuravoid = 1;
  20189. } else {
  20190. if (pi->nphy_aband_spurwar_en &&
  20191. ((val == 38) || (val == 102)
  20192. || (val == 118)))
  20193. spuravoid = 1;
  20194. }
  20195. if (pi->phy_spuravoid == SPURAVOID_FORCEON)
  20196. spuravoid = 1;
  20197. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, false);
  20198. si_pmu_spuravoid_pllupdate(pi->sh->sih, spuravoid);
  20199. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, true);
  20200. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  20201. (pi->sh->chip == BCM43225_CHIP_ID)) {
  20202. if (spuravoid == 1) {
  20203. bcma_write16(pi->d11core,
  20204. D11REGOFFS(tsf_clk_frac_l),
  20205. 0x5341);
  20206. bcma_write16(pi->d11core,
  20207. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20208. } else {
  20209. bcma_write16(pi->d11core,
  20210. D11REGOFFS(tsf_clk_frac_l),
  20211. 0x8889);
  20212. bcma_write16(pi->d11core,
  20213. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20214. }
  20215. }
  20216. wlapi_bmac_core_phypll_reset(pi->sh->physhim);
  20217. mod_phy_reg(pi, 0x01, (0x1 << 15),
  20218. ((spuravoid > 0) ? (0x1 << 15) : 0));
  20219. wlc_phy_resetcca_nphy(pi);
  20220. pi->phy_isspuravoid = (spuravoid > 0);
  20221. }
  20222. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20223. write_phy_reg(pi, 0x17e, 0x3830);
  20224. wlc_phy_spurwar_nphy(pi);
  20225. }
  20226. void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec)
  20227. {
  20228. int freq;
  20229. const struct chan_info_nphy_radio2057 *t0 = NULL;
  20230. const struct chan_info_nphy_radio205x *t1 = NULL;
  20231. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  20232. const struct chan_info_nphy_2055 *t3 = NULL;
  20233. if (!wlc_phy_chan2freq_nphy
  20234. (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
  20235. return;
  20236. wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
  20237. if (CHSPEC_BW(chanspec) != pi->bw)
  20238. wlapi_bmac_bw_set(pi->sh->physhim, CHSPEC_BW(chanspec));
  20239. if (CHSPEC_IS40(chanspec)) {
  20240. if (CHSPEC_SB_UPPER(chanspec)) {
  20241. or_phy_reg(pi, 0xa0, BPHY_BAND_SEL_UP20);
  20242. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20243. or_phy_reg(pi, 0x310, PRIM_SEL_UP20);
  20244. } else {
  20245. and_phy_reg(pi, 0xa0, ~BPHY_BAND_SEL_UP20);
  20246. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20247. and_phy_reg(pi, 0x310,
  20248. (~PRIM_SEL_UP20 & 0xffff));
  20249. }
  20250. }
  20251. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20252. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20253. if ((pi->pubpi.radiorev <= 4)
  20254. || (pi->pubpi.radiorev == 6)) {
  20255. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE0,
  20256. 0x2,
  20257. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20258. : 0));
  20259. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE1,
  20260. 0x2,
  20261. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20262. : 0));
  20263. }
  20264. wlc_phy_chanspec_radio2057_setup(pi, t0, t2);
  20265. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20266. (pi->pubpi.radiorev == 5) ?
  20267. (const struct nphy_sfo_cfg *)&(t2->PHY_BW1a) :
  20268. (const struct nphy_sfo_cfg *)&(t0->PHY_BW1a));
  20269. } else {
  20270. mod_radio_reg(pi,
  20271. RADIO_2056_SYN_COM_CTRL | RADIO_2056_SYN,
  20272. 0x4,
  20273. (CHSPEC_IS5G(chanspec) ? (0x1 << 2) : 0));
  20274. wlc_phy_chanspec_radio2056_setup(pi, t1);
  20275. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20276. (const struct nphy_sfo_cfg *) &(t1->PHY_BW1a));
  20277. }
  20278. } else {
  20279. mod_radio_reg(pi, RADIO_2055_MASTER_CNTRL1, 0x70,
  20280. (CHSPEC_IS5G(chanspec) ? (0x02 << 4)
  20281. : (0x05 << 4)));
  20282. wlc_phy_chanspec_radio2055_setup(pi, t3);
  20283. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20284. (const struct nphy_sfo_cfg *)
  20285. &(t3->PHY_BW1a));
  20286. }
  20287. }
  20288. void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
  20289. {
  20290. struct brcms_phy *pi = (struct brcms_phy *) ppi;
  20291. u16 mask = 0xfc00;
  20292. u32 mc = 0;
  20293. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20294. return;
  20295. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20296. u16 v0 = 0x211, v1 = 0x222, v2 = 0x144, v3 = 0x188;
  20297. if (lut_init == false)
  20298. return;
  20299. if (pi->srom_fem2g.antswctrllut == 0) {
  20300. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20301. 1, 0x02, 16, &v0);
  20302. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20303. 1, 0x03, 16, &v1);
  20304. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20305. 1, 0x08, 16, &v2);
  20306. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20307. 1, 0x0C, 16, &v3);
  20308. }
  20309. if (pi->srom_fem5g.antswctrllut == 0) {
  20310. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20311. 1, 0x12, 16, &v0);
  20312. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20313. 1, 0x13, 16, &v1);
  20314. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20315. 1, 0x18, 16, &v2);
  20316. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20317. 1, 0x1C, 16, &v3);
  20318. }
  20319. } else {
  20320. write_phy_reg(pi, 0xc8, 0x0);
  20321. write_phy_reg(pi, 0xc9, 0x0);
  20322. ai_gpiocontrol(pi->sh->sih, mask, mask, GPIO_DRV_PRIORITY);
  20323. mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  20324. mc &= ~MCTL_GPOUT_SEL_MASK;
  20325. bcma_write32(pi->d11core, D11REGOFFS(maccontrol), mc);
  20326. bcma_set16(pi->d11core, D11REGOFFS(psm_gpio_oe), mask);
  20327. bcma_mask16(pi->d11core, D11REGOFFS(psm_gpio_out), ~mask);
  20328. if (lut_init) {
  20329. write_phy_reg(pi, 0xf8, 0x02d8);
  20330. write_phy_reg(pi, 0xf9, 0x0301);
  20331. write_phy_reg(pi, 0xfa, 0x02d8);
  20332. write_phy_reg(pi, 0xfb, 0x0301);
  20333. }
  20334. }
  20335. }
  20336. u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val)
  20337. {
  20338. u16 curr_ctl, new_ctl;
  20339. bool suspended = false;
  20340. if (D11REV_IS(pi->sh->corerev, 16)) {
  20341. suspended = (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  20342. MCTL_EN_MAC) ? false : true;
  20343. if (!suspended)
  20344. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  20345. }
  20346. curr_ctl = read_phy_reg(pi, 0xb0) & (0x7 << 0);
  20347. new_ctl = (curr_ctl & (~mask)) | (val & mask);
  20348. mod_phy_reg(pi, 0xb0, (0x7 << 0), new_ctl);
  20349. if (D11REV_IS(pi->sh->corerev, 16) && !suspended)
  20350. wlapi_enable_mac(pi->sh->physhim);
  20351. return new_ctl;
  20352. }
  20353. void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd)
  20354. {
  20355. u16 trigger_mask, status_mask;
  20356. u16 orig_RfseqCoreActv;
  20357. switch (cmd) {
  20358. case NPHY_RFSEQ_RX2TX:
  20359. trigger_mask = NPHY_RfseqTrigger_rx2tx;
  20360. status_mask = NPHY_RfseqStatus_rx2tx;
  20361. break;
  20362. case NPHY_RFSEQ_TX2RX:
  20363. trigger_mask = NPHY_RfseqTrigger_tx2rx;
  20364. status_mask = NPHY_RfseqStatus_tx2rx;
  20365. break;
  20366. case NPHY_RFSEQ_RESET2RX:
  20367. trigger_mask = NPHY_RfseqTrigger_reset2rx;
  20368. status_mask = NPHY_RfseqStatus_reset2rx;
  20369. break;
  20370. case NPHY_RFSEQ_UPDATEGAINH:
  20371. trigger_mask = NPHY_RfseqTrigger_updategainh;
  20372. status_mask = NPHY_RfseqStatus_updategainh;
  20373. break;
  20374. case NPHY_RFSEQ_UPDATEGAINL:
  20375. trigger_mask = NPHY_RfseqTrigger_updategainl;
  20376. status_mask = NPHY_RfseqStatus_updategainl;
  20377. break;
  20378. case NPHY_RFSEQ_UPDATEGAINU:
  20379. trigger_mask = NPHY_RfseqTrigger_updategainu;
  20380. status_mask = NPHY_RfseqStatus_updategainu;
  20381. break;
  20382. default:
  20383. return;
  20384. }
  20385. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  20386. or_phy_reg(pi, 0xa1,
  20387. (NPHY_RfseqMode_CoreActv_override |
  20388. NPHY_RfseqMode_Trigger_override));
  20389. or_phy_reg(pi, 0xa3, trigger_mask);
  20390. SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000);
  20391. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  20392. WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf");
  20393. }
  20394. static void
  20395. wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value,
  20396. u8 core_mask, u8 off)
  20397. {
  20398. u16 rfmxgain = 0, lpfgain = 0;
  20399. u16 tgain = 0;
  20400. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20401. switch (cmd) {
  20402. case NPHY_REV7_RfctrlOverride_cmd_rxrf_pu:
  20403. wlc_phy_rfctrl_override_nphy_rev7(
  20404. pi, (0x1 << 5),
  20405. value, core_mask, off,
  20406. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20407. wlc_phy_rfctrl_override_nphy_rev7(
  20408. pi, (0x1 << 4), value,
  20409. core_mask, off,
  20410. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20411. wlc_phy_rfctrl_override_nphy_rev7(
  20412. pi, (0x1 << 3), value,
  20413. core_mask, off,
  20414. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20415. break;
  20416. case NPHY_REV7_RfctrlOverride_cmd_rx_pu:
  20417. wlc_phy_rfctrl_override_nphy_rev7(
  20418. pi, (0x1 << 2),
  20419. value, core_mask, off,
  20420. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20421. wlc_phy_rfctrl_override_nphy_rev7(
  20422. pi, (0x1 << 1), value,
  20423. core_mask, off,
  20424. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20425. wlc_phy_rfctrl_override_nphy_rev7(
  20426. pi, (0x1 << 0), value,
  20427. core_mask, off,
  20428. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20429. wlc_phy_rfctrl_override_nphy_rev7(
  20430. pi, (0x1 << 1), value,
  20431. core_mask, off,
  20432. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20433. wlc_phy_rfctrl_override_nphy_rev7(
  20434. pi, (0x1 << 11), 0,
  20435. core_mask, off,
  20436. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20437. break;
  20438. case NPHY_REV7_RfctrlOverride_cmd_tx_pu:
  20439. wlc_phy_rfctrl_override_nphy_rev7(
  20440. pi, (0x1 << 2),
  20441. value, core_mask, off,
  20442. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20443. wlc_phy_rfctrl_override_nphy_rev7(
  20444. pi, (0x1 << 1), value,
  20445. core_mask, off,
  20446. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20447. wlc_phy_rfctrl_override_nphy_rev7(
  20448. pi, (0x1 << 0), value,
  20449. core_mask, off,
  20450. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20451. wlc_phy_rfctrl_override_nphy_rev7(
  20452. pi, (0x1 << 2), value,
  20453. core_mask, off,
  20454. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20455. wlc_phy_rfctrl_override_nphy_rev7(
  20456. pi, (0x1 << 11), 1,
  20457. core_mask, off,
  20458. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20459. break;
  20460. case NPHY_REV7_RfctrlOverride_cmd_rxgain:
  20461. rfmxgain = value & 0x000ff;
  20462. lpfgain = value & 0x0ff00;
  20463. lpfgain = lpfgain >> 8;
  20464. wlc_phy_rfctrl_override_nphy_rev7(
  20465. pi, (0x1 << 11),
  20466. rfmxgain, core_mask,
  20467. off,
  20468. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20469. wlc_phy_rfctrl_override_nphy_rev7(
  20470. pi, (0x3 << 13),
  20471. lpfgain, core_mask,
  20472. off,
  20473. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20474. break;
  20475. case NPHY_REV7_RfctrlOverride_cmd_txgain:
  20476. tgain = value & 0x7fff;
  20477. lpfgain = value & 0x8000;
  20478. lpfgain = lpfgain >> 14;
  20479. wlc_phy_rfctrl_override_nphy_rev7(
  20480. pi, (0x1 << 12),
  20481. tgain, core_mask, off,
  20482. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20483. wlc_phy_rfctrl_override_nphy_rev7(
  20484. pi, (0x1 << 13),
  20485. lpfgain, core_mask,
  20486. off,
  20487. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20488. break;
  20489. }
  20490. }
  20491. }
  20492. static void
  20493. wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset,
  20494. u8 coresel, u8 rail, u8 rssi_type)
  20495. {
  20496. u16 valuetostuff;
  20497. offset = (offset > NPHY_RSSICAL_MAXREAD) ?
  20498. NPHY_RSSICAL_MAXREAD : offset;
  20499. offset = (offset < (-NPHY_RSSICAL_MAXREAD - 1)) ?
  20500. -NPHY_RSSICAL_MAXREAD - 1 : offset;
  20501. valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f);
  20502. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20503. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20504. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20505. write_phy_reg(pi, 0x1a6, valuetostuff);
  20506. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20507. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20508. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20509. write_phy_reg(pi, 0x1ac, valuetostuff);
  20510. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20511. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20512. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20513. write_phy_reg(pi, 0x1b2, valuetostuff);
  20514. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20515. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20516. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20517. write_phy_reg(pi, 0x1b8, valuetostuff);
  20518. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20519. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20520. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20521. write_phy_reg(pi, 0x1a4, valuetostuff);
  20522. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20523. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20524. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20525. write_phy_reg(pi, 0x1aa, valuetostuff);
  20526. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20527. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20528. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20529. write_phy_reg(pi, 0x1b0, valuetostuff);
  20530. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20531. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20532. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20533. write_phy_reg(pi, 0x1b6, valuetostuff);
  20534. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20535. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20536. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20537. write_phy_reg(pi, 0x1a5, valuetostuff);
  20538. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20539. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20540. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20541. write_phy_reg(pi, 0x1ab, valuetostuff);
  20542. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20543. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20544. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20545. write_phy_reg(pi, 0x1b1, valuetostuff);
  20546. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20547. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20548. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20549. write_phy_reg(pi, 0x1b7, valuetostuff);
  20550. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20551. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20552. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20553. write_phy_reg(pi, 0x1a7, valuetostuff);
  20554. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20555. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20556. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20557. write_phy_reg(pi, 0x1ad, valuetostuff);
  20558. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20559. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20560. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20561. write_phy_reg(pi, 0x1b3, valuetostuff);
  20562. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20563. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20564. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20565. write_phy_reg(pi, 0x1b9, valuetostuff);
  20566. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20567. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20568. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20569. write_phy_reg(pi, 0x1a8, valuetostuff);
  20570. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20571. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20572. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20573. write_phy_reg(pi, 0x1ae, valuetostuff);
  20574. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20575. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20576. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20577. write_phy_reg(pi, 0x1b4, valuetostuff);
  20578. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20579. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20580. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20581. write_phy_reg(pi, 0x1ba, valuetostuff);
  20582. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20583. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20584. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20585. write_phy_reg(pi, 0x1a9, valuetostuff);
  20586. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20587. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20588. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20589. write_phy_reg(pi, 0x1b5, valuetostuff);
  20590. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20591. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20592. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20593. write_phy_reg(pi, 0x1af, valuetostuff);
  20594. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20595. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20596. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20597. write_phy_reg(pi, 0x1bb, valuetostuff);
  20598. }
  20599. static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core)
  20600. {
  20601. if (PHY_IPA(pi)) {
  20602. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20603. write_radio_reg(pi,
  20604. ((core == PHY_CORE_0) ?
  20605. RADIO_2057_TX0_TX_SSI_MUX :
  20606. RADIO_2057_TX1_TX_SSI_MUX),
  20607. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20608. 0xc : 0xe));
  20609. else
  20610. write_radio_reg(pi,
  20611. RADIO_2056_TX_TX_SSI_MUX |
  20612. ((core == PHY_CORE_0) ?
  20613. RADIO_2056_TX0 : RADIO_2056_TX1),
  20614. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20615. 0xc : 0xe));
  20616. } else {
  20617. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20618. write_radio_reg(pi,
  20619. ((core == PHY_CORE_0) ?
  20620. RADIO_2057_TX0_TX_SSI_MUX :
  20621. RADIO_2057_TX1_TX_SSI_MUX),
  20622. 0x11);
  20623. if (pi->pubpi.radioid == BCM2057_ID)
  20624. write_radio_reg(pi,
  20625. RADIO_2057_IQTEST_SEL_PU, 0x1);
  20626. } else {
  20627. write_radio_reg(pi,
  20628. RADIO_2056_TX_TX_SSI_MUX |
  20629. ((core == PHY_CORE_0) ?
  20630. RADIO_2056_TX0 : RADIO_2056_TX1),
  20631. 0x11);
  20632. }
  20633. }
  20634. }
  20635. void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type)
  20636. {
  20637. u16 mask, val;
  20638. u16 afectrlovr_rssi_val, rfctrlcmd_rxen_val, rfctrlcmd_coresel_val,
  20639. startseq;
  20640. u16 rfctrlovr_rssi_val, rfctrlovr_rxen_val, rfctrlovr_coresel_val,
  20641. rfctrlovr_trigger_val;
  20642. u16 afectrlovr_rssi_mask, rfctrlcmd_mask, rfctrlovr_mask;
  20643. u16 rfctrlcmd_val, rfctrlovr_val;
  20644. u8 core;
  20645. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20646. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20647. mod_phy_reg(pi, 0x8f, (0x1 << 9), 0);
  20648. mod_phy_reg(pi, 0xa5, (0x1 << 9), 0);
  20649. mod_phy_reg(pi, 0xa6, (0x3 << 8), 0);
  20650. mod_phy_reg(pi, 0xa7, (0x3 << 8), 0);
  20651. mod_phy_reg(pi, 0xe5, (0x1 << 5), 0);
  20652. mod_phy_reg(pi, 0xe6, (0x1 << 5), 0);
  20653. mask = (0x1 << 2) |
  20654. (0x1 << 3) | (0x1 << 4) | (0x1 << 5);
  20655. mod_phy_reg(pi, 0xf9, mask, 0);
  20656. mod_phy_reg(pi, 0xfb, mask, 0);
  20657. } else {
  20658. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20659. if (core_code == RADIO_MIMO_CORESEL_CORE1
  20660. && core == PHY_CORE_1)
  20661. continue;
  20662. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  20663. && core == PHY_CORE_0)
  20664. continue;
  20665. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20666. 0x8f : 0xa5, (0x1 << 9), 1 << 9);
  20667. if (rssi_type == NPHY_RSSI_SEL_W1 ||
  20668. rssi_type == NPHY_RSSI_SEL_W2 ||
  20669. rssi_type == NPHY_RSSI_SEL_NB) {
  20670. mod_phy_reg(pi,
  20671. (core ==
  20672. PHY_CORE_0) ? 0xa6 : 0xa7,
  20673. (0x3 << 8), 0);
  20674. mask = (0x1 << 2) |
  20675. (0x1 << 3) |
  20676. (0x1 << 4) | (0x1 << 5);
  20677. mod_phy_reg(pi,
  20678. (core ==
  20679. PHY_CORE_0) ? 0xf9 : 0xfb,
  20680. mask, 0);
  20681. if (rssi_type == NPHY_RSSI_SEL_W1) {
  20682. if (CHSPEC_IS5G(
  20683. pi->radio_chanspec)) {
  20684. mask = (0x1 << 2);
  20685. val = 1 << 2;
  20686. } else {
  20687. mask = (0x1 << 3);
  20688. val = 1 << 3;
  20689. }
  20690. } else if (rssi_type ==
  20691. NPHY_RSSI_SEL_W2) {
  20692. mask = (0x1 << 4);
  20693. val = 1 << 4;
  20694. } else {
  20695. mask = (0x1 << 5);
  20696. val = 1 << 5;
  20697. }
  20698. mod_phy_reg(pi,
  20699. (core ==
  20700. PHY_CORE_0) ? 0xf9 : 0xfb,
  20701. mask, val);
  20702. mask = (0x1 << 5);
  20703. val = 1 << 5;
  20704. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20705. 0xe5 : 0xe6, mask, val);
  20706. } else {
  20707. if (rssi_type == NPHY_RSSI_SEL_TBD) {
  20708. mask = (0x3 << 8);
  20709. val = 1 << 8;
  20710. mod_phy_reg(pi,
  20711. (core ==
  20712. PHY_CORE_0) ? 0xa6
  20713. : 0xa7, mask, val);
  20714. mask = (0x3 << 10);
  20715. val = 1 << 10;
  20716. mod_phy_reg(pi,
  20717. (core ==
  20718. PHY_CORE_0) ? 0xa6
  20719. : 0xa7, mask, val);
  20720. } else if (rssi_type ==
  20721. NPHY_RSSI_SEL_IQ) {
  20722. mask = (0x3 << 8);
  20723. val = 2 << 8;
  20724. mod_phy_reg(pi,
  20725. (core ==
  20726. PHY_CORE_0) ? 0xa6
  20727. : 0xa7, mask, val);
  20728. mask = (0x3 << 10);
  20729. val = 2 << 10;
  20730. mod_phy_reg(pi,
  20731. (core ==
  20732. PHY_CORE_0) ? 0xa6
  20733. : 0xa7, mask, val);
  20734. } else {
  20735. mask = (0x3 << 8);
  20736. val = 3 << 8;
  20737. mod_phy_reg(pi,
  20738. (core ==
  20739. PHY_CORE_0) ? 0xa6
  20740. : 0xa7, mask, val);
  20741. mask = (0x3 << 10);
  20742. val = 3 << 10;
  20743. mod_phy_reg(pi,
  20744. (core ==
  20745. PHY_CORE_0) ? 0xa6
  20746. : 0xa7, mask, val);
  20747. brcms_phy_wr_tx_mux(pi, core);
  20748. afectrlovr_rssi_val = 1 << 9;
  20749. mod_phy_reg(pi,
  20750. (core ==
  20751. PHY_CORE_0) ? 0x8f
  20752. : 0xa5, (0x1 << 9),
  20753. afectrlovr_rssi_val);
  20754. }
  20755. }
  20756. }
  20757. }
  20758. } else {
  20759. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20760. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20761. (rssi_type == NPHY_RSSI_SEL_NB))
  20762. val = 0x0;
  20763. else if (rssi_type == NPHY_RSSI_SEL_TBD)
  20764. val = 0x1;
  20765. else if (rssi_type == NPHY_RSSI_SEL_IQ)
  20766. val = 0x2;
  20767. else
  20768. val = 0x3;
  20769. mask = ((0x3 << 12) | (0x3 << 14));
  20770. val = (val << 12) | (val << 14);
  20771. mod_phy_reg(pi, 0xa6, mask, val);
  20772. mod_phy_reg(pi, 0xa7, mask, val);
  20773. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20774. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20775. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20776. if (rssi_type == NPHY_RSSI_SEL_W1)
  20777. val = 0x1;
  20778. if (rssi_type == NPHY_RSSI_SEL_W2)
  20779. val = 0x2;
  20780. if (rssi_type == NPHY_RSSI_SEL_NB)
  20781. val = 0x3;
  20782. mask = (0x3 << 4);
  20783. val = (val << 4);
  20784. mod_phy_reg(pi, 0x7a, mask, val);
  20785. mod_phy_reg(pi, 0x7d, mask, val);
  20786. }
  20787. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20788. afectrlovr_rssi_val = 0;
  20789. rfctrlcmd_rxen_val = 0;
  20790. rfctrlcmd_coresel_val = 0;
  20791. rfctrlovr_rssi_val = 0;
  20792. rfctrlovr_rxen_val = 0;
  20793. rfctrlovr_coresel_val = 0;
  20794. rfctrlovr_trigger_val = 0;
  20795. startseq = 0;
  20796. } else {
  20797. afectrlovr_rssi_val = 1;
  20798. rfctrlcmd_rxen_val = 1;
  20799. rfctrlcmd_coresel_val = core_code;
  20800. rfctrlovr_rssi_val = 1;
  20801. rfctrlovr_rxen_val = 1;
  20802. rfctrlovr_coresel_val = 1;
  20803. rfctrlovr_trigger_val = 1;
  20804. startseq = 1;
  20805. }
  20806. afectrlovr_rssi_mask = ((0x1 << 12) | (0x1 << 13));
  20807. afectrlovr_rssi_val = (afectrlovr_rssi_val <<
  20808. 12) | (afectrlovr_rssi_val << 13);
  20809. mod_phy_reg(pi, 0xa5, afectrlovr_rssi_mask,
  20810. afectrlovr_rssi_val);
  20811. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20812. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20813. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20814. rfctrlcmd_mask = ((0x1 << 8) | (0x7 << 3));
  20815. rfctrlcmd_val = (rfctrlcmd_rxen_val << 8) |
  20816. (rfctrlcmd_coresel_val << 3);
  20817. rfctrlovr_mask = ((0x1 << 5) |
  20818. (0x1 << 12) |
  20819. (0x1 << 1) | (0x1 << 0));
  20820. rfctrlovr_val = (rfctrlovr_rssi_val <<
  20821. 5) |
  20822. (rfctrlovr_rxen_val << 12) |
  20823. (rfctrlovr_coresel_val << 1) |
  20824. (rfctrlovr_trigger_val << 0);
  20825. mod_phy_reg(pi, 0x78, rfctrlcmd_mask, rfctrlcmd_val);
  20826. mod_phy_reg(pi, 0xec, rfctrlovr_mask, rfctrlovr_val);
  20827. mod_phy_reg(pi, 0x78, (0x1 << 0), (startseq << 0));
  20828. udelay(20);
  20829. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  20830. }
  20831. }
  20832. }
  20833. int
  20834. wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf,
  20835. u8 nsamps)
  20836. {
  20837. s16 rssi0, rssi1;
  20838. u16 afectrlCore1_save = 0;
  20839. u16 afectrlCore2_save = 0;
  20840. u16 afectrlOverride1_save = 0;
  20841. u16 afectrlOverride2_save = 0;
  20842. u16 rfctrlOverrideAux0_save = 0;
  20843. u16 rfctrlOverrideAux1_save = 0;
  20844. u16 rfctrlMiscReg1_save = 0;
  20845. u16 rfctrlMiscReg2_save = 0;
  20846. u16 rfctrlcmd_save = 0;
  20847. u16 rfctrloverride_save = 0;
  20848. u16 rfctrlrssiothers1_save = 0;
  20849. u16 rfctrlrssiothers2_save = 0;
  20850. s8 tmp_buf[4];
  20851. u8 ctr = 0, samp = 0;
  20852. s32 rssi_out_val;
  20853. u16 gpiosel_orig;
  20854. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20855. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20856. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20857. rfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  20858. rfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  20859. afectrlOverride1_save = read_phy_reg(pi, 0x8f);
  20860. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20861. rfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  20862. rfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  20863. } else {
  20864. afectrlOverride1_save = read_phy_reg(pi, 0xa5);
  20865. rfctrlcmd_save = read_phy_reg(pi, 0x78);
  20866. rfctrloverride_save = read_phy_reg(pi, 0xec);
  20867. rfctrlrssiothers1_save = read_phy_reg(pi, 0x7a);
  20868. rfctrlrssiothers2_save = read_phy_reg(pi, 0x7d);
  20869. }
  20870. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  20871. gpiosel_orig = read_phy_reg(pi, 0xca);
  20872. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20873. write_phy_reg(pi, 0xca, 5);
  20874. for (ctr = 0; ctr < 4; ctr++)
  20875. rssi_buf[ctr] = 0;
  20876. for (samp = 0; samp < nsamps; samp++) {
  20877. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  20878. rssi0 = read_phy_reg(pi, 0x1c9);
  20879. rssi1 = read_phy_reg(pi, 0x1ca);
  20880. } else {
  20881. rssi0 = read_phy_reg(pi, 0x219);
  20882. rssi1 = read_phy_reg(pi, 0x21a);
  20883. }
  20884. ctr = 0;
  20885. tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2;
  20886. tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2;
  20887. tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2;
  20888. tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2;
  20889. for (ctr = 0; ctr < 4; ctr++)
  20890. rssi_buf[ctr] += tmp_buf[ctr];
  20891. }
  20892. rssi_out_val = rssi_buf[3] & 0xff;
  20893. rssi_out_val |= (rssi_buf[2] & 0xff) << 8;
  20894. rssi_out_val |= (rssi_buf[1] & 0xff) << 16;
  20895. rssi_out_val |= (rssi_buf[0] & 0xff) << 24;
  20896. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20897. write_phy_reg(pi, 0xca, gpiosel_orig);
  20898. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20899. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20900. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20901. write_phy_reg(pi, 0xf9, rfctrlMiscReg1_save);
  20902. write_phy_reg(pi, 0xfb, rfctrlMiscReg2_save);
  20903. write_phy_reg(pi, 0x8f, afectrlOverride1_save);
  20904. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20905. write_phy_reg(pi, 0xe5, rfctrlOverrideAux0_save);
  20906. write_phy_reg(pi, 0xe6, rfctrlOverrideAux1_save);
  20907. } else {
  20908. write_phy_reg(pi, 0xa5, afectrlOverride1_save);
  20909. write_phy_reg(pi, 0x78, rfctrlcmd_save);
  20910. write_phy_reg(pi, 0xec, rfctrloverride_save);
  20911. write_phy_reg(pi, 0x7a, rfctrlrssiothers1_save);
  20912. write_phy_reg(pi, 0x7d, rfctrlrssiothers2_save);
  20913. }
  20914. return rssi_out_val;
  20915. }
  20916. s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi)
  20917. {
  20918. u16 core1_txrf_iqcal1_save, core1_txrf_iqcal2_save;
  20919. u16 core2_txrf_iqcal1_save, core2_txrf_iqcal2_save;
  20920. u16 pwrdet_rxtx_core1_save;
  20921. u16 pwrdet_rxtx_core2_save;
  20922. u16 afectrlCore1_save;
  20923. u16 afectrlCore2_save;
  20924. u16 afectrlOverride_save;
  20925. u16 afectrlOverride2_save;
  20926. u16 pd_pll_ts_save;
  20927. u16 gpioSel_save;
  20928. s32 radio_temp[4];
  20929. s32 radio_temp2[4];
  20930. u16 syn_tempprocsense_save;
  20931. s16 offset = 0;
  20932. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20933. u16 auxADC_Vmid, auxADC_Av, auxADC_Vmid_save, auxADC_Av_save;
  20934. u16 auxADC_rssi_ctrlL_save, auxADC_rssi_ctrlH_save;
  20935. u16 auxADC_rssi_ctrlL, auxADC_rssi_ctrlH;
  20936. s32 auxADC_Vl;
  20937. u16 RfctrlOverride5_save, RfctrlOverride6_save;
  20938. u16 RfctrlMiscReg5_save, RfctrlMiscReg6_save;
  20939. u16 RSSIMultCoef0QPowerDet_save;
  20940. u16 tempsense_Rcal;
  20941. syn_tempprocsense_save =
  20942. read_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG);
  20943. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20944. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20945. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20946. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20947. RSSIMultCoef0QPowerDet_save = read_phy_reg(pi, 0x1ae);
  20948. RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  20949. RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  20950. RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  20951. RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  20952. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20953. &auxADC_Vmid_save);
  20954. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20955. &auxADC_Av_save);
  20956. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20957. &auxADC_rssi_ctrlL_save);
  20958. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20959. &auxADC_rssi_ctrlH_save);
  20960. write_phy_reg(pi, 0x1ae, 0x0);
  20961. auxADC_rssi_ctrlL = 0x0;
  20962. auxADC_rssi_ctrlH = 0x20;
  20963. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20964. &auxADC_rssi_ctrlL);
  20965. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20966. &auxADC_rssi_ctrlH);
  20967. tempsense_Rcal = syn_tempprocsense_save & 0x1c;
  20968. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20969. tempsense_Rcal | 0x01);
  20970. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  20971. 1, 0, 0,
  20972. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20973. mod_phy_reg(pi, 0xa6, (0x1 << 7), 0);
  20974. mod_phy_reg(pi, 0xa7, (0x1 << 7), 0);
  20975. mod_phy_reg(pi, 0x8f, (0x1 << 7), (0x1 << 7));
  20976. mod_phy_reg(pi, 0xa5, (0x1 << 7), (0x1 << 7));
  20977. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  20978. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  20979. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  20980. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  20981. udelay(5);
  20982. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  20983. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  20984. mod_phy_reg(pi, 0xa6, (0x1 << 3), 0);
  20985. mod_phy_reg(pi, 0xa7, (0x1 << 3), 0);
  20986. mod_phy_reg(pi, 0x8f, (0x1 << 3), (0x1 << 3));
  20987. mod_phy_reg(pi, 0xa5, (0x1 << 3), (0x1 << 3));
  20988. mod_phy_reg(pi, 0xa6, (0x1 << 6), 0);
  20989. mod_phy_reg(pi, 0xa7, (0x1 << 6), 0);
  20990. mod_phy_reg(pi, 0x8f, (0x1 << 6), (0x1 << 6));
  20991. mod_phy_reg(pi, 0xa5, (0x1 << 6), (0x1 << 6));
  20992. auxADC_Vmid = 0xA3;
  20993. auxADC_Av = 0x0;
  20994. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20995. &auxADC_Vmid);
  20996. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20997. &auxADC_Av);
  20998. udelay(3);
  20999. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21000. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21001. tempsense_Rcal | 0x03);
  21002. udelay(5);
  21003. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21004. auxADC_Av = 0x7;
  21005. if (radio_temp[1] + radio_temp2[1] < -30) {
  21006. auxADC_Vmid = 0x45;
  21007. auxADC_Vl = 263;
  21008. } else if (radio_temp[1] + radio_temp2[1] < -9) {
  21009. auxADC_Vmid = 0x200;
  21010. auxADC_Vl = 467;
  21011. } else if (radio_temp[1] + radio_temp2[1] < 11) {
  21012. auxADC_Vmid = 0x266;
  21013. auxADC_Vl = 634;
  21014. } else {
  21015. auxADC_Vmid = 0x2D5;
  21016. auxADC_Vl = 816;
  21017. }
  21018. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21019. &auxADC_Vmid);
  21020. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21021. &auxADC_Av);
  21022. udelay(3);
  21023. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21024. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21025. tempsense_Rcal | 0x01);
  21026. udelay(5);
  21027. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21028. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21029. syn_tempprocsense_save);
  21030. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21031. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21032. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21033. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21034. write_phy_reg(pi, 0x1ae, RSSIMultCoef0QPowerDet_save);
  21035. write_phy_reg(pi, 0x346, RfctrlOverride5_save);
  21036. write_phy_reg(pi, 0x347, RfctrlOverride6_save);
  21037. write_phy_reg(pi, 0x344, RfctrlMiscReg5_save);
  21038. write_phy_reg(pi, 0x345, RfctrlMiscReg5_save);
  21039. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21040. &auxADC_Vmid_save);
  21041. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21042. &auxADC_Av_save);
  21043. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  21044. &auxADC_rssi_ctrlL_save);
  21045. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  21046. &auxADC_rssi_ctrlH_save);
  21047. radio_temp[0] = (179 * (radio_temp[1] + radio_temp2[1])
  21048. + 82 * (auxADC_Vl) - 28861 +
  21049. 128) / 256;
  21050. offset = (s16) pi->phy_tempsense_offset;
  21051. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21052. syn_tempprocsense_save =
  21053. read_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE);
  21054. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21055. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21056. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  21057. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21058. gpioSel_save = read_phy_reg(pi, 0xca);
  21059. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21060. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21061. if (NREV_LT(pi->pubpi.phy_rev, 7))
  21062. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x05);
  21063. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21064. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21065. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x01);
  21066. else
  21067. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21068. radio_temp[0] =
  21069. (126 * (radio_temp[1] + radio_temp2[1]) + 3987) / 64;
  21070. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE,
  21071. syn_tempprocsense_save);
  21072. write_phy_reg(pi, 0xca, gpioSel_save);
  21073. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21074. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21075. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21076. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21077. offset = (s16) pi->phy_tempsense_offset;
  21078. } else {
  21079. pwrdet_rxtx_core1_save =
  21080. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  21081. pwrdet_rxtx_core2_save =
  21082. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  21083. core1_txrf_iqcal1_save =
  21084. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  21085. core1_txrf_iqcal2_save =
  21086. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  21087. core2_txrf_iqcal1_save =
  21088. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  21089. core2_txrf_iqcal2_save =
  21090. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  21091. pd_pll_ts_save = read_radio_reg(pi, RADIO_2055_PD_PLL_TS);
  21092. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21093. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21094. afectrlOverride_save = read_phy_reg(pi, 0xa5);
  21095. gpioSel_save = read_phy_reg(pi, 0xca);
  21096. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x01);
  21097. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x01);
  21098. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x08);
  21099. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x08);
  21100. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  21101. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  21102. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, 0x00);
  21103. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21104. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21105. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21106. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21107. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21108. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21109. radio_temp[0] = (radio_temp[0] + radio_temp2[0]);
  21110. radio_temp[1] = (radio_temp[1] + radio_temp2[1]);
  21111. radio_temp[2] = (radio_temp[2] + radio_temp2[2]);
  21112. radio_temp[3] = (radio_temp[3] + radio_temp2[3]);
  21113. radio_temp[0] =
  21114. (radio_temp[0] + radio_temp[1] + radio_temp[2] +
  21115. radio_temp[3]);
  21116. radio_temp[0] =
  21117. (radio_temp[0] +
  21118. (8 * 32)) * (950 - 350) / 63 + (350 * 8);
  21119. radio_temp[0] = (radio_temp[0] - (8 * 420)) / 38;
  21120. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  21121. pwrdet_rxtx_core1_save);
  21122. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  21123. pwrdet_rxtx_core2_save);
  21124. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  21125. core1_txrf_iqcal1_save);
  21126. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  21127. core2_txrf_iqcal1_save);
  21128. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  21129. core1_txrf_iqcal2_save);
  21130. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  21131. core2_txrf_iqcal2_save);
  21132. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, pd_pll_ts_save);
  21133. write_phy_reg(pi, 0xca, gpioSel_save);
  21134. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21135. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21136. write_phy_reg(pi, 0xa5, afectrlOverride_save);
  21137. }
  21138. return (s16) radio_temp[0] + offset;
  21139. }
  21140. static void
  21141. wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf)
  21142. {
  21143. u8 core;
  21144. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21145. if (rssi_type == NPHY_RSSI_SEL_NB) {
  21146. if (core == PHY_CORE_0) {
  21147. mod_radio_reg(pi,
  21148. RADIO_2055_CORE1_B0_NBRSSI_VCM,
  21149. RADIO_2055_NBRSSI_VCM_I_MASK,
  21150. vcm_buf[2 *
  21151. core] <<
  21152. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21153. mod_radio_reg(pi,
  21154. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21155. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21156. vcm_buf[2 * core +
  21157. 1] <<
  21158. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21159. } else {
  21160. mod_radio_reg(pi,
  21161. RADIO_2055_CORE2_B0_NBRSSI_VCM,
  21162. RADIO_2055_NBRSSI_VCM_I_MASK,
  21163. vcm_buf[2 *
  21164. core] <<
  21165. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21166. mod_radio_reg(pi,
  21167. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21168. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21169. vcm_buf[2 * core +
  21170. 1] <<
  21171. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21172. }
  21173. } else {
  21174. if (core == PHY_CORE_0)
  21175. mod_radio_reg(pi,
  21176. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21177. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21178. vcm_buf[2 *
  21179. core] <<
  21180. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21181. else
  21182. mod_radio_reg(pi,
  21183. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21184. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21185. vcm_buf[2 *
  21186. core] <<
  21187. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21188. }
  21189. }
  21190. }
  21191. static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi)
  21192. {
  21193. u16 classif_state;
  21194. u16 clip_state[2];
  21195. u16 clip_off[] = { 0xffff, 0xffff };
  21196. s32 target_code;
  21197. u8 vcm, min_vcm;
  21198. u8 vcm_final = 0;
  21199. u8 result_idx;
  21200. s32 poll_results[8][4] = {
  21201. {0, 0, 0, 0},
  21202. {0, 0, 0, 0},
  21203. {0, 0, 0, 0},
  21204. {0, 0, 0, 0},
  21205. {0, 0, 0, 0},
  21206. {0, 0, 0, 0},
  21207. {0, 0, 0, 0},
  21208. {0, 0, 0, 0}
  21209. };
  21210. s32 poll_result_core[4] = { 0, 0, 0, 0 };
  21211. s32 min_d = NPHY_RSSICAL_MAXD, curr_d;
  21212. s32 fine_digital_offset[4];
  21213. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21214. s32 min_poll;
  21215. u8 vcm_level_max;
  21216. u8 core;
  21217. u8 wb_cnt;
  21218. u8 rssi_type;
  21219. u16 NPHY_Rfctrlintc1_save, NPHY_Rfctrlintc2_save;
  21220. u16 NPHY_AfectrlOverride1_save, NPHY_AfectrlOverride2_save;
  21221. u16 NPHY_AfectrlCore1_save, NPHY_AfectrlCore2_save;
  21222. u16 NPHY_RfctrlOverride0_save, NPHY_RfctrlOverride1_save;
  21223. u16 NPHY_RfctrlOverrideAux0_save, NPHY_RfctrlOverrideAux1_save;
  21224. u16 NPHY_RfctrlCmd_save;
  21225. u16 NPHY_RfctrlMiscReg1_save, NPHY_RfctrlMiscReg2_save;
  21226. u16 NPHY_RfctrlRSSIOTHERS1_save, NPHY_RfctrlRSSIOTHERS2_save;
  21227. u8 rxcore_state;
  21228. u16 NPHY_REV7_RfctrlOverride3_save, NPHY_REV7_RfctrlOverride4_save;
  21229. u16 NPHY_REV7_RfctrlOverride5_save, NPHY_REV7_RfctrlOverride6_save;
  21230. u16 NPHY_REV7_RfctrlMiscReg3_save, NPHY_REV7_RfctrlMiscReg4_save;
  21231. u16 NPHY_REV7_RfctrlMiscReg5_save, NPHY_REV7_RfctrlMiscReg6_save;
  21232. NPHY_REV7_RfctrlOverride3_save =
  21233. NPHY_REV7_RfctrlOverride4_save =
  21234. NPHY_REV7_RfctrlOverride5_save =
  21235. NPHY_REV7_RfctrlOverride6_save =
  21236. NPHY_REV7_RfctrlMiscReg3_save =
  21237. NPHY_REV7_RfctrlMiscReg4_save =
  21238. NPHY_REV7_RfctrlMiscReg5_save =
  21239. NPHY_REV7_RfctrlMiscReg6_save = 0;
  21240. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21241. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21242. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21243. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21244. NPHY_Rfctrlintc1_save = read_phy_reg(pi, 0x91);
  21245. NPHY_Rfctrlintc2_save = read_phy_reg(pi, 0x92);
  21246. NPHY_AfectrlOverride1_save = read_phy_reg(pi, 0x8f);
  21247. NPHY_AfectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21248. NPHY_AfectrlCore1_save = read_phy_reg(pi, 0xa6);
  21249. NPHY_AfectrlCore2_save = read_phy_reg(pi, 0xa7);
  21250. NPHY_RfctrlOverride0_save = read_phy_reg(pi, 0xe7);
  21251. NPHY_RfctrlOverride1_save = read_phy_reg(pi, 0xec);
  21252. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21253. NPHY_REV7_RfctrlOverride3_save = read_phy_reg(pi, 0x342);
  21254. NPHY_REV7_RfctrlOverride4_save = read_phy_reg(pi, 0x343);
  21255. NPHY_REV7_RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  21256. NPHY_REV7_RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  21257. }
  21258. NPHY_RfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  21259. NPHY_RfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  21260. NPHY_RfctrlCmd_save = read_phy_reg(pi, 0x78);
  21261. NPHY_RfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  21262. NPHY_RfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  21263. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21264. NPHY_REV7_RfctrlMiscReg3_save = read_phy_reg(pi, 0x340);
  21265. NPHY_REV7_RfctrlMiscReg4_save = read_phy_reg(pi, 0x341);
  21266. NPHY_REV7_RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  21267. NPHY_REV7_RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  21268. }
  21269. NPHY_RfctrlRSSIOTHERS1_save = read_phy_reg(pi, 0x7a);
  21270. NPHY_RfctrlRSSIOTHERS2_save = read_phy_reg(pi, 0x7d);
  21271. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_OFF, 0,
  21272. RADIO_MIMO_CORESEL_ALLRXTX);
  21273. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_TRSW, 1,
  21274. RADIO_MIMO_CORESEL_ALLRXTX);
  21275. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21276. wlc_phy_rfctrl_override_1tomany_nphy(
  21277. pi,
  21278. NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,
  21279. 0, 0, 0);
  21280. else
  21281. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0, 0);
  21282. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21283. wlc_phy_rfctrl_override_1tomany_nphy(
  21284. pi,
  21285. NPHY_REV7_RfctrlOverride_cmd_rx_pu,
  21286. 1, 0, 0);
  21287. else
  21288. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0, 0);
  21289. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21290. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  21291. 1, 0, 0,
  21292. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21293. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 6), 1, 0, 0,
  21294. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21295. } else {
  21296. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 7), 1, 0, 0);
  21297. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 6), 1, 0, 0);
  21298. }
  21299. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21300. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21301. wlc_phy_rfctrl_override_nphy_rev7(
  21302. pi, (0x1 << 5),
  21303. 0, 0, 0,
  21304. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21305. wlc_phy_rfctrl_override_nphy_rev7(
  21306. pi, (0x1 << 4), 1, 0,
  21307. 0,
  21308. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21309. } else {
  21310. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 0, 0, 0);
  21311. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 1, 0, 0);
  21312. }
  21313. } else {
  21314. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21315. wlc_phy_rfctrl_override_nphy_rev7(
  21316. pi, (0x1 << 4),
  21317. 0, 0, 0,
  21318. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21319. wlc_phy_rfctrl_override_nphy_rev7(
  21320. pi, (0x1 << 5), 1, 0,
  21321. 0,
  21322. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21323. } else {
  21324. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 0, 0, 0);
  21325. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 1, 0, 0);
  21326. }
  21327. }
  21328. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  21329. (struct brcms_phy_pub *) pi);
  21330. vcm_level_max = 8;
  21331. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21332. if ((rxcore_state & (1 << core)) == 0)
  21333. continue;
  21334. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21335. core ==
  21336. PHY_CORE_0 ?
  21337. RADIO_MIMO_CORESEL_CORE1 :
  21338. RADIO_MIMO_CORESEL_CORE2,
  21339. NPHY_RAIL_I, NPHY_RSSI_SEL_NB);
  21340. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21341. core ==
  21342. PHY_CORE_0 ?
  21343. RADIO_MIMO_CORESEL_CORE1 :
  21344. RADIO_MIMO_CORESEL_CORE2,
  21345. NPHY_RAIL_Q, NPHY_RSSI_SEL_NB);
  21346. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21347. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21348. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21349. RADIO_2057_NB_MASTER_CORE0 :
  21350. RADIO_2057_NB_MASTER_CORE1,
  21351. RADIO_2057_VCM_MASK, vcm);
  21352. else
  21353. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21354. ((core ==
  21355. PHY_CORE_0) ? RADIO_2056_RX0 :
  21356. RADIO_2056_RX1),
  21357. RADIO_2056_VCM_MASK,
  21358. vcm << RADIO_2056_RSSI_VCM_SHIFT);
  21359. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_NB,
  21360. &poll_results[vcm][0],
  21361. NPHY_RSSICAL_NPOLL);
  21362. }
  21363. for (result_idx = 0; result_idx < 4; result_idx++) {
  21364. if ((core == result_idx / 2) &&
  21365. (result_idx % 2 == 0)) {
  21366. min_d = NPHY_RSSICAL_MAXD;
  21367. min_vcm = 0;
  21368. min_poll =
  21369. NPHY_RSSICAL_MAXREAD *
  21370. NPHY_RSSICAL_NPOLL + 1;
  21371. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21372. curr_d =
  21373. poll_results[vcm][result_idx] *
  21374. poll_results[vcm][result_idx] +
  21375. poll_results[vcm][result_idx +
  21376. 1] *
  21377. poll_results[vcm][result_idx +
  21378. 1];
  21379. if (curr_d < min_d) {
  21380. min_d = curr_d;
  21381. min_vcm = vcm;
  21382. }
  21383. if (poll_results[vcm][result_idx] <
  21384. min_poll)
  21385. min_poll =
  21386. poll_results[vcm]
  21387. [result_idx];
  21388. }
  21389. vcm_final = min_vcm;
  21390. poll_results_min[result_idx] = min_poll;
  21391. }
  21392. }
  21393. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21394. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21395. RADIO_2057_NB_MASTER_CORE0 :
  21396. RADIO_2057_NB_MASTER_CORE1,
  21397. RADIO_2057_VCM_MASK, vcm_final);
  21398. else
  21399. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21400. ((core ==
  21401. PHY_CORE_0) ? RADIO_2056_RX0 :
  21402. RADIO_2056_RX1), RADIO_2056_VCM_MASK,
  21403. vcm_final << RADIO_2056_RSSI_VCM_SHIFT);
  21404. for (result_idx = 0; result_idx < 4; result_idx++) {
  21405. if (core == result_idx / 2) {
  21406. fine_digital_offset[result_idx] =
  21407. (NPHY_RSSICAL_NB_TARGET *
  21408. NPHY_RSSICAL_NPOLL) -
  21409. poll_results[vcm_final][result_idx];
  21410. if (fine_digital_offset[result_idx] < 0) {
  21411. fine_digital_offset[result_idx] =
  21412. abs(fine_digital_offset
  21413. [result_idx]);
  21414. fine_digital_offset[result_idx] +=
  21415. (NPHY_RSSICAL_NPOLL / 2);
  21416. fine_digital_offset[result_idx] /=
  21417. NPHY_RSSICAL_NPOLL;
  21418. fine_digital_offset[result_idx] =
  21419. -fine_digital_offset[
  21420. result_idx];
  21421. } else {
  21422. fine_digital_offset[result_idx] +=
  21423. (NPHY_RSSICAL_NPOLL / 2);
  21424. fine_digital_offset[result_idx] /=
  21425. NPHY_RSSICAL_NPOLL;
  21426. }
  21427. if (poll_results_min[result_idx] ==
  21428. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21429. fine_digital_offset[result_idx] =
  21430. (NPHY_RSSICAL_NB_TARGET -
  21431. NPHY_RSSICAL_MAXREAD - 1);
  21432. wlc_phy_scale_offset_rssi_nphy(
  21433. pi, 0x0,
  21434. (s8)
  21435. fine_digital_offset
  21436. [result_idx],
  21437. (result_idx / 2 == 0) ?
  21438. RADIO_MIMO_CORESEL_CORE1 :
  21439. RADIO_MIMO_CORESEL_CORE2,
  21440. (result_idx % 2 == 0) ?
  21441. NPHY_RAIL_I : NPHY_RAIL_Q,
  21442. NPHY_RSSI_SEL_NB);
  21443. }
  21444. }
  21445. }
  21446. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21447. if ((rxcore_state & (1 << core)) == 0)
  21448. continue;
  21449. for (wb_cnt = 0; wb_cnt < 2; wb_cnt++) {
  21450. if (wb_cnt == 0) {
  21451. rssi_type = NPHY_RSSI_SEL_W1;
  21452. target_code = NPHY_RSSICAL_W1_TARGET_REV3;
  21453. } else {
  21454. rssi_type = NPHY_RSSI_SEL_W2;
  21455. target_code = NPHY_RSSICAL_W2_TARGET_REV3;
  21456. }
  21457. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21458. core ==
  21459. PHY_CORE_0 ?
  21460. RADIO_MIMO_CORESEL_CORE1
  21461. :
  21462. RADIO_MIMO_CORESEL_CORE2,
  21463. NPHY_RAIL_I, rssi_type);
  21464. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21465. core ==
  21466. PHY_CORE_0 ?
  21467. RADIO_MIMO_CORESEL_CORE1
  21468. :
  21469. RADIO_MIMO_CORESEL_CORE2,
  21470. NPHY_RAIL_Q, rssi_type);
  21471. wlc_phy_poll_rssi_nphy(pi, rssi_type, poll_result_core,
  21472. NPHY_RSSICAL_NPOLL);
  21473. for (result_idx = 0; result_idx < 4; result_idx++) {
  21474. if (core == result_idx / 2) {
  21475. fine_digital_offset[result_idx] =
  21476. (target_code *
  21477. NPHY_RSSICAL_NPOLL) -
  21478. poll_result_core[result_idx];
  21479. if (fine_digital_offset[result_idx] <
  21480. 0) {
  21481. fine_digital_offset[result_idx]
  21482. = abs(
  21483. fine_digital_offset
  21484. [result_idx]);
  21485. fine_digital_offset[result_idx]
  21486. += (NPHY_RSSICAL_NPOLL
  21487. / 2);
  21488. fine_digital_offset[result_idx]
  21489. /= NPHY_RSSICAL_NPOLL;
  21490. fine_digital_offset[result_idx]
  21491. = -fine_digital_offset
  21492. [result_idx];
  21493. } else {
  21494. fine_digital_offset[result_idx]
  21495. += (NPHY_RSSICAL_NPOLL
  21496. / 2);
  21497. fine_digital_offset[result_idx]
  21498. /= NPHY_RSSICAL_NPOLL;
  21499. }
  21500. wlc_phy_scale_offset_rssi_nphy(
  21501. pi, 0x0,
  21502. (s8)
  21503. fine_digital_offset
  21504. [core *
  21505. 2],
  21506. (core == PHY_CORE_0) ?
  21507. RADIO_MIMO_CORESEL_CORE1 :
  21508. RADIO_MIMO_CORESEL_CORE2,
  21509. (result_idx % 2 == 0) ?
  21510. NPHY_RAIL_I :
  21511. NPHY_RAIL_Q,
  21512. rssi_type);
  21513. }
  21514. }
  21515. }
  21516. }
  21517. write_phy_reg(pi, 0x91, NPHY_Rfctrlintc1_save);
  21518. write_phy_reg(pi, 0x92, NPHY_Rfctrlintc2_save);
  21519. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  21520. mod_phy_reg(pi, 0xe7, (0x1 << 0), 1 << 0);
  21521. mod_phy_reg(pi, 0x78, (0x1 << 0), 1 << 0);
  21522. mod_phy_reg(pi, 0xe7, (0x1 << 0), 0);
  21523. mod_phy_reg(pi, 0xec, (0x1 << 0), 1 << 0);
  21524. mod_phy_reg(pi, 0x78, (0x1 << 1), 1 << 1);
  21525. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  21526. write_phy_reg(pi, 0x8f, NPHY_AfectrlOverride1_save);
  21527. write_phy_reg(pi, 0xa5, NPHY_AfectrlOverride2_save);
  21528. write_phy_reg(pi, 0xa6, NPHY_AfectrlCore1_save);
  21529. write_phy_reg(pi, 0xa7, NPHY_AfectrlCore2_save);
  21530. write_phy_reg(pi, 0xe7, NPHY_RfctrlOverride0_save);
  21531. write_phy_reg(pi, 0xec, NPHY_RfctrlOverride1_save);
  21532. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21533. write_phy_reg(pi, 0x342, NPHY_REV7_RfctrlOverride3_save);
  21534. write_phy_reg(pi, 0x343, NPHY_REV7_RfctrlOverride4_save);
  21535. write_phy_reg(pi, 0x346, NPHY_REV7_RfctrlOverride5_save);
  21536. write_phy_reg(pi, 0x347, NPHY_REV7_RfctrlOverride6_save);
  21537. }
  21538. write_phy_reg(pi, 0xe5, NPHY_RfctrlOverrideAux0_save);
  21539. write_phy_reg(pi, 0xe6, NPHY_RfctrlOverrideAux1_save);
  21540. write_phy_reg(pi, 0x78, NPHY_RfctrlCmd_save);
  21541. write_phy_reg(pi, 0xf9, NPHY_RfctrlMiscReg1_save);
  21542. write_phy_reg(pi, 0xfb, NPHY_RfctrlMiscReg2_save);
  21543. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21544. write_phy_reg(pi, 0x340, NPHY_REV7_RfctrlMiscReg3_save);
  21545. write_phy_reg(pi, 0x341, NPHY_REV7_RfctrlMiscReg4_save);
  21546. write_phy_reg(pi, 0x344, NPHY_REV7_RfctrlMiscReg5_save);
  21547. write_phy_reg(pi, 0x345, NPHY_REV7_RfctrlMiscReg6_save);
  21548. }
  21549. write_phy_reg(pi, 0x7a, NPHY_RfctrlRSSIOTHERS1_save);
  21550. write_phy_reg(pi, 0x7d, NPHY_RfctrlRSSIOTHERS2_save);
  21551. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  21552. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21553. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21554. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21555. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21556. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21557. } else {
  21558. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21559. read_radio_reg(pi,
  21560. RADIO_2056_RX_RSSI_MISC |
  21561. RADIO_2056_RX0);
  21562. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21563. read_radio_reg(pi,
  21564. RADIO_2056_RX_RSSI_MISC |
  21565. RADIO_2056_RX1);
  21566. }
  21567. pi->rssical_cache.rssical_phyregs_2G[0] =
  21568. read_phy_reg(pi, 0x1a6);
  21569. pi->rssical_cache.rssical_phyregs_2G[1] =
  21570. read_phy_reg(pi, 0x1ac);
  21571. pi->rssical_cache.rssical_phyregs_2G[2] =
  21572. read_phy_reg(pi, 0x1b2);
  21573. pi->rssical_cache.rssical_phyregs_2G[3] =
  21574. read_phy_reg(pi, 0x1b8);
  21575. pi->rssical_cache.rssical_phyregs_2G[4] =
  21576. read_phy_reg(pi, 0x1a4);
  21577. pi->rssical_cache.rssical_phyregs_2G[5] =
  21578. read_phy_reg(pi, 0x1aa);
  21579. pi->rssical_cache.rssical_phyregs_2G[6] =
  21580. read_phy_reg(pi, 0x1b0);
  21581. pi->rssical_cache.rssical_phyregs_2G[7] =
  21582. read_phy_reg(pi, 0x1b6);
  21583. pi->rssical_cache.rssical_phyregs_2G[8] =
  21584. read_phy_reg(pi, 0x1a5);
  21585. pi->rssical_cache.rssical_phyregs_2G[9] =
  21586. read_phy_reg(pi, 0x1ab);
  21587. pi->rssical_cache.rssical_phyregs_2G[10] =
  21588. read_phy_reg(pi, 0x1b1);
  21589. pi->rssical_cache.rssical_phyregs_2G[11] =
  21590. read_phy_reg(pi, 0x1b7);
  21591. pi->nphy_rssical_chanspec_2G = pi->radio_chanspec;
  21592. } else {
  21593. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21594. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21595. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21596. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21597. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21598. } else {
  21599. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21600. read_radio_reg(pi,
  21601. RADIO_2056_RX_RSSI_MISC |
  21602. RADIO_2056_RX0);
  21603. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21604. read_radio_reg(pi,
  21605. RADIO_2056_RX_RSSI_MISC |
  21606. RADIO_2056_RX1);
  21607. }
  21608. pi->rssical_cache.rssical_phyregs_5G[0] =
  21609. read_phy_reg(pi, 0x1a6);
  21610. pi->rssical_cache.rssical_phyregs_5G[1] =
  21611. read_phy_reg(pi, 0x1ac);
  21612. pi->rssical_cache.rssical_phyregs_5G[2] =
  21613. read_phy_reg(pi, 0x1b2);
  21614. pi->rssical_cache.rssical_phyregs_5G[3] =
  21615. read_phy_reg(pi, 0x1b8);
  21616. pi->rssical_cache.rssical_phyregs_5G[4] =
  21617. read_phy_reg(pi, 0x1a4);
  21618. pi->rssical_cache.rssical_phyregs_5G[5] =
  21619. read_phy_reg(pi, 0x1aa);
  21620. pi->rssical_cache.rssical_phyregs_5G[6] =
  21621. read_phy_reg(pi, 0x1b0);
  21622. pi->rssical_cache.rssical_phyregs_5G[7] =
  21623. read_phy_reg(pi, 0x1b6);
  21624. pi->rssical_cache.rssical_phyregs_5G[8] =
  21625. read_phy_reg(pi, 0x1a5);
  21626. pi->rssical_cache.rssical_phyregs_5G[9] =
  21627. read_phy_reg(pi, 0x1ab);
  21628. pi->rssical_cache.rssical_phyregs_5G[10] =
  21629. read_phy_reg(pi, 0x1b1);
  21630. pi->rssical_cache.rssical_phyregs_5G[11] =
  21631. read_phy_reg(pi, 0x1b7);
  21632. pi->nphy_rssical_chanspec_5G = pi->radio_chanspec;
  21633. }
  21634. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21635. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21636. }
  21637. static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
  21638. {
  21639. s32 target_code;
  21640. u16 classif_state;
  21641. u16 clip_state[2];
  21642. u16 rssi_ctrl_state[2], pd_state[2];
  21643. u16 rfctrlintc_state[2], rfpdcorerxtx_state[2];
  21644. u16 rfctrlintc_override_val;
  21645. u16 clip_off[] = { 0xffff, 0xffff };
  21646. u16 rf_pd_val, pd_mask, rssi_ctrl_mask;
  21647. u8 vcm, min_vcm, vcm_tmp[4];
  21648. u8 vcm_final[4] = { 0, 0, 0, 0 };
  21649. u8 result_idx, ctr;
  21650. s32 poll_results[4][4] = {
  21651. {0, 0, 0, 0},
  21652. {0, 0, 0, 0},
  21653. {0, 0, 0, 0},
  21654. {0, 0, 0, 0}
  21655. };
  21656. s32 poll_miniq[4][2] = {
  21657. {0, 0},
  21658. {0, 0},
  21659. {0, 0},
  21660. {0, 0}
  21661. };
  21662. s32 min_d, curr_d;
  21663. s32 fine_digital_offset[4];
  21664. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21665. s32 min_poll;
  21666. switch (rssi_type) {
  21667. case NPHY_RSSI_SEL_NB:
  21668. target_code = NPHY_RSSICAL_NB_TARGET;
  21669. break;
  21670. case NPHY_RSSI_SEL_W1:
  21671. target_code = NPHY_RSSICAL_W1_TARGET;
  21672. break;
  21673. case NPHY_RSSI_SEL_W2:
  21674. target_code = NPHY_RSSICAL_W2_TARGET;
  21675. break;
  21676. default:
  21677. return;
  21678. break;
  21679. }
  21680. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21681. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21682. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21683. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21684. rf_pd_val = (rssi_type == NPHY_RSSI_SEL_NB) ? 0x6 : 0x4;
  21685. rfctrlintc_override_val =
  21686. CHSPEC_IS5G(pi->radio_chanspec) ? 0x140 : 0x110;
  21687. rfctrlintc_state[0] = read_phy_reg(pi, 0x91);
  21688. rfpdcorerxtx_state[0] = read_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX);
  21689. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  21690. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rf_pd_val);
  21691. rfctrlintc_state[1] = read_phy_reg(pi, 0x92);
  21692. rfpdcorerxtx_state[1] = read_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX);
  21693. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  21694. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rf_pd_val);
  21695. pd_mask = RADIO_2055_NBRSSI_PD | RADIO_2055_WBRSSI_G1_PD |
  21696. RADIO_2055_WBRSSI_G2_PD;
  21697. pd_state[0] =
  21698. read_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC) & pd_mask;
  21699. pd_state[1] =
  21700. read_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC) & pd_mask;
  21701. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, 0);
  21702. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, 0);
  21703. rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  21704. RADIO_2055_WBRSSI_G2_SEL;
  21705. rssi_ctrl_state[0] =
  21706. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE1) & rssi_ctrl_mask;
  21707. rssi_ctrl_state[1] =
  21708. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE2) & rssi_ctrl_mask;
  21709. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  21710. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21711. NPHY_RAIL_I, rssi_type);
  21712. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21713. NPHY_RAIL_Q, rssi_type);
  21714. for (vcm = 0; vcm < 4; vcm++) {
  21715. vcm_tmp[0] = vcm_tmp[1] = vcm_tmp[2] = vcm_tmp[3] = vcm;
  21716. if (rssi_type != NPHY_RSSI_SEL_W2)
  21717. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_tmp);
  21718. wlc_phy_poll_rssi_nphy(pi, rssi_type, &poll_results[vcm][0],
  21719. NPHY_RSSICAL_NPOLL);
  21720. if ((rssi_type == NPHY_RSSI_SEL_W1)
  21721. || (rssi_type == NPHY_RSSI_SEL_W2)) {
  21722. for (ctr = 0; ctr < 2; ctr++)
  21723. poll_miniq[vcm][ctr] =
  21724. min(poll_results[vcm][ctr * 2 + 0],
  21725. poll_results[vcm][ctr * 2 + 1]);
  21726. }
  21727. }
  21728. for (result_idx = 0; result_idx < 4; result_idx++) {
  21729. min_d = NPHY_RSSICAL_MAXD;
  21730. min_vcm = 0;
  21731. min_poll = NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL + 1;
  21732. for (vcm = 0; vcm < 4; vcm++) {
  21733. curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ?
  21734. poll_results[vcm][result_idx] :
  21735. poll_miniq[vcm][result_idx / 2]) -
  21736. (target_code * NPHY_RSSICAL_NPOLL));
  21737. if (curr_d < min_d) {
  21738. min_d = curr_d;
  21739. min_vcm = vcm;
  21740. }
  21741. if (poll_results[vcm][result_idx] < min_poll)
  21742. min_poll = poll_results[vcm][result_idx];
  21743. }
  21744. vcm_final[result_idx] = min_vcm;
  21745. poll_results_min[result_idx] = min_poll;
  21746. }
  21747. if (rssi_type != NPHY_RSSI_SEL_W2)
  21748. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_final);
  21749. for (result_idx = 0; result_idx < 4; result_idx++) {
  21750. fine_digital_offset[result_idx] =
  21751. (target_code * NPHY_RSSICAL_NPOLL) -
  21752. poll_results[vcm_final[result_idx]][result_idx];
  21753. if (fine_digital_offset[result_idx] < 0) {
  21754. fine_digital_offset[result_idx] =
  21755. abs(fine_digital_offset[result_idx]);
  21756. fine_digital_offset[result_idx] +=
  21757. (NPHY_RSSICAL_NPOLL / 2);
  21758. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21759. fine_digital_offset[result_idx] =
  21760. -fine_digital_offset[result_idx];
  21761. } else {
  21762. fine_digital_offset[result_idx] +=
  21763. (NPHY_RSSICAL_NPOLL / 2);
  21764. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21765. }
  21766. if (poll_results_min[result_idx] ==
  21767. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21768. fine_digital_offset[result_idx] =
  21769. (target_code - NPHY_RSSICAL_MAXREAD - 1);
  21770. wlc_phy_scale_offset_rssi_nphy(pi, 0x0,
  21771. (s8)
  21772. fine_digital_offset[result_idx],
  21773. (result_idx / 2 ==
  21774. 0) ? RADIO_MIMO_CORESEL_CORE1 :
  21775. RADIO_MIMO_CORESEL_CORE2,
  21776. (result_idx % 2 ==
  21777. 0) ? NPHY_RAIL_I : NPHY_RAIL_Q,
  21778. rssi_type);
  21779. }
  21780. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, pd_state[0]);
  21781. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, pd_state[1]);
  21782. if (rssi_ctrl_state[0] == RADIO_2055_NBRSSI_SEL)
  21783. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21784. NPHY_RSSI_SEL_NB);
  21785. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G1_SEL)
  21786. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21787. NPHY_RSSI_SEL_W1);
  21788. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G2_SEL)
  21789. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21790. NPHY_RSSI_SEL_W2);
  21791. else
  21792. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21793. NPHY_RSSI_SEL_W2);
  21794. if (rssi_ctrl_state[1] == RADIO_2055_NBRSSI_SEL)
  21795. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21796. NPHY_RSSI_SEL_NB);
  21797. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G1_SEL)
  21798. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21799. NPHY_RSSI_SEL_W1);
  21800. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G2_SEL)
  21801. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21802. NPHY_RSSI_SEL_W2);
  21803. else
  21804. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21805. NPHY_RSSI_SEL_W2);
  21806. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, rssi_type);
  21807. write_phy_reg(pi, 0x91, rfctrlintc_state[0]);
  21808. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rfpdcorerxtx_state[0]);
  21809. write_phy_reg(pi, 0x92, rfctrlintc_state[1]);
  21810. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rfpdcorerxtx_state[1]);
  21811. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21812. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21813. wlc_phy_resetcca_nphy(pi);
  21814. }
  21815. void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi)
  21816. {
  21817. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21818. wlc_phy_rssi_cal_nphy_rev3(pi);
  21819. } else {
  21820. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_NB);
  21821. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W1);
  21822. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W2);
  21823. }
  21824. }
  21825. int
  21826. wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh)
  21827. {
  21828. s16 rxpwr, rxpwr0, rxpwr1;
  21829. s16 phyRx0_l, phyRx2_l;
  21830. rxpwr = 0;
  21831. rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK;
  21832. rxpwr1 = (rxh->PhyRxStatus_1 & PRXS1_nphy_PWR1_MASK) >> 8;
  21833. if (rxpwr0 > 127)
  21834. rxpwr0 -= 256;
  21835. if (rxpwr1 > 127)
  21836. rxpwr1 -= 256;
  21837. phyRx0_l = rxh->PhyRxStatus_0 & 0x00ff;
  21838. phyRx2_l = rxh->PhyRxStatus_2 & 0x00ff;
  21839. if (phyRx2_l > 127)
  21840. phyRx2_l -= 256;
  21841. if (((rxpwr0 == 16) || (rxpwr0 == 32))) {
  21842. rxpwr0 = rxpwr1;
  21843. rxpwr1 = phyRx2_l;
  21844. }
  21845. if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MAX)
  21846. rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1;
  21847. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MIN)
  21848. rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1;
  21849. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_AVG)
  21850. rxpwr = (rxpwr0 + rxpwr1) >> 1;
  21851. return rxpwr;
  21852. }
  21853. static void
  21854. wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf,
  21855. u16 num_samps)
  21856. {
  21857. u16 t;
  21858. u32 *data_buf = NULL;
  21859. data_buf = kmalloc(sizeof(u32) * num_samps, GFP_ATOMIC);
  21860. if (data_buf == NULL)
  21861. return;
  21862. if (pi->phyhang_avoid)
  21863. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21864. for (t = 0; t < num_samps; t++)
  21865. data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) |
  21866. (((unsigned int)tone_buf[t].q) & 0x3ff);
  21867. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SAMPLEPLAY, num_samps, 0, 32,
  21868. data_buf);
  21869. kfree(data_buf);
  21870. if (pi->phyhang_avoid)
  21871. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21872. }
  21873. static u16
  21874. wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21875. u8 dac_test_mode)
  21876. {
  21877. u8 phy_bw, is_phybw40;
  21878. u16 num_samps, t, spur;
  21879. s32 theta = 0, rot = 0;
  21880. u32 tbl_len;
  21881. struct cordic_iq *tone_buf = NULL;
  21882. is_phybw40 = CHSPEC_IS40(pi->radio_chanspec);
  21883. phy_bw = (is_phybw40 == 1) ? 40 : 20;
  21884. tbl_len = (phy_bw << 3);
  21885. if (dac_test_mode == 1) {
  21886. spur = read_phy_reg(pi, 0x01);
  21887. spur = (spur >> 15) & 1;
  21888. phy_bw = (spur == 1) ? 82 : 80;
  21889. phy_bw = (is_phybw40 == 1) ? (phy_bw << 1) : phy_bw;
  21890. tbl_len = (phy_bw << 1);
  21891. }
  21892. tone_buf = kmalloc(sizeof(struct cordic_iq) * tbl_len, GFP_ATOMIC);
  21893. if (tone_buf == NULL)
  21894. return 0;
  21895. num_samps = (u16) tbl_len;
  21896. rot = ((f_kHz * 36) / phy_bw) / 100;
  21897. theta = 0;
  21898. for (t = 0; t < num_samps; t++) {
  21899. tone_buf[t] = cordic_calc_iq(theta);
  21900. theta += rot;
  21901. tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val);
  21902. tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val);
  21903. }
  21904. wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps);
  21905. kfree(tone_buf);
  21906. return num_samps;
  21907. }
  21908. static void
  21909. wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops,
  21910. u16 wait, u8 iqmode, u8 dac_test_mode,
  21911. bool modify_bbmult)
  21912. {
  21913. u16 bb_mult;
  21914. u8 phy_bw, sample_cmd;
  21915. u16 orig_RfseqCoreActv;
  21916. u16 lpf_bw_ctl_override3, lpf_bw_ctl_override4, lpf_bw_ctl_miscreg3,
  21917. lpf_bw_ctl_miscreg4;
  21918. if (pi->phyhang_avoid)
  21919. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21920. phy_bw = 20;
  21921. if (CHSPEC_IS40(pi->radio_chanspec))
  21922. phy_bw = 40;
  21923. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21924. lpf_bw_ctl_override3 = read_phy_reg(pi, 0x342) & (0x1 << 7);
  21925. lpf_bw_ctl_override4 = read_phy_reg(pi, 0x343) & (0x1 << 7);
  21926. if (lpf_bw_ctl_override3 | lpf_bw_ctl_override4) {
  21927. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21928. (0x7 << 8);
  21929. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21930. (0x7 << 8);
  21931. } else {
  21932. wlc_phy_rfctrl_override_nphy_rev7(
  21933. pi,
  21934. (0x1 << 7),
  21935. wlc_phy_read_lpf_bw_ctl_nphy
  21936. (pi,
  21937. 0), 0, 0,
  21938. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21939. pi->nphy_sample_play_lpf_bw_ctl_ovr = true;
  21940. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21941. (0x7 << 8);
  21942. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21943. (0x7 << 8);
  21944. }
  21945. }
  21946. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) == 0) {
  21947. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21948. &bb_mult);
  21949. pi->nphy_bb_mult_save =
  21950. BB_MULT_VALID_MASK | (bb_mult & BB_MULT_MASK);
  21951. }
  21952. if (modify_bbmult) {
  21953. bb_mult = (phy_bw == 20) ? 100 : 71;
  21954. bb_mult = (bb_mult << 8) + bb_mult;
  21955. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21956. &bb_mult);
  21957. }
  21958. if (pi->phyhang_avoid)
  21959. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21960. write_phy_reg(pi, 0xc6, num_samps - 1);
  21961. if (loops != 0xffff)
  21962. write_phy_reg(pi, 0xc4, loops - 1);
  21963. else
  21964. write_phy_reg(pi, 0xc4, loops);
  21965. write_phy_reg(pi, 0xc5, wait);
  21966. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  21967. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  21968. if (iqmode) {
  21969. and_phy_reg(pi, 0xc2, 0x7FFF);
  21970. or_phy_reg(pi, 0xc2, 0x8000);
  21971. } else {
  21972. sample_cmd = (dac_test_mode == 1) ? 0x5 : 0x1;
  21973. write_phy_reg(pi, 0xc3, sample_cmd);
  21974. }
  21975. SPINWAIT(((read_phy_reg(pi, 0xa4) & 0x1) == 1), 1000);
  21976. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  21977. }
  21978. int
  21979. wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21980. u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
  21981. {
  21982. u16 num_samps;
  21983. u16 loops = 0xffff;
  21984. u16 wait = 0;
  21985. num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val,
  21986. dac_test_mode);
  21987. if (num_samps == 0)
  21988. return -EBADE;
  21989. wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode,
  21990. dac_test_mode, modify_bbmult);
  21991. return 0;
  21992. }
  21993. void wlc_phy_stopplayback_nphy(struct brcms_phy *pi)
  21994. {
  21995. u16 playback_status;
  21996. u16 bb_mult;
  21997. if (pi->phyhang_avoid)
  21998. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21999. playback_status = read_phy_reg(pi, 0xc7);
  22000. if (playback_status & 0x1)
  22001. or_phy_reg(pi, 0xc3, NPHY_sampleCmd_STOP);
  22002. else if (playback_status & 0x2)
  22003. and_phy_reg(pi, 0xc2,
  22004. (u16) ~NPHY_iqloCalCmdGctl_IQLO_CAL_EN);
  22005. and_phy_reg(pi, 0xc3, (u16) ~(0x1 << 2));
  22006. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) != 0) {
  22007. bb_mult = pi->nphy_bb_mult_save & BB_MULT_MASK;
  22008. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  22009. &bb_mult);
  22010. pi->nphy_bb_mult_save = 0;
  22011. }
  22012. if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) {
  22013. if (pi->nphy_sample_play_lpf_bw_ctl_ovr) {
  22014. wlc_phy_rfctrl_override_nphy_rev7(
  22015. pi,
  22016. (0x1 << 7),
  22017. 0, 0, 1,
  22018. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22019. pi->nphy_sample_play_lpf_bw_ctl_ovr = false;
  22020. }
  22021. }
  22022. if (pi->phyhang_avoid)
  22023. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22024. }
  22025. static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi)
  22026. {
  22027. u32 *tx_pwrctrl_tbl = NULL;
  22028. uint phyrev = pi->pubpi.phy_rev;
  22029. if (PHY_IPA(pi)) {
  22030. tx_pwrctrl_tbl =
  22031. wlc_phy_get_ipa_gaintbl_nphy(pi);
  22032. } else {
  22033. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22034. if (NREV_IS(phyrev, 3))
  22035. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev3;
  22036. else if (NREV_IS(phyrev, 4))
  22037. tx_pwrctrl_tbl =
  22038. (pi->srom_fem5g.extpagain == 3) ?
  22039. nphy_tpc_5GHz_txgain_HiPwrEPA :
  22040. nphy_tpc_5GHz_txgain_rev4;
  22041. else
  22042. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev5;
  22043. } else {
  22044. if (NREV_GE(phyrev, 7)) {
  22045. if (pi->pubpi.radiorev == 3)
  22046. tx_pwrctrl_tbl =
  22047. nphy_tpc_txgain_epa_2057rev3;
  22048. else if (pi->pubpi.radiorev == 5)
  22049. tx_pwrctrl_tbl =
  22050. nphy_tpc_txgain_epa_2057rev5;
  22051. } else {
  22052. if (NREV_GE(phyrev, 5) &&
  22053. (pi->srom_fem2g.extpagain == 3))
  22054. tx_pwrctrl_tbl =
  22055. nphy_tpc_txgain_HiPwrEPA;
  22056. else
  22057. tx_pwrctrl_tbl =
  22058. nphy_tpc_txgain_rev3;
  22059. }
  22060. }
  22061. }
  22062. return tx_pwrctrl_tbl;
  22063. }
  22064. struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi)
  22065. {
  22066. u16 base_idx[2], curr_gain[2];
  22067. u8 core_no;
  22068. struct nphy_txgains target_gain;
  22069. u32 *tx_pwrctrl_tbl = NULL;
  22070. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF) {
  22071. if (pi->phyhang_avoid)
  22072. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  22073. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  22074. curr_gain);
  22075. if (pi->phyhang_avoid)
  22076. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22077. for (core_no = 0; core_no < 2; core_no++) {
  22078. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22079. target_gain.ipa[core_no] =
  22080. curr_gain[core_no] & 0x0007;
  22081. target_gain.pad[core_no] =
  22082. ((curr_gain[core_no] & 0x00F8) >> 3);
  22083. target_gain.pga[core_no] =
  22084. ((curr_gain[core_no] & 0x0F00) >> 8);
  22085. target_gain.txgm[core_no] =
  22086. ((curr_gain[core_no] & 0x7000) >> 12);
  22087. target_gain.txlpf[core_no] =
  22088. ((curr_gain[core_no] & 0x8000) >> 15);
  22089. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22090. target_gain.ipa[core_no] =
  22091. curr_gain[core_no] & 0x000F;
  22092. target_gain.pad[core_no] =
  22093. ((curr_gain[core_no] & 0x00F0) >> 4);
  22094. target_gain.pga[core_no] =
  22095. ((curr_gain[core_no] & 0x0F00) >> 8);
  22096. target_gain.txgm[core_no] =
  22097. ((curr_gain[core_no] & 0x7000) >> 12);
  22098. } else {
  22099. target_gain.ipa[core_no] =
  22100. curr_gain[core_no] & 0x0003;
  22101. target_gain.pad[core_no] =
  22102. ((curr_gain[core_no] & 0x000C) >> 2);
  22103. target_gain.pga[core_no] =
  22104. ((curr_gain[core_no] & 0x0070) >> 4);
  22105. target_gain.txgm[core_no] =
  22106. ((curr_gain[core_no] & 0x0380) >> 7);
  22107. }
  22108. }
  22109. } else {
  22110. uint phyrev = pi->pubpi.phy_rev;
  22111. base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f;
  22112. base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f;
  22113. for (core_no = 0; core_no < 2; core_no++) {
  22114. if (NREV_GE(phyrev, 3)) {
  22115. tx_pwrctrl_tbl =
  22116. brcms_phy_get_tx_pwrctrl_tbl(pi);
  22117. if (NREV_GE(phyrev, 7)) {
  22118. target_gain.ipa[core_no] =
  22119. (tx_pwrctrl_tbl
  22120. [base_idx[core_no]]
  22121. >> 16) & 0x7;
  22122. target_gain.pad[core_no] =
  22123. (tx_pwrctrl_tbl
  22124. [base_idx[core_no]]
  22125. >> 19) & 0x1f;
  22126. target_gain.pga[core_no] =
  22127. (tx_pwrctrl_tbl
  22128. [base_idx[core_no]]
  22129. >> 24) & 0xf;
  22130. target_gain.txgm[core_no] =
  22131. (tx_pwrctrl_tbl
  22132. [base_idx[core_no]]
  22133. >> 28) & 0x7;
  22134. target_gain.txlpf[core_no] =
  22135. (tx_pwrctrl_tbl
  22136. [base_idx[core_no]]
  22137. >> 31) & 0x1;
  22138. } else {
  22139. target_gain.ipa[core_no] =
  22140. (tx_pwrctrl_tbl
  22141. [base_idx[core_no]]
  22142. >> 16) & 0xf;
  22143. target_gain.pad[core_no] =
  22144. (tx_pwrctrl_tbl
  22145. [base_idx[core_no]]
  22146. >> 20) & 0xf;
  22147. target_gain.pga[core_no] =
  22148. (tx_pwrctrl_tbl
  22149. [base_idx[core_no]]
  22150. >> 24) & 0xf;
  22151. target_gain.txgm[core_no] =
  22152. (tx_pwrctrl_tbl
  22153. [base_idx[core_no]]
  22154. >> 28) & 0x7;
  22155. }
  22156. } else {
  22157. target_gain.ipa[core_no] =
  22158. (nphy_tpc_txgain[base_idx[core_no]] >>
  22159. 16) & 0x3;
  22160. target_gain.pad[core_no] =
  22161. (nphy_tpc_txgain[base_idx[core_no]] >>
  22162. 18) & 0x3;
  22163. target_gain.pga[core_no] =
  22164. (nphy_tpc_txgain[base_idx[core_no]] >>
  22165. 20) & 0x7;
  22166. target_gain.txgm[core_no] =
  22167. (nphy_tpc_txgain[base_idx[core_no]] >>
  22168. 23) & 0x7;
  22169. }
  22170. }
  22171. }
  22172. return target_gain;
  22173. }
  22174. static void
  22175. wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no,
  22176. struct nphy_txgains target_gain,
  22177. struct nphy_iqcal_params *params)
  22178. {
  22179. u8 k;
  22180. int idx;
  22181. u16 gain_index;
  22182. u8 band_idx = (CHSPEC_IS5G(pi->radio_chanspec) ? 1 : 0);
  22183. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22184. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22185. params->txlpf = target_gain.txlpf[core_no];
  22186. params->txgm = target_gain.txgm[core_no];
  22187. params->pga = target_gain.pga[core_no];
  22188. params->pad = target_gain.pad[core_no];
  22189. params->ipa = target_gain.ipa[core_no];
  22190. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22191. params->cal_gain =
  22192. ((params->txlpf << 15) | (params->txgm << 12) |
  22193. (params->pga << 8) |
  22194. (params->pad << 3) | (params->ipa));
  22195. else
  22196. params->cal_gain =
  22197. ((params->txgm << 12) | (params->pga << 8) |
  22198. (params->pad << 4) | (params->ipa));
  22199. params->ncorr[0] = 0x79;
  22200. params->ncorr[1] = 0x79;
  22201. params->ncorr[2] = 0x79;
  22202. params->ncorr[3] = 0x79;
  22203. params->ncorr[4] = 0x79;
  22204. } else {
  22205. gain_index = ((target_gain.pad[core_no] << 0) |
  22206. (target_gain.pga[core_no] << 4) |
  22207. (target_gain.txgm[core_no] << 8));
  22208. idx = -1;
  22209. for (k = 0; k < NPHY_IQCAL_NUMGAINS; k++) {
  22210. if (tbl_iqcal_gainparams_nphy[band_idx][k][0] ==
  22211. gain_index) {
  22212. idx = k;
  22213. break;
  22214. }
  22215. }
  22216. params->txgm = tbl_iqcal_gainparams_nphy[band_idx][k][1];
  22217. params->pga = tbl_iqcal_gainparams_nphy[band_idx][k][2];
  22218. params->pad = tbl_iqcal_gainparams_nphy[band_idx][k][3];
  22219. params->cal_gain = ((params->txgm << 7) | (params->pga << 4) |
  22220. (params->pad << 2));
  22221. params->ncorr[0] = tbl_iqcal_gainparams_nphy[band_idx][k][4];
  22222. params->ncorr[1] = tbl_iqcal_gainparams_nphy[band_idx][k][5];
  22223. params->ncorr[2] = tbl_iqcal_gainparams_nphy[band_idx][k][6];
  22224. params->ncorr[3] = tbl_iqcal_gainparams_nphy[band_idx][k][7];
  22225. }
  22226. }
  22227. static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi)
  22228. {
  22229. u16 jtag_core, core;
  22230. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22231. for (core = 0; core <= 1; core++) {
  22232. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22233. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22234. TX_SSI_MASTER);
  22235. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22236. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22237. IQCAL_VCM_HG);
  22238. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22239. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22240. IQCAL_IDAC);
  22241. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22242. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22243. TSSI_VCM);
  22244. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] = 0;
  22245. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22246. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22247. TX_SSI_MUX);
  22248. if (pi->pubpi.radiorev != 5)
  22249. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22250. READ_RADIO_REG3(pi, RADIO_2057, TX,
  22251. core,
  22252. TSSIA);
  22253. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22254. READ_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG);
  22255. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22256. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22257. TSSI_MISC1);
  22258. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22259. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22260. TX_SSI_MASTER, 0x0a);
  22261. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22262. IQCAL_VCM_HG, 0x43);
  22263. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22264. IQCAL_IDAC, 0x55);
  22265. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22266. TSSI_VCM, 0x00);
  22267. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22268. TSSIG, 0x00);
  22269. if (pi->use_int_tx_iqlo_cal_nphy) {
  22270. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22271. core, TX_SSI_MUX, 0x4);
  22272. if (!(pi->
  22273. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22274. WRITE_RADIO_REG3(pi, RADIO_2057,
  22275. TX, core,
  22276. TSSIA, 0x31);
  22277. else
  22278. WRITE_RADIO_REG3(pi, RADIO_2057,
  22279. TX, core,
  22280. TSSIA, 0x21);
  22281. }
  22282. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22283. TSSI_MISC1, 0x00);
  22284. } else {
  22285. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22286. TX_SSI_MASTER, 0x06);
  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. if (pi->pubpi.radiorev != 5)
  22294. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22295. core, TSSIA, 0x00);
  22296. if (pi->use_int_tx_iqlo_cal_nphy) {
  22297. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22298. core, TX_SSI_MUX,
  22299. 0x06);
  22300. if (!(pi->
  22301. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22302. WRITE_RADIO_REG3(pi, RADIO_2057,
  22303. TX, core,
  22304. TSSIG, 0x31);
  22305. else
  22306. WRITE_RADIO_REG3(pi, RADIO_2057,
  22307. TX, core,
  22308. TSSIG, 0x21);
  22309. }
  22310. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22311. TSSI_MISC1, 0x00);
  22312. }
  22313. }
  22314. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22315. for (core = 0; core <= 1; core++) {
  22316. jtag_core =
  22317. (core ==
  22318. PHY_CORE_0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  22319. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22320. read_radio_reg(pi,
  22321. RADIO_2056_TX_TX_SSI_MASTER |
  22322. jtag_core);
  22323. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22324. read_radio_reg(pi,
  22325. RADIO_2056_TX_IQCAL_VCM_HG |
  22326. jtag_core);
  22327. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22328. read_radio_reg(pi,
  22329. RADIO_2056_TX_IQCAL_IDAC |
  22330. jtag_core);
  22331. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22332. read_radio_reg(
  22333. pi,
  22334. RADIO_2056_TX_TSSI_VCM |
  22335. jtag_core);
  22336. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] =
  22337. read_radio_reg(pi,
  22338. RADIO_2056_TX_TX_AMP_DET |
  22339. jtag_core);
  22340. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22341. read_radio_reg(pi,
  22342. RADIO_2056_TX_TX_SSI_MUX |
  22343. jtag_core);
  22344. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22345. read_radio_reg(pi,
  22346. RADIO_2056_TX_TSSIA | jtag_core);
  22347. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22348. read_radio_reg(pi,
  22349. RADIO_2056_TX_TSSIG | jtag_core);
  22350. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22351. read_radio_reg(pi,
  22352. RADIO_2056_TX_TSSI_MISC1 |
  22353. jtag_core);
  22354. pi->tx_rx_cal_radio_saveregs[(core * 11) + 9] =
  22355. read_radio_reg(pi,
  22356. RADIO_2056_TX_TSSI_MISC2 |
  22357. jtag_core);
  22358. pi->tx_rx_cal_radio_saveregs[(core * 11) + 10] =
  22359. read_radio_reg(pi,
  22360. RADIO_2056_TX_TSSI_MISC3 |
  22361. jtag_core);
  22362. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22363. write_radio_reg(pi,
  22364. RADIO_2056_TX_TX_SSI_MASTER |
  22365. jtag_core, 0x0a);
  22366. write_radio_reg(pi,
  22367. RADIO_2056_TX_IQCAL_VCM_HG |
  22368. jtag_core, 0x40);
  22369. write_radio_reg(pi,
  22370. RADIO_2056_TX_IQCAL_IDAC |
  22371. jtag_core, 0x55);
  22372. write_radio_reg(pi,
  22373. RADIO_2056_TX_TSSI_VCM |
  22374. jtag_core, 0x00);
  22375. write_radio_reg(pi,
  22376. RADIO_2056_TX_TX_AMP_DET |
  22377. jtag_core, 0x00);
  22378. if (PHY_IPA(pi)) {
  22379. write_radio_reg(
  22380. pi,
  22381. RADIO_2056_TX_TX_SSI_MUX
  22382. | jtag_core, 0x4);
  22383. write_radio_reg(pi,
  22384. RADIO_2056_TX_TSSIA |
  22385. jtag_core, 0x1);
  22386. } else {
  22387. write_radio_reg(
  22388. pi,
  22389. RADIO_2056_TX_TX_SSI_MUX
  22390. | jtag_core, 0x00);
  22391. write_radio_reg(pi,
  22392. RADIO_2056_TX_TSSIA |
  22393. jtag_core, 0x2f);
  22394. }
  22395. write_radio_reg(pi,
  22396. RADIO_2056_TX_TSSIG | jtag_core,
  22397. 0x00);
  22398. write_radio_reg(pi,
  22399. RADIO_2056_TX_TSSI_MISC1 |
  22400. jtag_core, 0x00);
  22401. write_radio_reg(pi,
  22402. RADIO_2056_TX_TSSI_MISC2 |
  22403. jtag_core, 0x00);
  22404. write_radio_reg(pi,
  22405. RADIO_2056_TX_TSSI_MISC3 |
  22406. jtag_core, 0x00);
  22407. } else {
  22408. write_radio_reg(pi,
  22409. RADIO_2056_TX_TX_SSI_MASTER |
  22410. jtag_core, 0x06);
  22411. write_radio_reg(pi,
  22412. RADIO_2056_TX_IQCAL_VCM_HG |
  22413. jtag_core, 0x40);
  22414. write_radio_reg(pi,
  22415. RADIO_2056_TX_IQCAL_IDAC |
  22416. jtag_core, 0x55);
  22417. write_radio_reg(pi,
  22418. RADIO_2056_TX_TSSI_VCM |
  22419. jtag_core, 0x00);
  22420. write_radio_reg(pi,
  22421. RADIO_2056_TX_TX_AMP_DET |
  22422. jtag_core, 0x00);
  22423. write_radio_reg(pi,
  22424. RADIO_2056_TX_TSSIA | jtag_core,
  22425. 0x00);
  22426. if (PHY_IPA(pi)) {
  22427. write_radio_reg(
  22428. pi,
  22429. RADIO_2056_TX_TX_SSI_MUX
  22430. | jtag_core, 0x06);
  22431. if (NREV_LT(pi->pubpi.phy_rev, 5))
  22432. write_radio_reg(
  22433. pi,
  22434. RADIO_2056_TX_TSSIG
  22435. | jtag_core,
  22436. 0x11);
  22437. else
  22438. write_radio_reg(
  22439. pi,
  22440. RADIO_2056_TX_TSSIG
  22441. | jtag_core,
  22442. 0x1);
  22443. } else {
  22444. write_radio_reg(
  22445. pi,
  22446. RADIO_2056_TX_TX_SSI_MUX
  22447. | jtag_core, 0x00);
  22448. write_radio_reg(pi,
  22449. RADIO_2056_TX_TSSIG |
  22450. jtag_core, 0x20);
  22451. }
  22452. write_radio_reg(pi,
  22453. RADIO_2056_TX_TSSI_MISC1 |
  22454. jtag_core, 0x00);
  22455. write_radio_reg(pi,
  22456. RADIO_2056_TX_TSSI_MISC2 |
  22457. jtag_core, 0x00);
  22458. write_radio_reg(pi,
  22459. RADIO_2056_TX_TSSI_MISC3 |
  22460. jtag_core, 0x00);
  22461. }
  22462. }
  22463. } else {
  22464. pi->tx_rx_cal_radio_saveregs[0] =
  22465. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  22466. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x29);
  22467. pi->tx_rx_cal_radio_saveregs[1] =
  22468. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  22469. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x54);
  22470. pi->tx_rx_cal_radio_saveregs[2] =
  22471. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  22472. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x29);
  22473. pi->tx_rx_cal_radio_saveregs[3] =
  22474. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  22475. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x54);
  22476. pi->tx_rx_cal_radio_saveregs[4] =
  22477. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  22478. pi->tx_rx_cal_radio_saveregs[5] =
  22479. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  22480. if ((read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand) ==
  22481. 0) {
  22482. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  22483. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  22484. } else {
  22485. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x20);
  22486. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x20);
  22487. }
  22488. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  22489. or_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0x20);
  22490. or_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0x20);
  22491. } else {
  22492. and_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0xdf);
  22493. and_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0xdf);
  22494. }
  22495. }
  22496. }
  22497. static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi)
  22498. {
  22499. u16 jtag_core, core;
  22500. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22501. for (core = 0; core <= 1; core++) {
  22502. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22503. TX_SSI_MASTER,
  22504. pi->
  22505. tx_rx_cal_radio_saveregs[(core * 11) +
  22506. 0]);
  22507. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  22508. pi->
  22509. tx_rx_cal_radio_saveregs[(core * 11) +
  22510. 1]);
  22511. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  22512. pi->
  22513. tx_rx_cal_radio_saveregs[(core * 11) +
  22514. 2]);
  22515. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  22516. pi->
  22517. tx_rx_cal_radio_saveregs[(core * 11) +
  22518. 3]);
  22519. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TX_SSI_MUX,
  22520. pi->
  22521. tx_rx_cal_radio_saveregs[(core * 11) +
  22522. 5]);
  22523. if (pi->pubpi.radiorev != 5)
  22524. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22525. TSSIA,
  22526. pi->tx_rx_cal_radio_saveregs
  22527. [(core * 11) + 6]);
  22528. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG,
  22529. pi->
  22530. tx_rx_cal_radio_saveregs[(core * 11) +
  22531. 7]);
  22532. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  22533. pi->
  22534. tx_rx_cal_radio_saveregs[(core * 11) +
  22535. 8]);
  22536. }
  22537. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22538. for (core = 0; core <= 1; core++) {
  22539. jtag_core = (core == PHY_CORE_0) ?
  22540. RADIO_2056_TX0 : RADIO_2056_TX1;
  22541. write_radio_reg(pi,
  22542. RADIO_2056_TX_TX_SSI_MASTER | jtag_core,
  22543. pi->
  22544. tx_rx_cal_radio_saveregs[(core * 11) +
  22545. 0]);
  22546. write_radio_reg(pi,
  22547. RADIO_2056_TX_IQCAL_VCM_HG | jtag_core,
  22548. pi->
  22549. tx_rx_cal_radio_saveregs[(core * 11) +
  22550. 1]);
  22551. write_radio_reg(pi,
  22552. RADIO_2056_TX_IQCAL_IDAC | jtag_core,
  22553. pi->
  22554. tx_rx_cal_radio_saveregs[(core * 11) +
  22555. 2]);
  22556. write_radio_reg(pi, RADIO_2056_TX_TSSI_VCM | jtag_core,
  22557. pi->
  22558. tx_rx_cal_radio_saveregs[(core * 11) +
  22559. 3]);
  22560. write_radio_reg(pi,
  22561. RADIO_2056_TX_TX_AMP_DET | jtag_core,
  22562. pi->
  22563. tx_rx_cal_radio_saveregs[(core * 11) +
  22564. 4]);
  22565. write_radio_reg(pi,
  22566. RADIO_2056_TX_TX_SSI_MUX | jtag_core,
  22567. pi->
  22568. tx_rx_cal_radio_saveregs[(core * 11) +
  22569. 5]);
  22570. write_radio_reg(pi, RADIO_2056_TX_TSSIA | jtag_core,
  22571. pi->
  22572. tx_rx_cal_radio_saveregs[(core * 11) +
  22573. 6]);
  22574. write_radio_reg(pi, RADIO_2056_TX_TSSIG | jtag_core,
  22575. pi->
  22576. tx_rx_cal_radio_saveregs[(core * 11) +
  22577. 7]);
  22578. write_radio_reg(pi,
  22579. RADIO_2056_TX_TSSI_MISC1 | jtag_core,
  22580. pi->
  22581. tx_rx_cal_radio_saveregs[(core * 11) +
  22582. 8]);
  22583. write_radio_reg(pi,
  22584. RADIO_2056_TX_TSSI_MISC2 | jtag_core,
  22585. pi->
  22586. tx_rx_cal_radio_saveregs[(core * 11) +
  22587. 9]);
  22588. write_radio_reg(pi,
  22589. RADIO_2056_TX_TSSI_MISC3 | jtag_core,
  22590. pi->
  22591. tx_rx_cal_radio_saveregs[(core * 11) +
  22592. 10]);
  22593. }
  22594. } else {
  22595. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  22596. pi->tx_rx_cal_radio_saveregs[0]);
  22597. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  22598. pi->tx_rx_cal_radio_saveregs[1]);
  22599. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  22600. pi->tx_rx_cal_radio_saveregs[2]);
  22601. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  22602. pi->tx_rx_cal_radio_saveregs[3]);
  22603. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  22604. pi->tx_rx_cal_radio_saveregs[4]);
  22605. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  22606. pi->tx_rx_cal_radio_saveregs[5]);
  22607. }
  22608. }
  22609. static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi)
  22610. {
  22611. u16 val, mask;
  22612. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22613. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22614. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22615. mask = ((0x3 << 8) | (0x3 << 10));
  22616. val = (0x2 << 8);
  22617. val |= (0x2 << 10);
  22618. mod_phy_reg(pi, 0xa6, mask, val);
  22619. mod_phy_reg(pi, 0xa7, mask, val);
  22620. val = read_phy_reg(pi, 0x8f);
  22621. pi->tx_rx_cal_phy_saveregs[2] = val;
  22622. val |= ((0x1 << 9) | (0x1 << 10));
  22623. write_phy_reg(pi, 0x8f, val);
  22624. val = read_phy_reg(pi, 0xa5);
  22625. pi->tx_rx_cal_phy_saveregs[3] = val;
  22626. val |= ((0x1 << 9) | (0x1 << 10));
  22627. write_phy_reg(pi, 0xa5, val);
  22628. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x01);
  22629. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  22630. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22631. &val);
  22632. pi->tx_rx_cal_phy_saveregs[5] = val;
  22633. val = 0;
  22634. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22635. &val);
  22636. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22637. &val);
  22638. pi->tx_rx_cal_phy_saveregs[6] = val;
  22639. val = 0;
  22640. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22641. &val);
  22642. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0x91);
  22643. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0x92);
  22644. if (!(pi->use_int_tx_iqlo_cal_nphy))
  22645. wlc_phy_rfctrlintc_override_nphy(
  22646. pi,
  22647. NPHY_RfctrlIntc_override_PA,
  22648. 1,
  22649. RADIO_MIMO_CORESEL_CORE1
  22650. |
  22651. RADIO_MIMO_CORESEL_CORE2);
  22652. else
  22653. wlc_phy_rfctrlintc_override_nphy(
  22654. pi,
  22655. NPHY_RfctrlIntc_override_PA,
  22656. 0,
  22657. RADIO_MIMO_CORESEL_CORE1
  22658. |
  22659. RADIO_MIMO_CORESEL_CORE2);
  22660. wlc_phy_rfctrlintc_override_nphy(pi,
  22661. NPHY_RfctrlIntc_override_TRSW,
  22662. 0x2, RADIO_MIMO_CORESEL_CORE1);
  22663. wlc_phy_rfctrlintc_override_nphy(pi,
  22664. NPHY_RfctrlIntc_override_TRSW,
  22665. 0x8, RADIO_MIMO_CORESEL_CORE2);
  22666. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  22667. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  22668. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  22669. 0x29b, (0x1 << 0), (0) << 0);
  22670. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  22671. 0x29b, (0x1 << 0), (0) << 0);
  22672. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22673. || NREV_GE(pi->pubpi.phy_rev, 8))
  22674. wlc_phy_rfctrl_override_nphy_rev7(
  22675. pi, (0x1 << 7),
  22676. wlc_phy_read_lpf_bw_ctl_nphy
  22677. (pi,
  22678. 0), 0, 0,
  22679. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22680. if (pi->use_int_tx_iqlo_cal_nphy
  22681. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22682. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22683. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22684. 1 << 4);
  22685. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22686. mod_radio_reg(
  22687. pi,
  22688. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22689. 1, 0);
  22690. mod_radio_reg(
  22691. pi,
  22692. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22693. 1, 0);
  22694. } else {
  22695. mod_radio_reg(
  22696. pi,
  22697. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22698. 1, 0);
  22699. mod_radio_reg(
  22700. pi,
  22701. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22702. 1, 0);
  22703. }
  22704. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22705. wlc_phy_rfctrl_override_nphy_rev7(
  22706. pi,
  22707. (0x1 << 3), 0,
  22708. 0x3, 0,
  22709. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22710. }
  22711. }
  22712. } else {
  22713. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22714. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22715. mask = ((0x3 << 12) | (0x3 << 14));
  22716. val = (0x2 << 12);
  22717. val |= (0x2 << 14);
  22718. mod_phy_reg(pi, 0xa6, mask, val);
  22719. mod_phy_reg(pi, 0xa7, mask, val);
  22720. val = read_phy_reg(pi, 0xa5);
  22721. pi->tx_rx_cal_phy_saveregs[2] = val;
  22722. val |= ((0x1 << 12) | (0x1 << 13));
  22723. write_phy_reg(pi, 0xa5, val);
  22724. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22725. &val);
  22726. pi->tx_rx_cal_phy_saveregs[3] = val;
  22727. val |= 0x2000;
  22728. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22729. &val);
  22730. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22731. &val);
  22732. pi->tx_rx_cal_phy_saveregs[4] = val;
  22733. val |= 0x2000;
  22734. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22735. &val);
  22736. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x91);
  22737. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x92);
  22738. val = CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  22739. write_phy_reg(pi, 0x91, val);
  22740. write_phy_reg(pi, 0x92, val);
  22741. }
  22742. }
  22743. static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi)
  22744. {
  22745. u16 mask;
  22746. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22747. write_phy_reg(pi, 0xa6, pi->tx_rx_cal_phy_saveregs[0]);
  22748. write_phy_reg(pi, 0xa7, pi->tx_rx_cal_phy_saveregs[1]);
  22749. write_phy_reg(pi, 0x8f, pi->tx_rx_cal_phy_saveregs[2]);
  22750. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[3]);
  22751. write_phy_reg(pi, 0x01, pi->tx_rx_cal_phy_saveregs[4]);
  22752. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22753. &pi->tx_rx_cal_phy_saveregs[5]);
  22754. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22755. &pi->tx_rx_cal_phy_saveregs[6]);
  22756. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[7]);
  22757. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[8]);
  22758. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  22759. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  22760. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22761. || NREV_GE(pi->pubpi.phy_rev, 8))
  22762. wlc_phy_rfctrl_override_nphy_rev7(
  22763. pi, (0x1 << 7), 0, 0,
  22764. 1,
  22765. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22766. wlc_phy_resetcca_nphy(pi);
  22767. if (pi->use_int_tx_iqlo_cal_nphy
  22768. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22769. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22770. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22771. mod_radio_reg(
  22772. pi,
  22773. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22774. 1, 1);
  22775. mod_radio_reg(
  22776. pi,
  22777. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22778. 1, 1);
  22779. } else {
  22780. mod_radio_reg(
  22781. pi,
  22782. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22783. 1, 1);
  22784. mod_radio_reg(
  22785. pi,
  22786. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22787. 1, 1);
  22788. }
  22789. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22790. 0);
  22791. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22792. wlc_phy_rfctrl_override_nphy_rev7(
  22793. pi,
  22794. (0x1 << 3), 0,
  22795. 0x3, 1,
  22796. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22797. }
  22798. }
  22799. } else {
  22800. mask = ((0x3 << 12) | (0x3 << 14));
  22801. mod_phy_reg(pi, 0xa6, mask, pi->tx_rx_cal_phy_saveregs[0]);
  22802. mod_phy_reg(pi, 0xa7, mask, pi->tx_rx_cal_phy_saveregs[1]);
  22803. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[2]);
  22804. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22805. &pi->tx_rx_cal_phy_saveregs[3]);
  22806. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22807. &pi->tx_rx_cal_phy_saveregs[4]);
  22808. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[5]);
  22809. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[6]);
  22810. }
  22811. }
  22812. void
  22813. wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
  22814. {
  22815. u16 tssi_reg;
  22816. s32 temp, pwrindex[2];
  22817. s32 idle_tssi[2];
  22818. s32 rssi_buf[4];
  22819. s32 tssival[2];
  22820. u8 tssi_type;
  22821. tssi_reg = read_phy_reg(pi, 0x1e9);
  22822. temp = (s32) (tssi_reg & 0x3f);
  22823. idle_tssi[0] = (temp <= 31) ? temp : (temp - 64);
  22824. temp = (s32) ((tssi_reg >> 8) & 0x3f);
  22825. idle_tssi[1] = (temp <= 31) ? temp : (temp - 64);
  22826. tssi_type =
  22827. CHSPEC_IS5G(pi->radio_chanspec) ?
  22828. (u8)NPHY_RSSI_SEL_TSSI_5G : (u8)NPHY_RSSI_SEL_TSSI_2G;
  22829. wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
  22830. tssival[0] = rssi_buf[0] / ((s32) num_samps);
  22831. tssival[1] = rssi_buf[2] / ((s32) num_samps);
  22832. pwrindex[0] = idle_tssi[0] - tssival[0] + 64;
  22833. pwrindex[1] = idle_tssi[1] - tssival[1] + 64;
  22834. if (pwrindex[0] < 0)
  22835. pwrindex[0] = 0;
  22836. else if (pwrindex[0] > 63)
  22837. pwrindex[0] = 63;
  22838. if (pwrindex[1] < 0)
  22839. pwrindex[1] = 0;
  22840. else if (pwrindex[1] > 63)
  22841. pwrindex[1] = 63;
  22842. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 1,
  22843. (u32) pwrindex[0], 32, &qdBm_pwrbuf[0]);
  22844. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 1,
  22845. (u32) pwrindex[1], 32, &qdBm_pwrbuf[1]);
  22846. }
  22847. static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core)
  22848. {
  22849. int index;
  22850. u32 bbmult_scale;
  22851. u16 bbmult;
  22852. u16 tblentry;
  22853. struct nphy_txiqcal_ladder ladder_lo[] = {
  22854. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22855. {25, 0}, {25, 1}, {25, 2}, {25, 3}, {25, 4}, {25, 5},
  22856. {25, 6}, {25, 7}, {35, 7}, {50, 7}, {71, 7}, {100, 7}
  22857. };
  22858. struct nphy_txiqcal_ladder ladder_iq[] = {
  22859. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22860. {25, 0}, {35, 0}, {50, 0}, {71, 0}, {100, 0}, {100, 1},
  22861. {100, 2}, {100, 3}, {100, 4}, {100, 5}, {100, 6}, {100, 7}
  22862. };
  22863. bbmult = (core == PHY_CORE_0) ?
  22864. ((pi->nphy_txcal_bbmult >> 8) & 0xff) :
  22865. (pi->nphy_txcal_bbmult & 0xff);
  22866. for (index = 0; index < 18; index++) {
  22867. bbmult_scale = ladder_lo[index].percent * bbmult;
  22868. bbmult_scale /= 100;
  22869. tblentry =
  22870. ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env;
  22871. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16,
  22872. &tblentry);
  22873. bbmult_scale = ladder_iq[index].percent * bbmult;
  22874. bbmult_scale /= 100;
  22875. tblentry =
  22876. ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env;
  22877. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32,
  22878. 16, &tblentry);
  22879. }
  22880. }
  22881. static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core)
  22882. {
  22883. u16 tmp;
  22884. tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee));
  22885. tmp = (tmp & (0x7f << 8)) >> 8;
  22886. return (u8) tmp;
  22887. }
  22888. static void
  22889. wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1)
  22890. {
  22891. mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0);
  22892. if (NREV_GT(pi->pubpi.phy_rev, 1))
  22893. mod_phy_reg(pi, 0x222, (0xff << 0), idx1);
  22894. }
  22895. static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi)
  22896. {
  22897. u16 m0m1;
  22898. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  22899. return m0m1;
  22900. }
  22901. static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1)
  22902. {
  22903. u16 m0m1 = (u16) ((m0 << 8) | m1);
  22904. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m0m1);
  22905. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &m0m1);
  22906. }
  22907. static void
  22908. wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi,
  22909. struct nphy_papd_restore_state *state, u8 core)
  22910. {
  22911. s32 tone_freq;
  22912. u8 off_core;
  22913. u16 mixgain = 0;
  22914. off_core = core ^ 0x1;
  22915. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22916. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22917. || NREV_GE(pi->pubpi.phy_rev, 8))
  22918. wlc_phy_rfctrl_override_nphy_rev7(
  22919. pi, (0x1 << 7),
  22920. wlc_phy_read_lpf_bw_ctl_nphy
  22921. (pi,
  22922. 0), 0, 0,
  22923. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22924. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22925. if (pi->pubpi.radiorev == 5)
  22926. mixgain = (core == 0) ? 0x20 : 0x00;
  22927. else if ((pi->pubpi.radiorev == 7)
  22928. || (pi->pubpi.radiorev == 8))
  22929. mixgain = 0x00;
  22930. else if ((pi->pubpi.radiorev <= 4)
  22931. || (pi->pubpi.radiorev == 6))
  22932. mixgain = 0x00;
  22933. } else {
  22934. if ((pi->pubpi.radiorev == 4) ||
  22935. (pi->pubpi.radiorev == 6))
  22936. mixgain = 0x50;
  22937. else if ((pi->pubpi.radiorev == 3)
  22938. || (pi->pubpi.radiorev == 7)
  22939. || (pi->pubpi.radiorev == 8))
  22940. mixgain = 0x0;
  22941. }
  22942. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11),
  22943. mixgain, (1 << core), 0,
  22944. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22945. wlc_phy_rfctrl_override_1tomany_nphy(
  22946. pi,
  22947. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22948. 1, (1 << core), 0);
  22949. wlc_phy_rfctrl_override_1tomany_nphy(
  22950. pi,
  22951. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22952. 0, (1 << off_core), 0);
  22953. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  22954. 0, 0x3, 0,
  22955. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22956. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1,
  22957. (1 << core), 0,
  22958. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22959. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0,
  22960. (1 << core), 0,
  22961. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22962. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1,
  22963. (1 << core), 0,
  22964. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22965. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0,
  22966. (1 << core), 0,
  22967. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22968. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1,
  22969. (1 << core), 0,
  22970. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22971. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0,
  22972. (1 << core), 0,
  22973. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22974. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1,
  22975. (1 << core), 0,
  22976. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22977. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5),
  22978. 0, (1 << core), 0,
  22979. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22980. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0,
  22981. (1 << core), 0,
  22982. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22983. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22984. 0xa6 : 0xa7);
  22985. state->afeoverride[core] =
  22986. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22987. state->afectrl[off_core] =
  22988. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa7 : 0xa6);
  22989. state->afeoverride[off_core] =
  22990. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa5 : 0x8f);
  22991. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22992. (0x1 << 2), 0);
  22993. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22994. 0xa5), (0x1 << 2), (0x1 << 2));
  22995. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa7 : 0xa6),
  22996. (0x1 << 2), (0x1 << 2));
  22997. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa5 :
  22998. 0x8f), (0x1 << 2), (0x1 << 2));
  22999. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23000. state->pwrup[core] =
  23001. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23002. TXRXCOUPLE_2G_PWRUP);
  23003. state->atten[core] =
  23004. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23005. TXRXCOUPLE_2G_ATTEN);
  23006. state->pwrup[off_core] =
  23007. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23008. TXRXCOUPLE_2G_PWRUP);
  23009. state->atten[off_core] =
  23010. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23011. TXRXCOUPLE_2G_ATTEN);
  23012. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23013. TXRXCOUPLE_2G_PWRUP, 0xc);
  23014. if ((pi->pubpi.radiorev == 3) ||
  23015. (pi->pubpi.radiorev == 4) ||
  23016. (pi->pubpi.radiorev == 6))
  23017. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23018. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23019. else if (pi->pubpi.radiorev == 5)
  23020. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23021. TXRXCOUPLE_2G_ATTEN,
  23022. (core == 0) ? 0xf7 : 0xf2);
  23023. else if ((pi->pubpi.radiorev == 7)
  23024. || (pi->pubpi.radiorev == 8))
  23025. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23026. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23027. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23028. TXRXCOUPLE_2G_PWRUP, 0x0);
  23029. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23030. TXRXCOUPLE_2G_ATTEN, 0xff);
  23031. } else {
  23032. state->pwrup[core] =
  23033. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23034. TXRXCOUPLE_5G_PWRUP);
  23035. state->atten[core] =
  23036. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23037. TXRXCOUPLE_5G_ATTEN);
  23038. state->pwrup[off_core] =
  23039. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23040. TXRXCOUPLE_5G_PWRUP);
  23041. state->atten[off_core] =
  23042. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23043. TXRXCOUPLE_5G_ATTEN);
  23044. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23045. TXRXCOUPLE_5G_PWRUP, 0xc);
  23046. if ((pi->pubpi.radiorev == 7)
  23047. || (pi->pubpi.radiorev == 8))
  23048. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23049. TXRXCOUPLE_5G_ATTEN, 0xf4);
  23050. else
  23051. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23052. TXRXCOUPLE_5G_ATTEN, 0xf0);
  23053. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23054. TXRXCOUPLE_5G_PWRUP, 0x0);
  23055. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23056. TXRXCOUPLE_5G_ATTEN, 0xff);
  23057. }
  23058. tone_freq = 4000;
  23059. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23060. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23061. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23062. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23063. 0x2a4, (0x1 << 13), (1) << 13);
  23064. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23065. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_OFF) << 0);
  23066. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x2a3 :
  23067. 0x2a4, (0x1 << 13), (0) << 13);
  23068. } else {
  23069. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 0);
  23070. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0, 0);
  23071. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 0);
  23072. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 1, 0x3, 0);
  23073. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0x3, 0);
  23074. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  23075. 0xa6 : 0xa7);
  23076. state->afeoverride[core] =
  23077. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  23078. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  23079. (0x1 << 0) | (0x1 << 1) | (0x1 << 2), 0);
  23080. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  23081. 0xa5),
  23082. (0x1 << 0) |
  23083. (0x1 << 1) |
  23084. (0x1 << 2), (0x1 << 0) | (0x1 << 1) | (0x1 << 2));
  23085. state->vga_master[core] =
  23086. READ_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER);
  23087. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER, 0x2b);
  23088. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23089. state->fbmix[core] =
  23090. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23091. TXFBMIX_G);
  23092. state->intpa_master[core] =
  23093. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23094. INTPAG_MASTER);
  23095. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_G,
  23096. 0x03);
  23097. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23098. INTPAG_MASTER, 0x04);
  23099. } else {
  23100. state->fbmix[core] =
  23101. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23102. TXFBMIX_A);
  23103. state->intpa_master[core] =
  23104. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23105. INTPAA_MASTER);
  23106. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_A,
  23107. 0x03);
  23108. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23109. INTPAA_MASTER, 0x04);
  23110. }
  23111. tone_freq = 4000;
  23112. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23113. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23114. 0x29b, (0x1 << 0), (1) << 0);
  23115. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23116. 0x29b, (0x1 << 0), (0) << 0);
  23117. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23118. }
  23119. }
  23120. static void
  23121. wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi,
  23122. struct nphy_papd_restore_state *state)
  23123. {
  23124. u8 core;
  23125. wlc_phy_stopplayback_nphy(pi);
  23126. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23127. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23128. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23129. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23130. TXRXCOUPLE_2G_PWRUP, 0);
  23131. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23132. TXRXCOUPLE_2G_ATTEN,
  23133. state->atten[core]);
  23134. } else {
  23135. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23136. TXRXCOUPLE_5G_PWRUP, 0);
  23137. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23138. TXRXCOUPLE_5G_ATTEN,
  23139. state->atten[core]);
  23140. }
  23141. }
  23142. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  23143. wlc_phy_rfctrl_override_nphy_rev7(
  23144. pi, (0x1 << 2),
  23145. 1, 0x3, 0,
  23146. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23147. else
  23148. wlc_phy_rfctrl_override_nphy_rev7(
  23149. pi, (0x1 << 2),
  23150. 0, 0x3, 1,
  23151. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23152. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  23153. 0, 0x3, 1,
  23154. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23155. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23156. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23157. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 0, 0x3, 1,
  23158. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23159. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 1, 0x3, 1,
  23160. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23161. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 0, 0x3, 1,
  23162. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23163. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0x3, 1,
  23164. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23165. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12), 0, 0x3, 1,
  23166. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23167. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 1,
  23168. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23169. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23170. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23171. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0x3, 1,
  23172. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23173. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0, 0x3, 1,
  23174. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23175. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1, 0x3, 1,
  23176. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23177. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0, 0x3, 1,
  23178. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23179. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1, 0x3, 1,
  23180. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23181. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0x3, 1,
  23182. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23183. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0, 0x3, 1,
  23184. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23185. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23186. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23187. 0xa6 : 0xa7, state->afectrl[core]);
  23188. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23189. 0xa5, state->afeoverride[core]);
  23190. }
  23191. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23192. (state->mm & 0xff));
  23193. if (NREV_IS(pi->pubpi.phy_rev, 7)
  23194. || NREV_GE(pi->pubpi.phy_rev, 8))
  23195. wlc_phy_rfctrl_override_nphy_rev7(
  23196. pi, (0x1 << 7), 0, 0,
  23197. 1,
  23198. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23199. } else {
  23200. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  23201. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 0x3, 1);
  23202. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 1);
  23203. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 0, 0x3, 1);
  23204. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 0, 0x3, 1);
  23205. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23206. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER,
  23207. state->vga_master[core]);
  23208. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23209. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23210. TXFBMIX_G, state->fbmix[core]);
  23211. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23212. INTPAG_MASTER,
  23213. state->intpa_master[core]);
  23214. } else {
  23215. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23216. TXFBMIX_A, state->fbmix[core]);
  23217. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23218. INTPAA_MASTER,
  23219. state->intpa_master[core]);
  23220. }
  23221. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23222. 0xa6 : 0xa7, state->afectrl[core]);
  23223. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23224. 0xa5, state->afeoverride[core]);
  23225. }
  23226. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23227. (state->mm & 0xff));
  23228. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 1);
  23229. }
  23230. }
  23231. static void
  23232. wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start,
  23233. u32 end)
  23234. {
  23235. u32 *buf, *src, *dst, sz;
  23236. sz = end - start + 1;
  23237. buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
  23238. if (NULL == buf)
  23239. return;
  23240. src = buf;
  23241. dst = buf + NPHY_PAPD_EPS_TBL_SIZE;
  23242. wlc_phy_table_read_nphy(pi,
  23243. (core ==
  23244. PHY_CORE_0 ? NPHY_TBL_ID_EPSILONTBL0 :
  23245. NPHY_TBL_ID_EPSILONTBL1),
  23246. NPHY_PAPD_EPS_TBL_SIZE, 0, 32, src);
  23247. do {
  23248. u32 phy_a1, phy_a2;
  23249. s32 phy_a3, phy_a4, phy_a5, phy_a6, phy_a7;
  23250. phy_a1 = end - min(end, (winsz >> 1));
  23251. phy_a2 = min_t(u32, NPHY_PAPD_EPS_TBL_SIZE - 1,
  23252. end + (winsz >> 1));
  23253. phy_a3 = phy_a2 - phy_a1 + 1;
  23254. phy_a6 = 0;
  23255. phy_a7 = 0;
  23256. do {
  23257. wlc_phy_papd_decode_epsilon(src[phy_a2], &phy_a4,
  23258. &phy_a5);
  23259. phy_a6 += phy_a4;
  23260. phy_a7 += phy_a5;
  23261. } while (phy_a2-- != phy_a1);
  23262. phy_a6 /= phy_a3;
  23263. phy_a7 /= phy_a3;
  23264. dst[end] = ((u32) phy_a7 << 13) | ((u32) phy_a6 & 0x1fff);
  23265. } while (end-- != start);
  23266. wlc_phy_table_write_nphy(pi,
  23267. (core ==
  23268. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0 :
  23269. NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
  23270. kfree(buf);
  23271. }
  23272. static void
  23273. wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains,
  23274. enum phy_cal_mode cal_mode, u8 core)
  23275. {
  23276. u16 phy_a1, phy_a2, phy_a3;
  23277. u16 phy_a4, phy_a5;
  23278. bool phy_a6;
  23279. u8 phy_a7, m[2];
  23280. u32 phy_a8 = 0;
  23281. struct nphy_txgains phy_a9;
  23282. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23283. return;
  23284. phy_a7 = (core == PHY_CORE_0) ? 1 : 0;
  23285. phy_a6 = ((cal_mode == CAL_GCTRL)
  23286. || (cal_mode == CAL_SOFT)) ? true : false;
  23287. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23288. phy_a9 = wlc_phy_get_tx_gain_nphy(pi);
  23289. if (CHSPEC_IS2G(pi->radio_chanspec))
  23290. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23291. (phy_a9.txgm[core] << 12) |
  23292. (phy_a9.pga[core] << 8) |
  23293. (txgains->gains.pad[core] << 3) |
  23294. (phy_a9.ipa[core]));
  23295. else
  23296. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23297. (phy_a9.txgm[core] << 12) |
  23298. (txgains->gains.pga[core] << 8) |
  23299. (phy_a9.pad[core] << 3) | (phy_a9.ipa[core]));
  23300. wlc_phy_rfctrl_override_1tomany_nphy(
  23301. pi,
  23302. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23303. phy_a5, (1 << core), 0);
  23304. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23305. if ((pi->pubpi.radiorev <= 4)
  23306. || (pi->pubpi.radiorev == 6))
  23307. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23308. 60 : 79;
  23309. else
  23310. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23311. 45 : 64;
  23312. } else {
  23313. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23314. }
  23315. m[phy_a7] = 0;
  23316. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23317. phy_a2 = 63;
  23318. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23319. if ((pi->pubpi.radiorev == 4)
  23320. || (pi->pubpi.radiorev == 6)) {
  23321. phy_a1 = 30;
  23322. phy_a3 = 30;
  23323. } else {
  23324. phy_a1 = 25;
  23325. phy_a3 = 25;
  23326. }
  23327. } else {
  23328. if ((pi->pubpi.radiorev == 5)
  23329. || (pi->pubpi.radiorev == 7)
  23330. || (pi->pubpi.radiorev == 8)) {
  23331. phy_a1 = 25;
  23332. phy_a3 = 25;
  23333. } else {
  23334. phy_a1 = 35;
  23335. phy_a3 = 35;
  23336. }
  23337. }
  23338. if (cal_mode == CAL_GCTRL) {
  23339. if ((pi->pubpi.radiorev == 5)
  23340. && (CHSPEC_IS2G(pi->radio_chanspec)))
  23341. phy_a1 = 55;
  23342. else if (((pi->pubpi.radiorev == 7) &&
  23343. (CHSPEC_IS2G(pi->radio_chanspec))) ||
  23344. ((pi->pubpi.radiorev == 8) &&
  23345. (CHSPEC_IS2G(pi->radio_chanspec))))
  23346. phy_a1 = 60;
  23347. else
  23348. phy_a1 = 63;
  23349. } else if ((cal_mode != CAL_FULL) && (cal_mode != CAL_SOFT)) {
  23350. phy_a1 = 35;
  23351. phy_a3 = 35;
  23352. }
  23353. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23354. 0x29b, (0x1 << 0), (1) << 0);
  23355. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23356. 0x29b, (0x1 << 0), (0) << 0);
  23357. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23358. 0x2a4, (0x1 << 13), (1) << 13);
  23359. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23360. 0x2a4, (0x1 << 13), (0) << 13);
  23361. write_phy_reg(pi, 0x2a1, 0x80);
  23362. write_phy_reg(pi, 0x2a2, 0x100);
  23363. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23364. 0x2a4, (0x7 << 4), (11) << 4);
  23365. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23366. 0x2a4, (0x7 << 8), (11) << 8);
  23367. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23368. 0x2a4, (0x7 << 0), (0x3) << 0);
  23369. write_phy_reg(pi, 0x2e5, 0x20);
  23370. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23371. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23372. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23373. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23374. 1, ((core == 0) ? 1 : 2), 0,
  23375. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23376. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23377. 0, ((core == 0) ? 2 : 1), 0,
  23378. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23379. write_phy_reg(pi, 0x2be, 1);
  23380. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23381. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23382. 0, 0x3, 0,
  23383. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23384. wlc_phy_table_write_nphy(pi,
  23385. (core ==
  23386. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23387. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23388. 32, &phy_a8);
  23389. if (cal_mode != CAL_GCTRL) {
  23390. if (CHSPEC_IS5G(pi->radio_chanspec))
  23391. wlc_phy_a1_nphy(pi, core, 5, 0, 35);
  23392. }
  23393. wlc_phy_rfctrl_override_1tomany_nphy(
  23394. pi,
  23395. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23396. phy_a5, (1 << core), 1);
  23397. } else {
  23398. if (txgains) {
  23399. if (txgains->useindex) {
  23400. phy_a4 = 15 - ((txgains->index) >> 3);
  23401. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23402. if (NREV_GE(pi->pubpi.phy_rev, 6))
  23403. phy_a5 = 0x00f7 | (phy_a4 << 8);
  23404. else
  23405. if (NREV_IS(pi->pubpi.phy_rev, 5))
  23406. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23407. else
  23408. phy_a5 = 0x50f7 | (phy_a4 << 8);
  23409. } else {
  23410. phy_a5 = 0x70f7 | (phy_a4 << 8);
  23411. }
  23412. wlc_phy_rfctrl_override_nphy(pi,
  23413. (0x1 << 13),
  23414. phy_a5,
  23415. (1 << core), 0);
  23416. } else {
  23417. wlc_phy_rfctrl_override_nphy(pi,
  23418. (0x1 << 13),
  23419. 0x5bf7,
  23420. (1 << core), 0);
  23421. }
  23422. }
  23423. if (CHSPEC_IS2G(pi->radio_chanspec))
  23424. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
  23425. else
  23426. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23427. m[phy_a7] = 0;
  23428. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23429. phy_a2 = 63;
  23430. if (cal_mode == CAL_FULL) {
  23431. phy_a1 = 25;
  23432. phy_a3 = 25;
  23433. } else if (cal_mode == CAL_SOFT) {
  23434. phy_a1 = 25;
  23435. phy_a3 = 25;
  23436. } else if (cal_mode == CAL_GCTRL) {
  23437. phy_a1 = 63;
  23438. phy_a3 = 25;
  23439. } else {
  23440. phy_a1 = 25;
  23441. phy_a3 = 25;
  23442. }
  23443. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23444. 0x29b, (0x1 << 0), (1) << 0);
  23445. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23446. 0x29b, (0x1 << 0), (0) << 0);
  23447. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23448. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23449. 0x2a4, (0x1 << 13), (1) << 13);
  23450. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23451. 0x2a4, (0x1 << 13), (0) << 13);
  23452. write_phy_reg(pi, 0x2a1, 0x20);
  23453. write_phy_reg(pi, 0x2a2, 0x60);
  23454. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23455. 0x2a4, (0xf << 4), (9) << 4);
  23456. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23457. 0x2a4, (0xf << 8), (9) << 8);
  23458. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23459. 0x2a4, (0xf << 0), (0x2) << 0);
  23460. write_phy_reg(pi, 0x2e5, 0x20);
  23461. } else {
  23462. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23463. 0x2a4, (0x1 << 11), (1) << 11);
  23464. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23465. 0x2a4, (0x1 << 11), (0) << 11);
  23466. write_phy_reg(pi, 0x2a1, 0x80);
  23467. write_phy_reg(pi, 0x2a2, 0x600);
  23468. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23469. 0x2a4, (0x7 << 4), (0) << 4);
  23470. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23471. 0x2a4, (0x7 << 8), (0) << 8);
  23472. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23473. 0x2a4, (0x7 << 0), (0x3) << 0);
  23474. mod_phy_reg(pi, 0x2a0, (0x3f << 8), (0x20) << 8);
  23475. }
  23476. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23477. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23478. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23479. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0x3, 0);
  23480. write_phy_reg(pi, 0x2be, 1);
  23481. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23482. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23483. wlc_phy_table_write_nphy(pi,
  23484. (core ==
  23485. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23486. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23487. 32, &phy_a8);
  23488. if (cal_mode != CAL_GCTRL)
  23489. wlc_phy_a1_nphy(pi, core, 5, 0, 40);
  23490. }
  23491. }
  23492. static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core)
  23493. {
  23494. int phy_a1;
  23495. int phy_a2;
  23496. bool phy_a3;
  23497. struct nphy_ipa_txcalgains phy_a4;
  23498. bool phy_a5 = false;
  23499. bool phy_a6 = true;
  23500. s32 phy_a7, phy_a8;
  23501. u32 phy_a9;
  23502. int phy_a10;
  23503. bool phy_a11 = false;
  23504. int phy_a12;
  23505. u8 phy_a13 = 0;
  23506. u8 phy_a14;
  23507. u8 *phy_a15 = NULL;
  23508. phy_a4.useindex = true;
  23509. phy_a12 = start_gain;
  23510. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23511. phy_a2 = 20;
  23512. phy_a1 = 1;
  23513. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23514. if (pi->pubpi.radiorev == 5) {
  23515. phy_a15 = pad_gain_codes_used_2057rev5;
  23516. phy_a13 =
  23517. sizeof(pad_gain_codes_used_2057rev5) /
  23518. sizeof(pad_gain_codes_used_2057rev5
  23519. [0]) - 1;
  23520. } else if ((pi->pubpi.radiorev == 7)
  23521. || (pi->pubpi.radiorev == 8)) {
  23522. phy_a15 = pad_gain_codes_used_2057rev7;
  23523. phy_a13 =
  23524. sizeof(pad_gain_codes_used_2057rev7) /
  23525. sizeof(pad_gain_codes_used_2057rev7
  23526. [0]) - 1;
  23527. } else {
  23528. phy_a15 = pad_all_gain_codes_2057;
  23529. phy_a13 = sizeof(pad_all_gain_codes_2057) /
  23530. sizeof(pad_all_gain_codes_2057[0]) -
  23531. 1;
  23532. }
  23533. } else {
  23534. phy_a15 = pga_all_gain_codes_2057;
  23535. phy_a13 = sizeof(pga_all_gain_codes_2057) /
  23536. sizeof(pga_all_gain_codes_2057[0]) - 1;
  23537. }
  23538. phy_a14 = 0;
  23539. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23540. if (CHSPEC_IS2G(pi->radio_chanspec))
  23541. phy_a4.gains.pad[core] =
  23542. (u16) phy_a15[phy_a12];
  23543. else
  23544. phy_a4.gains.pga[core] =
  23545. (u16) phy_a15[phy_a12];
  23546. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23547. wlc_phy_table_read_nphy(pi,
  23548. (core ==
  23549. PHY_CORE_0 ?
  23550. NPHY_TBL_ID_EPSILONTBL0 :
  23551. NPHY_TBL_ID_EPSILONTBL1), 1,
  23552. 63, 32, &phy_a9);
  23553. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23554. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23555. (phy_a8 == 4095) || (phy_a8 == -4096));
  23556. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23557. if (!phy_a3)
  23558. phy_a12 -= (u8) phy_a1;
  23559. phy_a11 = true;
  23560. break;
  23561. }
  23562. if (phy_a3)
  23563. phy_a12 += (u8) phy_a1;
  23564. else
  23565. phy_a12 -= (u8) phy_a1;
  23566. if ((phy_a12 < phy_a14) || (phy_a12 > phy_a13)) {
  23567. if (phy_a12 < phy_a14)
  23568. phy_a12 = phy_a14;
  23569. else
  23570. phy_a12 = phy_a13;
  23571. phy_a11 = true;
  23572. break;
  23573. }
  23574. phy_a6 = false;
  23575. phy_a5 = phy_a3;
  23576. }
  23577. } else {
  23578. phy_a2 = 10;
  23579. phy_a1 = 8;
  23580. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23581. phy_a4.index = (u8) phy_a12;
  23582. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23583. wlc_phy_table_read_nphy(pi,
  23584. (core ==
  23585. PHY_CORE_0 ?
  23586. NPHY_TBL_ID_EPSILONTBL0 :
  23587. NPHY_TBL_ID_EPSILONTBL1), 1,
  23588. 63, 32, &phy_a9);
  23589. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23590. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23591. (phy_a8 == 4095) || (phy_a8 == -4096));
  23592. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23593. if (!phy_a3)
  23594. phy_a12 -= (u8) phy_a1;
  23595. phy_a11 = true;
  23596. break;
  23597. }
  23598. if (phy_a3)
  23599. phy_a12 += (u8) phy_a1;
  23600. else
  23601. phy_a12 -= (u8) phy_a1;
  23602. if ((phy_a12 < 0) || (phy_a12 > 127)) {
  23603. if (phy_a12 < 0)
  23604. phy_a12 = 0;
  23605. else
  23606. phy_a12 = 127;
  23607. phy_a11 = true;
  23608. break;
  23609. }
  23610. phy_a6 = false;
  23611. phy_a5 = phy_a3;
  23612. }
  23613. }
  23614. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23615. return (u8) phy_a15[phy_a12];
  23616. else
  23617. return (u8) phy_a12;
  23618. }
  23619. static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal)
  23620. {
  23621. struct nphy_ipa_txcalgains phy_b1[2];
  23622. struct nphy_papd_restore_state phy_b2;
  23623. bool phy_b3;
  23624. u8 phy_b4;
  23625. u8 phy_b5;
  23626. s16 phy_b6, phy_b7, phy_b8;
  23627. u16 phy_b9;
  23628. s16 phy_b10, phy_b11, phy_b12;
  23629. phy_b11 = 0;
  23630. phy_b12 = 0;
  23631. phy_b7 = 0;
  23632. phy_b8 = 0;
  23633. phy_b6 = 0;
  23634. if (pi->nphy_papd_skip == 1)
  23635. return;
  23636. phy_b3 = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  23637. MCTL_EN_MAC));
  23638. if (!phy_b3)
  23639. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23640. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23641. pi->nphy_force_papd_cal = false;
  23642. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++)
  23643. pi->nphy_papd_tx_gain_at_last_cal[phy_b5] =
  23644. wlc_phy_txpwr_idx_cur_get_nphy(pi, phy_b5);
  23645. pi->nphy_papd_last_cal = pi->sh->now;
  23646. pi->nphy_papd_recal_counter++;
  23647. phy_b4 = pi->nphy_txpwrctrl;
  23648. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23649. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL0, 64, 0, 32,
  23650. nphy_papd_scaltbl);
  23651. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL1, 64, 0, 32,
  23652. nphy_papd_scaltbl);
  23653. phy_b9 = read_phy_reg(pi, 0x01);
  23654. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  23655. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23656. s32 i, val = 0;
  23657. for (i = 0; i < 64; i++)
  23658. wlc_phy_table_write_nphy(pi,
  23659. ((phy_b5 ==
  23660. PHY_CORE_0) ?
  23661. NPHY_TBL_ID_EPSILONTBL0 :
  23662. NPHY_TBL_ID_EPSILONTBL1), 1,
  23663. i, 32, &val);
  23664. }
  23665. wlc_phy_ipa_restore_tx_digi_filts_nphy(pi);
  23666. phy_b2.mm = wlc_phy_ipa_get_bbmult_nphy(pi);
  23667. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23668. wlc_phy_papd_cal_setup_nphy(pi, &phy_b2, phy_b5);
  23669. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23670. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23671. if ((pi->pubpi.radiorev == 3)
  23672. || (pi->pubpi.radiorev == 4)
  23673. || (pi->pubpi.radiorev == 6)) {
  23674. pi->nphy_papd_cal_gain_index[phy_b5] =
  23675. 23;
  23676. } else if (pi->pubpi.radiorev == 5) {
  23677. pi->nphy_papd_cal_gain_index[phy_b5] =
  23678. 0;
  23679. pi->nphy_papd_cal_gain_index[phy_b5] =
  23680. wlc_phy_a3_nphy(
  23681. pi,
  23682. pi->
  23683. nphy_papd_cal_gain_index
  23684. [phy_b5],
  23685. phy_b5);
  23686. } else if ((pi->pubpi.radiorev == 7)
  23687. || (pi->pubpi.radiorev == 8)) {
  23688. pi->nphy_papd_cal_gain_index[phy_b5] =
  23689. 0;
  23690. pi->nphy_papd_cal_gain_index[phy_b5] =
  23691. wlc_phy_a3_nphy(
  23692. pi,
  23693. pi->
  23694. nphy_papd_cal_gain_index
  23695. [phy_b5],
  23696. phy_b5);
  23697. }
  23698. phy_b1[phy_b5].gains.pad[phy_b5] =
  23699. pi->nphy_papd_cal_gain_index[phy_b5];
  23700. } else {
  23701. pi->nphy_papd_cal_gain_index[phy_b5] = 0;
  23702. pi->nphy_papd_cal_gain_index[phy_b5] =
  23703. wlc_phy_a3_nphy(
  23704. pi,
  23705. pi->
  23706. nphy_papd_cal_gain_index
  23707. [phy_b5], phy_b5);
  23708. phy_b1[phy_b5].gains.pga[phy_b5] =
  23709. pi->nphy_papd_cal_gain_index[phy_b5];
  23710. }
  23711. } else {
  23712. phy_b1[phy_b5].useindex = true;
  23713. phy_b1[phy_b5].index = 16;
  23714. phy_b1[phy_b5].index =
  23715. wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index,
  23716. phy_b5);
  23717. pi->nphy_papd_cal_gain_index[phy_b5] =
  23718. 15 - ((phy_b1[phy_b5].index) >> 3);
  23719. }
  23720. switch (pi->nphy_papd_cal_type) {
  23721. case 0:
  23722. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_FULL, phy_b5);
  23723. break;
  23724. case 1:
  23725. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_SOFT, phy_b5);
  23726. break;
  23727. }
  23728. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23729. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23730. }
  23731. if (NREV_LT(pi->pubpi.phy_rev, 7))
  23732. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23733. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23734. int eps_offset = 0;
  23735. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23736. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23737. if (pi->pubpi.radiorev == 3)
  23738. eps_offset = -2;
  23739. else if (pi->pubpi.radiorev == 5)
  23740. eps_offset = 3;
  23741. else
  23742. eps_offset = -1;
  23743. } else {
  23744. eps_offset = 2;
  23745. }
  23746. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23747. phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5];
  23748. phy_b10 = 0;
  23749. if ((pi->pubpi.radiorev == 3) ||
  23750. (pi->pubpi.radiorev == 4) ||
  23751. (pi->pubpi.radiorev == 6)) {
  23752. phy_b12 = -(
  23753. nphy_papd_padgain_dlt_2g_2057rev3n4
  23754. [phy_b8] + 1) / 2;
  23755. phy_b10 = -1;
  23756. } else if (pi->pubpi.radiorev == 5) {
  23757. phy_b12 = -(
  23758. nphy_papd_padgain_dlt_2g_2057rev5
  23759. [phy_b8] + 1) / 2;
  23760. } else if ((pi->pubpi.radiorev == 7) ||
  23761. (pi->pubpi.radiorev == 8)) {
  23762. phy_b12 = -(
  23763. nphy_papd_padgain_dlt_2g_2057rev7
  23764. [phy_b8] + 1) / 2;
  23765. }
  23766. } else {
  23767. phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5];
  23768. if ((pi->pubpi.radiorev == 3) ||
  23769. (pi->pubpi.radiorev == 4) ||
  23770. (pi->pubpi.radiorev == 6))
  23771. phy_b11 =
  23772. -(nphy_papd_pgagain_dlt_5g_2057
  23773. [phy_b7]
  23774. + 1) / 2;
  23775. else if ((pi->pubpi.radiorev == 7)
  23776. || (pi->pubpi.radiorev == 8))
  23777. phy_b11 = -(
  23778. nphy_papd_pgagain_dlt_5g_2057rev7
  23779. [phy_b7] + 1) / 2;
  23780. phy_b10 = -9;
  23781. }
  23782. if (CHSPEC_IS2G(pi->radio_chanspec))
  23783. phy_b6 =
  23784. -60 + 27 + eps_offset + phy_b12 +
  23785. phy_b10;
  23786. else
  23787. phy_b6 =
  23788. -60 + 27 + eps_offset + phy_b11 +
  23789. phy_b10;
  23790. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23791. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23792. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23793. } else {
  23794. if (NREV_LT(pi->pubpi.phy_rev, 5))
  23795. eps_offset = 4;
  23796. else
  23797. eps_offset = 2;
  23798. phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3);
  23799. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23800. phy_b11 =
  23801. -(nphy_papd_pga_gain_delta_ipa_2g[
  23802. phy_b7] +
  23803. 1) / 2;
  23804. phy_b10 = 0;
  23805. } else {
  23806. phy_b11 =
  23807. -(nphy_papd_pga_gain_delta_ipa_5g[
  23808. phy_b7] +
  23809. 1) / 2;
  23810. phy_b10 = -9;
  23811. }
  23812. phy_b6 = -60 + 27 + eps_offset + phy_b11 + phy_b10;
  23813. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23814. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23815. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23816. }
  23817. }
  23818. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  23819. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23820. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  23821. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23822. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23823. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23824. 0x2a4, (0x1 << 13), (0) << 13);
  23825. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23826. 0x2a4, (0x1 << 13), (0) << 13);
  23827. } else {
  23828. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23829. 0x2a4, (0x1 << 11), (0) << 11);
  23830. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23831. 0x2a4, (0x1 << 11), (0) << 11);
  23832. }
  23833. pi->nphy_papdcomp = NPHY_PAPD_COMP_ON;
  23834. write_phy_reg(pi, 0x01, phy_b9);
  23835. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  23836. wlc_phy_txpwrctrl_enable_nphy(pi, phy_b4);
  23837. if (phy_b4 == PHY_TPC_HW_OFF) {
  23838. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23839. (s8) (pi->nphy_txpwrindex[0].
  23840. index_internal), false);
  23841. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23842. (s8) (pi->nphy_txpwrindex[1].
  23843. index_internal), false);
  23844. }
  23845. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  23846. if (!phy_b3)
  23847. wlapi_enable_mac(pi->sh->physhim);
  23848. }
  23849. void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype)
  23850. {
  23851. struct nphy_txgains target_gain;
  23852. u8 tx_pwr_ctrl_state;
  23853. bool fullcal = true;
  23854. bool restore_tx_gain = false;
  23855. bool mphase;
  23856. if (PHY_MUTED(pi))
  23857. return;
  23858. if (caltype == PHY_PERICAL_AUTO)
  23859. fullcal = (pi->radio_chanspec != pi->nphy_txiqlocal_chanspec);
  23860. else if (caltype == PHY_PERICAL_PARTIAL)
  23861. fullcal = false;
  23862. if (pi->cal_type_override != PHY_PERICAL_AUTO)
  23863. fullcal =
  23864. (pi->cal_type_override ==
  23865. PHY_PERICAL_FULL) ? true : false;
  23866. if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) {
  23867. if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec)
  23868. wlc_phy_cal_perical_mphase_restart(pi);
  23869. }
  23870. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL))
  23871. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000);
  23872. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23873. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23874. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_IDLE) ||
  23875. (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_INIT)) {
  23876. pi->nphy_cal_orig_pwr_idx[0] =
  23877. (u8) ((read_phy_reg(pi, 0x1ed) >> 8) & 0x7f);
  23878. pi->nphy_cal_orig_pwr_idx[1] =
  23879. (u8) ((read_phy_reg(pi, 0x1ee) >> 8) & 0x7f);
  23880. if (pi->nphy_txpwrctrl != PHY_TPC_HW_OFF) {
  23881. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2,
  23882. 0x110, 16,
  23883. pi->nphy_cal_orig_tx_gain);
  23884. } else {
  23885. pi->nphy_cal_orig_tx_gain[0] = 0;
  23886. pi->nphy_cal_orig_tx_gain[1] = 0;
  23887. }
  23888. }
  23889. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23890. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  23891. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23892. if (pi->antsel_type == ANTSEL_2x3)
  23893. wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
  23894. mphase = (pi->mphase_cal_phase_id != MPHASE_CAL_STATE_IDLE);
  23895. if (!mphase) {
  23896. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23897. wlc_phy_precal_txgain_nphy(pi);
  23898. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23899. restore_tx_gain = true;
  23900. target_gain = pi->nphy_cal_target_gain;
  23901. }
  23902. if (0 ==
  23903. wlc_phy_cal_txiqlo_nphy(pi, target_gain, fullcal,
  23904. mphase)) {
  23905. if (PHY_IPA(pi))
  23906. wlc_phy_a4(pi, true);
  23907. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23908. wlapi_enable_mac(pi->sh->physhim);
  23909. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION,
  23910. 10000);
  23911. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23912. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23913. if (0 == wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23914. (pi->first_cal_after_assoc ||
  23915. (pi->cal_type_override ==
  23916. PHY_PERICAL_FULL)) ? 2 : 0, false)) {
  23917. wlc_phy_savecal_nphy(pi);
  23918. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23919. pi->nphy_perical_last = pi->sh->now;
  23920. }
  23921. }
  23922. if (caltype != PHY_PERICAL_AUTO)
  23923. wlc_phy_rssi_cal_nphy(pi);
  23924. if (pi->first_cal_after_assoc
  23925. || (pi->cal_type_override == PHY_PERICAL_FULL)) {
  23926. pi->first_cal_after_assoc = false;
  23927. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23928. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23929. }
  23930. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23931. wlc_phy_radio205x_vcocal_nphy(pi);
  23932. } else {
  23933. switch (pi->mphase_cal_phase_id) {
  23934. case MPHASE_CAL_STATE_INIT:
  23935. pi->nphy_perical_last = pi->sh->now;
  23936. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  23937. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23938. wlc_phy_precal_txgain_nphy(pi);
  23939. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23940. pi->mphase_cal_phase_id++;
  23941. break;
  23942. case MPHASE_CAL_STATE_TXPHASE0:
  23943. case MPHASE_CAL_STATE_TXPHASE1:
  23944. case MPHASE_CAL_STATE_TXPHASE2:
  23945. case MPHASE_CAL_STATE_TXPHASE3:
  23946. case MPHASE_CAL_STATE_TXPHASE4:
  23947. case MPHASE_CAL_STATE_TXPHASE5:
  23948. if ((pi->radar_percal_mask & 0x10) != 0)
  23949. pi->nphy_rxcal_active = true;
  23950. if (wlc_phy_cal_txiqlo_nphy
  23951. (pi, pi->nphy_cal_target_gain, fullcal,
  23952. true) != 0) {
  23953. wlc_phy_cal_perical_mphase_reset(pi);
  23954. break;
  23955. }
  23956. if (NREV_LE(pi->pubpi.phy_rev, 2) &&
  23957. (pi->mphase_cal_phase_id ==
  23958. MPHASE_CAL_STATE_TXPHASE4))
  23959. pi->mphase_cal_phase_id += 2;
  23960. else
  23961. pi->mphase_cal_phase_id++;
  23962. break;
  23963. case MPHASE_CAL_STATE_PAPDCAL:
  23964. if ((pi->radar_percal_mask & 0x2) != 0)
  23965. pi->nphy_rxcal_active = true;
  23966. if (PHY_IPA(pi))
  23967. wlc_phy_a4(pi, true);
  23968. pi->mphase_cal_phase_id++;
  23969. break;
  23970. case MPHASE_CAL_STATE_RXCAL:
  23971. if ((pi->radar_percal_mask & 0x1) != 0)
  23972. pi->nphy_rxcal_active = true;
  23973. if (wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23974. (pi->first_cal_after_assoc ||
  23975. (pi->cal_type_override ==
  23976. PHY_PERICAL_FULL)) ? 2 : 0,
  23977. false) == 0)
  23978. wlc_phy_savecal_nphy(pi);
  23979. pi->mphase_cal_phase_id++;
  23980. break;
  23981. case MPHASE_CAL_STATE_RSSICAL:
  23982. if ((pi->radar_percal_mask & 0x4) != 0)
  23983. pi->nphy_rxcal_active = true;
  23984. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23985. wlc_phy_rssi_cal_nphy(pi);
  23986. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23987. wlc_phy_radio205x_vcocal_nphy(pi);
  23988. restore_tx_gain = true;
  23989. if (pi->first_cal_after_assoc)
  23990. pi->mphase_cal_phase_id++;
  23991. else
  23992. wlc_phy_cal_perical_mphase_reset(pi);
  23993. break;
  23994. case MPHASE_CAL_STATE_IDLETSSI:
  23995. if ((pi->radar_percal_mask & 0x8) != 0)
  23996. pi->nphy_rxcal_active = true;
  23997. if (pi->first_cal_after_assoc) {
  23998. pi->first_cal_after_assoc = false;
  23999. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  24000. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  24001. }
  24002. wlc_phy_cal_perical_mphase_reset(pi);
  24003. break;
  24004. default:
  24005. wlc_phy_cal_perical_mphase_reset(pi);
  24006. break;
  24007. }
  24008. }
  24009. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24010. if (restore_tx_gain) {
  24011. if (tx_pwr_ctrl_state != PHY_TPC_HW_OFF) {
  24012. wlc_phy_txpwr_index_nphy(pi, 1,
  24013. pi->
  24014. nphy_cal_orig_pwr_idx
  24015. [0], false);
  24016. wlc_phy_txpwr_index_nphy(pi, 2,
  24017. pi->
  24018. nphy_cal_orig_pwr_idx
  24019. [1], false);
  24020. pi->nphy_txpwrindex[0].index = -1;
  24021. pi->nphy_txpwrindex[1].index = -1;
  24022. } else {
  24023. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  24024. (s8) (pi->
  24025. nphy_txpwrindex
  24026. [0].
  24027. index_internal),
  24028. false);
  24029. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  24030. (s8) (pi->
  24031. nphy_txpwrindex
  24032. [1].
  24033. index_internal),
  24034. false);
  24035. }
  24036. }
  24037. }
  24038. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  24039. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  24040. wlapi_enable_mac(pi->sh->physhim);
  24041. }
  24042. int
  24043. wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  24044. bool fullcal, bool mphase)
  24045. {
  24046. u16 val;
  24047. u16 tbl_buf[11];
  24048. u8 cal_cnt;
  24049. u16 cal_cmd;
  24050. u8 num_cals, max_cal_cmds;
  24051. u16 core_no, cal_type;
  24052. u16 diq_start = 0;
  24053. u8 phy_bw;
  24054. u16 max_val;
  24055. u16 tone_freq;
  24056. u16 gain_save[2];
  24057. u16 cal_gain[2];
  24058. struct nphy_iqcal_params cal_params[2];
  24059. u32 tbl_len;
  24060. void *tbl_ptr;
  24061. bool ladder_updated[2];
  24062. u8 mphase_cal_lastphase = 0;
  24063. int bcmerror = 0;
  24064. bool phyhang_avoid_state = false;
  24065. u16 tbl_tx_iqlo_cal_loft_ladder_20[] = {
  24066. 0x0300, 0x0500, 0x0700, 0x0900, 0x0d00, 0x1100, 0x1900, 0x1901,
  24067. 0x1902,
  24068. 0x1903, 0x1904, 0x1905, 0x1906, 0x1907, 0x2407, 0x3207, 0x4607,
  24069. 0x6407
  24070. };
  24071. u16 tbl_tx_iqlo_cal_iqimb_ladder_20[] = {
  24072. 0x0200, 0x0300, 0x0600, 0x0900, 0x0d00, 0x1100, 0x1900, 0x2400,
  24073. 0x3200,
  24074. 0x4600, 0x6400, 0x6401, 0x6402, 0x6403, 0x6404, 0x6405, 0x6406,
  24075. 0x6407
  24076. };
  24077. u16 tbl_tx_iqlo_cal_loft_ladder_40[] = {
  24078. 0x0200, 0x0300, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1201,
  24079. 0x1202,
  24080. 0x1203, 0x1204, 0x1205, 0x1206, 0x1207, 0x1907, 0x2307, 0x3207,
  24081. 0x4707
  24082. };
  24083. u16 tbl_tx_iqlo_cal_iqimb_ladder_40[] = {
  24084. 0x0100, 0x0200, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1900,
  24085. 0x2300,
  24086. 0x3200, 0x4700, 0x4701, 0x4702, 0x4703, 0x4704, 0x4705, 0x4706,
  24087. 0x4707
  24088. };
  24089. u16 tbl_tx_iqlo_cal_startcoefs[] = {
  24090. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24091. 0x0000
  24092. };
  24093. u16 tbl_tx_iqlo_cal_cmds_fullcal[] = {
  24094. 0x8123, 0x8264, 0x8086, 0x8245, 0x8056,
  24095. 0x9123, 0x9264, 0x9086, 0x9245, 0x9056
  24096. };
  24097. u16 tbl_tx_iqlo_cal_cmds_recal[] = {
  24098. 0x8101, 0x8253, 0x8053, 0x8234, 0x8034,
  24099. 0x9101, 0x9253, 0x9053, 0x9234, 0x9034
  24100. };
  24101. u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[] = {
  24102. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24103. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24104. 0x0000
  24105. };
  24106. u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[] = {
  24107. 0x8434, 0x8334, 0x8084, 0x8267, 0x8056, 0x8234,
  24108. 0x9434, 0x9334, 0x9084, 0x9267, 0x9056, 0x9234
  24109. };
  24110. u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[] = {
  24111. 0x8423, 0x8323, 0x8073, 0x8256, 0x8045, 0x8223,
  24112. 0x9423, 0x9323, 0x9073, 0x9256, 0x9045, 0x9223
  24113. };
  24114. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  24115. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  24116. phyhang_avoid_state = pi->phyhang_avoid;
  24117. pi->phyhang_avoid = false;
  24118. }
  24119. if (CHSPEC_IS40(pi->radio_chanspec))
  24120. phy_bw = 40;
  24121. else
  24122. phy_bw = 20;
  24123. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  24124. for (core_no = 0; core_no <= 1; core_no++) {
  24125. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  24126. &cal_params[core_no]);
  24127. cal_gain[core_no] = cal_params[core_no].cal_gain;
  24128. }
  24129. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  24130. wlc_phy_txcal_radio_setup_nphy(pi);
  24131. wlc_phy_txcal_physetup_nphy(pi);
  24132. ladder_updated[0] = ladder_updated[1] = false;
  24133. if (!(NREV_GE(pi->pubpi.phy_rev, 6) ||
  24134. (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi)
  24135. && (CHSPEC_IS2G(pi->radio_chanspec))))) {
  24136. if (phy_bw == 40) {
  24137. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_40;
  24138. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_40);
  24139. } else {
  24140. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_20;
  24141. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_20);
  24142. }
  24143. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 0,
  24144. 16, tbl_ptr);
  24145. if (phy_bw == 40) {
  24146. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_40;
  24147. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_40);
  24148. } else {
  24149. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_20;
  24150. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_20);
  24151. }
  24152. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 32,
  24153. 16, tbl_ptr);
  24154. }
  24155. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24156. write_phy_reg(pi, 0xc2, 0x8ad9);
  24157. else
  24158. write_phy_reg(pi, 0xc2, 0x8aa9);
  24159. max_val = 250;
  24160. tone_freq = (phy_bw == 20) ? 2500 : 5000;
  24161. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24162. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff, 0, 1, 0, false);
  24163. bcmerror = 0;
  24164. } else {
  24165. bcmerror =
  24166. wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0,
  24167. false);
  24168. }
  24169. if (bcmerror == 0) {
  24170. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24171. tbl_ptr = pi->mphase_txcal_bestcoeffs;
  24172. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24173. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24174. tbl_len -= 2;
  24175. } else {
  24176. if ((!fullcal) && (pi->nphy_txiqlocal_coeffsvalid)) {
  24177. tbl_ptr = pi->nphy_txiqlocal_bestc;
  24178. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24179. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24180. tbl_len -= 2;
  24181. } else {
  24182. fullcal = true;
  24183. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24184. tbl_ptr =
  24185. tbl_tx_iqlo_cal_startcoefs_nphyrev3;
  24186. tbl_len = ARRAY_SIZE(
  24187. tbl_tx_iqlo_cal_startcoefs_nphyrev3);
  24188. } else {
  24189. tbl_ptr = tbl_tx_iqlo_cal_startcoefs;
  24190. tbl_len = ARRAY_SIZE(
  24191. tbl_tx_iqlo_cal_startcoefs);
  24192. }
  24193. }
  24194. }
  24195. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 64,
  24196. 16, tbl_ptr);
  24197. if (fullcal) {
  24198. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24199. ARRAY_SIZE(
  24200. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3) :
  24201. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_fullcal);
  24202. } else {
  24203. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24204. ARRAY_SIZE(
  24205. tbl_tx_iqlo_cal_cmds_recal_nphyrev3) :
  24206. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_recal);
  24207. }
  24208. if (mphase) {
  24209. cal_cnt = pi->mphase_txcal_cmdidx;
  24210. if ((cal_cnt + pi->mphase_txcal_numcmds) < max_cal_cmds)
  24211. num_cals = cal_cnt + pi->mphase_txcal_numcmds;
  24212. else
  24213. num_cals = max_cal_cmds;
  24214. } else {
  24215. cal_cnt = 0;
  24216. num_cals = max_cal_cmds;
  24217. }
  24218. for (; cal_cnt < num_cals; cal_cnt++) {
  24219. if (fullcal) {
  24220. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24221. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3
  24222. [cal_cnt] :
  24223. tbl_tx_iqlo_cal_cmds_fullcal[cal_cnt];
  24224. } else {
  24225. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24226. tbl_tx_iqlo_cal_cmds_recal_nphyrev3[
  24227. cal_cnt]
  24228. : tbl_tx_iqlo_cal_cmds_recal[cal_cnt];
  24229. }
  24230. core_no = ((cal_cmd & 0x3000) >> 12);
  24231. cal_type = ((cal_cmd & 0x0F00) >> 8);
  24232. if (NREV_GE(pi->pubpi.phy_rev, 6) ||
  24233. (NREV_IS(pi->pubpi.phy_rev, 5) &&
  24234. PHY_IPA(pi)
  24235. && (CHSPEC_IS2G(pi->radio_chanspec)))) {
  24236. if (!ladder_updated[core_no]) {
  24237. wlc_phy_update_txcal_ladder_nphy(
  24238. pi,
  24239. core_no);
  24240. ladder_updated[core_no] = true;
  24241. }
  24242. }
  24243. val =
  24244. (cal_params[core_no].
  24245. ncorr[cal_type] << 8) | NPHY_N_GCTL;
  24246. write_phy_reg(pi, 0xc1, val);
  24247. if ((cal_type == 1) || (cal_type == 3)
  24248. || (cal_type == 4)) {
  24249. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24250. 1, 69 + core_no, 16,
  24251. tbl_buf);
  24252. diq_start = tbl_buf[0];
  24253. tbl_buf[0] = 0;
  24254. wlc_phy_table_write_nphy(pi,
  24255. NPHY_TBL_ID_IQLOCAL, 1,
  24256. 69 + core_no, 16,
  24257. tbl_buf);
  24258. }
  24259. write_phy_reg(pi, 0xc0, cal_cmd);
  24260. SPINWAIT(((read_phy_reg(pi, 0xc0) & 0xc000) != 0),
  24261. 20000);
  24262. if (WARN(read_phy_reg(pi, 0xc0) & 0xc000,
  24263. "HW error: txiq calib"))
  24264. return -EIO;
  24265. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24266. tbl_len, 96, 16, tbl_buf);
  24267. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24268. tbl_len, 64, 16, tbl_buf);
  24269. if ((cal_type == 1) || (cal_type == 3)
  24270. || (cal_type == 4)) {
  24271. tbl_buf[0] = diq_start;
  24272. }
  24273. }
  24274. if (mphase) {
  24275. pi->mphase_txcal_cmdidx = num_cals;
  24276. if (pi->mphase_txcal_cmdidx >= max_cal_cmds)
  24277. pi->mphase_txcal_cmdidx = 0;
  24278. }
  24279. mphase_cal_lastphase =
  24280. (NREV_LE(pi->pubpi.phy_rev, 2)) ?
  24281. MPHASE_CAL_STATE_TXPHASE4 : MPHASE_CAL_STATE_TXPHASE5;
  24282. if (!mphase
  24283. || (pi->mphase_cal_phase_id == mphase_cal_lastphase)) {
  24284. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 96,
  24285. 16, tbl_buf);
  24286. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24287. 16, tbl_buf);
  24288. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24289. tbl_buf[0] = 0;
  24290. tbl_buf[1] = 0;
  24291. tbl_buf[2] = 0;
  24292. tbl_buf[3] = 0;
  24293. }
  24294. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24295. 16, tbl_buf);
  24296. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 101,
  24297. 16, tbl_buf);
  24298. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24299. 16, tbl_buf);
  24300. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24301. 16, tbl_buf);
  24302. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24303. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24304. tbl_len -= 2;
  24305. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24306. tbl_len, 96, 16,
  24307. pi->nphy_txiqlocal_bestc);
  24308. pi->nphy_txiqlocal_coeffsvalid = true;
  24309. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  24310. } else {
  24311. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24312. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24313. tbl_len -= 2;
  24314. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24315. tbl_len, 96, 16,
  24316. pi->mphase_txcal_bestcoeffs);
  24317. }
  24318. wlc_phy_stopplayback_nphy(pi);
  24319. write_phy_reg(pi, 0xc2, 0x0000);
  24320. }
  24321. wlc_phy_txcal_phycleanup_nphy(pi);
  24322. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  24323. gain_save);
  24324. wlc_phy_txcal_radio_cleanup_nphy(pi);
  24325. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24326. if (!mphase
  24327. || (pi->mphase_cal_phase_id == mphase_cal_lastphase))
  24328. wlc_phy_tx_iq_war_nphy(pi);
  24329. }
  24330. if (NREV_GE(pi->pubpi.phy_rev, 4))
  24331. pi->phyhang_avoid = phyhang_avoid_state;
  24332. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  24333. return bcmerror;
  24334. }
  24335. static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi)
  24336. {
  24337. u16 tbl_buf[7];
  24338. if ((pi->nphy_txiqlocal_chanspec == pi->radio_chanspec) &&
  24339. (pi->nphy_txiqlocal_coeffsvalid)) {
  24340. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24341. ARRAY_SIZE(tbl_buf), 80, 16, tbl_buf);
  24342. if ((pi->nphy_txiqlocal_bestc[0] != tbl_buf[0]) ||
  24343. (pi->nphy_txiqlocal_bestc[1] != tbl_buf[1]) ||
  24344. (pi->nphy_txiqlocal_bestc[2] != tbl_buf[2]) ||
  24345. (pi->nphy_txiqlocal_bestc[3] != tbl_buf[3])) {
  24346. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24347. 16, pi->nphy_txiqlocal_bestc);
  24348. tbl_buf[0] = 0;
  24349. tbl_buf[1] = 0;
  24350. tbl_buf[2] = 0;
  24351. tbl_buf[3] = 0;
  24352. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24353. 16, tbl_buf);
  24354. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24355. 16,
  24356. &pi->nphy_txiqlocal_bestc[5]);
  24357. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24358. 16,
  24359. &pi->nphy_txiqlocal_bestc[5]);
  24360. }
  24361. }
  24362. }
  24363. void
  24364. wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write,
  24365. struct nphy_iq_comp *pcomp)
  24366. {
  24367. if (write) {
  24368. write_phy_reg(pi, 0x9a, pcomp->a0);
  24369. write_phy_reg(pi, 0x9b, pcomp->b0);
  24370. write_phy_reg(pi, 0x9c, pcomp->a1);
  24371. write_phy_reg(pi, 0x9d, pcomp->b1);
  24372. } else {
  24373. pcomp->a0 = read_phy_reg(pi, 0x9a);
  24374. pcomp->b0 = read_phy_reg(pi, 0x9b);
  24375. pcomp->a1 = read_phy_reg(pi, 0x9c);
  24376. pcomp->b1 = read_phy_reg(pi, 0x9d);
  24377. }
  24378. }
  24379. void
  24380. wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
  24381. u16 num_samps, u8 wait_time, u8 wait_for_crs)
  24382. {
  24383. u8 core;
  24384. write_phy_reg(pi, 0x12b, num_samps);
  24385. mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0));
  24386. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqMode,
  24387. (wait_for_crs) ? NPHY_IqestCmd_iqMode : 0);
  24388. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqstart, NPHY_IqestCmd_iqstart);
  24389. SPINWAIT(((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) != 0),
  24390. 10000);
  24391. if (WARN(read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart,
  24392. "HW error: rxiq est"))
  24393. return;
  24394. if ((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) == 0) {
  24395. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  24396. est[core].i_pwr =
  24397. (read_phy_reg(pi,
  24398. NPHY_IqestipwrAccHi(core)) << 16)
  24399. | read_phy_reg(pi, NPHY_IqestipwrAccLo(core));
  24400. est[core].q_pwr =
  24401. (read_phy_reg(pi,
  24402. NPHY_IqestqpwrAccHi(core)) << 16)
  24403. | read_phy_reg(pi, NPHY_IqestqpwrAccLo(core));
  24404. est[core].iq_prod =
  24405. (read_phy_reg(pi,
  24406. NPHY_IqestIqAccHi(core)) << 16) |
  24407. read_phy_reg(pi, NPHY_IqestIqAccLo(core));
  24408. }
  24409. }
  24410. }
  24411. #define CAL_RETRY_CNT 2
  24412. static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask)
  24413. {
  24414. u8 curr_core;
  24415. struct phy_iq_est est[PHY_CORE_MAX];
  24416. struct nphy_iq_comp old_comp, new_comp;
  24417. s32 iq = 0;
  24418. u32 ii = 0, qq = 0;
  24419. s16 iq_nbits, qq_nbits, brsh, arsh;
  24420. s32 a, b, temp;
  24421. int bcmerror = 0;
  24422. uint cal_retry = 0;
  24423. if (core_mask == 0x0)
  24424. return;
  24425. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &old_comp);
  24426. new_comp.a0 = new_comp.b0 = new_comp.a1 = new_comp.b1 = 0x0;
  24427. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24428. cal_try:
  24429. wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0);
  24430. new_comp = old_comp;
  24431. for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) {
  24432. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24433. iq = est[curr_core].iq_prod;
  24434. ii = est[curr_core].i_pwr;
  24435. qq = est[curr_core].q_pwr;
  24436. } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24437. iq = est[curr_core].iq_prod;
  24438. ii = est[curr_core].i_pwr;
  24439. qq = est[curr_core].q_pwr;
  24440. } else {
  24441. continue;
  24442. }
  24443. if ((ii + qq) < NPHY_MIN_RXIQ_PWR) {
  24444. bcmerror = -EBADE;
  24445. break;
  24446. }
  24447. iq_nbits = wlc_phy_nbits(iq);
  24448. qq_nbits = wlc_phy_nbits(qq);
  24449. arsh = 10 - (30 - iq_nbits);
  24450. if (arsh >= 0) {
  24451. a = (-(iq << (30 - iq_nbits)) + (ii >> (1 + arsh)));
  24452. temp = (s32) (ii >> arsh);
  24453. if (temp == 0) {
  24454. bcmerror = -EBADE;
  24455. break;
  24456. }
  24457. } else {
  24458. a = (-(iq << (30 - iq_nbits)) + (ii << (-1 - arsh)));
  24459. temp = (s32) (ii << -arsh);
  24460. if (temp == 0) {
  24461. bcmerror = -EBADE;
  24462. break;
  24463. }
  24464. }
  24465. a /= temp;
  24466. brsh = qq_nbits - 31 + 20;
  24467. if (brsh >= 0) {
  24468. b = (qq << (31 - qq_nbits));
  24469. temp = (s32) (ii >> brsh);
  24470. if (temp == 0) {
  24471. bcmerror = -EBADE;
  24472. break;
  24473. }
  24474. } else {
  24475. b = (qq << (31 - qq_nbits));
  24476. temp = (s32) (ii << -brsh);
  24477. if (temp == 0) {
  24478. bcmerror = -EBADE;
  24479. break;
  24480. }
  24481. }
  24482. b /= temp;
  24483. b -= a * a;
  24484. b = (s32) int_sqrt((unsigned long) b);
  24485. b -= (1 << 10);
  24486. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24487. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24488. new_comp.a0 = (s16) a & 0x3ff;
  24489. new_comp.b0 = (s16) b & 0x3ff;
  24490. } else {
  24491. new_comp.a0 = (s16) b & 0x3ff;
  24492. new_comp.b0 = (s16) a & 0x3ff;
  24493. }
  24494. }
  24495. if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24496. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24497. new_comp.a1 = (s16) a & 0x3ff;
  24498. new_comp.b1 = (s16) b & 0x3ff;
  24499. } else {
  24500. new_comp.a1 = (s16) b & 0x3ff;
  24501. new_comp.b1 = (s16) a & 0x3ff;
  24502. }
  24503. }
  24504. }
  24505. if (bcmerror != 0) {
  24506. printk(KERN_DEBUG "%s: Failed, cnt = %d\n", __func__,
  24507. cal_retry);
  24508. if (cal_retry < CAL_RETRY_CNT) {
  24509. cal_retry++;
  24510. goto cal_try;
  24511. }
  24512. new_comp = old_comp;
  24513. }
  24514. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24515. }
  24516. static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core)
  24517. {
  24518. u16 offtune_val;
  24519. u16 bias_g = 0;
  24520. u16 bias_a = 0;
  24521. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24522. if (rx_core == PHY_CORE_0) {
  24523. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24524. pi->tx_rx_cal_radio_saveregs[0] =
  24525. read_radio_reg(pi,
  24526. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP);
  24527. pi->tx_rx_cal_radio_saveregs[1] =
  24528. read_radio_reg(pi,
  24529. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN);
  24530. write_radio_reg(pi,
  24531. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24532. 0x3);
  24533. write_radio_reg(pi,
  24534. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24535. 0xaf);
  24536. } else {
  24537. pi->tx_rx_cal_radio_saveregs[0] =
  24538. read_radio_reg(pi,
  24539. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP);
  24540. pi->tx_rx_cal_radio_saveregs[1] =
  24541. read_radio_reg(pi,
  24542. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN);
  24543. write_radio_reg(
  24544. pi,
  24545. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24546. 0x3);
  24547. write_radio_reg(
  24548. pi,
  24549. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24550. 0x7f);
  24551. }
  24552. } else {
  24553. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24554. pi->tx_rx_cal_radio_saveregs[0] =
  24555. read_radio_reg(pi,
  24556. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP);
  24557. pi->tx_rx_cal_radio_saveregs[1] =
  24558. read_radio_reg(pi,
  24559. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN);
  24560. write_radio_reg(
  24561. pi,
  24562. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24563. 0x3);
  24564. write_radio_reg(
  24565. pi,
  24566. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24567. 0xaf);
  24568. } else {
  24569. pi->tx_rx_cal_radio_saveregs[0] =
  24570. read_radio_reg(pi,
  24571. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP);
  24572. pi->tx_rx_cal_radio_saveregs[1] =
  24573. read_radio_reg(pi,
  24574. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN);
  24575. write_radio_reg(pi,
  24576. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24577. 0x3);
  24578. write_radio_reg(pi,
  24579. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24580. 0x7f);
  24581. }
  24582. }
  24583. } else {
  24584. if (rx_core == PHY_CORE_0) {
  24585. pi->tx_rx_cal_radio_saveregs[0] =
  24586. read_radio_reg(pi,
  24587. RADIO_2056_TX_RXIQCAL_TXMUX |
  24588. RADIO_2056_TX1);
  24589. pi->tx_rx_cal_radio_saveregs[1] =
  24590. read_radio_reg(pi,
  24591. RADIO_2056_RX_RXIQCAL_RXMUX |
  24592. RADIO_2056_RX0);
  24593. if (pi->pubpi.radiorev >= 5) {
  24594. pi->tx_rx_cal_radio_saveregs[2] =
  24595. read_radio_reg(pi,
  24596. RADIO_2056_RX_RXSPARE2 |
  24597. RADIO_2056_RX0);
  24598. pi->tx_rx_cal_radio_saveregs[3] =
  24599. read_radio_reg(pi,
  24600. RADIO_2056_TX_TXSPARE2 |
  24601. RADIO_2056_TX1);
  24602. }
  24603. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24604. if (pi->pubpi.radiorev >= 5) {
  24605. pi->tx_rx_cal_radio_saveregs[4] =
  24606. read_radio_reg(pi,
  24607. RADIO_2056_RX_LNAA_MASTER
  24608. | RADIO_2056_RX0);
  24609. write_radio_reg(
  24610. pi,
  24611. RADIO_2056_RX_LNAA_MASTER
  24612. | RADIO_2056_RX0, 0x40);
  24613. write_radio_reg(pi,
  24614. RADIO_2056_TX_TXSPARE2 |
  24615. RADIO_2056_TX1, bias_a);
  24616. write_radio_reg(pi,
  24617. RADIO_2056_RX_RXSPARE2 |
  24618. RADIO_2056_RX0, bias_a);
  24619. } else {
  24620. pi->tx_rx_cal_radio_saveregs[4] =
  24621. read_radio_reg(pi,
  24622. RADIO_2056_RX_LNAA_TUNE
  24623. | RADIO_2056_RX0);
  24624. offtune_val =
  24625. (pi->tx_rx_cal_radio_saveregs
  24626. [2] & 0xF0) >> 8;
  24627. offtune_val =
  24628. (offtune_val <= 0x7) ? 0xF : 0;
  24629. mod_radio_reg(pi,
  24630. RADIO_2056_RX_LNAA_TUNE |
  24631. RADIO_2056_RX0, 0xF0,
  24632. (offtune_val << 8));
  24633. }
  24634. write_radio_reg(pi,
  24635. RADIO_2056_TX_RXIQCAL_TXMUX |
  24636. RADIO_2056_TX1, 0x9);
  24637. write_radio_reg(pi,
  24638. RADIO_2056_RX_RXIQCAL_RXMUX |
  24639. RADIO_2056_RX0, 0x9);
  24640. } else {
  24641. if (pi->pubpi.radiorev >= 5) {
  24642. pi->tx_rx_cal_radio_saveregs[4] =
  24643. read_radio_reg(
  24644. pi,
  24645. RADIO_2056_RX_LNAG_MASTER
  24646. | RADIO_2056_RX0);
  24647. write_radio_reg(
  24648. pi,
  24649. RADIO_2056_RX_LNAG_MASTER
  24650. | RADIO_2056_RX0, 0x40);
  24651. write_radio_reg(
  24652. pi,
  24653. RADIO_2056_TX_TXSPARE2
  24654. |
  24655. RADIO_2056_TX1, bias_g);
  24656. write_radio_reg(
  24657. pi,
  24658. RADIO_2056_RX_RXSPARE2
  24659. |
  24660. RADIO_2056_RX0, bias_g);
  24661. } else {
  24662. pi->tx_rx_cal_radio_saveregs[4] =
  24663. read_radio_reg(
  24664. pi,
  24665. RADIO_2056_RX_LNAG_TUNE
  24666. | RADIO_2056_RX0);
  24667. offtune_val =
  24668. (pi->
  24669. tx_rx_cal_radio_saveregs[2] &
  24670. 0xF0) >> 8;
  24671. offtune_val =
  24672. (offtune_val <= 0x7) ? 0xF : 0;
  24673. mod_radio_reg(pi,
  24674. RADIO_2056_RX_LNAG_TUNE |
  24675. RADIO_2056_RX0, 0xF0,
  24676. (offtune_val << 8));
  24677. }
  24678. write_radio_reg(pi,
  24679. RADIO_2056_TX_RXIQCAL_TXMUX |
  24680. RADIO_2056_TX1, 0x6);
  24681. write_radio_reg(pi,
  24682. RADIO_2056_RX_RXIQCAL_RXMUX |
  24683. RADIO_2056_RX0, 0x6);
  24684. }
  24685. } else {
  24686. pi->tx_rx_cal_radio_saveregs[0] =
  24687. read_radio_reg(pi,
  24688. RADIO_2056_TX_RXIQCAL_TXMUX |
  24689. RADIO_2056_TX0);
  24690. pi->tx_rx_cal_radio_saveregs[1] =
  24691. read_radio_reg(pi,
  24692. RADIO_2056_RX_RXIQCAL_RXMUX |
  24693. RADIO_2056_RX1);
  24694. if (pi->pubpi.radiorev >= 5) {
  24695. pi->tx_rx_cal_radio_saveregs[2] =
  24696. read_radio_reg(pi,
  24697. RADIO_2056_RX_RXSPARE2 |
  24698. RADIO_2056_RX1);
  24699. pi->tx_rx_cal_radio_saveregs[3] =
  24700. read_radio_reg(pi,
  24701. RADIO_2056_TX_TXSPARE2 |
  24702. RADIO_2056_TX0);
  24703. }
  24704. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24705. if (pi->pubpi.radiorev >= 5) {
  24706. pi->tx_rx_cal_radio_saveregs[4] =
  24707. read_radio_reg(
  24708. pi,
  24709. RADIO_2056_RX_LNAA_MASTER
  24710. | RADIO_2056_RX1);
  24711. write_radio_reg(
  24712. pi,
  24713. RADIO_2056_RX_LNAA_MASTER |
  24714. RADIO_2056_RX1, 0x40);
  24715. write_radio_reg(
  24716. pi,
  24717. RADIO_2056_TX_TXSPARE2
  24718. |
  24719. RADIO_2056_TX0, bias_a);
  24720. write_radio_reg(
  24721. pi,
  24722. RADIO_2056_RX_RXSPARE2
  24723. |
  24724. RADIO_2056_RX1, bias_a);
  24725. } else {
  24726. pi->tx_rx_cal_radio_saveregs[4] =
  24727. read_radio_reg(
  24728. pi,
  24729. RADIO_2056_RX_LNAA_TUNE
  24730. | RADIO_2056_RX1);
  24731. offtune_val =
  24732. (pi->
  24733. tx_rx_cal_radio_saveregs[2] &
  24734. 0xF0) >> 8;
  24735. offtune_val =
  24736. (offtune_val <= 0x7) ? 0xF : 0;
  24737. mod_radio_reg(pi,
  24738. RADIO_2056_RX_LNAA_TUNE |
  24739. RADIO_2056_RX1, 0xF0,
  24740. (offtune_val << 8));
  24741. }
  24742. write_radio_reg(pi,
  24743. RADIO_2056_TX_RXIQCAL_TXMUX |
  24744. RADIO_2056_TX0, 0x9);
  24745. write_radio_reg(pi,
  24746. RADIO_2056_RX_RXIQCAL_RXMUX |
  24747. RADIO_2056_RX1, 0x9);
  24748. } else {
  24749. if (pi->pubpi.radiorev >= 5) {
  24750. pi->tx_rx_cal_radio_saveregs[4] =
  24751. read_radio_reg(
  24752. pi,
  24753. RADIO_2056_RX_LNAG_MASTER
  24754. | RADIO_2056_RX1);
  24755. write_radio_reg(
  24756. pi,
  24757. RADIO_2056_RX_LNAG_MASTER
  24758. | RADIO_2056_RX1, 0x40);
  24759. write_radio_reg(
  24760. pi,
  24761. RADIO_2056_TX_TXSPARE2
  24762. |
  24763. RADIO_2056_TX0, bias_g);
  24764. write_radio_reg(
  24765. pi,
  24766. RADIO_2056_RX_RXSPARE2
  24767. |
  24768. RADIO_2056_RX1, bias_g);
  24769. } else {
  24770. pi->tx_rx_cal_radio_saveregs[4] =
  24771. read_radio_reg(
  24772. pi,
  24773. RADIO_2056_RX_LNAG_TUNE
  24774. | RADIO_2056_RX1);
  24775. offtune_val =
  24776. (pi->
  24777. tx_rx_cal_radio_saveregs[2] &
  24778. 0xF0) >> 8;
  24779. offtune_val =
  24780. (offtune_val <= 0x7) ? 0xF : 0;
  24781. mod_radio_reg(pi,
  24782. RADIO_2056_RX_LNAG_TUNE |
  24783. RADIO_2056_RX1, 0xF0,
  24784. (offtune_val << 8));
  24785. }
  24786. write_radio_reg(pi,
  24787. RADIO_2056_TX_RXIQCAL_TXMUX |
  24788. RADIO_2056_TX0, 0x6);
  24789. write_radio_reg(pi,
  24790. RADIO_2056_RX_RXIQCAL_RXMUX |
  24791. RADIO_2056_RX1, 0x6);
  24792. }
  24793. }
  24794. }
  24795. }
  24796. static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24797. {
  24798. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24799. if (rx_core == PHY_CORE_0) {
  24800. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24801. write_radio_reg(
  24802. pi,
  24803. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24804. pi->
  24805. tx_rx_cal_radio_saveregs[0]);
  24806. write_radio_reg(
  24807. pi,
  24808. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24809. pi->
  24810. tx_rx_cal_radio_saveregs[1]);
  24811. } else {
  24812. write_radio_reg(
  24813. pi,
  24814. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24815. pi->
  24816. tx_rx_cal_radio_saveregs[0]);
  24817. write_radio_reg(
  24818. pi,
  24819. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24820. pi->
  24821. tx_rx_cal_radio_saveregs[1]);
  24822. }
  24823. } else {
  24824. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24825. write_radio_reg(
  24826. pi,
  24827. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24828. pi->
  24829. tx_rx_cal_radio_saveregs[0]);
  24830. write_radio_reg(
  24831. pi,
  24832. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24833. pi->
  24834. tx_rx_cal_radio_saveregs[1]);
  24835. } else {
  24836. write_radio_reg(
  24837. pi,
  24838. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24839. pi->
  24840. tx_rx_cal_radio_saveregs[0]);
  24841. write_radio_reg(
  24842. pi,
  24843. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24844. pi->
  24845. tx_rx_cal_radio_saveregs[1]);
  24846. }
  24847. }
  24848. } else {
  24849. if (rx_core == PHY_CORE_0) {
  24850. write_radio_reg(pi,
  24851. RADIO_2056_TX_RXIQCAL_TXMUX |
  24852. RADIO_2056_TX1,
  24853. pi->tx_rx_cal_radio_saveregs[0]);
  24854. write_radio_reg(pi,
  24855. RADIO_2056_RX_RXIQCAL_RXMUX |
  24856. RADIO_2056_RX0,
  24857. pi->tx_rx_cal_radio_saveregs[1]);
  24858. if (pi->pubpi.radiorev >= 5) {
  24859. write_radio_reg(pi,
  24860. RADIO_2056_RX_RXSPARE2 |
  24861. RADIO_2056_RX0,
  24862. pi->
  24863. tx_rx_cal_radio_saveregs[2]);
  24864. write_radio_reg(pi,
  24865. RADIO_2056_TX_TXSPARE2 |
  24866. RADIO_2056_TX1,
  24867. pi->
  24868. tx_rx_cal_radio_saveregs[3]);
  24869. }
  24870. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24871. if (pi->pubpi.radiorev >= 5)
  24872. write_radio_reg(
  24873. pi,
  24874. RADIO_2056_RX_LNAA_MASTER
  24875. | RADIO_2056_RX0,
  24876. pi->
  24877. tx_rx_cal_radio_saveregs
  24878. [4]);
  24879. else
  24880. write_radio_reg(
  24881. pi,
  24882. RADIO_2056_RX_LNAA_TUNE
  24883. | RADIO_2056_RX0,
  24884. pi->
  24885. tx_rx_cal_radio_saveregs
  24886. [4]);
  24887. } else {
  24888. if (pi->pubpi.radiorev >= 5)
  24889. write_radio_reg(
  24890. pi,
  24891. RADIO_2056_RX_LNAG_MASTER
  24892. | RADIO_2056_RX0,
  24893. pi->
  24894. tx_rx_cal_radio_saveregs
  24895. [4]);
  24896. else
  24897. write_radio_reg(
  24898. pi,
  24899. RADIO_2056_RX_LNAG_TUNE
  24900. | RADIO_2056_RX0,
  24901. pi->
  24902. tx_rx_cal_radio_saveregs
  24903. [4]);
  24904. }
  24905. } else {
  24906. write_radio_reg(pi,
  24907. RADIO_2056_TX_RXIQCAL_TXMUX |
  24908. RADIO_2056_TX0,
  24909. pi->tx_rx_cal_radio_saveregs[0]);
  24910. write_radio_reg(pi,
  24911. RADIO_2056_RX_RXIQCAL_RXMUX |
  24912. RADIO_2056_RX1,
  24913. pi->tx_rx_cal_radio_saveregs[1]);
  24914. if (pi->pubpi.radiorev >= 5) {
  24915. write_radio_reg(pi,
  24916. RADIO_2056_RX_RXSPARE2 |
  24917. RADIO_2056_RX1,
  24918. pi->
  24919. tx_rx_cal_radio_saveregs[2]);
  24920. write_radio_reg(pi,
  24921. RADIO_2056_TX_TXSPARE2 |
  24922. RADIO_2056_TX0,
  24923. pi->
  24924. tx_rx_cal_radio_saveregs[3]);
  24925. }
  24926. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24927. if (pi->pubpi.radiorev >= 5)
  24928. write_radio_reg(
  24929. pi,
  24930. RADIO_2056_RX_LNAA_MASTER
  24931. | RADIO_2056_RX1,
  24932. pi->
  24933. tx_rx_cal_radio_saveregs
  24934. [4]);
  24935. else
  24936. write_radio_reg(
  24937. pi,
  24938. RADIO_2056_RX_LNAA_TUNE
  24939. | RADIO_2056_RX1,
  24940. pi->
  24941. tx_rx_cal_radio_saveregs
  24942. [4]);
  24943. } else {
  24944. if (pi->pubpi.radiorev >= 5)
  24945. write_radio_reg(
  24946. pi,
  24947. RADIO_2056_RX_LNAG_MASTER
  24948. | RADIO_2056_RX1,
  24949. pi->
  24950. tx_rx_cal_radio_saveregs
  24951. [4]);
  24952. else
  24953. write_radio_reg(
  24954. pi,
  24955. RADIO_2056_RX_LNAG_TUNE
  24956. | RADIO_2056_RX1,
  24957. pi->
  24958. tx_rx_cal_radio_saveregs
  24959. [4]);
  24960. }
  24961. }
  24962. }
  24963. }
  24964. static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core)
  24965. {
  24966. u8 tx_core;
  24967. u16 rx_antval, tx_antval;
  24968. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24969. tx_core = rx_core;
  24970. else
  24971. tx_core = (rx_core == PHY_CORE_0) ? 1 : 0;
  24972. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa2);
  24973. pi->tx_rx_cal_phy_saveregs[1] =
  24974. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7);
  24975. pi->tx_rx_cal_phy_saveregs[2] =
  24976. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5);
  24977. pi->tx_rx_cal_phy_saveregs[3] = read_phy_reg(pi, 0x91);
  24978. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x92);
  24979. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x7a);
  24980. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x7d);
  24981. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0xe7);
  24982. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0xec);
  24983. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24984. pi->tx_rx_cal_phy_saveregs[11] = read_phy_reg(pi, 0x342);
  24985. pi->tx_rx_cal_phy_saveregs[12] = read_phy_reg(pi, 0x343);
  24986. pi->tx_rx_cal_phy_saveregs[13] = read_phy_reg(pi, 0x346);
  24987. pi->tx_rx_cal_phy_saveregs[14] = read_phy_reg(pi, 0x347);
  24988. }
  24989. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  24990. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  24991. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  24992. 0x29b, (0x1 << 0), (0) << 0);
  24993. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  24994. 0x29b, (0x1 << 0), (0) << 0);
  24995. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24996. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24997. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << (1 - rx_core)) << 12);
  24998. } else {
  24999. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25000. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25001. mod_phy_reg(pi, 0xa2, (0xf << 4), (1 << rx_core) << 4);
  25002. mod_phy_reg(pi, 0xa2, (0xf << 8), (1 << rx_core) << 8);
  25003. }
  25004. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7), (0x1 << 2), 0);
  25005. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  25006. (0x1 << 2), (0x1 << 2));
  25007. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25008. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25009. (0x1 << 0) | (0x1 << 1), 0);
  25010. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25011. 0x8f : 0xa5,
  25012. (0x1 << 0) | (0x1 << 1), (0x1 << 0) | (0x1 << 1));
  25013. }
  25014. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 0,
  25015. RADIO_MIMO_CORESEL_CORE1 |
  25016. RADIO_MIMO_CORESEL_CORE2);
  25017. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25018. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  25019. 0, 0, 0,
  25020. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  25021. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 0, 0, 0,
  25022. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25023. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 1, 0, 0,
  25024. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25025. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 1, 0, 0,
  25026. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25027. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0, 0,
  25028. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  25029. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0, 0,
  25030. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25031. if (CHSPEC_IS40(pi->radio_chanspec))
  25032. wlc_phy_rfctrl_override_nphy_rev7(
  25033. pi,
  25034. (0x1 << 7),
  25035. 2, 0, 0,
  25036. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25037. else
  25038. wlc_phy_rfctrl_override_nphy_rev7(
  25039. pi,
  25040. (0x1 << 7),
  25041. 0, 0, 0,
  25042. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25043. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  25044. 0, 0, 0,
  25045. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25046. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0, 0,
  25047. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25048. } else {
  25049. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 3, 0);
  25050. }
  25051. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  25052. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25053. wlc_phy_rfctrlintc_override_nphy(pi,
  25054. NPHY_RfctrlIntc_override_TRSW,
  25055. 0x1, rx_core + 1);
  25056. } else {
  25057. if (rx_core == PHY_CORE_0) {
  25058. rx_antval = 0x1;
  25059. tx_antval = 0x8;
  25060. } else {
  25061. rx_antval = 0x4;
  25062. tx_antval = 0x2;
  25063. }
  25064. wlc_phy_rfctrlintc_override_nphy(pi,
  25065. NPHY_RfctrlIntc_override_TRSW,
  25066. rx_antval, rx_core + 1);
  25067. wlc_phy_rfctrlintc_override_nphy(pi,
  25068. NPHY_RfctrlIntc_override_TRSW,
  25069. tx_antval, tx_core + 1);
  25070. }
  25071. }
  25072. static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  25073. {
  25074. write_phy_reg(pi, 0xa2, pi->tx_rx_cal_phy_saveregs[0]);
  25075. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7,
  25076. pi->tx_rx_cal_phy_saveregs[1]);
  25077. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  25078. pi->tx_rx_cal_phy_saveregs[2]);
  25079. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[3]);
  25080. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[4]);
  25081. write_phy_reg(pi, 0x7a, pi->tx_rx_cal_phy_saveregs[5]);
  25082. write_phy_reg(pi, 0x7d, pi->tx_rx_cal_phy_saveregs[6]);
  25083. write_phy_reg(pi, 0xe7, pi->tx_rx_cal_phy_saveregs[7]);
  25084. write_phy_reg(pi, 0xec, pi->tx_rx_cal_phy_saveregs[8]);
  25085. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25086. write_phy_reg(pi, 0x342, pi->tx_rx_cal_phy_saveregs[11]);
  25087. write_phy_reg(pi, 0x343, pi->tx_rx_cal_phy_saveregs[12]);
  25088. write_phy_reg(pi, 0x346, pi->tx_rx_cal_phy_saveregs[13]);
  25089. write_phy_reg(pi, 0x347, pi->tx_rx_cal_phy_saveregs[14]);
  25090. }
  25091. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  25092. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  25093. }
  25094. static void
  25095. wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
  25096. u16 *rxgain, u8 cal_type)
  25097. {
  25098. u16 num_samps;
  25099. struct phy_iq_est est[PHY_CORE_MAX];
  25100. u8 tx_core;
  25101. struct nphy_iq_comp save_comp, zero_comp;
  25102. u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0,
  25103. thresh_pwr = 10000;
  25104. s16 desired_log2_pwr, actual_log2_pwr, delta_pwr;
  25105. bool gainctrl_done = false;
  25106. u8 mix_tia_gain = 3;
  25107. s8 optim_gaintbl_index = 0, prev_gaintbl_index = 0;
  25108. s8 curr_gaintbl_index = 3;
  25109. u8 gainctrl_dirn = NPHY_RXCAL_GAIN_INIT;
  25110. const struct nphy_ipa_txrxgain *nphy_rxcal_gaintbl;
  25111. u16 hpvga, lpf_biq1, lpf_biq0, lna2, lna1;
  25112. int fine_gain_idx;
  25113. s8 txpwrindex;
  25114. u16 nphy_rxcal_txgain[2];
  25115. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25116. tx_core = rx_core;
  25117. else
  25118. tx_core = 1 - rx_core;
  25119. num_samps = 1024;
  25120. desired_log2_pwr = (cal_type == 0) ? 13 : 13;
  25121. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
  25122. zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;
  25123. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &zero_comp);
  25124. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25125. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25126. mix_tia_gain = 3;
  25127. else if (NREV_GE(pi->pubpi.phy_rev, 4))
  25128. mix_tia_gain = 4;
  25129. else
  25130. mix_tia_gain = 6;
  25131. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25132. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz_rev7;
  25133. else
  25134. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz;
  25135. } else {
  25136. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25137. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz_rev7;
  25138. else
  25139. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz;
  25140. }
  25141. do {
  25142. hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ?
  25143. 0 : nphy_rxcal_gaintbl[curr_gaintbl_index].hpvga;
  25144. lpf_biq1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq1;
  25145. lpf_biq0 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq0;
  25146. lna2 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna2;
  25147. lna1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna1;
  25148. txpwrindex = nphy_rxcal_gaintbl[curr_gaintbl_index].txpwrindex;
  25149. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25150. wlc_phy_rfctrl_override_1tomany_nphy(
  25151. pi,
  25152. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25153. ((lpf_biq1 << 12) |
  25154. (lpf_biq0 << 8) |
  25155. (mix_tia_gain << 4) | (lna2 << 2)
  25156. | lna1), 0x3, 0);
  25157. else
  25158. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25159. ((hpvga << 12) |
  25160. (lpf_biq1 << 10) |
  25161. (lpf_biq0 << 8) |
  25162. (mix_tia_gain << 4) |
  25163. (lna2 << 2) | lna1), 0x3,
  25164. 0);
  25165. pi->nphy_rxcal_pwr_idx[tx_core] = txpwrindex;
  25166. if (txpwrindex == -1) {
  25167. nphy_rxcal_txgain[0] = 0x8ff0 | pi->nphy_gmval;
  25168. nphy_rxcal_txgain[1] = 0x8ff0 | pi->nphy_gmval;
  25169. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  25170. 2, 0x110, 16,
  25171. nphy_rxcal_txgain);
  25172. } else {
  25173. wlc_phy_txpwr_index_nphy(pi, tx_core + 1, txpwrindex,
  25174. false);
  25175. }
  25176. wlc_phy_tx_tone_nphy(pi, (CHSPEC_IS40(pi->radio_chanspec)) ?
  25177. NPHY_RXCAL_TONEFREQ_40MHz :
  25178. NPHY_RXCAL_TONEFREQ_20MHz,
  25179. NPHY_RXCAL_TONEAMP, 0, cal_type, false);
  25180. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25181. i_pwr = (est[rx_core].i_pwr + num_samps / 2) / num_samps;
  25182. q_pwr = (est[rx_core].q_pwr + num_samps / 2) / num_samps;
  25183. curr_pwr = i_pwr + q_pwr;
  25184. switch (gainctrl_dirn) {
  25185. case NPHY_RXCAL_GAIN_INIT:
  25186. if (curr_pwr > thresh_pwr) {
  25187. gainctrl_dirn = NPHY_RXCAL_GAIN_DOWN;
  25188. prev_gaintbl_index = curr_gaintbl_index;
  25189. curr_gaintbl_index--;
  25190. } else {
  25191. gainctrl_dirn = NPHY_RXCAL_GAIN_UP;
  25192. prev_gaintbl_index = curr_gaintbl_index;
  25193. curr_gaintbl_index++;
  25194. }
  25195. break;
  25196. case NPHY_RXCAL_GAIN_UP:
  25197. if (curr_pwr > thresh_pwr) {
  25198. gainctrl_done = true;
  25199. optim_pwr = prev_pwr;
  25200. optim_gaintbl_index = prev_gaintbl_index;
  25201. } else {
  25202. prev_gaintbl_index = curr_gaintbl_index;
  25203. curr_gaintbl_index++;
  25204. }
  25205. break;
  25206. case NPHY_RXCAL_GAIN_DOWN:
  25207. if (curr_pwr > thresh_pwr) {
  25208. prev_gaintbl_index = curr_gaintbl_index;
  25209. curr_gaintbl_index--;
  25210. } else {
  25211. gainctrl_done = true;
  25212. optim_pwr = curr_pwr;
  25213. optim_gaintbl_index = curr_gaintbl_index;
  25214. }
  25215. break;
  25216. default:
  25217. break;
  25218. }
  25219. if ((curr_gaintbl_index < 0) ||
  25220. (curr_gaintbl_index > NPHY_IPA_RXCAL_MAXGAININDEX)) {
  25221. gainctrl_done = true;
  25222. optim_pwr = curr_pwr;
  25223. optim_gaintbl_index = prev_gaintbl_index;
  25224. } else {
  25225. prev_pwr = curr_pwr;
  25226. }
  25227. wlc_phy_stopplayback_nphy(pi);
  25228. } while (!gainctrl_done);
  25229. hpvga = nphy_rxcal_gaintbl[optim_gaintbl_index].hpvga;
  25230. lpf_biq1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq1;
  25231. lpf_biq0 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq0;
  25232. lna2 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna2;
  25233. lna1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna1;
  25234. txpwrindex = nphy_rxcal_gaintbl[optim_gaintbl_index].txpwrindex;
  25235. actual_log2_pwr = wlc_phy_nbits(optim_pwr);
  25236. delta_pwr = desired_log2_pwr - actual_log2_pwr;
  25237. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25238. fine_gain_idx = (int)lpf_biq1 + delta_pwr;
  25239. if (fine_gain_idx + (int)lpf_biq0 > 10)
  25240. lpf_biq1 = 10 - lpf_biq0;
  25241. else
  25242. lpf_biq1 = (u16) max(fine_gain_idx, 0);
  25243. wlc_phy_rfctrl_override_1tomany_nphy(
  25244. pi,
  25245. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25246. ((lpf_biq1 << 12) |
  25247. (lpf_biq0 << 8) |
  25248. (mix_tia_gain << 4) |
  25249. (lna2 << 2) | lna1), 0x3,
  25250. 0);
  25251. } else {
  25252. hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
  25253. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25254. ((hpvga << 12) |
  25255. (lpf_biq1 << 10) |
  25256. (lpf_biq0 << 8) |
  25257. (mix_tia_gain << 4) |
  25258. (lna2 << 2) |
  25259. lna1), 0x3, 0);
  25260. }
  25261. if (rxgain != NULL) {
  25262. *rxgain++ = lna1;
  25263. *rxgain++ = lna2;
  25264. *rxgain++ = mix_tia_gain;
  25265. *rxgain++ = lpf_biq0;
  25266. *rxgain++ = lpf_biq1;
  25267. *rxgain = hpvga;
  25268. }
  25269. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &save_comp);
  25270. }
  25271. static void
  25272. wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain,
  25273. u8 cal_type)
  25274. {
  25275. wlc_phy_rxcal_gainctrl_nphy_rev5(pi, rx_core, rxgain, cal_type);
  25276. }
  25277. static u8
  25278. wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type)
  25279. {
  25280. u32 target_bws[2] = { 9500, 21000 };
  25281. u32 ref_tones[2] = { 3000, 6000 };
  25282. u32 target_bw, ref_tone;
  25283. u32 target_pwr_ratios[2] = { 28606, 18468 };
  25284. u32 target_pwr_ratio, pwr_ratio, last_pwr_ratio = 0;
  25285. u16 start_rccal_ovr_val = 128;
  25286. u16 txlpf_rccal_lpc_ovr_val = 128;
  25287. u16 rxlpf_rccal_hpc_ovr_val = 159;
  25288. u16 orig_txlpf_rccal_lpc_ovr_val;
  25289. u16 orig_rxlpf_rccal_hpc_ovr_val;
  25290. u16 radio_addr_offset_rx;
  25291. u16 radio_addr_offset_tx;
  25292. u16 orig_dcBypass;
  25293. u16 orig_RxStrnFilt40Num[6];
  25294. u16 orig_RxStrnFilt40Den[4];
  25295. u16 orig_rfctrloverride[2];
  25296. u16 orig_rfctrlauxreg[2];
  25297. u16 orig_rfctrlrssiothers;
  25298. u16 tx_lpf_bw = 4;
  25299. u16 rx_lpf_bw, rx_lpf_bws[2] = { 2, 4 };
  25300. u16 lpf_hpc = 7, hpvga_hpc = 7;
  25301. s8 rccal_stepsize;
  25302. u16 rccal_val, last_rccal_val = 0, best_rccal_val = 0;
  25303. u32 ref_iq_vals = 0, target_iq_vals = 0;
  25304. u16 num_samps, log_num_samps = 10;
  25305. struct phy_iq_est est[PHY_CORE_MAX];
  25306. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25307. return 0;
  25308. num_samps = (1 << log_num_samps);
  25309. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25310. target_bw = target_bws[1];
  25311. target_pwr_ratio = target_pwr_ratios[1];
  25312. ref_tone = ref_tones[1];
  25313. rx_lpf_bw = rx_lpf_bws[1];
  25314. } else {
  25315. target_bw = target_bws[0];
  25316. target_pwr_ratio = target_pwr_ratios[0];
  25317. ref_tone = ref_tones[0];
  25318. rx_lpf_bw = rx_lpf_bws[0];
  25319. }
  25320. if (core_idx == 0) {
  25321. radio_addr_offset_rx = RADIO_2056_RX0;
  25322. radio_addr_offset_tx =
  25323. (loopback_type == 0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  25324. } else {
  25325. radio_addr_offset_rx = RADIO_2056_RX1;
  25326. radio_addr_offset_tx =
  25327. (loopback_type == 0) ? RADIO_2056_TX1 : RADIO_2056_TX0;
  25328. }
  25329. orig_txlpf_rccal_lpc_ovr_val =
  25330. read_radio_reg(pi,
  25331. (RADIO_2056_TX_TXLPF_RCCAL |
  25332. radio_addr_offset_tx));
  25333. orig_rxlpf_rccal_hpc_ovr_val =
  25334. read_radio_reg(pi,
  25335. (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25336. radio_addr_offset_rx));
  25337. orig_dcBypass = ((read_phy_reg(pi, 0x48) >> 8) & 1);
  25338. orig_RxStrnFilt40Num[0] = read_phy_reg(pi, 0x267);
  25339. orig_RxStrnFilt40Num[1] = read_phy_reg(pi, 0x268);
  25340. orig_RxStrnFilt40Num[2] = read_phy_reg(pi, 0x269);
  25341. orig_RxStrnFilt40Den[0] = read_phy_reg(pi, 0x26a);
  25342. orig_RxStrnFilt40Den[1] = read_phy_reg(pi, 0x26b);
  25343. orig_RxStrnFilt40Num[3] = read_phy_reg(pi, 0x26c);
  25344. orig_RxStrnFilt40Num[4] = read_phy_reg(pi, 0x26d);
  25345. orig_RxStrnFilt40Num[5] = read_phy_reg(pi, 0x26e);
  25346. orig_RxStrnFilt40Den[2] = read_phy_reg(pi, 0x26f);
  25347. orig_RxStrnFilt40Den[3] = read_phy_reg(pi, 0x270);
  25348. orig_rfctrloverride[0] = read_phy_reg(pi, 0xe7);
  25349. orig_rfctrloverride[1] = read_phy_reg(pi, 0xec);
  25350. orig_rfctrlauxreg[0] = read_phy_reg(pi, 0xf8);
  25351. orig_rfctrlauxreg[1] = read_phy_reg(pi, 0xfa);
  25352. orig_rfctrlrssiothers = read_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d);
  25353. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25354. txlpf_rccal_lpc_ovr_val);
  25355. write_radio_reg(pi,
  25356. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25357. rxlpf_rccal_hpc_ovr_val);
  25358. mod_phy_reg(pi, 0x48, (0x1 << 8), (0x1 << 8));
  25359. write_phy_reg(pi, 0x267, 0x02d4);
  25360. write_phy_reg(pi, 0x268, 0x0000);
  25361. write_phy_reg(pi, 0x269, 0x0000);
  25362. write_phy_reg(pi, 0x26a, 0x0000);
  25363. write_phy_reg(pi, 0x26b, 0x0000);
  25364. write_phy_reg(pi, 0x26c, 0x02d4);
  25365. write_phy_reg(pi, 0x26d, 0x0000);
  25366. write_phy_reg(pi, 0x26e, 0x0000);
  25367. write_phy_reg(pi, 0x26f, 0x0000);
  25368. write_phy_reg(pi, 0x270, 0x0000);
  25369. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 8));
  25370. or_phy_reg(pi, (core_idx == 0) ? 0xec : 0xe7, (0x1 << 15));
  25371. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 9));
  25372. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 10));
  25373. mod_phy_reg(pi, (core_idx == 0) ? 0xfa : 0xf8,
  25374. (0x7 << 10), (tx_lpf_bw << 10));
  25375. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25376. (0x7 << 0), (hpvga_hpc << 0));
  25377. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25378. (0x7 << 4), (lpf_hpc << 4));
  25379. mod_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d,
  25380. (0x7 << 8), (rx_lpf_bw << 8));
  25381. rccal_stepsize = 16;
  25382. rccal_val = start_rccal_ovr_val + rccal_stepsize;
  25383. while (rccal_stepsize >= 0) {
  25384. write_radio_reg(pi,
  25385. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25386. radio_addr_offset_rx), rccal_val);
  25387. if (rccal_stepsize == 16) {
  25388. wlc_phy_tx_tone_nphy(pi, ref_tone, NPHY_RXCAL_TONEAMP,
  25389. 0, 1, false);
  25390. udelay(2);
  25391. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25392. if (core_idx == 0)
  25393. ref_iq_vals =
  25394. max_t(u32, (est[0].i_pwr +
  25395. est[0].q_pwr) >>
  25396. (log_num_samps + 1),
  25397. 1);
  25398. else
  25399. ref_iq_vals =
  25400. max_t(u32, (est[1].i_pwr +
  25401. est[1].q_pwr) >>
  25402. (log_num_samps + 1),
  25403. 1);
  25404. wlc_phy_tx_tone_nphy(pi, target_bw, NPHY_RXCAL_TONEAMP,
  25405. 0, 1, false);
  25406. udelay(2);
  25407. }
  25408. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25409. if (core_idx == 0)
  25410. target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >>
  25411. (log_num_samps + 1);
  25412. else
  25413. target_iq_vals =
  25414. (est[1].i_pwr +
  25415. est[1].q_pwr) >> (log_num_samps + 1);
  25416. pwr_ratio = (uint) ((target_iq_vals << 16) / ref_iq_vals);
  25417. if (rccal_stepsize == 0)
  25418. rccal_stepsize--;
  25419. else if (rccal_stepsize == 1) {
  25420. last_rccal_val = rccal_val;
  25421. rccal_val += (pwr_ratio > target_pwr_ratio) ? 1 : -1;
  25422. last_pwr_ratio = pwr_ratio;
  25423. rccal_stepsize--;
  25424. } else {
  25425. rccal_stepsize = (rccal_stepsize >> 1);
  25426. rccal_val += ((pwr_ratio > target_pwr_ratio) ?
  25427. rccal_stepsize : (-rccal_stepsize));
  25428. }
  25429. if (rccal_stepsize == -1) {
  25430. best_rccal_val =
  25431. (abs((int)last_pwr_ratio -
  25432. (int)target_pwr_ratio) <
  25433. abs((int)pwr_ratio -
  25434. (int)target_pwr_ratio)) ? last_rccal_val :
  25435. rccal_val;
  25436. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25437. if ((best_rccal_val > 140)
  25438. || (best_rccal_val < 135))
  25439. best_rccal_val = 138;
  25440. } else {
  25441. if ((best_rccal_val > 142)
  25442. || (best_rccal_val < 137))
  25443. best_rccal_val = 140;
  25444. }
  25445. write_radio_reg(pi,
  25446. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25447. radio_addr_offset_rx), best_rccal_val);
  25448. }
  25449. }
  25450. wlc_phy_stopplayback_nphy(pi);
  25451. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25452. orig_txlpf_rccal_lpc_ovr_val);
  25453. write_radio_reg(pi,
  25454. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25455. orig_rxlpf_rccal_hpc_ovr_val);
  25456. mod_phy_reg(pi, 0x48, (0x1 << 8), (orig_dcBypass << 8));
  25457. write_phy_reg(pi, 0x267, orig_RxStrnFilt40Num[0]);
  25458. write_phy_reg(pi, 0x268, orig_RxStrnFilt40Num[1]);
  25459. write_phy_reg(pi, 0x269, orig_RxStrnFilt40Num[2]);
  25460. write_phy_reg(pi, 0x26a, orig_RxStrnFilt40Den[0]);
  25461. write_phy_reg(pi, 0x26b, orig_RxStrnFilt40Den[1]);
  25462. write_phy_reg(pi, 0x26c, orig_RxStrnFilt40Num[3]);
  25463. write_phy_reg(pi, 0x26d, orig_RxStrnFilt40Num[4]);
  25464. write_phy_reg(pi, 0x26e, orig_RxStrnFilt40Num[5]);
  25465. write_phy_reg(pi, 0x26f, orig_RxStrnFilt40Den[2]);
  25466. write_phy_reg(pi, 0x270, orig_RxStrnFilt40Den[3]);
  25467. write_phy_reg(pi, 0xe7, orig_rfctrloverride[0]);
  25468. write_phy_reg(pi, 0xec, orig_rfctrloverride[1]);
  25469. write_phy_reg(pi, 0xf8, orig_rfctrlauxreg[0]);
  25470. write_phy_reg(pi, 0xfa, orig_rfctrlauxreg[1]);
  25471. write_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d, orig_rfctrlrssiothers);
  25472. pi->nphy_anarxlpf_adjusted = false;
  25473. return best_rccal_val - 0x80;
  25474. }
  25475. #define WAIT_FOR_SCOPE 4000
  25476. static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi,
  25477. struct nphy_txgains target_gain,
  25478. u8 cal_type, bool debug)
  25479. {
  25480. u16 orig_BBConfig;
  25481. u8 core_no, rx_core;
  25482. u8 best_rccal[2];
  25483. u16 gain_save[2];
  25484. u16 cal_gain[2];
  25485. struct nphy_iqcal_params cal_params[2];
  25486. u8 rxcore_state;
  25487. s8 rxlpf_rccal_hpc, txlpf_rccal_lpc;
  25488. s8 txlpf_idac;
  25489. bool phyhang_avoid_state = false;
  25490. bool skip_rxiqcal = false;
  25491. orig_BBConfig = read_phy_reg(pi, 0x01);
  25492. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  25493. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25494. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  25495. phyhang_avoid_state = pi->phyhang_avoid;
  25496. pi->phyhang_avoid = false;
  25497. }
  25498. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25499. for (core_no = 0; core_no <= 1; core_no++) {
  25500. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25501. &cal_params[core_no]);
  25502. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25503. }
  25504. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25505. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  25506. (struct brcms_phy_pub *) pi);
  25507. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25508. skip_rxiqcal =
  25509. ((rxcore_state & (1 << rx_core)) == 0) ? true : false;
  25510. wlc_phy_rxcal_physetup_nphy(pi, rx_core);
  25511. wlc_phy_rxcal_radio_setup_nphy(pi, rx_core);
  25512. if ((!skip_rxiqcal) && ((cal_type == 0) || (cal_type == 2))) {
  25513. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL, 0);
  25514. wlc_phy_tx_tone_nphy(pi,
  25515. (CHSPEC_IS40(
  25516. pi->radio_chanspec)) ?
  25517. NPHY_RXCAL_TONEFREQ_40MHz :
  25518. NPHY_RXCAL_TONEFREQ_20MHz,
  25519. NPHY_RXCAL_TONEAMP, 0, cal_type,
  25520. false);
  25521. if (debug)
  25522. mdelay(WAIT_FOR_SCOPE);
  25523. wlc_phy_calc_rx_iq_comp_nphy(pi, rx_core + 1);
  25524. wlc_phy_stopplayback_nphy(pi);
  25525. }
  25526. if (((cal_type == 1) || (cal_type == 2))
  25527. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  25528. if (rx_core == PHY_CORE_1) {
  25529. if (rxcore_state == 1)
  25530. wlc_phy_rxcore_setstate_nphy(
  25531. (struct brcms_phy_pub *) pi, 3);
  25532. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL,
  25533. 1);
  25534. best_rccal[rx_core] =
  25535. wlc_phy_rc_sweep_nphy(pi, rx_core, 1);
  25536. pi->nphy_rccal_value = best_rccal[rx_core];
  25537. if (rxcore_state == 1)
  25538. wlc_phy_rxcore_setstate_nphy(
  25539. (struct brcms_phy_pub *) pi,
  25540. rxcore_state);
  25541. }
  25542. }
  25543. wlc_phy_rxcal_radio_cleanup_nphy(pi, rx_core);
  25544. wlc_phy_rxcal_phycleanup_nphy(pi, rx_core);
  25545. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25546. }
  25547. if ((cal_type == 1) || (cal_type == 2)) {
  25548. best_rccal[0] = best_rccal[1];
  25549. write_radio_reg(pi,
  25550. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25551. RADIO_2056_RX0), (best_rccal[0] | 0x80));
  25552. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25553. rxlpf_rccal_hpc =
  25554. (((int)best_rccal[rx_core] - 12) >> 1) + 10;
  25555. txlpf_rccal_lpc = ((int)best_rccal[rx_core] - 12) + 10;
  25556. if (PHY_IPA(pi)) {
  25557. txlpf_rccal_lpc +=
  25558. (pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
  25559. txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
  25560. 0x0e : 0x13;
  25561. WRITE_RADIO_REG2(pi, RADIO_2056, TX, rx_core,
  25562. TXLPF_IDAC_4, txlpf_idac);
  25563. }
  25564. rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
  25565. 0);
  25566. txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
  25567. 0);
  25568. write_radio_reg(pi, (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25569. ((rx_core ==
  25570. PHY_CORE_0) ? RADIO_2056_RX0 :
  25571. RADIO_2056_RX1)),
  25572. (rxlpf_rccal_hpc | 0x80));
  25573. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL |
  25574. ((rx_core ==
  25575. PHY_CORE_0) ? RADIO_2056_TX0 :
  25576. RADIO_2056_TX1)),
  25577. (txlpf_rccal_lpc | 0x80));
  25578. }
  25579. }
  25580. write_phy_reg(pi, 0x01, orig_BBConfig);
  25581. wlc_phy_resetcca_nphy(pi);
  25582. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25583. wlc_phy_rfctrl_override_1tomany_nphy(
  25584. pi,
  25585. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25586. 0, 0x3, 1);
  25587. else
  25588. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  25589. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25590. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25591. gain_save);
  25592. if (NREV_GE(pi->pubpi.phy_rev, 4))
  25593. pi->phyhang_avoid = phyhang_avoid_state;
  25594. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25595. return 0;
  25596. }
  25597. static int
  25598. wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi,
  25599. struct nphy_txgains target_gain, bool debug)
  25600. {
  25601. struct phy_iq_est est[PHY_CORE_MAX];
  25602. u8 core_num, rx_core, tx_core;
  25603. u16 lna_vals[] = { 0x3, 0x3, 0x1 };
  25604. u16 hpf1_vals[] = { 0x7, 0x2, 0x0 };
  25605. u16 hpf2_vals[] = { 0x2, 0x0, 0x0 };
  25606. s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna;
  25607. s16 desired_log2_pwr, actual_log2_pwr, hpf_change;
  25608. u16 orig_RfseqCoreActv, orig_AfectrlCore, orig_AfectrlOverride;
  25609. u16 orig_RfctrlIntcRx, orig_RfctrlIntcTx;
  25610. u16 num_samps;
  25611. u32 i_pwr, q_pwr, tot_pwr[3];
  25612. u8 gain_pass, use_hpf_num;
  25613. u16 mask, val1, val2;
  25614. u16 core_no;
  25615. u16 gain_save[2];
  25616. u16 cal_gain[2];
  25617. struct nphy_iqcal_params cal_params[2];
  25618. u8 phy_bw;
  25619. int bcmerror = 0;
  25620. bool first_playtone = true;
  25621. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25622. if (NREV_LT(pi->pubpi.phy_rev, 2))
  25623. wlc_phy_reapply_txcal_coeffs_nphy(pi);
  25624. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25625. for (core_no = 0; core_no <= 1; core_no++) {
  25626. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25627. &cal_params[core_no]);
  25628. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25629. }
  25630. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25631. num_samps = 1024;
  25632. desired_log2_pwr = 13;
  25633. for (core_num = 0; core_num < 2; core_num++) {
  25634. rx_core = core_num;
  25635. tx_core = 1 - core_num;
  25636. orig_RfseqCoreActv = read_phy_reg(pi, 0xa2);
  25637. orig_AfectrlCore = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25638. 0xa6 : 0xa7);
  25639. orig_AfectrlOverride = read_phy_reg(pi, 0xa5);
  25640. orig_RfctrlIntcRx = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25641. 0x91 : 0x92);
  25642. orig_RfctrlIntcTx = read_phy_reg(pi, (tx_core == PHY_CORE_0) ?
  25643. 0x91 : 0x92);
  25644. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25645. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25646. or_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25647. ((0x1 << 1) | (0x1 << 2)));
  25648. or_phy_reg(pi, 0xa5, ((0x1 << 1) | (0x1 << 2)));
  25649. if (((pi->nphy_rxcalparams) & 0xff000000))
  25650. write_phy_reg(pi,
  25651. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25652. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25653. 0x140 : 0x110));
  25654. else
  25655. write_phy_reg(pi,
  25656. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25657. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25658. 0x180 : 0x120));
  25659. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25660. (CHSPEC_IS5G(pi->radio_chanspec) ? 0x148 :
  25661. 0x114));
  25662. mask = RADIO_2055_COUPLE_RX_MASK | RADIO_2055_COUPLE_TX_MASK;
  25663. if (rx_core == PHY_CORE_0) {
  25664. val1 = RADIO_2055_COUPLE_RX_MASK;
  25665. val2 = RADIO_2055_COUPLE_TX_MASK;
  25666. } else {
  25667. val1 = RADIO_2055_COUPLE_TX_MASK;
  25668. val2 = RADIO_2055_COUPLE_RX_MASK;
  25669. }
  25670. if ((pi->nphy_rxcalparams & 0x10000)) {
  25671. mod_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, mask,
  25672. val1);
  25673. mod_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, mask,
  25674. val2);
  25675. }
  25676. for (gain_pass = 0; gain_pass < 4; gain_pass++) {
  25677. if (debug)
  25678. mdelay(WAIT_FOR_SCOPE);
  25679. if (gain_pass < 3) {
  25680. curr_lna = lna_vals[gain_pass];
  25681. curr_hpf1 = hpf1_vals[gain_pass];
  25682. curr_hpf2 = hpf2_vals[gain_pass];
  25683. } else {
  25684. if (tot_pwr[1] > 10000) {
  25685. curr_lna = lna_vals[2];
  25686. curr_hpf1 = hpf1_vals[2];
  25687. curr_hpf2 = hpf2_vals[2];
  25688. use_hpf_num = 1;
  25689. curr_hpf = curr_hpf1;
  25690. actual_log2_pwr =
  25691. wlc_phy_nbits(tot_pwr[2]);
  25692. } else {
  25693. if (tot_pwr[0] > 10000) {
  25694. curr_lna = lna_vals[1];
  25695. curr_hpf1 = hpf1_vals[1];
  25696. curr_hpf2 = hpf2_vals[1];
  25697. use_hpf_num = 1;
  25698. curr_hpf = curr_hpf1;
  25699. actual_log2_pwr =
  25700. wlc_phy_nbits(
  25701. tot_pwr[1]);
  25702. } else {
  25703. curr_lna = lna_vals[0];
  25704. curr_hpf1 = hpf1_vals[0];
  25705. curr_hpf2 = hpf2_vals[0];
  25706. use_hpf_num = 2;
  25707. curr_hpf = curr_hpf2;
  25708. actual_log2_pwr =
  25709. wlc_phy_nbits(
  25710. tot_pwr[0]);
  25711. }
  25712. }
  25713. hpf_change = desired_log2_pwr - actual_log2_pwr;
  25714. curr_hpf += hpf_change;
  25715. curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
  25716. if (use_hpf_num == 1)
  25717. curr_hpf1 = curr_hpf;
  25718. else
  25719. curr_hpf2 = curr_hpf;
  25720. }
  25721. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10),
  25722. ((curr_hpf2 << 8) |
  25723. (curr_hpf1 << 4) |
  25724. (curr_lna << 2)), 0x3, 0);
  25725. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25726. wlc_phy_stopplayback_nphy(pi);
  25727. if (first_playtone) {
  25728. bcmerror = wlc_phy_tx_tone_nphy(pi, 4000,
  25729. (u16) (pi->nphy_rxcalparams &
  25730. 0xffff), 0, 0, true);
  25731. first_playtone = false;
  25732. } else {
  25733. phy_bw = (CHSPEC_IS40(pi->radio_chanspec)) ?
  25734. 40 : 20;
  25735. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff,
  25736. 0, 0, 0, true);
  25737. }
  25738. if (bcmerror == 0) {
  25739. if (gain_pass < 3) {
  25740. wlc_phy_rx_iq_est_nphy(pi, est,
  25741. num_samps, 32,
  25742. 0);
  25743. i_pwr = (est[rx_core].i_pwr +
  25744. num_samps / 2) / num_samps;
  25745. q_pwr = (est[rx_core].q_pwr +
  25746. num_samps / 2) / num_samps;
  25747. tot_pwr[gain_pass] = i_pwr + q_pwr;
  25748. } else {
  25749. wlc_phy_calc_rx_iq_comp_nphy(pi,
  25750. (1 <<
  25751. rx_core));
  25752. }
  25753. wlc_phy_stopplayback_nphy(pi);
  25754. }
  25755. if (bcmerror != 0)
  25756. break;
  25757. }
  25758. and_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, ~mask);
  25759. and_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, ~mask);
  25760. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 :
  25761. 0x92, orig_RfctrlIntcTx);
  25762. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x91 :
  25763. 0x92, orig_RfctrlIntcRx);
  25764. write_phy_reg(pi, 0xa5, orig_AfectrlOverride);
  25765. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 :
  25766. 0xa7, orig_AfectrlCore);
  25767. write_phy_reg(pi, 0xa2, orig_RfseqCoreActv);
  25768. if (bcmerror != 0)
  25769. break;
  25770. }
  25771. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10), 0, 0x3, 1);
  25772. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25773. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25774. gain_save);
  25775. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25776. return bcmerror;
  25777. }
  25778. int
  25779. wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  25780. u8 cal_type, bool debug)
  25781. {
  25782. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25783. cal_type = 0;
  25784. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25785. return wlc_phy_cal_rxiq_nphy_rev3(pi, target_gain, cal_type,
  25786. debug);
  25787. else
  25788. return wlc_phy_cal_rxiq_nphy_rev2(pi, target_gain, debug);
  25789. }
  25790. void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi)
  25791. {
  25792. uint core;
  25793. u32 txgain;
  25794. u16 rad_gain, dac_gain, bbmult, m1m2;
  25795. u8 txpi[2], chan_freq_range;
  25796. s32 rfpwr_offset;
  25797. if (pi->phyhang_avoid)
  25798. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25799. if (pi->sh->sromrev < 4) {
  25800. txpi[0] = txpi[1] = 72;
  25801. } else {
  25802. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  25803. switch (chan_freq_range) {
  25804. case WL_CHAN_FREQ_RANGE_2G:
  25805. case WL_CHAN_FREQ_RANGE_5GL:
  25806. case WL_CHAN_FREQ_RANGE_5GM:
  25807. case WL_CHAN_FREQ_RANGE_5GH:
  25808. txpi[0] = 0;
  25809. txpi[1] = 0;
  25810. break;
  25811. default:
  25812. txpi[0] = txpi[1] = 91;
  25813. break;
  25814. }
  25815. }
  25816. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25817. txpi[0] = txpi[1] = 30;
  25818. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  25819. txpi[0] = txpi[1] = 40;
  25820. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25821. if ((txpi[0] < 40) || (txpi[0] > 100) ||
  25822. (txpi[1] < 40) || (txpi[1] > 100))
  25823. txpi[0] = txpi[1] = 91;
  25824. }
  25825. pi->nphy_txpwrindex[PHY_CORE_0].index_internal = txpi[0];
  25826. pi->nphy_txpwrindex[PHY_CORE_1].index_internal = txpi[1];
  25827. pi->nphy_txpwrindex[PHY_CORE_0].index_internal_save = txpi[0];
  25828. pi->nphy_txpwrindex[PHY_CORE_1].index_internal_save = txpi[1];
  25829. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  25830. uint phyrev = pi->pubpi.phy_rev;
  25831. if (NREV_GE(phyrev, 3)) {
  25832. if (PHY_IPA(pi)) {
  25833. u32 *tx_gaintbl =
  25834. wlc_phy_get_ipa_gaintbl_nphy(pi);
  25835. txgain = tx_gaintbl[txpi[core]];
  25836. } else {
  25837. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25838. if (NREV_IS(phyrev, 3)) {
  25839. txgain =
  25840. nphy_tpc_5GHz_txgain_rev3
  25841. [txpi[core]];
  25842. } else if (NREV_IS(phyrev, 4)) {
  25843. txgain = (
  25844. pi->srom_fem5g.extpagain ==
  25845. 3) ?
  25846. nphy_tpc_5GHz_txgain_HiPwrEPA
  25847. [txpi[core]] :
  25848. nphy_tpc_5GHz_txgain_rev4
  25849. [txpi[core]];
  25850. } else {
  25851. txgain =
  25852. nphy_tpc_5GHz_txgain_rev5
  25853. [txpi[core]];
  25854. }
  25855. } else {
  25856. if (NREV_GE(phyrev, 5) &&
  25857. (pi->srom_fem2g.extpagain == 3)) {
  25858. txgain =
  25859. nphy_tpc_txgain_HiPwrEPA
  25860. [txpi[core]];
  25861. } else {
  25862. txgain = nphy_tpc_txgain_rev3
  25863. [txpi[core]];
  25864. }
  25865. }
  25866. }
  25867. } else {
  25868. txgain = nphy_tpc_txgain[txpi[core]];
  25869. }
  25870. if (NREV_GE(phyrev, 3))
  25871. rad_gain = (txgain >> 16) & ((1 << (32 - 16 + 1)) - 1);
  25872. else
  25873. rad_gain = (txgain >> 16) & ((1 << (28 - 16 + 1)) - 1);
  25874. if (NREV_GE(phyrev, 7))
  25875. dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1);
  25876. else
  25877. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  25878. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  25879. if (NREV_GE(phyrev, 3))
  25880. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  25881. 0xa5), (0x1 << 8), (0x1 << 8));
  25882. else
  25883. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  25884. write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain);
  25885. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  25886. &rad_gain);
  25887. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  25888. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  25889. m1m2 |= ((core == PHY_CORE_0) ? (bbmult << 8) : (bbmult << 0));
  25890. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  25891. if (PHY_IPA(pi)) {
  25892. wlc_phy_table_read_nphy(pi,
  25893. (core ==
  25894. PHY_CORE_0 ?
  25895. NPHY_TBL_ID_CORE1TXPWRCTL :
  25896. NPHY_TBL_ID_CORE2TXPWRCTL), 1,
  25897. 576 + txpi[core], 32,
  25898. &rfpwr_offset);
  25899. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25900. 0x29b, (0x1ff << 4),
  25901. ((s16) rfpwr_offset) << 4);
  25902. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25903. 0x29b, (0x1 << 2), (1) << 2);
  25904. }
  25905. }
  25906. and_phy_reg(pi, 0xbf, (u16) (~(0x1f << 0)));
  25907. if (pi->phyhang_avoid)
  25908. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25909. }
  25910. static void
  25911. wlc_phy_txpwr_nphy_srom_convert(u8 *srom_max, u16 *pwr_offset,
  25912. u8 tmp_max_pwr, u8 rate_start,
  25913. u8 rate_end)
  25914. {
  25915. u8 rate;
  25916. u8 word_num, nibble_num;
  25917. u8 tmp_nibble;
  25918. for (rate = rate_start; rate <= rate_end; rate++) {
  25919. word_num = (rate - rate_start) >> 2;
  25920. nibble_num = (rate - rate_start) & 0x3;
  25921. tmp_nibble = (pwr_offset[word_num] >> 4 * nibble_num) & 0xf;
  25922. srom_max[rate] = tmp_max_pwr - 2 * tmp_nibble;
  25923. }
  25924. }
  25925. static void
  25926. wlc_phy_txpwr_nphy_po_apply(u8 *srom_max, u8 pwr_offset,
  25927. u8 rate_start, u8 rate_end)
  25928. {
  25929. u8 rate;
  25930. for (rate = rate_start; rate <= rate_end; rate++)
  25931. srom_max[rate] -= 2 * pwr_offset;
  25932. }
  25933. void
  25934. wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start,
  25935. u8 rate_mcs_end, u8 rate_ofdm_start)
  25936. {
  25937. u8 rate1, rate2;
  25938. rate2 = rate_ofdm_start;
  25939. for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) {
  25940. power[rate1] = power[rate2];
  25941. rate2 += (rate1 == rate_mcs_start) ? 2 : 1;
  25942. }
  25943. power[rate_mcs_end] = power[rate_mcs_end - 1];
  25944. }
  25945. void
  25946. wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start,
  25947. u8 rate_ofdm_end, u8 rate_mcs_start)
  25948. {
  25949. u8 rate1, rate2;
  25950. for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start;
  25951. rate1 <= rate_ofdm_end; rate1++, rate2++) {
  25952. power[rate1] = power[rate2];
  25953. if (rate1 == rate_ofdm_start)
  25954. power[++rate1] = power[rate2];
  25955. }
  25956. }
  25957. void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi)
  25958. {
  25959. uint rate1, rate2, band_num;
  25960. u8 tmp_bw40po = 0, tmp_cddpo = 0, tmp_stbcpo = 0;
  25961. u8 tmp_max_pwr = 0;
  25962. u16 pwr_offsets1[2], *pwr_offsets2 = NULL;
  25963. u8 *tx_srom_max_rate = NULL;
  25964. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  25965. band_num++) {
  25966. switch (band_num) {
  25967. case 0:
  25968. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g,
  25969. pi->nphy_pwrctrl_info[1].max_pwr_2g);
  25970. pwr_offsets1[0] = pi->cck2gpo;
  25971. wlc_phy_txpwr_nphy_srom_convert(pi->tx_srom_max_rate_2g,
  25972. pwr_offsets1,
  25973. tmp_max_pwr,
  25974. TXP_FIRST_CCK,
  25975. TXP_LAST_CCK);
  25976. pwr_offsets1[0] = (u16) (pi->ofdm2gpo & 0xffff);
  25977. pwr_offsets1[1] =
  25978. (u16) (pi->ofdm2gpo >> 16) & 0xffff;
  25979. pwr_offsets2 = pi->mcs2gpo;
  25980. tmp_cddpo = pi->cdd2gpo;
  25981. tmp_stbcpo = pi->stbc2gpo;
  25982. tmp_bw40po = pi->bw402gpo;
  25983. tx_srom_max_rate = pi->tx_srom_max_rate_2g;
  25984. break;
  25985. case 1:
  25986. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm,
  25987. pi->nphy_pwrctrl_info[1].max_pwr_5gm);
  25988. pwr_offsets1[0] = (u16) (pi->ofdm5gpo & 0xffff);
  25989. pwr_offsets1[1] =
  25990. (u16) (pi->ofdm5gpo >> 16) & 0xffff;
  25991. pwr_offsets2 = pi->mcs5gpo;
  25992. tmp_cddpo = pi->cdd5gpo;
  25993. tmp_stbcpo = pi->stbc5gpo;
  25994. tmp_bw40po = pi->bw405gpo;
  25995. tx_srom_max_rate = pi->tx_srom_max_rate_5g_mid;
  25996. break;
  25997. case 2:
  25998. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl,
  25999. pi->nphy_pwrctrl_info[1].max_pwr_5gl);
  26000. pwr_offsets1[0] = (u16) (pi->ofdm5glpo & 0xffff);
  26001. pwr_offsets1[1] =
  26002. (u16) (pi->ofdm5glpo >> 16) & 0xffff;
  26003. pwr_offsets2 = pi->mcs5glpo;
  26004. tmp_cddpo = pi->cdd5glpo;
  26005. tmp_stbcpo = pi->stbc5glpo;
  26006. tmp_bw40po = pi->bw405glpo;
  26007. tx_srom_max_rate = pi->tx_srom_max_rate_5g_low;
  26008. break;
  26009. case 3:
  26010. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh,
  26011. pi->nphy_pwrctrl_info[1].max_pwr_5gh);
  26012. pwr_offsets1[0] = (u16) (pi->ofdm5ghpo & 0xffff);
  26013. pwr_offsets1[1] =
  26014. (u16) (pi->ofdm5ghpo >> 16) & 0xffff;
  26015. pwr_offsets2 = pi->mcs5ghpo;
  26016. tmp_cddpo = pi->cdd5ghpo;
  26017. tmp_stbcpo = pi->stbc5ghpo;
  26018. tmp_bw40po = pi->bw405ghpo;
  26019. tx_srom_max_rate = pi->tx_srom_max_rate_5g_hi;
  26020. break;
  26021. }
  26022. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets1,
  26023. tmp_max_pwr, TXP_FIRST_OFDM,
  26024. TXP_LAST_OFDM);
  26025. wlc_phy_ofdm_to_mcs_powers_nphy(tx_srom_max_rate,
  26026. TXP_FIRST_MCS_20_SISO,
  26027. TXP_LAST_MCS_20_SISO,
  26028. TXP_FIRST_OFDM);
  26029. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26030. tmp_max_pwr,
  26031. TXP_FIRST_MCS_20_CDD,
  26032. TXP_LAST_MCS_20_CDD);
  26033. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26034. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26035. TXP_FIRST_MCS_20_CDD,
  26036. TXP_LAST_MCS_20_CDD);
  26037. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26038. TXP_FIRST_OFDM_20_CDD,
  26039. TXP_LAST_OFDM_20_CDD,
  26040. TXP_FIRST_MCS_20_CDD);
  26041. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26042. tmp_max_pwr,
  26043. TXP_FIRST_MCS_20_STBC,
  26044. TXP_LAST_MCS_20_STBC);
  26045. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26046. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26047. tmp_stbcpo,
  26048. TXP_FIRST_MCS_20_STBC,
  26049. TXP_LAST_MCS_20_STBC);
  26050. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26051. &pwr_offsets2[2], tmp_max_pwr,
  26052. TXP_FIRST_MCS_20_SDM,
  26053. TXP_LAST_MCS_20_SDM);
  26054. if (NPHY_IS_SROM_REINTERPRET) {
  26055. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26056. &pwr_offsets2[4],
  26057. tmp_max_pwr,
  26058. TXP_FIRST_MCS_40_SISO,
  26059. TXP_LAST_MCS_40_SISO);
  26060. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26061. TXP_FIRST_OFDM_40_SISO,
  26062. TXP_LAST_OFDM_40_SISO,
  26063. TXP_FIRST_MCS_40_SISO);
  26064. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26065. &pwr_offsets2[4],
  26066. tmp_max_pwr,
  26067. TXP_FIRST_MCS_40_CDD,
  26068. TXP_LAST_MCS_40_CDD);
  26069. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26070. TXP_FIRST_MCS_40_CDD,
  26071. TXP_LAST_MCS_40_CDD);
  26072. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26073. TXP_FIRST_OFDM_40_CDD,
  26074. TXP_LAST_OFDM_40_CDD,
  26075. TXP_FIRST_MCS_40_CDD);
  26076. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26077. &pwr_offsets2[4],
  26078. tmp_max_pwr,
  26079. TXP_FIRST_MCS_40_STBC,
  26080. TXP_LAST_MCS_40_STBC);
  26081. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26082. tmp_stbcpo,
  26083. TXP_FIRST_MCS_40_STBC,
  26084. TXP_LAST_MCS_40_STBC);
  26085. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26086. &pwr_offsets2[6],
  26087. tmp_max_pwr,
  26088. TXP_FIRST_MCS_40_SDM,
  26089. TXP_LAST_MCS_40_SDM);
  26090. } else {
  26091. for (rate1 = TXP_FIRST_OFDM_40_SISO, rate2 =
  26092. TXP_FIRST_OFDM;
  26093. rate1 <= TXP_LAST_MCS_40_SDM;
  26094. rate1++, rate2++)
  26095. tx_srom_max_rate[rate1] =
  26096. tx_srom_max_rate[rate2];
  26097. }
  26098. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26099. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26100. tmp_bw40po,
  26101. TXP_FIRST_OFDM_40_SISO,
  26102. TXP_LAST_MCS_40_SDM);
  26103. tx_srom_max_rate[TXP_MCS_32] =
  26104. tx_srom_max_rate[TXP_FIRST_MCS_40_CDD];
  26105. }
  26106. return;
  26107. }
  26108. void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi)
  26109. {
  26110. u8 tx_pwr_ctrl_state;
  26111. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  26112. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  26113. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26114. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  26115. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  26116. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  26117. udelay(1);
  26118. }
  26119. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26120. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  26121. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  26122. }
  26123. static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi)
  26124. {
  26125. return read_phy_reg((pi), 0x1e7) & ((0x1 << 15) |
  26126. (0x1 << 14) | (0x1 << 13));
  26127. }
  26128. u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi)
  26129. {
  26130. u16 tmp;
  26131. u16 pwr_idx[2];
  26132. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26133. pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0);
  26134. pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1);
  26135. tmp = (pwr_idx[0] << 8) | pwr_idx[1];
  26136. } else {
  26137. tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff)
  26138. << 8) |
  26139. (pi->nphy_txpwrindex[PHY_CORE_1].index_internal & 0xff);
  26140. }
  26141. return tmp;
  26142. }
  26143. void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi)
  26144. {
  26145. if (PHY_IPA(pi)
  26146. && (pi->nphy_force_papd_cal
  26147. || (wlc_phy_txpwr_ison_nphy(pi)
  26148. &&
  26149. (((u32)
  26150. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) -
  26151. pi->nphy_papd_tx_gain_at_last_cal[0]) >= 4)
  26152. || ((u32)
  26153. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) -
  26154. pi->nphy_papd_tx_gain_at_last_cal[1]) >= 4)))))
  26155. wlc_phy_a4(pi, true);
  26156. }
  26157. void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type)
  26158. {
  26159. u16 mask = 0, val = 0, ishw = 0;
  26160. u8 ctr;
  26161. uint core;
  26162. u32 tbl_offset;
  26163. u32 tbl_len;
  26164. u16 regval[84];
  26165. if (pi->phyhang_avoid)
  26166. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26167. switch (ctrl_type) {
  26168. case PHY_TPC_HW_OFF:
  26169. case PHY_TPC_HW_ON:
  26170. pi->nphy_txpwrctrl = ctrl_type;
  26171. break;
  26172. default:
  26173. break;
  26174. }
  26175. if (ctrl_type == PHY_TPC_HW_OFF) {
  26176. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26177. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26178. for (core = 0; core < pi->pubpi.phy_corenum;
  26179. core++)
  26180. pi->nphy_txpwr_idx[core] =
  26181. wlc_phy_txpwr_idx_cur_get_nphy(
  26182. pi,
  26183. (u8) core);
  26184. }
  26185. }
  26186. tbl_len = 84;
  26187. tbl_offset = 64;
  26188. for (ctr = 0; ctr < tbl_len; ctr++)
  26189. regval[ctr] = 0;
  26190. wlc_phy_table_write_nphy(pi, 26, tbl_len, tbl_offset, 16,
  26191. regval);
  26192. wlc_phy_table_write_nphy(pi, 27, tbl_len, tbl_offset, 16,
  26193. regval);
  26194. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26195. and_phy_reg(pi, 0x1e7,
  26196. (u16) (~((0x1 << 15) |
  26197. (0x1 << 14) | (0x1 << 13))));
  26198. else
  26199. and_phy_reg(pi, 0x1e7,
  26200. (u16) (~((0x1 << 14) | (0x1 << 13))));
  26201. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26202. or_phy_reg(pi, 0x8f, (0x1 << 8));
  26203. or_phy_reg(pi, 0xa5, (0x1 << 8));
  26204. } else {
  26205. or_phy_reg(pi, 0xa5, (0x1 << 14));
  26206. }
  26207. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26208. mod_phy_reg(pi, 0xdc, 0x00ff, 0x53);
  26209. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26210. mod_phy_reg(pi, 0xdc, 0x00ff, 0x5a);
  26211. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26212. pi->bw == WL_CHANSPEC_BW_40)
  26213. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26214. MHF1_IQSWAP_WAR, BRCM_BAND_ALL);
  26215. } else {
  26216. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64,
  26217. 8, pi->adj_pwr_tbl_nphy);
  26218. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64,
  26219. 8, pi->adj_pwr_tbl_nphy);
  26220. ishw = (ctrl_type == PHY_TPC_HW_ON) ? 0x1 : 0x0;
  26221. mask = (0x1 << 14) | (0x1 << 13);
  26222. val = (ishw << 14) | (ishw << 13);
  26223. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26224. mask |= (0x1 << 15);
  26225. val |= (ishw << 15);
  26226. }
  26227. mod_phy_reg(pi, 0x1e7, mask, val);
  26228. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  26229. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  26230. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x32);
  26231. mod_phy_reg(pi, 0x222, (0xff << 0), 0x32);
  26232. } else {
  26233. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x64);
  26234. if (NREV_GT(pi->pubpi.phy_rev, 1))
  26235. mod_phy_reg(pi, 0x222,
  26236. (0xff << 0), 0x64);
  26237. }
  26238. }
  26239. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26240. if ((pi->nphy_txpwr_idx[0] != 128)
  26241. && (pi->nphy_txpwr_idx[1] != 128))
  26242. wlc_phy_txpwr_idx_cur_set_nphy(pi,
  26243. pi->
  26244. nphy_txpwr_idx
  26245. [0],
  26246. pi->
  26247. nphy_txpwr_idx
  26248. [1]);
  26249. }
  26250. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26251. and_phy_reg(pi, 0x8f, ~(0x1 << 8));
  26252. and_phy_reg(pi, 0xa5, ~(0x1 << 8));
  26253. } else {
  26254. and_phy_reg(pi, 0xa5, ~(0x1 << 14));
  26255. }
  26256. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26257. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  26258. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26259. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  26260. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26261. pi->bw == WL_CHANSPEC_BW_40)
  26262. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26263. 0x0, BRCM_BAND_ALL);
  26264. if (PHY_IPA(pi)) {
  26265. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  26266. 0x29b, (0x1 << 2), (0) << 2);
  26267. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  26268. 0x29b, (0x1 << 2), (0) << 2);
  26269. }
  26270. }
  26271. if (pi->phyhang_avoid)
  26272. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26273. }
  26274. void
  26275. wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex,
  26276. bool restore_cals)
  26277. {
  26278. u8 core, txpwrctl_tbl;
  26279. u16 tx_ind0, iq_ind0, lo_ind0;
  26280. u16 m1m2;
  26281. u32 txgain;
  26282. u16 rad_gain, dac_gain;
  26283. u8 bbmult;
  26284. u32 iqcomp;
  26285. u16 iqcomp_a, iqcomp_b;
  26286. u32 locomp;
  26287. u16 tmpval;
  26288. u8 tx_pwr_ctrl_state;
  26289. s32 rfpwr_offset;
  26290. u16 regval[2];
  26291. if (pi->phyhang_avoid)
  26292. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26293. tx_ind0 = 192;
  26294. iq_ind0 = 320;
  26295. lo_ind0 = 448;
  26296. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  26297. if ((core_mask & (1 << core)) == 0)
  26298. continue;
  26299. txpwrctl_tbl = (core == PHY_CORE_0) ? 26 : 27;
  26300. if (txpwrindex < 0) {
  26301. if (pi->nphy_txpwrindex[core].index < 0)
  26302. continue;
  26303. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26304. mod_phy_reg(pi, 0x8f,
  26305. (0x1 << 8),
  26306. pi->nphy_txpwrindex[core].
  26307. AfectrlOverride);
  26308. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26309. pi->nphy_txpwrindex[core].
  26310. AfectrlOverride);
  26311. } else {
  26312. mod_phy_reg(pi, 0xa5,
  26313. (0x1 << 14),
  26314. pi->nphy_txpwrindex[core].
  26315. AfectrlOverride);
  26316. }
  26317. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26318. 0xaa : 0xab,
  26319. pi->nphy_txpwrindex[core].AfeCtrlDacGain);
  26320. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26321. &pi->nphy_txpwrindex[core].
  26322. rad_gain);
  26323. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26324. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26325. m1m2 |= ((core == PHY_CORE_0) ?
  26326. (pi->nphy_txpwrindex[core].bbmult << 8) :
  26327. (pi->nphy_txpwrindex[core].bbmult << 0));
  26328. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26329. if (restore_cals) {
  26330. wlc_phy_table_write_nphy(
  26331. pi, 15, 2, (80 + 2 * core), 16,
  26332. &pi->nphy_txpwrindex[core].iqcomp_a);
  26333. wlc_phy_table_write_nphy(
  26334. pi, 15, 1, (85 + core), 16,
  26335. &pi->nphy_txpwrindex[core].locomp);
  26336. wlc_phy_table_write_nphy(
  26337. pi, 15, 1, (93 + core), 16,
  26338. &pi->nphy_txpwrindex[core].locomp);
  26339. }
  26340. wlc_phy_txpwrctrl_enable_nphy(pi, pi->nphy_txpwrctrl);
  26341. pi->nphy_txpwrindex[core].index_internal =
  26342. pi->nphy_txpwrindex[core].index_internal_save;
  26343. } else {
  26344. if (pi->nphy_txpwrindex[core].index < 0) {
  26345. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26346. mod_phy_reg(pi, 0x8f,
  26347. (0x1 << 8),
  26348. pi->nphy_txpwrindex[core].
  26349. AfectrlOverride);
  26350. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26351. pi->nphy_txpwrindex[core].
  26352. AfectrlOverride);
  26353. } else {
  26354. pi->nphy_txpwrindex[core].
  26355. AfectrlOverride =
  26356. read_phy_reg(pi, 0xa5);
  26357. }
  26358. pi->nphy_txpwrindex[core].AfeCtrlDacGain =
  26359. read_phy_reg(pi, (core == PHY_CORE_0) ?
  26360. 0xaa : 0xab);
  26361. wlc_phy_table_read_nphy(pi, 7, 1,
  26362. (0x110 + core), 16,
  26363. &pi->
  26364. nphy_txpwrindex[core].
  26365. rad_gain);
  26366. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  26367. &tmpval);
  26368. tmpval >>= ((core == PHY_CORE_0) ? 8 : 0);
  26369. tmpval &= 0xff;
  26370. pi->nphy_txpwrindex[core].bbmult = (u8) tmpval;
  26371. wlc_phy_table_read_nphy(pi, 15, 2,
  26372. (80 + 2 * core), 16,
  26373. &pi->
  26374. nphy_txpwrindex[core].
  26375. iqcomp_a);
  26376. wlc_phy_table_read_nphy(pi, 15, 1, (85 + core),
  26377. 16,
  26378. &pi->
  26379. nphy_txpwrindex[core].
  26380. locomp);
  26381. pi->nphy_txpwrindex[core].index_internal_save =
  26382. pi->nphy_txpwrindex[core].
  26383. index_internal;
  26384. }
  26385. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26386. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  26387. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26388. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  26389. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26390. (tx_ind0 + txpwrindex), 32,
  26391. &txgain);
  26392. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26393. rad_gain = (txgain >> 16) &
  26394. ((1 << (32 - 16 + 1)) - 1);
  26395. else
  26396. rad_gain = (txgain >> 16) &
  26397. ((1 << (28 - 16 + 1)) - 1);
  26398. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  26399. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  26400. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26401. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  26402. 0xa5), (0x1 << 8), (0x1 << 8));
  26403. else
  26404. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  26405. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26406. 0xaa : 0xab, dac_gain);
  26407. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26408. &rad_gain);
  26409. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26410. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26411. m1m2 |= ((core == PHY_CORE_0) ?
  26412. (bbmult << 8) : (bbmult << 0));
  26413. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26414. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26415. (iq_ind0 + txpwrindex), 32,
  26416. &iqcomp);
  26417. iqcomp_a = (iqcomp >> 10) & ((1 << (19 - 10 + 1)) - 1);
  26418. iqcomp_b = (iqcomp >> 0) & ((1 << (9 - 0 + 1)) - 1);
  26419. if (restore_cals) {
  26420. regval[0] = (u16) iqcomp_a;
  26421. regval[1] = (u16) iqcomp_b;
  26422. wlc_phy_table_write_nphy(pi, 15, 2,
  26423. (80 + 2 * core), 16,
  26424. regval);
  26425. }
  26426. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26427. (lo_ind0 + txpwrindex), 32,
  26428. &locomp);
  26429. if (restore_cals)
  26430. wlc_phy_table_write_nphy(pi, 15, 1, (85 + core),
  26431. 16, &locomp);
  26432. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26433. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  26434. if (PHY_IPA(pi)) {
  26435. wlc_phy_table_read_nphy(pi,
  26436. (core == PHY_CORE_0 ?
  26437. NPHY_TBL_ID_CORE1TXPWRCTL :
  26438. NPHY_TBL_ID_CORE2TXPWRCTL),
  26439. 1, 576 + txpwrindex, 32,
  26440. &rfpwr_offset);
  26441. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26442. 0x29b, (0x1ff << 4),
  26443. ((s16) rfpwr_offset) << 4);
  26444. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26445. 0x29b, (0x1 << 2), (1) << 2);
  26446. }
  26447. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26448. }
  26449. pi->nphy_txpwrindex[core].index = txpwrindex;
  26450. }
  26451. if (pi->phyhang_avoid)
  26452. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26453. }
  26454. void
  26455. wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr,
  26456. u8 txp_rate_idx)
  26457. {
  26458. u8 chan_freq_range;
  26459. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, chan);
  26460. switch (chan_freq_range) {
  26461. case WL_CHAN_FREQ_RANGE_2G:
  26462. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26463. break;
  26464. case WL_CHAN_FREQ_RANGE_5GM:
  26465. *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
  26466. break;
  26467. case WL_CHAN_FREQ_RANGE_5GL:
  26468. *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
  26469. break;
  26470. case WL_CHAN_FREQ_RANGE_5GH:
  26471. *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
  26472. break;
  26473. default:
  26474. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26475. break;
  26476. }
  26477. return;
  26478. }
  26479. void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable)
  26480. {
  26481. u16 clip_off[] = { 0xffff, 0xffff };
  26482. if (enable) {
  26483. if (pi->nphy_deaf_count == 0) {
  26484. pi->classifier_state =
  26485. wlc_phy_classifier_nphy(pi, 0, 0);
  26486. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  26487. wlc_phy_clip_det_nphy(pi, 0, pi->clip_state);
  26488. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  26489. }
  26490. pi->nphy_deaf_count++;
  26491. wlc_phy_resetcca_nphy(pi);
  26492. } else {
  26493. pi->nphy_deaf_count--;
  26494. if (pi->nphy_deaf_count == 0) {
  26495. wlc_phy_classifier_nphy(pi, (0x7 << 0),
  26496. pi->classifier_state);
  26497. wlc_phy_clip_det_nphy(pi, 1, pi->clip_state);
  26498. }
  26499. }
  26500. }
  26501. void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode)
  26502. {
  26503. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  26504. if (mode) {
  26505. if (pi->nphy_deaf_count == 0)
  26506. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26507. } else if (pi->nphy_deaf_count > 0) {
  26508. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26509. }
  26510. wlapi_enable_mac(pi->sh->physhim);
  26511. }