phy_n.c 918 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819
  1. /*
  2. * Copyright (c) 2010 Broadcom Corporation
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  11. * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  13. * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  14. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  17. #include <linux/kernel.h>
  18. #include <linux/delay.h>
  19. #include <linux/cordic.h>
  20. #include <brcm_hw_ids.h>
  21. #include <aiutils.h>
  22. #include <chipcommon.h>
  23. #include <pmu.h>
  24. #include <d11.h>
  25. #include <phy_shim.h>
  26. #include "phy_int.h"
  27. #include "phy_hal.h"
  28. #include "phy_radio.h"
  29. #include "phyreg_n.h"
  30. #include "phytbl_n.h"
  31. #include "soc.h"
  32. #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \
  33. read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  34. ((core == PHY_CORE_0) ? \
  35. radio_type##_##jspace##0 : \
  36. radio_type##_##jspace##1))
  37. #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \
  38. write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  39. ((core == PHY_CORE_0) ? \
  40. radio_type##_##jspace##0 : \
  41. radio_type##_##jspace##1), value)
  42. #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \
  43. write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
  44. #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \
  45. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  46. radio_type##_##jspace##0##_##reg_name : \
  47. radio_type##_##jspace##1##_##reg_name))
  48. #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \
  49. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  50. radio_type##_##jspace##0##_##reg_name : \
  51. radio_type##_##jspace##1##_##reg_name), \
  52. value)
  53. #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \
  54. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  55. radio_type##_##reg_name##_##jspace##0 : \
  56. radio_type##_##reg_name##_##jspace##1))
  57. #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \
  58. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  59. radio_type##_##reg_name##_##jspace##0 : \
  60. radio_type##_##reg_name##_##jspace##1), \
  61. value)
  62. #define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ 40
  63. #define NPHY_ACI_CHANNEL_DELTA 5
  64. #define NPHY_ACI_CHANNEL_SKIP 4
  65. #define NPHY_ACI_40MHZ_CHANNEL_DELTA 6
  66. #define NPHY_ACI_40MHZ_CHANNEL_SKIP 5
  67. #define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3 6
  68. #define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3 5
  69. #define NPHY_ACI_CHANNEL_DELTA_GE_REV3 4
  70. #define NPHY_ACI_CHANNEL_SKIP_GE_REV3 3
  71. #define NPHY_NOISE_NOASSOC_GLITCH_TH_UP 2
  72. #define NPHY_NOISE_NOASSOC_GLITCH_TH_DN 8
  73. #define NPHY_NOISE_ASSOC_GLITCH_TH_UP 2
  74. #define NPHY_NOISE_ASSOC_GLITCH_TH_DN 8
  75. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP 2
  76. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN 8
  77. #define NPHY_NOISE_NOASSOC_ENTER_TH 400
  78. #define NPHY_NOISE_ASSOC_ENTER_TH 400
  79. #define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH 400
  80. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX 44
  81. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7 56
  82. #define NPHY_NOISE_NOASSOC_CRSIDX_INCR 16
  83. #define NPHY_NOISE_ASSOC_CRSIDX_INCR 8
  84. #define NPHY_IS_SROM_REINTERPRET NREV_GE(pi->pubpi.phy_rev, 5)
  85. #define NPHY_RSSICAL_MAXREAD 31
  86. #define NPHY_RSSICAL_NPOLL 8
  87. #define NPHY_RSSICAL_MAXD (1<<20)
  88. #define NPHY_MIN_RXIQ_PWR 2
  89. #define NPHY_RSSICAL_W1_TARGET 25
  90. #define NPHY_RSSICAL_W2_TARGET NPHY_RSSICAL_W1_TARGET
  91. #define NPHY_RSSICAL_NB_TARGET 0
  92. #define NPHY_RSSICAL_W1_TARGET_REV3 29
  93. #define NPHY_RSSICAL_W2_TARGET_REV3 NPHY_RSSICAL_W1_TARGET_REV3
  94. #define NPHY_CALSANITY_RSSI_NB_MAX_POS 9
  95. #define NPHY_CALSANITY_RSSI_NB_MAX_NEG -9
  96. #define NPHY_CALSANITY_RSSI_W1_MAX_POS 12
  97. #define NPHY_CALSANITY_RSSI_W1_MAX_NEG (NPHY_RSSICAL_W1_TARGET - \
  98. NPHY_RSSICAL_MAXREAD)
  99. #define NPHY_CALSANITY_RSSI_W2_MAX_POS NPHY_CALSANITY_RSSI_W1_MAX_POS
  100. #define NPHY_CALSANITY_RSSI_W2_MAX_NEG (NPHY_RSSICAL_W2_TARGET - \
  101. NPHY_RSSICAL_MAXREAD)
  102. #define NPHY_RSSI_SXT(x) ((s8) (-((x) & 0x20) + ((x) & 0x1f)))
  103. #define NPHY_RSSI_NB_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_NB_MAX_POS) || \
  104. ((x) < NPHY_CALSANITY_RSSI_NB_MAX_NEG))
  105. #define NPHY_RSSI_W1_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W1_MAX_POS) || \
  106. ((x) < NPHY_CALSANITY_RSSI_W1_MAX_NEG))
  107. #define NPHY_RSSI_W2_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W2_MAX_POS) || \
  108. ((x) < NPHY_CALSANITY_RSSI_W2_MAX_NEG))
  109. #define NPHY_IQCAL_NUMGAINS 9
  110. #define NPHY_N_GCTL 0x66
  111. #define NPHY_PAPD_EPS_TBL_SIZE 64
  112. #define NPHY_PAPD_SCL_TBL_SIZE 64
  113. #define NPHY_NUM_DIG_FILT_COEFFS 15
  114. #define NPHY_PAPD_COMP_OFF 0
  115. #define NPHY_PAPD_COMP_ON 1
  116. #define NPHY_SROM_TEMPSHIFT 32
  117. #define NPHY_SROM_MAXTEMPOFFSET 16
  118. #define NPHY_SROM_MINTEMPOFFSET -16
  119. #define NPHY_CAL_MAXTEMPDELTA 64
  120. #define NPHY_NOISEVAR_TBLLEN40 256
  121. #define NPHY_NOISEVAR_TBLLEN20 128
  122. #define NPHY_ANARXLPFBW_REDUCTIONFACT 7
  123. #define NPHY_ADJUSTED_MINCRSPOWER 0x1e
  124. /* 5357 Chip specific ChipControl register bits */
  125. #define CCTRL5357_EXTPA (1<<14) /* extPA in ChipControl 1, bit 14 */
  126. #define CCTRL5357_ANT_MUX_2o3 (1<<15) /* 2o3 in ChipControl 1, bit 15 */
  127. #define NPHY_CAL_TSSISAMPS 64
  128. #define NPHY_TEST_TONE_FREQ_40MHz 4000
  129. #define NPHY_TEST_TONE_FREQ_20MHz 2500
  130. #define MAX_205x_RCAL_WAITLOOPS 10000
  131. #define NPHY_RXCAL_TONEAMP 181
  132. #define NPHY_RXCAL_TONEFREQ_40MHz 4000
  133. #define NPHY_RXCAL_TONEFREQ_20MHz 2000
  134. #define TXFILT_SHAPING_OFDM20 0
  135. #define TXFILT_SHAPING_OFDM40 1
  136. #define TXFILT_SHAPING_CCK 2
  137. #define TXFILT_DEFAULT_OFDM20 3
  138. #define TXFILT_DEFAULT_OFDM40 4
  139. struct nphy_iqcal_params {
  140. u16 txlpf;
  141. u16 txgm;
  142. u16 pga;
  143. u16 pad;
  144. u16 ipa;
  145. u16 cal_gain;
  146. u16 ncorr[5];
  147. };
  148. struct nphy_txiqcal_ladder {
  149. u8 percent;
  150. u8 g_env;
  151. };
  152. struct nphy_ipa_txcalgains {
  153. struct nphy_txgains gains;
  154. bool useindex;
  155. u8 index;
  156. };
  157. struct nphy_papd_restore_state {
  158. u16 fbmix[2];
  159. u16 vga_master[2];
  160. u16 intpa_master[2];
  161. u16 afectrl[2];
  162. u16 afeoverride[2];
  163. u16 pwrup[2];
  164. u16 atten[2];
  165. u16 mm;
  166. };
  167. struct nphy_ipa_txrxgain {
  168. u16 hpvga;
  169. u16 lpf_biq1;
  170. u16 lpf_biq0;
  171. u16 lna2;
  172. u16 lna1;
  173. s8 txpwrindex;
  174. };
  175. #define NPHY_IPA_RXCAL_MAXGAININDEX (6 - 1)
  176. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz[] = {
  177. {0, 0, 0, 0, 0, 100},
  178. {0, 0, 0, 0, 0, 50},
  179. {0, 0, 0, 0, 0, -1},
  180. {0, 0, 0, 3, 0, -1},
  181. {0, 0, 3, 3, 0, -1},
  182. {0, 2, 3, 3, 0, -1}
  183. };
  184. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz[] = {
  185. {0, 0, 0, 0, 0, 128},
  186. {0, 0, 0, 0, 0, 70},
  187. {0, 0, 0, 0, 0, 20},
  188. {0, 0, 0, 3, 0, 20},
  189. {0, 0, 3, 3, 0, 20},
  190. {0, 2, 3, 3, 0, 20}
  191. };
  192. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz_rev7[] = {
  193. {0, 0, 0, 0, 0, 100},
  194. {0, 0, 0, 0, 0, 50},
  195. {0, 0, 0, 0, 0, -1},
  196. {0, 0, 0, 3, 0, -1},
  197. {0, 0, 3, 3, 0, -1},
  198. {0, 0, 5, 3, 0, -1}
  199. };
  200. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz_rev7[] = {
  201. {0, 0, 0, 0, 0, 10},
  202. {0, 0, 0, 1, 0, 10},
  203. {0, 0, 1, 2, 0, 10},
  204. {0, 0, 1, 3, 0, 10},
  205. {0, 0, 4, 3, 0, 10},
  206. {0, 0, 6, 3, 0, 10}
  207. };
  208. enum {
  209. NPHY_RXCAL_GAIN_INIT = 0,
  210. NPHY_RXCAL_GAIN_UP,
  211. NPHY_RXCAL_GAIN_DOWN
  212. };
  213. #define wlc_phy_get_papd_nphy(pi) \
  214. (read_phy_reg((pi), 0x1e7) & \
  215. ((0x1 << 15) | \
  216. (0x1 << 14) | \
  217. (0x1 << 13)))
  218. static const u16 NPHY_IPA_REV4_txdigi_filtcoeffs[][NPHY_NUM_DIG_FILT_COEFFS] = {
  219. {-377, 137, -407, 208, -1527, 956, 93, 186, 93,
  220. 230, -44, 230, 201, -191, 201},
  221. {-77, 20, -98, 49, -93, 60, 56, 111, 56, 26, -5,
  222. 26, 34, -32, 34},
  223. {-360, 164, -376, 164, -1533, 576, 308, -314, 308,
  224. 121, -73, 121, 91, 124, 91},
  225. {-295, 200, -363, 142, -1391, 826, 151, 301, 151,
  226. 151, 301, 151, 602, -752, 602},
  227. {-92, 58, -96, 49, -104, 44, 17, 35, 17,
  228. 12, 25, 12, 13, 27, 13},
  229. {-375, 136, -399, 209, -1479, 949, 130, 260, 130,
  230. 230, -44, 230, 201, -191, 201},
  231. {0xed9, 0xc8, 0xe95, 0x8e, 0xa91, 0x33a, 0x97, 0x12d, 0x97,
  232. 0x97, 0x12d, 0x97, 0x25a, 0xd10, 0x25a}
  233. };
  234. struct chan_info_nphy_2055 {
  235. u16 chan;
  236. u16 freq;
  237. uint unknown;
  238. u8 RF_pll_ref;
  239. u8 RF_rf_pll_mod1;
  240. u8 RF_rf_pll_mod0;
  241. u8 RF_vco_cap_tail;
  242. u8 RF_vco_cal1;
  243. u8 RF_vco_cal2;
  244. u8 RF_pll_lf_c1;
  245. u8 RF_pll_lf_r1;
  246. u8 RF_pll_lf_c2;
  247. u8 RF_lgbuf_cen_buf;
  248. u8 RF_lgen_tune1;
  249. u8 RF_lgen_tune2;
  250. u8 RF_core1_lgbuf_a_tune;
  251. u8 RF_core1_lgbuf_g_tune;
  252. u8 RF_core1_rxrf_reg1;
  253. u8 RF_core1_tx_pga_pad_tn;
  254. u8 RF_core1_tx_mx_bgtrim;
  255. u8 RF_core2_lgbuf_a_tune;
  256. u8 RF_core2_lgbuf_g_tune;
  257. u8 RF_core2_rxrf_reg1;
  258. u8 RF_core2_tx_pga_pad_tn;
  259. u8 RF_core2_tx_mx_bgtrim;
  260. u16 PHY_BW1a;
  261. u16 PHY_BW2;
  262. u16 PHY_BW3;
  263. u16 PHY_BW4;
  264. u16 PHY_BW5;
  265. u16 PHY_BW6;
  266. };
  267. struct chan_info_nphy_radio205x {
  268. u16 chan;
  269. u16 freq;
  270. u8 RF_SYN_pll_vcocal1;
  271. u8 RF_SYN_pll_vcocal2;
  272. u8 RF_SYN_pll_refdiv;
  273. u8 RF_SYN_pll_mmd2;
  274. u8 RF_SYN_pll_mmd1;
  275. u8 RF_SYN_pll_loopfilter1;
  276. u8 RF_SYN_pll_loopfilter2;
  277. u8 RF_SYN_pll_loopfilter3;
  278. u8 RF_SYN_pll_loopfilter4;
  279. u8 RF_SYN_pll_loopfilter5;
  280. u8 RF_SYN_reserved_addr27;
  281. u8 RF_SYN_reserved_addr28;
  282. u8 RF_SYN_reserved_addr29;
  283. u8 RF_SYN_logen_VCOBUF1;
  284. u8 RF_SYN_logen_MIXER2;
  285. u8 RF_SYN_logen_BUF3;
  286. u8 RF_SYN_logen_BUF4;
  287. u8 RF_RX0_lnaa_tune;
  288. u8 RF_RX0_lnag_tune;
  289. u8 RF_TX0_intpaa_boost_tune;
  290. u8 RF_TX0_intpag_boost_tune;
  291. u8 RF_TX0_pada_boost_tune;
  292. u8 RF_TX0_padg_boost_tune;
  293. u8 RF_TX0_pgaa_boost_tune;
  294. u8 RF_TX0_pgag_boost_tune;
  295. u8 RF_TX0_mixa_boost_tune;
  296. u8 RF_TX0_mixg_boost_tune;
  297. u8 RF_RX1_lnaa_tune;
  298. u8 RF_RX1_lnag_tune;
  299. u8 RF_TX1_intpaa_boost_tune;
  300. u8 RF_TX1_intpag_boost_tune;
  301. u8 RF_TX1_pada_boost_tune;
  302. u8 RF_TX1_padg_boost_tune;
  303. u8 RF_TX1_pgaa_boost_tune;
  304. u8 RF_TX1_pgag_boost_tune;
  305. u8 RF_TX1_mixa_boost_tune;
  306. u8 RF_TX1_mixg_boost_tune;
  307. u16 PHY_BW1a;
  308. u16 PHY_BW2;
  309. u16 PHY_BW3;
  310. u16 PHY_BW4;
  311. u16 PHY_BW5;
  312. u16 PHY_BW6;
  313. };
  314. struct chan_info_nphy_radio2057 {
  315. u16 chan;
  316. u16 freq;
  317. u8 RF_vcocal_countval0;
  318. u8 RF_vcocal_countval1;
  319. u8 RF_rfpll_refmaster_sparextalsize;
  320. u8 RF_rfpll_loopfilter_r1;
  321. u8 RF_rfpll_loopfilter_c2;
  322. u8 RF_rfpll_loopfilter_c1;
  323. u8 RF_cp_kpd_idac;
  324. u8 RF_rfpll_mmd0;
  325. u8 RF_rfpll_mmd1;
  326. u8 RF_vcobuf_tune;
  327. u8 RF_logen_mx2g_tune;
  328. u8 RF_logen_mx5g_tune;
  329. u8 RF_logen_indbuf2g_tune;
  330. u8 RF_logen_indbuf5g_tune;
  331. u8 RF_txmix2g_tune_boost_pu_core0;
  332. u8 RF_pad2g_tune_pus_core0;
  333. u8 RF_pga_boost_tune_core0;
  334. u8 RF_txmix5g_boost_tune_core0;
  335. u8 RF_pad5g_tune_misc_pus_core0;
  336. u8 RF_lna2g_tune_core0;
  337. u8 RF_lna5g_tune_core0;
  338. u8 RF_txmix2g_tune_boost_pu_core1;
  339. u8 RF_pad2g_tune_pus_core1;
  340. u8 RF_pga_boost_tune_core1;
  341. u8 RF_txmix5g_boost_tune_core1;
  342. u8 RF_pad5g_tune_misc_pus_core1;
  343. u8 RF_lna2g_tune_core1;
  344. u8 RF_lna5g_tune_core1;
  345. u16 PHY_BW1a;
  346. u16 PHY_BW2;
  347. u16 PHY_BW3;
  348. u16 PHY_BW4;
  349. u16 PHY_BW5;
  350. u16 PHY_BW6;
  351. };
  352. struct chan_info_nphy_radio2057_rev5 {
  353. u16 chan;
  354. u16 freq;
  355. u8 RF_vcocal_countval0;
  356. u8 RF_vcocal_countval1;
  357. u8 RF_rfpll_refmaster_sparextalsize;
  358. u8 RF_rfpll_loopfilter_r1;
  359. u8 RF_rfpll_loopfilter_c2;
  360. u8 RF_rfpll_loopfilter_c1;
  361. u8 RF_cp_kpd_idac;
  362. u8 RF_rfpll_mmd0;
  363. u8 RF_rfpll_mmd1;
  364. u8 RF_vcobuf_tune;
  365. u8 RF_logen_mx2g_tune;
  366. u8 RF_logen_indbuf2g_tune;
  367. u8 RF_txmix2g_tune_boost_pu_core0;
  368. u8 RF_pad2g_tune_pus_core0;
  369. u8 RF_lna2g_tune_core0;
  370. u8 RF_txmix2g_tune_boost_pu_core1;
  371. u8 RF_pad2g_tune_pus_core1;
  372. u8 RF_lna2g_tune_core1;
  373. u16 PHY_BW1a;
  374. u16 PHY_BW2;
  375. u16 PHY_BW3;
  376. u16 PHY_BW4;
  377. u16 PHY_BW5;
  378. u16 PHY_BW6;
  379. };
  380. struct nphy_sfo_cfg {
  381. u16 PHY_BW1a;
  382. u16 PHY_BW2;
  383. u16 PHY_BW3;
  384. u16 PHY_BW4;
  385. u16 PHY_BW5;
  386. u16 PHY_BW6;
  387. };
  388. static const struct chan_info_nphy_2055 chan_info_nphy_2055[] = {
  389. {
  390. 184, 4920, 3280, 0x71, 0x01, 0xEC, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  391. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  392. 0x0F, 0x8F, 0x7B4, 0x7B0, 0x7AC, 0x214, 0x215, 0x216},
  393. {
  394. 186, 4930, 3287, 0x71, 0x01, 0xED, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  395. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  396. 0x0F, 0x8F, 0x7B8, 0x7B4, 0x7B0, 0x213, 0x214, 0x215},
  397. {
  398. 188, 4940, 3293, 0x71, 0x01, 0xEE, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  399. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  400. 0x0F, 0x8F, 0x7BC, 0x7B8, 0x7B4, 0x212, 0x213, 0x214},
  401. {
  402. 190, 4950, 3300, 0x71, 0x01, 0xEF, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  403. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  404. 0x0F, 0x8F, 0x7C0, 0x7BC, 0x7B8, 0x211, 0x212, 0x213},
  405. {
  406. 192, 4960, 3307, 0x71, 0x01, 0xF0, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  407. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  408. 0x0F, 0x8F, 0x7C4, 0x7C0, 0x7BC, 0x20F, 0x211, 0x212},
  409. {
  410. 194, 4970, 3313, 0x71, 0x01, 0xF1, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  411. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  412. 0x0F, 0x8F, 0x7C8, 0x7C4, 0x7C0, 0x20E, 0x20F, 0x211},
  413. {
  414. 196, 4980, 3320, 0x71, 0x01, 0xF2, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  415. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  416. 0x0F, 0x8F, 0x7CC, 0x7C8, 0x7C4, 0x20D, 0x20E, 0x20F},
  417. {
  418. 198, 4990, 3327, 0x71, 0x01, 0xF3, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  419. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  420. 0x0F, 0x8F, 0x7D0, 0x7CC, 0x7C8, 0x20C, 0x20D, 0x20E},
  421. {
  422. 200, 5000, 3333, 0x71, 0x01, 0xF4, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  423. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  424. 0x0F, 0x8F, 0x7D4, 0x7D0, 0x7CC, 0x20B, 0x20C, 0x20D},
  425. {
  426. 202, 5010, 3340, 0x71, 0x01, 0xF5, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  427. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  428. 0x0F, 0x8F, 0x7D8, 0x7D4, 0x7D0, 0x20A, 0x20B, 0x20C},
  429. {
  430. 204, 5020, 3347, 0x71, 0x01, 0xF6, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  431. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  432. 0x0F, 0x8F, 0x7DC, 0x7D8, 0x7D4, 0x209, 0x20A, 0x20B},
  433. {
  434. 206, 5030, 3353, 0x71, 0x01, 0xF7, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  435. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  436. 0x0F, 0x8F, 0x7E0, 0x7DC, 0x7D8, 0x208, 0x209, 0x20A},
  437. {
  438. 208, 5040, 3360, 0x71, 0x01, 0xF8, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  439. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  440. 0x0F, 0x8F, 0x7E4, 0x7E0, 0x7DC, 0x207, 0x208, 0x209},
  441. {
  442. 210, 5050, 3367, 0x71, 0x01, 0xF9, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  443. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  444. 0x0F, 0x8F, 0x7E8, 0x7E4, 0x7E0, 0x206, 0x207, 0x208},
  445. {
  446. 212, 5060, 3373, 0x71, 0x01, 0xFA, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  447. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  448. 0x0F, 0x8E, 0x7EC, 0x7E8, 0x7E4, 0x205, 0x206, 0x207},
  449. {
  450. 214, 5070, 3380, 0x71, 0x01, 0xFB, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  451. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  452. 0x0F, 0x8E, 0x7F0, 0x7EC, 0x7E8, 0x204, 0x205, 0x206},
  453. {
  454. 216, 5080, 3387, 0x71, 0x01, 0xFC, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  455. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  456. 0x0F, 0x8D, 0x7F4, 0x7F0, 0x7EC, 0x203, 0x204, 0x205},
  457. {
  458. 218, 5090, 3393, 0x71, 0x01, 0xFD, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  459. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  460. 0x0F, 0x8D, 0x7F8, 0x7F4, 0x7F0, 0x202, 0x203, 0x204},
  461. {
  462. 220, 5100, 3400, 0x71, 0x01, 0xFE, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  463. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  464. 0x0F, 0x8D, 0x7FC, 0x7F8, 0x7F4, 0x201, 0x202, 0x203},
  465. {
  466. 222, 5110, 3407, 0x71, 0x01, 0xFF, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  467. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  468. 0x0F, 0x8D, 0x800, 0x7FC, 0x7F8, 0x200, 0x201, 0x202},
  469. {
  470. 224, 5120, 3413, 0x71, 0x02, 0x00, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  471. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  472. 0x0F, 0x8C, 0x804, 0x800, 0x7FC, 0x1FF, 0x200, 0x201},
  473. {
  474. 226, 5130, 3420, 0x71, 0x02, 0x01, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  475. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  476. 0x0F, 0x8C, 0x808, 0x804, 0x800, 0x1FE, 0x1FF, 0x200},
  477. {
  478. 228, 5140, 3427, 0x71, 0x02, 0x02, 0x0C, 0xC6, 0x01, 0x04, 0x0A,
  479. 0x00, 0x8D, 0x99, 0x99, 0xDD, 0x00, 0x0C, 0x0E, 0x8B, 0xDD, 0x00, 0x0C,
  480. 0x0E, 0x8B, 0x80C, 0x808, 0x804, 0x1FD, 0x1FE, 0x1FF},
  481. {
  482. 32, 5160, 3440, 0x71, 0x02, 0x04, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  483. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  484. 0x0D, 0x8A, 0x814, 0x810, 0x80C, 0x1FB, 0x1FC, 0x1FD},
  485. {
  486. 34, 5170, 3447, 0x71, 0x02, 0x05, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  487. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  488. 0x0D, 0x8A, 0x818, 0x814, 0x810, 0x1FA, 0x1FB, 0x1FC},
  489. {
  490. 36, 5180, 3453, 0x71, 0x02, 0x06, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  491. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  492. 0x0C, 0x89, 0x81C, 0x818, 0x814, 0x1F9, 0x1FA, 0x1FB},
  493. {
  494. 38, 5190, 3460, 0x71, 0x02, 0x07, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  495. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  496. 0x0C, 0x89, 0x820, 0x81C, 0x818, 0x1F8, 0x1F9, 0x1FA},
  497. {
  498. 40, 5200, 3467, 0x71, 0x02, 0x08, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  499. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  500. 0x0B, 0x89, 0x824, 0x820, 0x81C, 0x1F7, 0x1F8, 0x1F9},
  501. {
  502. 42, 5210, 3473, 0x71, 0x02, 0x09, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  503. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  504. 0x0B, 0x89, 0x828, 0x824, 0x820, 0x1F6, 0x1F7, 0x1F8},
  505. {
  506. 44, 5220, 3480, 0x71, 0x02, 0x0A, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  507. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  508. 0x0A, 0x88, 0x82C, 0x828, 0x824, 0x1F5, 0x1F6, 0x1F7},
  509. {
  510. 46, 5230, 3487, 0x71, 0x02, 0x0B, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  511. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  512. 0x0A, 0x88, 0x830, 0x82C, 0x828, 0x1F4, 0x1F5, 0x1F6},
  513. {
  514. 48, 5240, 3493, 0x71, 0x02, 0x0C, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  515. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  516. 0x0A, 0x87, 0x834, 0x830, 0x82C, 0x1F3, 0x1F4, 0x1F5},
  517. {
  518. 50, 5250, 3500, 0x71, 0x02, 0x0D, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  519. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  520. 0x0A, 0x87, 0x838, 0x834, 0x830, 0x1F2, 0x1F3, 0x1F4},
  521. {
  522. 52, 5260, 3507, 0x71, 0x02, 0x0E, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  523. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  524. 0x09, 0x87, 0x83C, 0x838, 0x834, 0x1F1, 0x1F2, 0x1F3},
  525. {
  526. 54, 5270, 3513, 0x71, 0x02, 0x0F, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  527. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  528. 0x09, 0x87, 0x840, 0x83C, 0x838, 0x1F0, 0x1F1, 0x1F2},
  529. {
  530. 56, 5280, 3520, 0x71, 0x02, 0x10, 0x09, 0x91, 0x01, 0x04, 0x0A,
  531. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  532. 0x08, 0x86, 0x844, 0x840, 0x83C, 0x1F0, 0x1F0, 0x1F1},
  533. {
  534. 58, 5290, 3527, 0x71, 0x02, 0x11, 0x09, 0x91, 0x01, 0x04, 0x0A,
  535. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  536. 0x08, 0x86, 0x848, 0x844, 0x840, 0x1EF, 0x1F0, 0x1F0},
  537. {
  538. 60, 5300, 3533, 0x71, 0x02, 0x12, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  539. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  540. 0x07, 0x85, 0x84C, 0x848, 0x844, 0x1EE, 0x1EF, 0x1F0},
  541. {
  542. 62, 5310, 3540, 0x71, 0x02, 0x13, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  543. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  544. 0x07, 0x85, 0x850, 0x84C, 0x848, 0x1ED, 0x1EE, 0x1EF},
  545. {
  546. 64, 5320, 3547, 0x71, 0x02, 0x14, 0x09, 0x83, 0x01, 0x04, 0x0A,
  547. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  548. 0x07, 0x84, 0x854, 0x850, 0x84C, 0x1EC, 0x1ED, 0x1EE},
  549. {
  550. 66, 5330, 3553, 0x71, 0x02, 0x15, 0x09, 0x83, 0x01, 0x04, 0x0A,
  551. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  552. 0x07, 0x84, 0x858, 0x854, 0x850, 0x1EB, 0x1EC, 0x1ED},
  553. {
  554. 68, 5340, 3560, 0x71, 0x02, 0x16, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  555. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  556. 0x06, 0x84, 0x85C, 0x858, 0x854, 0x1EA, 0x1EB, 0x1EC},
  557. {
  558. 70, 5350, 3567, 0x71, 0x02, 0x17, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  559. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  560. 0x06, 0x84, 0x860, 0x85C, 0x858, 0x1E9, 0x1EA, 0x1EB},
  561. {
  562. 72, 5360, 3573, 0x71, 0x02, 0x18, 0x08, 0x75, 0x01, 0x04, 0x0A,
  563. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  564. 0x05, 0x83, 0x864, 0x860, 0x85C, 0x1E8, 0x1E9, 0x1EA},
  565. {
  566. 74, 5370, 3580, 0x71, 0x02, 0x19, 0x08, 0x75, 0x01, 0x04, 0x0A,
  567. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  568. 0x05, 0x83, 0x868, 0x864, 0x860, 0x1E7, 0x1E8, 0x1E9},
  569. {
  570. 76, 5380, 3587, 0x71, 0x02, 0x1A, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  571. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  572. 0x04, 0x82, 0x86C, 0x868, 0x864, 0x1E6, 0x1E7, 0x1E8},
  573. {
  574. 78, 5390, 3593, 0x71, 0x02, 0x1B, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  575. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  576. 0x04, 0x82, 0x870, 0x86C, 0x868, 0x1E5, 0x1E6, 0x1E7},
  577. {
  578. 80, 5400, 3600, 0x71, 0x02, 0x1C, 0x07, 0x67, 0x01, 0x04, 0x0A,
  579. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  580. 0x04, 0x81, 0x874, 0x870, 0x86C, 0x1E5, 0x1E5, 0x1E6},
  581. {
  582. 82, 5410, 3607, 0x71, 0x02, 0x1D, 0x07, 0x67, 0x01, 0x04, 0x0A,
  583. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  584. 0x04, 0x81, 0x878, 0x874, 0x870, 0x1E4, 0x1E5, 0x1E5},
  585. {
  586. 84, 5420, 3613, 0x71, 0x02, 0x1E, 0x07, 0x61, 0x01, 0x04, 0x0A,
  587. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  588. 0x03, 0x80, 0x87C, 0x878, 0x874, 0x1E3, 0x1E4, 0x1E5},
  589. {
  590. 86, 5430, 3620, 0x71, 0x02, 0x1F, 0x07, 0x61, 0x01, 0x04, 0x0A,
  591. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  592. 0x03, 0x80, 0x880, 0x87C, 0x878, 0x1E2, 0x1E3, 0x1E4},
  593. {
  594. 88, 5440, 3627, 0x71, 0x02, 0x20, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  595. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  596. 0x02, 0x80, 0x884, 0x880, 0x87C, 0x1E1, 0x1E2, 0x1E3},
  597. {
  598. 90, 5450, 3633, 0x71, 0x02, 0x21, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  599. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  600. 0x02, 0x80, 0x888, 0x884, 0x880, 0x1E0, 0x1E1, 0x1E2},
  601. {
  602. 92, 5460, 3640, 0x71, 0x02, 0x22, 0x06, 0x53, 0x01, 0x04, 0x0A,
  603. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  604. 0x01, 0x80, 0x88C, 0x888, 0x884, 0x1DF, 0x1E0, 0x1E1},
  605. {
  606. 94, 5470, 3647, 0x71, 0x02, 0x23, 0x06, 0x53, 0x01, 0x04, 0x0A,
  607. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  608. 0x01, 0x80, 0x890, 0x88C, 0x888, 0x1DE, 0x1DF, 0x1E0},
  609. {
  610. 96, 5480, 3653, 0x71, 0x02, 0x24, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  611. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  612. 0x00, 0x80, 0x894, 0x890, 0x88C, 0x1DD, 0x1DE, 0x1DF},
  613. {
  614. 98, 5490, 3660, 0x71, 0x02, 0x25, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  615. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  616. 0x00, 0x80, 0x898, 0x894, 0x890, 0x1DD, 0x1DD, 0x1DE},
  617. {
  618. 100, 5500, 3667, 0x71, 0x02, 0x26, 0x06, 0x47, 0x01, 0x04, 0x0A,
  619. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  620. 0x00, 0x80, 0x89C, 0x898, 0x894, 0x1DC, 0x1DD, 0x1DD},
  621. {
  622. 102, 5510, 3673, 0x71, 0x02, 0x27, 0x06, 0x47, 0x01, 0x04, 0x0A,
  623. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  624. 0x00, 0x80, 0x8A0, 0x89C, 0x898, 0x1DB, 0x1DC, 0x1DD},
  625. {
  626. 104, 5520, 3680, 0x71, 0x02, 0x28, 0x05, 0x40, 0x01, 0x04, 0x0A,
  627. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  628. 0x00, 0x80, 0x8A4, 0x8A0, 0x89C, 0x1DA, 0x1DB, 0x1DC},
  629. {
  630. 106, 5530, 3687, 0x71, 0x02, 0x29, 0x05, 0x40, 0x01, 0x04, 0x0A,
  631. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  632. 0x00, 0x80, 0x8A8, 0x8A4, 0x8A0, 0x1D9, 0x1DA, 0x1DB},
  633. {
  634. 108, 5540, 3693, 0x71, 0x02, 0x2A, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  635. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  636. 0x00, 0x80, 0x8AC, 0x8A8, 0x8A4, 0x1D8, 0x1D9, 0x1DA},
  637. {
  638. 110, 5550, 3700, 0x71, 0x02, 0x2B, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  639. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  640. 0x00, 0x80, 0x8B0, 0x8AC, 0x8A8, 0x1D7, 0x1D8, 0x1D9},
  641. {
  642. 112, 5560, 3707, 0x71, 0x02, 0x2C, 0x05, 0x34, 0x01, 0x04, 0x0A,
  643. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  644. 0x00, 0x80, 0x8B4, 0x8B0, 0x8AC, 0x1D7, 0x1D7, 0x1D8},
  645. {
  646. 114, 5570, 3713, 0x71, 0x02, 0x2D, 0x05, 0x34, 0x01, 0x04, 0x0A,
  647. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  648. 0x00, 0x80, 0x8B8, 0x8B4, 0x8B0, 0x1D6, 0x1D7, 0x1D7},
  649. {
  650. 116, 5580, 3720, 0x71, 0x02, 0x2E, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  651. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  652. 0x00, 0x80, 0x8BC, 0x8B8, 0x8B4, 0x1D5, 0x1D6, 0x1D7},
  653. {
  654. 118, 5590, 3727, 0x71, 0x02, 0x2F, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  655. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  656. 0x00, 0x80, 0x8C0, 0x8BC, 0x8B8, 0x1D4, 0x1D5, 0x1D6},
  657. {
  658. 120, 5600, 3733, 0x71, 0x02, 0x30, 0x04, 0x28, 0x01, 0x04, 0x0A,
  659. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  660. 0x00, 0x80, 0x8C4, 0x8C0, 0x8BC, 0x1D3, 0x1D4, 0x1D5},
  661. {
  662. 122, 5610, 3740, 0x71, 0x02, 0x31, 0x04, 0x28, 0x01, 0x04, 0x0A,
  663. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  664. 0x00, 0x80, 0x8C8, 0x8C4, 0x8C0, 0x1D2, 0x1D3, 0x1D4},
  665. {
  666. 124, 5620, 3747, 0x71, 0x02, 0x32, 0x04, 0x21, 0x01, 0x04, 0x0A,
  667. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  668. 0x00, 0x80, 0x8CC, 0x8C8, 0x8C4, 0x1D2, 0x1D2, 0x1D3},
  669. {
  670. 126, 5630, 3753, 0x71, 0x02, 0x33, 0x04, 0x21, 0x01, 0x04, 0x0A,
  671. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  672. 0x00, 0x80, 0x8D0, 0x8CC, 0x8C8, 0x1D1, 0x1D2, 0x1D2},
  673. {
  674. 128, 5640, 3760, 0x71, 0x02, 0x34, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  675. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  676. 0x00, 0x80, 0x8D4, 0x8D0, 0x8CC, 0x1D0, 0x1D1, 0x1D2},
  677. {
  678. 130, 5650, 3767, 0x71, 0x02, 0x35, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  679. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  680. 0x00, 0x80, 0x8D8, 0x8D4, 0x8D0, 0x1CF, 0x1D0, 0x1D1},
  681. {
  682. 132, 5660, 3773, 0x71, 0x02, 0x36, 0x03, 0x16, 0x01, 0x04, 0x0A,
  683. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  684. 0x00, 0x80, 0x8DC, 0x8D8, 0x8D4, 0x1CE, 0x1CF, 0x1D0},
  685. {
  686. 134, 5670, 3780, 0x71, 0x02, 0x37, 0x03, 0x16, 0x01, 0x04, 0x0A,
  687. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  688. 0x00, 0x80, 0x8E0, 0x8DC, 0x8D8, 0x1CE, 0x1CE, 0x1CF},
  689. {
  690. 136, 5680, 3787, 0x71, 0x02, 0x38, 0x03, 0x10, 0x01, 0x04, 0x0A,
  691. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  692. 0x00, 0x80, 0x8E4, 0x8E0, 0x8DC, 0x1CD, 0x1CE, 0x1CE},
  693. {
  694. 138, 5690, 3793, 0x71, 0x02, 0x39, 0x03, 0x10, 0x01, 0x04, 0x0A,
  695. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  696. 0x00, 0x80, 0x8E8, 0x8E4, 0x8E0, 0x1CC, 0x1CD, 0x1CE},
  697. {
  698. 140, 5700, 3800, 0x71, 0x02, 0x3A, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  699. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  700. 0x00, 0x80, 0x8EC, 0x8E8, 0x8E4, 0x1CB, 0x1CC, 0x1CD},
  701. {
  702. 142, 5710, 3807, 0x71, 0x02, 0x3B, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  703. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  704. 0x00, 0x80, 0x8F0, 0x8EC, 0x8E8, 0x1CA, 0x1CB, 0x1CC},
  705. {
  706. 144, 5720, 3813, 0x71, 0x02, 0x3C, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  707. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  708. 0x00, 0x80, 0x8F4, 0x8F0, 0x8EC, 0x1C9, 0x1CA, 0x1CB},
  709. {
  710. 145, 5725, 3817, 0x72, 0x04, 0x79, 0x02, 0x03, 0x01, 0x03, 0x14,
  711. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  712. 0x00, 0x80, 0x8F6, 0x8F2, 0x8EE, 0x1C9, 0x1CA, 0x1CB},
  713. {
  714. 146, 5730, 3820, 0x71, 0x02, 0x3D, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  715. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  716. 0x00, 0x80, 0x8F8, 0x8F4, 0x8F0, 0x1C9, 0x1C9, 0x1CA},
  717. {
  718. 147, 5735, 3823, 0x72, 0x04, 0x7B, 0x02, 0x03, 0x01, 0x03, 0x14,
  719. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  720. 0x00, 0x80, 0x8FA, 0x8F6, 0x8F2, 0x1C8, 0x1C9, 0x1CA},
  721. {
  722. 148, 5740, 3827, 0x71, 0x02, 0x3E, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  723. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  724. 0x00, 0x80, 0x8FC, 0x8F8, 0x8F4, 0x1C8, 0x1C9, 0x1C9},
  725. {
  726. 149, 5745, 3830, 0x72, 0x04, 0x7D, 0x02, 0xFE, 0x00, 0x03, 0x14,
  727. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  728. 0x00, 0x80, 0x8FE, 0x8FA, 0x8F6, 0x1C8, 0x1C8, 0x1C9},
  729. {
  730. 150, 5750, 3833, 0x71, 0x02, 0x3F, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  731. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  732. 0x00, 0x80, 0x900, 0x8FC, 0x8F8, 0x1C7, 0x1C8, 0x1C9},
  733. {
  734. 151, 5755, 3837, 0x72, 0x04, 0x7F, 0x02, 0xFE, 0x00, 0x03, 0x14,
  735. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  736. 0x00, 0x80, 0x902, 0x8FE, 0x8FA, 0x1C7, 0x1C8, 0x1C8},
  737. {
  738. 152, 5760, 3840, 0x71, 0x02, 0x40, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  739. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  740. 0x00, 0x80, 0x904, 0x900, 0x8FC, 0x1C6, 0x1C7, 0x1C8},
  741. {
  742. 153, 5765, 3843, 0x72, 0x04, 0x81, 0x02, 0xF8, 0x00, 0x03, 0x14,
  743. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  744. 0x00, 0x80, 0x906, 0x902, 0x8FE, 0x1C6, 0x1C7, 0x1C8},
  745. {
  746. 154, 5770, 3847, 0x71, 0x02, 0x41, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  747. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  748. 0x00, 0x80, 0x908, 0x904, 0x900, 0x1C6, 0x1C6, 0x1C7},
  749. {
  750. 155, 5775, 3850, 0x72, 0x04, 0x83, 0x02, 0xF8, 0x00, 0x03, 0x14,
  751. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  752. 0x00, 0x80, 0x90A, 0x906, 0x902, 0x1C5, 0x1C6, 0x1C7},
  753. {
  754. 156, 5780, 3853, 0x71, 0x02, 0x42, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  755. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  756. 0x00, 0x80, 0x90C, 0x908, 0x904, 0x1C5, 0x1C6, 0x1C6},
  757. {
  758. 157, 5785, 3857, 0x72, 0x04, 0x85, 0x02, 0xF2, 0x00, 0x03, 0x14,
  759. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  760. 0x00, 0x80, 0x90E, 0x90A, 0x906, 0x1C4, 0x1C5, 0x1C6},
  761. {
  762. 158, 5790, 3860, 0x71, 0x02, 0x43, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  763. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  764. 0x00, 0x80, 0x910, 0x90C, 0x908, 0x1C4, 0x1C5, 0x1C6},
  765. {
  766. 159, 5795, 3863, 0x72, 0x04, 0x87, 0x02, 0xF2, 0x00, 0x03, 0x14,
  767. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  768. 0x00, 0x80, 0x912, 0x90E, 0x90A, 0x1C4, 0x1C4, 0x1C5},
  769. {
  770. 160, 5800, 3867, 0x71, 0x02, 0x44, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  771. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  772. 0x00, 0x80, 0x914, 0x910, 0x90C, 0x1C3, 0x1C4, 0x1C5},
  773. {
  774. 161, 5805, 3870, 0x72, 0x04, 0x89, 0x01, 0xED, 0x00, 0x03, 0x14,
  775. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  776. 0x00, 0x80, 0x916, 0x912, 0x90E, 0x1C3, 0x1C4, 0x1C4},
  777. {
  778. 162, 5810, 3873, 0x71, 0x02, 0x45, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  779. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  780. 0x00, 0x80, 0x918, 0x914, 0x910, 0x1C2, 0x1C3, 0x1C4},
  781. {
  782. 163, 5815, 3877, 0x72, 0x04, 0x8B, 0x01, 0xED, 0x00, 0x03, 0x14,
  783. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  784. 0x00, 0x80, 0x91A, 0x916, 0x912, 0x1C2, 0x1C3, 0x1C4},
  785. {
  786. 164, 5820, 3880, 0x71, 0x02, 0x46, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  787. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  788. 0x00, 0x80, 0x91C, 0x918, 0x914, 0x1C2, 0x1C2, 0x1C3},
  789. {
  790. 165, 5825, 3883, 0x72, 0x04, 0x8D, 0x01, 0xED, 0x00, 0x03, 0x14,
  791. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  792. 0x00, 0x80, 0x91E, 0x91A, 0x916, 0x1C1, 0x1C2, 0x1C3},
  793. {
  794. 166, 5830, 3887, 0x71, 0x02, 0x47, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  795. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  796. 0x00, 0x80, 0x920, 0x91C, 0x918, 0x1C1, 0x1C2, 0x1C2},
  797. {
  798. 168, 5840, 3893, 0x71, 0x02, 0x48, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  799. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  800. 0x00, 0x80, 0x924, 0x920, 0x91C, 0x1C0, 0x1C1, 0x1C2},
  801. {
  802. 170, 5850, 3900, 0x71, 0x02, 0x49, 0x01, 0xE0, 0x00, 0x04, 0x0A,
  803. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  804. 0x00, 0x80, 0x928, 0x924, 0x920, 0x1BF, 0x1C0, 0x1C1},
  805. {
  806. 172, 5860, 3907, 0x71, 0x02, 0x4A, 0x01, 0xDE, 0x00, 0x04, 0x0A,
  807. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  808. 0x00, 0x80, 0x92C, 0x928, 0x924, 0x1BF, 0x1BF, 0x1C0},
  809. {
  810. 174, 5870, 3913, 0x71, 0x02, 0x4B, 0x00, 0xDB, 0x00, 0x04, 0x0A,
  811. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  812. 0x00, 0x80, 0x930, 0x92C, 0x928, 0x1BE, 0x1BF, 0x1BF},
  813. {
  814. 176, 5880, 3920, 0x71, 0x02, 0x4C, 0x00, 0xD8, 0x00, 0x04, 0x0A,
  815. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  816. 0x00, 0x80, 0x934, 0x930, 0x92C, 0x1BD, 0x1BE, 0x1BF},
  817. {
  818. 178, 5890, 3927, 0x71, 0x02, 0x4D, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  819. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  820. 0x00, 0x80, 0x938, 0x934, 0x930, 0x1BC, 0x1BD, 0x1BE},
  821. {
  822. 180, 5900, 3933, 0x71, 0x02, 0x4E, 0x00, 0xD3, 0x00, 0x04, 0x0A,
  823. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  824. 0x00, 0x80, 0x93C, 0x938, 0x934, 0x1BC, 0x1BC, 0x1BD},
  825. {
  826. 182, 5910, 3940, 0x71, 0x02, 0x4F, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  827. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  828. 0x00, 0x80, 0x940, 0x93C, 0x938, 0x1BB, 0x1BC, 0x1BC},
  829. {
  830. 1, 2412, 3216, 0x73, 0x09, 0x6C, 0x0F, 0x00, 0x01, 0x07, 0x15,
  831. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0D, 0x0C, 0x80, 0xFF, 0x88, 0x0D,
  832. 0x0C, 0x80, 0x3C9, 0x3C5, 0x3C1, 0x43A, 0x43F, 0x443},
  833. {
  834. 2, 2417, 3223, 0x73, 0x09, 0x71, 0x0F, 0x00, 0x01, 0x07, 0x15,
  835. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0B, 0x80, 0xFF, 0x88, 0x0C,
  836. 0x0B, 0x80, 0x3CB, 0x3C7, 0x3C3, 0x438, 0x43D, 0x441},
  837. {
  838. 3, 2422, 3229, 0x73, 0x09, 0x76, 0x0F, 0x00, 0x01, 0x07, 0x15,
  839. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  840. 0x0A, 0x80, 0x3CD, 0x3C9, 0x3C5, 0x436, 0x43A, 0x43F},
  841. {
  842. 4, 2427, 3236, 0x73, 0x09, 0x7B, 0x0F, 0x00, 0x01, 0x07, 0x15,
  843. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  844. 0x0A, 0x80, 0x3CF, 0x3CB, 0x3C7, 0x434, 0x438, 0x43D},
  845. {
  846. 5, 2432, 3243, 0x73, 0x09, 0x80, 0x0F, 0x00, 0x01, 0x07, 0x15,
  847. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x09, 0x80, 0xFF, 0x88, 0x0C,
  848. 0x09, 0x80, 0x3D1, 0x3CD, 0x3C9, 0x431, 0x436, 0x43A},
  849. {
  850. 6, 2437, 3249, 0x73, 0x09, 0x85, 0x0F, 0x00, 0x01, 0x07, 0x15,
  851. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0B, 0x08, 0x80, 0xFF, 0x88, 0x0B,
  852. 0x08, 0x80, 0x3D3, 0x3CF, 0x3CB, 0x42F, 0x434, 0x438},
  853. {
  854. 7, 2442, 3256, 0x73, 0x09, 0x8A, 0x0F, 0x00, 0x01, 0x07, 0x15,
  855. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x07, 0x80, 0xFF, 0x88, 0x0A,
  856. 0x07, 0x80, 0x3D5, 0x3D1, 0x3CD, 0x42D, 0x431, 0x436},
  857. {
  858. 8, 2447, 3263, 0x73, 0x09, 0x8F, 0x0F, 0x00, 0x01, 0x07, 0x15,
  859. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x06, 0x80, 0xFF, 0x88, 0x0A,
  860. 0x06, 0x80, 0x3D7, 0x3D3, 0x3CF, 0x42B, 0x42F, 0x434},
  861. {
  862. 9, 2452, 3269, 0x73, 0x09, 0x94, 0x0F, 0x00, 0x01, 0x07, 0x15,
  863. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x09, 0x06, 0x80, 0xFF, 0x88, 0x09,
  864. 0x06, 0x80, 0x3D9, 0x3D5, 0x3D1, 0x429, 0x42D, 0x431},
  865. {
  866. 10, 2457, 3276, 0x73, 0x09, 0x99, 0x0F, 0x00, 0x01, 0x07, 0x15,
  867. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x05, 0x80, 0xFF, 0x88, 0x08,
  868. 0x05, 0x80, 0x3DB, 0x3D7, 0x3D3, 0x427, 0x42B, 0x42F},
  869. {
  870. 11, 2462, 3283, 0x73, 0x09, 0x9E, 0x0F, 0x00, 0x01, 0x07, 0x15,
  871. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x04, 0x80, 0xFF, 0x88, 0x08,
  872. 0x04, 0x80, 0x3DD, 0x3D9, 0x3D5, 0x424, 0x429, 0x42D},
  873. {
  874. 12, 2467, 3289, 0x73, 0x09, 0xA3, 0x0F, 0x00, 0x01, 0x07, 0x15,
  875. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x03, 0x80, 0xFF, 0x88, 0x08,
  876. 0x03, 0x80, 0x3DF, 0x3DB, 0x3D7, 0x422, 0x427, 0x42B},
  877. {
  878. 13, 2472, 3296, 0x73, 0x09, 0xA8, 0x0F, 0x00, 0x01, 0x07, 0x15,
  879. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x03, 0x80, 0xFF, 0x88, 0x07,
  880. 0x03, 0x80, 0x3E1, 0x3DD, 0x3D9, 0x420, 0x424, 0x429},
  881. {
  882. 14, 2484, 3312, 0x73, 0x09, 0xB4, 0x0F, 0xFF, 0x01, 0x07, 0x15,
  883. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x01, 0x80, 0xFF, 0x88, 0x07,
  884. 0x01, 0x80, 0x3E6, 0x3E2, 0x3DE, 0x41B, 0x41F, 0x424}
  885. };
  886. static const struct chan_info_nphy_radio205x chan_info_nphyrev3_2056[] = {
  887. {
  888. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  889. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  890. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  891. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  892. {
  893. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  894. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  895. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  896. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  897. {
  898. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  899. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  900. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  901. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  902. {
  903. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  904. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  905. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  906. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  907. {
  908. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  909. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  910. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  911. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  912. {
  913. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  914. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  915. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  916. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  917. {
  918. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  919. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  920. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  921. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  922. {
  923. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  924. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  925. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  926. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  927. {
  928. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  929. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  930. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  931. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  932. {
  933. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  934. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  935. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  936. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  937. {
  938. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  939. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  940. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  941. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  942. {
  943. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  944. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  945. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  946. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  947. {
  948. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  949. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  950. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  951. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  952. {
  953. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  954. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  955. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  956. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  957. {
  958. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  959. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  960. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  961. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  962. {
  963. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  964. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  965. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  966. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  967. {
  968. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  969. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  970. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  971. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  972. {
  973. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  974. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  975. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  976. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  977. {
  978. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  979. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  980. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  981. 0x00, 0xff, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  982. {
  983. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  984. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  985. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  986. 0x00, 0xfc, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  987. {
  988. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  989. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  990. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  991. 0x00, 0xfc, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  992. {
  993. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  994. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  995. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  996. 0x00, 0xfc, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  997. {
  998. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  999. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1000. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1001. 0x00, 0xfc, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1002. {
  1003. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1004. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1005. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1006. 0x00, 0xfc, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1007. {
  1008. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1009. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1010. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1011. 0x00, 0xfc, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1012. {
  1013. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1014. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1015. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1016. 0x00, 0xfc, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1017. {
  1018. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1019. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1020. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1021. 0x00, 0xfc, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1022. {
  1023. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1024. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x06, 0x00, 0x7f,
  1025. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1026. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1027. {
  1028. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1029. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1030. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1031. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1032. {
  1033. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1034. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1035. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1036. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1037. {
  1038. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1039. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1040. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1041. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1042. {
  1043. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1044. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1045. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1046. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1047. {
  1048. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1049. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1050. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1051. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1052. {
  1053. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1054. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1055. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1056. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1057. {
  1058. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1059. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1060. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1061. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1062. {
  1063. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1064. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1065. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1066. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1067. {
  1068. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1069. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1070. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1071. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1072. {
  1073. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1074. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1075. 0x00, 0x09, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1076. 0x00, 0xfc, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1077. {
  1078. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1079. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1080. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1081. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1082. {
  1083. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1084. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1085. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1086. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1087. {
  1088. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1089. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1090. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1091. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1092. {
  1093. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1094. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1095. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1096. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1097. {
  1098. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1099. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1100. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1101. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1102. {
  1103. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1104. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1105. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1106. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1107. {
  1108. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1109. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1110. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1111. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1112. {
  1113. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1114. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1115. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1116. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1117. {
  1118. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1119. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x05, 0x00, 0x7f,
  1120. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1121. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1122. {
  1123. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1124. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1125. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1126. 0x00, 0xfa, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1127. {
  1128. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1129. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1130. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1131. 0x00, 0xfa, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1132. {
  1133. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1134. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1135. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1136. 0x00, 0xfa, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1137. {
  1138. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1139. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1140. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1141. 0x00, 0xfa, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1142. {
  1143. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1144. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x04, 0x00, 0x7f,
  1145. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1146. 0x00, 0xfa, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1147. {
  1148. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1149. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x04, 0x00, 0x7f,
  1150. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1151. 0x00, 0xfa, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1152. {
  1153. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1154. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1155. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1156. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1157. {
  1158. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1159. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1160. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1161. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1162. {
  1163. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1164. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x04, 0x00, 0x7f,
  1165. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1166. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1167. {
  1168. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1169. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x04, 0x00, 0x7f,
  1170. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1171. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1172. {
  1173. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1174. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x03, 0x00, 0x7f,
  1175. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1176. 0x00, 0xf8, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1177. {
  1178. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1179. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1180. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1181. 0x00, 0xf8, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1182. {
  1183. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1184. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1185. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1186. 0x00, 0xf8, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1187. {
  1188. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1189. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1190. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1191. 0x00, 0xf8, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1192. {
  1193. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1194. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1195. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1196. 0x00, 0xf8, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1197. {
  1198. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1199. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1200. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1201. 0x00, 0xf8, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1202. {
  1203. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1204. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x03, 0x00, 0x7f,
  1205. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1206. 0x00, 0xf8, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1207. {
  1208. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1209. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x03, 0x00, 0x7f,
  1210. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1211. 0x00, 0xf8, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1212. {
  1213. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1214. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1215. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1216. 0x00, 0xf8, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1217. {
  1218. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1219. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1220. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1221. 0x00, 0xf8, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1222. {
  1223. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1224. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1225. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1226. 0x00, 0xf8, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1227. {
  1228. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1229. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1230. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1231. 0x00, 0xf8, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1232. {
  1233. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1234. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1235. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1236. 0x00, 0xf8, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1237. {
  1238. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1239. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1240. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1241. 0x00, 0xf8, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1242. {
  1243. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1244. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1245. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1246. 0x00, 0xf8, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1247. {
  1248. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1249. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1250. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1251. 0x00, 0xf8, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1252. {
  1253. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1254. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1255. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1256. 0x00, 0xf6, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1257. {
  1258. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1259. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1260. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1261. 0x00, 0xf6, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1262. {
  1263. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1264. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1265. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1266. 0x00, 0xf6, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1267. {
  1268. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1269. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1270. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1271. 0x00, 0xf6, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1272. {
  1273. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1274. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1275. 0x00, 0x06, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1276. 0x00, 0xf6, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1277. {
  1278. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1279. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1280. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1281. 0x00, 0xf4, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1282. {
  1283. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1284. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1285. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1286. 0x00, 0xf4, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1287. {
  1288. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1289. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1290. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1291. 0x00, 0xf4, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1292. {
  1293. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1294. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1295. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1296. 0x00, 0xf4, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1297. {
  1298. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1299. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1300. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1301. 0x00, 0xf4, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1302. {
  1303. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1304. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1305. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1306. 0x00, 0xf4, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1307. {
  1308. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1309. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1310. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1311. 0x00, 0xf4, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1312. {
  1313. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1314. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1315. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1316. 0x00, 0xf4, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1317. {
  1318. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1319. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1320. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1321. 0x00, 0xf4, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1322. {
  1323. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1324. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1325. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1326. 0x00, 0xf4, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1327. {
  1328. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1329. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1330. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1331. 0x00, 0xf4, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1332. {
  1333. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1334. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1335. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1336. 0x00, 0xf4, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1337. {
  1338. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1339. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1340. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1341. 0x00, 0xf4, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1342. {
  1343. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1344. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1345. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1346. 0x00, 0xf4, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1347. {
  1348. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1349. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1350. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1351. 0x00, 0xf4, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1352. {
  1353. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1354. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1355. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1356. 0x00, 0xf4, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1357. {
  1358. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1359. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1360. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1361. 0x00, 0xf4, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1362. {
  1363. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1364. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1365. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1366. 0x00, 0xf4, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1367. {
  1368. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1369. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1370. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1371. 0x00, 0xf4, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1372. {
  1373. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1374. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1375. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1376. 0x00, 0xf4, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1377. {
  1378. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1379. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1380. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1381. 0x00, 0xf4, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  1382. {
  1383. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1384. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1385. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1386. 0x00, 0xf4, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  1387. {
  1388. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1389. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1390. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1391. 0x00, 0xf4, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  1392. {
  1393. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1394. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1395. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1396. 0x00, 0xf4, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  1397. {
  1398. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1399. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1400. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1401. 0x00, 0xf4, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  1402. {
  1403. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1404. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1405. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1406. 0x00, 0xf4, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  1407. {
  1408. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1409. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1410. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1411. 0x00, 0xf2, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  1412. {
  1413. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1414. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1415. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1416. 0x00, 0xf2, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  1417. {
  1418. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1419. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1420. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1421. 0x00, 0xf2, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  1422. {
  1423. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1424. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1425. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1426. 0x00, 0xf2, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  1427. {
  1428. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1429. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1430. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1431. 0x00, 0xf2, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  1432. {
  1433. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1434. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  1435. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1436. 0x00, 0xf2, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  1437. {
  1438. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  1439. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1440. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1441. 0x0f, 0x00, 0x0f, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  1442. {
  1443. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  1444. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1445. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1446. 0x0f, 0x00, 0x0f, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  1447. {
  1448. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  1449. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1450. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1451. 0x0f, 0x00, 0x0f, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  1452. {
  1453. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  1454. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x05, 0x00,
  1455. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfd, 0x00, 0x05, 0x00, 0x70, 0x00,
  1456. 0x0f, 0x00, 0x0f, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  1457. {
  1458. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  1459. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x05, 0x00,
  1460. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfb, 0x00, 0x05, 0x00, 0x70, 0x00,
  1461. 0x0f, 0x00, 0x0f, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  1462. {
  1463. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  1464. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x05, 0x00,
  1465. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x05, 0x00, 0x70, 0x00,
  1466. 0x0f, 0x00, 0x0f, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  1467. {
  1468. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  1469. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x05, 0x00,
  1470. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x05, 0x00, 0x70, 0x00,
  1471. 0x0f, 0x00, 0x0f, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  1472. {
  1473. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  1474. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x05, 0x00,
  1475. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf7, 0x00, 0x05, 0x00, 0x70, 0x00,
  1476. 0x0f, 0x00, 0x0f, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  1477. {
  1478. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  1479. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x05, 0x00,
  1480. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf6, 0x00, 0x05, 0x00, 0x70, 0x00,
  1481. 0x0f, 0x00, 0x0f, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  1482. {
  1483. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  1484. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x05, 0x00,
  1485. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf5, 0x00, 0x05, 0x00, 0x70, 0x00,
  1486. 0x0f, 0x00, 0x0d, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  1487. {
  1488. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  1489. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x05, 0x00,
  1490. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x70, 0x00,
  1491. 0x0f, 0x00, 0x0d, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  1492. {
  1493. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  1494. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x05, 0x00,
  1495. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf3, 0x00, 0x05, 0x00, 0x70, 0x00,
  1496. 0x0f, 0x00, 0x0d, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  1497. {
  1498. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  1499. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x05, 0x00,
  1500. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x70, 0x00,
  1501. 0x0f, 0x00, 0x0d, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  1502. {
  1503. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  1504. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x05, 0x00,
  1505. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf0, 0x00, 0x05, 0x00, 0x70, 0x00,
  1506. 0x0f, 0x00, 0x0d, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  1507. };
  1508. static const struct chan_info_nphy_radio205x chan_info_nphyrev4_2056_A1[] = {
  1509. {
  1510. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1511. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1512. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1513. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  1514. {
  1515. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1516. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1517. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1518. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  1519. {
  1520. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1521. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1522. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1523. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  1524. {
  1525. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1526. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1527. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1528. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  1529. {
  1530. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1531. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1532. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1533. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  1534. {
  1535. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1536. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1537. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1538. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  1539. {
  1540. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1541. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1542. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1543. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  1544. {
  1545. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1546. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1547. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1548. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  1549. {
  1550. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1551. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1552. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1553. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  1554. {
  1555. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1556. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1557. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1558. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  1559. {
  1560. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1561. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1562. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1563. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  1564. {
  1565. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1566. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1567. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1568. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  1569. {
  1570. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1571. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1572. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1573. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  1574. {
  1575. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1576. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1577. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1578. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  1579. {
  1580. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1581. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1582. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1583. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  1584. {
  1585. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1586. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1587. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1588. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  1589. {
  1590. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1591. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1592. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1593. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  1594. {
  1595. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1596. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1597. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1598. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  1599. {
  1600. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1601. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1602. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1603. 0x00, 0xfe, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  1604. {
  1605. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1606. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1607. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1608. 0x00, 0xfe, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  1609. {
  1610. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1611. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1612. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1613. 0x00, 0xfe, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  1614. {
  1615. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1616. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1617. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1618. 0x00, 0xfe, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  1619. {
  1620. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1621. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1622. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1623. 0x00, 0xfe, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1624. {
  1625. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1626. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1627. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1628. 0x00, 0xfe, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1629. {
  1630. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1631. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1632. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1633. 0x00, 0xfe, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1634. {
  1635. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1636. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1637. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1638. 0x00, 0xfe, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1639. {
  1640. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1641. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1642. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1643. 0x00, 0xfe, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1644. {
  1645. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1646. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0a, 0x00, 0x7f,
  1647. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1648. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1649. {
  1650. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1651. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1652. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1653. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1654. {
  1655. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1656. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1657. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1658. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1659. {
  1660. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1661. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1662. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1663. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1664. {
  1665. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1666. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1667. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1668. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1669. {
  1670. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1671. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1672. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1673. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1674. {
  1675. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1676. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1677. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1678. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1679. {
  1680. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1681. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1682. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1683. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1684. {
  1685. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1686. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1687. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1688. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1689. {
  1690. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1691. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1692. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1693. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1694. {
  1695. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1696. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1697. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1698. 0x00, 0xfa, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1699. {
  1700. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1701. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1702. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1703. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1704. {
  1705. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1706. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1707. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1708. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1709. {
  1710. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1711. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1712. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1713. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1714. {
  1715. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1716. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1717. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1718. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1719. {
  1720. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1721. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1722. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1723. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1724. {
  1725. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1726. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1727. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1728. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1729. {
  1730. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1731. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1732. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1733. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1734. {
  1735. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1736. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1737. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1738. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1739. {
  1740. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1741. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x08, 0x00, 0x7f,
  1742. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1743. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1744. {
  1745. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1746. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1747. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1748. 0x00, 0xf8, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1749. {
  1750. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1751. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1752. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1753. 0x00, 0xf8, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1754. {
  1755. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1756. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1757. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1758. 0x00, 0xf8, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1759. {
  1760. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1761. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1762. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1763. 0x00, 0xf8, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1764. {
  1765. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1766. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x07, 0x00, 0x7f,
  1767. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1768. 0x00, 0xf8, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1769. {
  1770. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1771. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x07, 0x00, 0x7f,
  1772. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1773. 0x00, 0xf8, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1774. {
  1775. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1776. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1777. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1778. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1779. {
  1780. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1781. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1782. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1783. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1784. {
  1785. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1786. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x07, 0x00, 0x7f,
  1787. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1788. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1789. {
  1790. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1791. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x07, 0x00, 0x7f,
  1792. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1793. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1794. {
  1795. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1796. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x06, 0x00, 0x7f,
  1797. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x5c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1798. 0x00, 0xf6, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1799. {
  1800. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1801. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1802. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1803. 0x00, 0xf6, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1804. {
  1805. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1806. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1807. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1808. 0x00, 0xf6, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1809. {
  1810. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1811. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1812. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1813. 0x00, 0xf6, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1814. {
  1815. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1816. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1817. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1818. 0x00, 0xf6, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1819. {
  1820. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1821. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1822. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1823. 0x00, 0xf6, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1824. {
  1825. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1826. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x06, 0x00, 0x7f,
  1827. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1828. 0x00, 0xf6, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1829. {
  1830. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1831. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x06, 0x00, 0x7f,
  1832. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1833. 0x00, 0xf6, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1834. {
  1835. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1836. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1837. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1838. 0x00, 0xf6, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1839. {
  1840. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1841. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1842. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1843. 0x00, 0xf6, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1844. {
  1845. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1846. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x04, 0x00, 0x7f,
  1847. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x1a, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1848. 0x00, 0xf4, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1849. {
  1850. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1851. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1852. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1853. 0x00, 0xf4, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1854. {
  1855. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1856. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1857. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1858. 0x00, 0xf4, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1859. {
  1860. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1861. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1862. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1863. 0x00, 0xf4, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1864. {
  1865. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1866. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1867. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1868. 0x00, 0xf4, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1869. {
  1870. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1871. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1872. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1873. 0x00, 0xf4, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1874. {
  1875. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1876. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1877. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1878. 0x00, 0xf4, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1879. {
  1880. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1881. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1882. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1883. 0x00, 0xf4, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1884. {
  1885. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1886. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1887. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1888. 0x00, 0xf4, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1889. {
  1890. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1891. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x04, 0x00, 0x7f,
  1892. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1893. 0x00, 0xf4, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1894. {
  1895. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1896. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1897. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1898. 0x00, 0xf2, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1899. {
  1900. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1901. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1902. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1903. 0x00, 0xf2, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1904. {
  1905. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1906. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1907. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1908. 0x00, 0xf2, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1909. {
  1910. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1911. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1912. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1913. 0x00, 0xf2, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1914. {
  1915. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1916. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1917. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1918. 0x00, 0xf2, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1919. {
  1920. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1921. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1922. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1923. 0x00, 0xf2, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1924. {
  1925. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1926. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1927. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1928. 0x00, 0xf2, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1929. {
  1930. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1931. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1932. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1933. 0x00, 0xf2, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1934. {
  1935. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1936. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1937. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1938. 0x00, 0xf2, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1939. {
  1940. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1941. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1942. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1943. 0x00, 0xf2, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1944. {
  1945. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1946. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1947. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1948. 0x00, 0xf2, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1949. {
  1950. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1951. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1952. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1953. 0x00, 0xf2, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1954. {
  1955. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1956. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1957. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1958. 0x00, 0xf2, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1959. {
  1960. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1961. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1962. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1963. 0x00, 0xf2, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1964. {
  1965. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1966. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1967. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1968. 0x00, 0xf2, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1969. {
  1970. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1971. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1972. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1973. 0x00, 0xf2, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1974. {
  1975. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1976. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1977. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1978. 0x00, 0xf2, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1979. {
  1980. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1981. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1982. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1983. 0x00, 0xf2, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1984. {
  1985. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1986. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1987. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1988. 0x00, 0xf0, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1989. {
  1990. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1991. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1992. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1993. 0x00, 0xf0, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1994. {
  1995. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1996. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1997. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1998. 0x00, 0xf0, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1999. {
  2000. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2001. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  2002. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2003. 0x00, 0xf0, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2004. {
  2005. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2006. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2007. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2008. 0x00, 0xf0, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2009. {
  2010. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2011. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2012. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2013. 0x00, 0xf0, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2014. {
  2015. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2016. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2017. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2018. 0x00, 0xf0, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2019. {
  2020. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2021. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2022. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2023. 0x00, 0xf0, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2024. {
  2025. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2026. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2027. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2028. 0x00, 0xf0, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2029. {
  2030. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2031. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2032. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2033. 0x00, 0xf0, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2034. {
  2035. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2036. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2037. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2038. 0x00, 0xf0, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2039. {
  2040. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2041. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2042. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2043. 0x00, 0xf0, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2044. {
  2045. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2046. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2047. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2048. 0x00, 0xf0, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2049. {
  2050. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2051. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  2052. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2053. 0x00, 0xf0, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2054. {
  2055. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2056. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  2057. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2058. 0x00, 0xf0, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2059. {
  2060. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2061. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2062. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2063. 0x0f, 0x00, 0x0e, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2064. {
  2065. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2066. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2067. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2068. 0x0f, 0x00, 0x0e, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2069. {
  2070. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2071. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2072. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2073. 0x0f, 0x00, 0x0e, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2074. {
  2075. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2076. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x04, 0x00,
  2077. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfd, 0x00, 0x04, 0x00, 0x70, 0x00,
  2078. 0x0f, 0x00, 0x0e, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2079. {
  2080. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2081. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x04, 0x00,
  2082. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfb, 0x00, 0x04, 0x00, 0x70, 0x00,
  2083. 0x0f, 0x00, 0x0e, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2084. {
  2085. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2086. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x04, 0x00,
  2087. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfa, 0x00, 0x04, 0x00, 0x70, 0x00,
  2088. 0x0f, 0x00, 0x0e, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2089. {
  2090. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2091. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x04, 0x00,
  2092. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf8, 0x00, 0x04, 0x00, 0x70, 0x00,
  2093. 0x0f, 0x00, 0x0e, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2094. {
  2095. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2096. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x04, 0x00,
  2097. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf7, 0x00, 0x04, 0x00, 0x70, 0x00,
  2098. 0x0f, 0x00, 0x0e, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2099. {
  2100. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2101. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x04, 0x00,
  2102. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf6, 0x00, 0x04, 0x00, 0x70, 0x00,
  2103. 0x0f, 0x00, 0x0e, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2104. {
  2105. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2106. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x04, 0x00,
  2107. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf5, 0x00, 0x04, 0x00, 0x70, 0x00,
  2108. 0x0f, 0x00, 0x0e, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2109. {
  2110. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2111. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x04, 0x00,
  2112. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x70, 0x00,
  2113. 0x0f, 0x00, 0x0e, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2114. {
  2115. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2116. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x04, 0x00,
  2117. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf3, 0x00, 0x04, 0x00, 0x70, 0x00,
  2118. 0x0f, 0x00, 0x0e, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2119. {
  2120. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2121. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x04, 0x00,
  2122. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x70, 0x00,
  2123. 0x0f, 0x00, 0x0e, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2124. {
  2125. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2126. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x04, 0x00,
  2127. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x70, 0x00,
  2128. 0x0f, 0x00, 0x0e, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2129. };
  2130. static const struct chan_info_nphy_radio205x chan_info_nphyrev5_2056v5[] = {
  2131. {
  2132. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2133. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2134. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  2135. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2136. {
  2137. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2138. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2139. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2140. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2141. {
  2142. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2143. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2144. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2145. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2146. {
  2147. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2148. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2149. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2150. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2151. {
  2152. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2153. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2154. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  2155. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2156. {
  2157. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2158. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2159. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2160. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2161. {
  2162. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2163. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2164. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2165. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2166. {
  2167. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2168. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2169. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2170. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2171. {
  2172. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2173. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2174. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2175. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2176. {
  2177. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2178. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2179. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2180. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2181. {
  2182. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2183. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2184. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  2185. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2186. {
  2187. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2188. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2189. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2190. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2191. {
  2192. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2193. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2194. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2195. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2196. {
  2197. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2198. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2199. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2200. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2201. {
  2202. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2203. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  2204. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2205. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2206. {
  2207. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2208. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  2209. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2210. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2211. {
  2212. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2213. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2214. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2215. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2216. {
  2217. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2218. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2219. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2220. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2221. {
  2222. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2223. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2224. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2225. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2226. {
  2227. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2228. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2229. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2230. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2231. {
  2232. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2233. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2234. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2235. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2236. {
  2237. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2238. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  2239. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  2240. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2241. {
  2242. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2243. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2244. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  2245. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2246. {
  2247. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2248. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2249. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  2250. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2251. {
  2252. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2253. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  2254. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2255. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2256. {
  2257. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2258. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2259. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2260. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2261. {
  2262. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2263. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2264. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2265. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2266. {
  2267. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2268. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2269. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2270. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2271. {
  2272. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2273. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2274. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2275. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2276. {
  2277. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2278. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2279. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2280. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2281. {
  2282. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2283. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xea, 0x00, 0x06, 0x00, 0x70,
  2284. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  2285. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2286. {
  2287. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2288. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2289. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2290. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2291. {
  2292. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2293. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2294. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2295. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2296. {
  2297. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2298. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xd9, 0x00, 0x05, 0x00, 0x70,
  2299. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2300. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2301. {
  2302. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2303. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xd8, 0x00, 0x04, 0x00, 0x70,
  2304. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2305. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2306. {
  2307. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2308. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2309. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2310. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2311. {
  2312. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2313. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2314. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2315. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2316. {
  2317. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2318. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2319. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2320. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2321. {
  2322. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2323. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2324. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2325. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2326. {
  2327. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2328. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb8, 0x00, 0x04, 0x00, 0x70,
  2329. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2330. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2331. {
  2332. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2333. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x04, 0x00, 0x70,
  2334. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2335. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2336. {
  2337. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2338. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x03, 0x00, 0x70,
  2339. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  2340. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2341. {
  2342. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2343. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa7, 0x00, 0x03, 0x00, 0x70,
  2344. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2345. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2346. {
  2347. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2348. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2349. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2350. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2351. {
  2352. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2353. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2354. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2355. 0x00, 0x5b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2356. {
  2357. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2358. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x96, 0x00, 0x03, 0x00, 0x70,
  2359. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2360. 0x00, 0x5a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2361. {
  2362. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2363. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x95, 0x00, 0x03, 0x00, 0x70,
  2364. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2365. 0x00, 0x5a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2366. {
  2367. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2368. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2369. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2370. 0x00, 0x5a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2371. {
  2372. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2373. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2374. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2375. 0x00, 0x5a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2376. {
  2377. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2378. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2379. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2380. 0x00, 0x5a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  2381. {
  2382. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2383. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x85, 0x00, 0x02, 0x00, 0x70,
  2384. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2385. 0x00, 0x59, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  2386. {
  2387. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2388. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2389. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2390. 0x00, 0x59, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  2391. {
  2392. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2393. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2394. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2395. 0x00, 0x59, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  2396. {
  2397. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2398. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2399. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  2400. 0x00, 0x69, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  2401. {
  2402. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2403. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x74, 0x00, 0x01, 0x00, 0x70,
  2404. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2405. 0x00, 0x69, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  2406. {
  2407. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2408. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2409. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2410. 0x00, 0x68, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  2411. {
  2412. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2413. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2414. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2415. 0x00, 0x68, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  2416. {
  2417. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2418. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2419. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2420. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  2421. {
  2422. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2423. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2424. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2425. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  2426. {
  2427. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2428. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2429. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2430. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  2431. {
  2432. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2433. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x63, 0x00, 0x01, 0x00, 0x70,
  2434. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  2435. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  2436. {
  2437. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2438. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2439. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2440. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  2441. {
  2442. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2443. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2444. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2445. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  2446. {
  2447. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2448. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2449. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2450. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  2451. {
  2452. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2453. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2454. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2455. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  2456. {
  2457. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2458. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2459. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2460. 0x00, 0x76, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  2461. {
  2462. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2463. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x51, 0x00, 0x00, 0x00, 0x70,
  2464. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2465. 0x00, 0x76, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  2466. {
  2467. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2468. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2469. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2470. 0x00, 0x76, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  2471. {
  2472. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2473. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2474. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2475. 0x00, 0x76, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  2476. {
  2477. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2478. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2479. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2480. 0x00, 0x76, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  2481. {
  2482. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2483. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2484. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2485. 0x00, 0x76, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  2486. {
  2487. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2488. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2489. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2490. 0x00, 0x75, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  2491. {
  2492. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2493. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2494. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2495. 0x00, 0x75, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  2496. {
  2497. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2498. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2499. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2500. 0x00, 0x75, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  2501. {
  2502. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2503. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2504. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2505. 0x00, 0x74, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  2506. {
  2507. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2508. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2509. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2510. 0x00, 0x74, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  2511. {
  2512. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2513. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2514. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2515. 0x00, 0x74, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  2516. {
  2517. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2518. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2519. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2520. 0x00, 0x74, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  2521. {
  2522. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2523. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2524. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2525. 0x00, 0x74, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  2526. {
  2527. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2528. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2529. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2530. 0x00, 0x74, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  2531. {
  2532. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  2533. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2534. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2535. 0x00, 0x74, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  2536. {
  2537. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2538. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2539. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2540. 0x00, 0x84, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  2541. {
  2542. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2543. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2544. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2545. 0x00, 0x83, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  2546. {
  2547. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2548. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2549. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2550. 0x00, 0x83, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  2551. {
  2552. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2553. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2554. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2555. 0x00, 0x83, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  2556. {
  2557. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2558. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2559. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2560. 0x00, 0x83, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  2561. {
  2562. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  2563. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2564. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2565. 0x00, 0x83, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  2566. {
  2567. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2568. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2569. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2570. 0x00, 0x83, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  2571. {
  2572. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  2573. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2574. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2575. 0x00, 0x82, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  2576. {
  2577. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2578. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2579. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2580. 0x00, 0x82, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  2581. {
  2582. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  2583. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2584. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2585. 0x00, 0x82, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  2586. {
  2587. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2588. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2589. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2590. 0x00, 0x82, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  2591. {
  2592. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  2593. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2594. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2595. 0x00, 0x82, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  2596. {
  2597. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2598. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2599. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2600. 0x00, 0x82, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  2601. {
  2602. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  2603. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2604. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2605. 0x00, 0x82, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  2606. {
  2607. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2608. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2609. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2610. 0x00, 0x82, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  2611. {
  2612. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  2613. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2614. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2615. 0x00, 0x82, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  2616. {
  2617. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2618. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2619. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2620. 0x00, 0x82, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  2621. {
  2622. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2623. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2624. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2625. 0x00, 0x82, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2626. {
  2627. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2628. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2629. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2630. 0x00, 0x82, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2631. {
  2632. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2633. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2634. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2635. 0x00, 0x82, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2636. {
  2637. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2638. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2639. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2640. 0x00, 0x72, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2641. {
  2642. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2643. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2644. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2645. 0x00, 0x72, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2646. {
  2647. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2648. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2649. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2650. 0x00, 0x72, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2651. {
  2652. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2653. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2654. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2655. 0x00, 0x72, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2656. {
  2657. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2658. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2659. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2660. 0x00, 0x71, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2661. {
  2662. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2663. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2664. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2665. 0x00, 0x71, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2666. {
  2667. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2668. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2669. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2670. 0x00, 0x71, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2671. {
  2672. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2673. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2674. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2675. 0x00, 0x71, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2676. {
  2677. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2678. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2679. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2680. 0x00, 0x71, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2681. {
  2682. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2683. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2684. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2685. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2686. {
  2687. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2688. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2689. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2690. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2691. {
  2692. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2693. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x03, 0x00,
  2694. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0x03, 0x00, 0x70, 0x00,
  2695. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2696. {
  2697. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2698. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x03, 0x00,
  2699. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0d, 0x00, 0x03, 0x00, 0x70, 0x00,
  2700. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2701. {
  2702. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2703. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00,
  2704. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x70, 0x00,
  2705. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2706. {
  2707. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2708. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x03, 0x00,
  2709. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x03, 0x00, 0x70, 0x00,
  2710. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2711. {
  2712. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2713. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00,
  2714. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x03, 0x00, 0x70, 0x00,
  2715. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2716. {
  2717. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2718. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00,
  2719. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x08, 0x00, 0x02, 0x00, 0x70, 0x00,
  2720. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2721. {
  2722. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2723. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x07, 0x00, 0x02, 0x00,
  2724. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x07, 0x00, 0x02, 0x00, 0x70, 0x00,
  2725. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2726. {
  2727. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2728. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x06, 0x00, 0x02, 0x00,
  2729. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x06, 0x00, 0x02, 0x00, 0x70, 0x00,
  2730. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2731. {
  2732. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2733. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00,
  2734. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x05, 0x00, 0x02, 0x00, 0x70, 0x00,
  2735. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2736. {
  2737. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2738. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00,
  2739. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x70, 0x00,
  2740. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2741. {
  2742. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2743. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
  2744. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x03, 0x00, 0x02, 0x00, 0x70, 0x00,
  2745. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2746. {
  2747. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2748. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  2749. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  2750. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2751. };
  2752. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v6[] = {
  2753. {
  2754. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2755. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2756. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2757. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2758. {
  2759. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2760. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2761. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2762. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2763. {
  2764. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2765. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2766. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2767. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2768. {
  2769. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2770. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2771. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2772. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2773. {
  2774. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2775. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2776. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2777. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2778. {
  2779. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2780. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2781. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2782. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2783. {
  2784. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2785. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2786. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2787. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2788. {
  2789. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2790. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2791. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2792. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2793. {
  2794. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2795. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2796. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2797. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2798. {
  2799. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2800. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2801. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2802. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2803. {
  2804. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2805. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2806. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2807. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2808. {
  2809. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2810. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2811. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2812. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2813. {
  2814. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2815. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2816. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2817. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2818. {
  2819. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2820. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2821. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2822. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2823. {
  2824. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2825. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2826. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2827. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2828. {
  2829. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2830. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2831. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2832. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2833. {
  2834. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2835. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2836. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2837. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2838. {
  2839. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2840. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2841. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2842. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2843. {
  2844. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2845. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  2846. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2847. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2848. {
  2849. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2850. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2851. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2852. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2853. {
  2854. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2855. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2856. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2857. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2858. {
  2859. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2860. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2861. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2862. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2863. {
  2864. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2865. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  2866. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2867. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2868. {
  2869. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2870. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2871. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2872. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2873. {
  2874. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2875. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2876. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2877. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2878. {
  2879. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2880. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2881. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  2882. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2883. {
  2884. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2885. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2886. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  2887. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2888. {
  2889. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2890. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2891. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2892. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2893. {
  2894. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2895. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2896. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2897. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2898. {
  2899. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2900. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2901. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2902. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2903. {
  2904. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2905. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2906. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2907. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2908. {
  2909. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2910. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  2911. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2912. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2913. {
  2914. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2915. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  2916. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2917. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2918. {
  2919. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2920. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2921. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  2922. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2923. {
  2924. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2925. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2926. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  2927. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2928. {
  2929. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2930. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2931. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2932. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2933. {
  2934. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2935. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2936. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2937. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2938. {
  2939. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2940. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2941. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2942. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2943. {
  2944. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2945. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2946. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2947. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2948. {
  2949. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2950. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2951. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2952. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2953. {
  2954. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2955. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2956. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2957. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2958. {
  2959. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2960. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2961. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2962. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2963. {
  2964. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2965. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2966. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2967. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2968. {
  2969. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2970. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2971. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2972. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2973. {
  2974. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2975. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2976. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2977. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2978. {
  2979. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2980. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  2981. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2982. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2983. {
  2984. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2985. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2986. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2987. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2988. {
  2989. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2990. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2991. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2992. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2993. {
  2994. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2995. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  2996. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  2997. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2998. {
  2999. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3000. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  3001. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3002. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3003. {
  3004. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3005. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3006. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3007. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3008. {
  3009. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3010. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3011. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  3012. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3013. {
  3014. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3015. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3016. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3017. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3018. {
  3019. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3020. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3021. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3022. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3023. {
  3024. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3025. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  3026. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3027. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3028. {
  3029. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3030. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  3031. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3032. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3033. {
  3034. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3035. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  3036. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3037. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3038. {
  3039. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3040. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3041. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3042. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3043. {
  3044. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3045. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3046. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3047. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3048. {
  3049. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3050. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3051. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3052. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3053. {
  3054. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3055. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3056. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3057. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3058. {
  3059. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3060. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  3061. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3062. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3063. {
  3064. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3065. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3066. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3067. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3068. {
  3069. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3070. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3071. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3072. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3073. {
  3074. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3075. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  3076. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3077. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3078. {
  3079. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3080. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  3081. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3082. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3083. {
  3084. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3085. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  3086. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3087. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3088. {
  3089. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3090. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3091. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3092. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3093. {
  3094. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3095. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3096. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3097. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3098. {
  3099. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3100. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3101. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3102. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3103. {
  3104. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3105. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3106. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3107. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3108. {
  3109. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3110. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  3111. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3112. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3113. {
  3114. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3115. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3116. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3117. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3118. {
  3119. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3120. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3121. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3122. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3123. {
  3124. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3125. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  3126. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3127. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3128. {
  3129. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3130. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3131. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3132. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3133. {
  3134. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3135. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3136. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3137. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3138. {
  3139. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3140. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3141. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3142. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3143. {
  3144. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3145. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3146. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3147. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3148. {
  3149. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3150. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3151. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3152. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3153. {
  3154. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3155. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3156. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3157. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3158. {
  3159. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3160. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3161. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3162. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3163. {
  3164. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3165. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3166. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3167. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3168. {
  3169. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3170. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3171. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3172. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3173. {
  3174. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3175. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3176. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3177. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3178. {
  3179. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3180. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  3181. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3182. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3183. {
  3184. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3185. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3186. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3187. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3188. {
  3189. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3190. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3191. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3192. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3193. {
  3194. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3195. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3196. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3197. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3198. {
  3199. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3200. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3201. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3202. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3203. {
  3204. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3205. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3206. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3207. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3208. {
  3209. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3210. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3211. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3212. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3213. {
  3214. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3215. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3216. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3217. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3218. {
  3219. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3220. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3221. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3222. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3223. {
  3224. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3225. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3226. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3227. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3228. {
  3229. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3230. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3231. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3232. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3233. {
  3234. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3235. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3236. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3237. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3238. {
  3239. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3240. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3241. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3242. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3243. {
  3244. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3245. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3246. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3247. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3248. {
  3249. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3250. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3251. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3252. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3253. {
  3254. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3255. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3256. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3257. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3258. {
  3259. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3260. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3261. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3262. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3263. {
  3264. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3265. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3266. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3267. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3268. {
  3269. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3270. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3271. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3272. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3273. {
  3274. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3275. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3276. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3277. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3278. {
  3279. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3280. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3281. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3282. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3283. {
  3284. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3285. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3286. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3287. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3288. {
  3289. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3290. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3291. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3292. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3293. {
  3294. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3295. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3296. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3297. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3298. {
  3299. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3300. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3301. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3302. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3303. {
  3304. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3305. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3306. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3307. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3308. {
  3309. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3310. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3311. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3312. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3313. {
  3314. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3315. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  3316. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x67, 0x00, 0x03, 0x00, 0x70, 0x00,
  3317. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3318. {
  3319. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3320. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  3321. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x57, 0x00, 0x03, 0x00, 0x70, 0x00,
  3322. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3323. {
  3324. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3325. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  3326. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x56, 0x00, 0x03, 0x00, 0x70, 0x00,
  3327. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3328. {
  3329. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3330. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  3331. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x46, 0x00, 0x03, 0x00, 0x70, 0x00,
  3332. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3333. {
  3334. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3335. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3336. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3337. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3338. {
  3339. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3340. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3341. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3342. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3343. {
  3344. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3345. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  3346. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x23, 0x00, 0x02, 0x00, 0x70, 0x00,
  3347. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3348. {
  3349. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3350. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  3351. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x12, 0x00, 0x02, 0x00, 0x70, 0x00,
  3352. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3353. {
  3354. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3355. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  3356. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x70, 0x00,
  3357. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3358. {
  3359. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3360. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3361. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3362. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3363. {
  3364. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3365. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3366. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3367. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3368. {
  3369. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3370. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3371. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3372. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3373. };
  3374. static const struct chan_info_nphy_radio205x chan_info_nphyrev5n6_2056v7[] = {
  3375. {
  3376. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3377. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3378. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  3379. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  3380. {
  3381. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3382. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3383. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3384. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  3385. {
  3386. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3387. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3388. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3389. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  3390. {
  3391. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3392. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3393. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3394. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  3395. {
  3396. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3397. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3398. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  3399. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  3400. {
  3401. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3402. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3403. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3404. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  3405. {
  3406. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3407. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3408. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3409. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  3410. {
  3411. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3412. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3413. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3414. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  3415. {
  3416. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3417. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3418. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3419. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  3420. {
  3421. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3422. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3423. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3424. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  3425. {
  3426. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3427. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3428. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  3429. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  3430. {
  3431. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3432. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3433. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3434. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  3435. {
  3436. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3437. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3438. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3439. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  3440. {
  3441. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3442. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3443. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3444. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  3445. {
  3446. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3447. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  3448. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3449. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  3450. {
  3451. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3452. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  3453. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3454. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  3455. {
  3456. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3457. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3458. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3459. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  3460. {
  3461. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3462. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3463. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3464. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  3465. {
  3466. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3467. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3468. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3469. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  3470. {
  3471. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3472. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3473. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3474. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  3475. {
  3476. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3477. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3478. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3479. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  3480. {
  3481. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3482. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  3483. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  3484. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  3485. {
  3486. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3487. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3488. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  3489. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  3490. {
  3491. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3492. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3493. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  3494. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  3495. {
  3496. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3497. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  3498. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3499. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  3500. {
  3501. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3502. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3503. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3504. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  3505. {
  3506. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3507. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3508. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3509. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  3510. {
  3511. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3512. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3513. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3514. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  3515. {
  3516. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3517. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3518. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3519. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  3520. {
  3521. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3522. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3523. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3524. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  3525. {
  3526. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3527. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xea, 0x00, 0x06, 0x00, 0x70,
  3528. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  3529. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  3530. {
  3531. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3532. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3533. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3534. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  3535. {
  3536. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3537. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3538. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3539. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  3540. {
  3541. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3542. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xd9, 0x00, 0x05, 0x00, 0x70,
  3543. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3544. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  3545. {
  3546. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3547. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xd8, 0x00, 0x04, 0x00, 0x70,
  3548. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3549. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  3550. {
  3551. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3552. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3553. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3554. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  3555. {
  3556. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3557. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3558. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3559. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  3560. {
  3561. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3562. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3563. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3564. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  3565. {
  3566. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3567. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3568. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3569. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  3570. {
  3571. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3572. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb8, 0x00, 0x04, 0x00, 0x70,
  3573. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3574. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  3575. {
  3576. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3577. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xb7, 0x00, 0x04, 0x00, 0x70,
  3578. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3579. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  3580. {
  3581. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3582. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xb7, 0x00, 0x03, 0x00, 0x70,
  3583. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  3584. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  3585. {
  3586. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3587. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa7, 0x00, 0x03, 0x00, 0x70,
  3588. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3589. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  3590. {
  3591. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3592. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3593. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3594. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  3595. {
  3596. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3597. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3598. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3599. 0x00, 0x7b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  3600. {
  3601. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3602. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x96, 0x00, 0x03, 0x00, 0x70,
  3603. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3604. 0x00, 0x7a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  3605. {
  3606. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3607. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3608. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3609. 0x00, 0x7a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  3610. {
  3611. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3612. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3613. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3614. 0x00, 0x7a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  3615. {
  3616. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3617. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3618. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3619. 0x00, 0x7a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  3620. {
  3621. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3622. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3623. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3624. 0x00, 0x7a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3625. {
  3626. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3627. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x85, 0x00, 0x02, 0x00, 0x70,
  3628. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3629. 0x00, 0x79, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3630. {
  3631. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3632. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x70,
  3633. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3634. 0x00, 0x79, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3635. {
  3636. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3637. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3638. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3639. 0x00, 0x79, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3640. {
  3641. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3642. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3643. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  3644. 0x00, 0x79, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3645. {
  3646. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3647. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x74, 0x00, 0x01, 0x00, 0x70,
  3648. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3649. 0x00, 0x79, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3650. {
  3651. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3652. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  3653. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3654. 0x00, 0x78, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3655. {
  3656. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3657. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x01, 0x00, 0x70,
  3658. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3659. 0x00, 0x78, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3660. {
  3661. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3662. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3663. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3664. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3665. {
  3666. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3667. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3668. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3669. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3670. {
  3671. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3672. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x01, 0x00, 0x70,
  3673. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3674. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3675. {
  3676. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3677. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x63, 0x00, 0x01, 0x00, 0x70,
  3678. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  3679. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3680. {
  3681. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3682. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x62, 0x00, 0x00, 0x00, 0x70,
  3683. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3684. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3685. {
  3686. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3687. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3688. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3689. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3690. {
  3691. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3692. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3693. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3694. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3695. {
  3696. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3697. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x52, 0x00, 0x00, 0x00, 0x70,
  3698. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3699. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3700. {
  3701. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3702. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x52, 0x00, 0x00, 0x00, 0x70,
  3703. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3704. 0x00, 0x86, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3705. {
  3706. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3707. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3708. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3709. 0x00, 0x86, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3710. {
  3711. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3712. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3713. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3714. 0x00, 0x86, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3715. {
  3716. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3717. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3718. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3719. 0x00, 0x86, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3720. {
  3721. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3722. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3723. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3724. 0x00, 0x86, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3725. {
  3726. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3727. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3728. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3729. 0x00, 0x86, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3730. {
  3731. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3732. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x51, 0x00, 0x00, 0x00, 0x70,
  3733. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3734. 0x00, 0x85, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3735. {
  3736. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3737. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3738. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3739. 0x00, 0x85, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3740. {
  3741. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3742. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3743. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3744. 0x00, 0x85, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3745. {
  3746. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3747. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  3748. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3749. 0x00, 0x84, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3750. {
  3751. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3752. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3753. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3754. 0x00, 0x84, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3755. {
  3756. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3757. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3758. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3759. 0x00, 0x94, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3760. {
  3761. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3762. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3763. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3764. 0x00, 0x94, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3765. {
  3766. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3767. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3768. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3769. 0x00, 0x94, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3770. {
  3771. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3772. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3773. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3774. 0x00, 0x94, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3775. {
  3776. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3777. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3778. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3779. 0x00, 0x94, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3780. {
  3781. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3782. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3783. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3784. 0x00, 0x94, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3785. {
  3786. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3787. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3788. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3789. 0x00, 0x93, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3790. {
  3791. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3792. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3793. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3794. 0x00, 0x93, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3795. {
  3796. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3797. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3798. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3799. 0x00, 0x93, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3800. {
  3801. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3802. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3803. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3804. 0x00, 0x93, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3805. {
  3806. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3807. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x30, 0x00, 0x00, 0x00, 0x70,
  3808. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3809. 0x00, 0x93, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3810. {
  3811. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3812. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3813. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3814. 0x00, 0x93, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3815. {
  3816. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3817. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3818. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3819. 0x00, 0x92, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3820. {
  3821. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3822. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3823. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3824. 0x00, 0x92, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3825. {
  3826. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3827. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3828. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3829. 0x00, 0x92, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3830. {
  3831. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3832. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x70,
  3833. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3834. 0x00, 0x92, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3835. {
  3836. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3837. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3838. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3839. 0x00, 0x92, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3840. {
  3841. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3842. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3843. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3844. 0x00, 0x92, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3845. {
  3846. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3847. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3848. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3849. 0x00, 0x92, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3850. {
  3851. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3852. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3853. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3854. 0x00, 0x92, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3855. {
  3856. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3857. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3858. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3859. 0x00, 0x92, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3860. {
  3861. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3862. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3863. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3864. 0x00, 0x92, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3865. {
  3866. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3867. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3868. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3869. 0x00, 0x92, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3870. {
  3871. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3872. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3873. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3874. 0x00, 0x92, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3875. {
  3876. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3877. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3878. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3879. 0x00, 0x92, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3880. {
  3881. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3882. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3883. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3884. 0x00, 0x92, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3885. {
  3886. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3887. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3888. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3889. 0x00, 0x92, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3890. {
  3891. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3892. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3893. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3894. 0x00, 0x92, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3895. {
  3896. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3897. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3898. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3899. 0x00, 0x92, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3900. {
  3901. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3902. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3903. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3904. 0x00, 0x91, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3905. {
  3906. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3907. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3908. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3909. 0x00, 0x91, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3910. {
  3911. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3912. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3913. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3914. 0x00, 0x91, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3915. {
  3916. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3917. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3918. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3919. 0x00, 0x91, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3920. {
  3921. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3922. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3923. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3924. 0x00, 0x91, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3925. {
  3926. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3927. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3928. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3929. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3930. {
  3931. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3932. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3933. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3934. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3935. {
  3936. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3937. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3938. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3939. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3940. {
  3941. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3942. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3943. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3944. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3945. {
  3946. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3947. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x03, 0x00,
  3948. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  3949. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3950. {
  3951. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3952. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x76, 0x00, 0x03, 0x00,
  3953. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  3954. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3955. {
  3956. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3957. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x66, 0x00, 0x03, 0x00,
  3958. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x03, 0x00, 0x70, 0x00,
  3959. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3960. {
  3961. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3962. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x55, 0x00, 0x02, 0x00,
  3963. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  3964. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3965. {
  3966. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3967. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3968. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3969. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3970. {
  3971. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3972. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3973. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3974. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3975. {
  3976. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3977. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00,
  3978. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  3979. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3980. {
  3981. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3982. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00,
  3983. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  3984. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3985. {
  3986. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3987. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
  3988. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  3989. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3990. {
  3991. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3992. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3993. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3994. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3995. };
  3996. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v8[] = {
  3997. {
  3998. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3999. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4000. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4001. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4002. {
  4003. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4004. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4005. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4006. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4007. {
  4008. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4009. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4010. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4011. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4012. {
  4013. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4014. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4015. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4016. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4017. {
  4018. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4019. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4020. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4021. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4022. {
  4023. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4024. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4025. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4026. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4027. {
  4028. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4029. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4030. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4031. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4032. {
  4033. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4034. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4035. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4036. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4037. {
  4038. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4039. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4040. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4041. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4042. {
  4043. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4044. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4045. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4046. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4047. {
  4048. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4049. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4050. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4051. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4052. {
  4053. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4054. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4055. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4056. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4057. {
  4058. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4059. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4060. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4061. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4062. {
  4063. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4064. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4065. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4066. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4067. {
  4068. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4069. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4070. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4071. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4072. {
  4073. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4074. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4075. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4076. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4077. {
  4078. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4079. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4080. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4081. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4082. {
  4083. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4084. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4085. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4086. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4087. {
  4088. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4089. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4090. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4091. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4092. {
  4093. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4094. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4095. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4096. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4097. {
  4098. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4099. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4100. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4101. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4102. {
  4103. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4104. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4105. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4106. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4107. {
  4108. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4109. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4110. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4111. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4112. {
  4113. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4114. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4115. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4116. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4117. {
  4118. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4119. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4120. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4121. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4122. {
  4123. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4124. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4125. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4126. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4127. {
  4128. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4129. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4130. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4131. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4132. {
  4133. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4134. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4135. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4136. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4137. {
  4138. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4139. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4140. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4141. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4142. {
  4143. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4144. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4145. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4146. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4147. {
  4148. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4149. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4150. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4151. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4152. {
  4153. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4154. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4155. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4156. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4157. {
  4158. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4159. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4160. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4161. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4162. {
  4163. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4164. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4165. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4166. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4167. {
  4168. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4169. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4170. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4171. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4172. {
  4173. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4174. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4175. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4176. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4177. {
  4178. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4179. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4180. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4181. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4182. {
  4183. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4184. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4185. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4186. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4187. {
  4188. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4189. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4190. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4191. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4192. {
  4193. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4194. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4195. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4196. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4197. {
  4198. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4199. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4200. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4201. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4202. {
  4203. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4204. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4205. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4206. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4207. {
  4208. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4209. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4210. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4211. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4212. {
  4213. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4214. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4215. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4216. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4217. {
  4218. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4219. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4220. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4221. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4222. {
  4223. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4224. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4225. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4226. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4227. {
  4228. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4229. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4230. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4231. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4232. {
  4233. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4234. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4235. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4236. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4237. {
  4238. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4239. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4240. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4241. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4242. {
  4243. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4244. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4245. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4246. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4247. {
  4248. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4249. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4250. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4251. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4252. {
  4253. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4254. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4255. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4256. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4257. {
  4258. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4259. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4260. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4261. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4262. {
  4263. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4264. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4265. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4266. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4267. {
  4268. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4269. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4270. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4271. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4272. {
  4273. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4274. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4275. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4276. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4277. {
  4278. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4279. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4280. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4281. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4282. {
  4283. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4284. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4285. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4286. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4287. {
  4288. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4289. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4290. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4291. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4292. {
  4293. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4294. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4295. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4296. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4297. {
  4298. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4299. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4300. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4301. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4302. {
  4303. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4304. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4305. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4306. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4307. {
  4308. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4309. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4310. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4311. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4312. {
  4313. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4314. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4315. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4316. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4317. {
  4318. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4319. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4320. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4321. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4322. {
  4323. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4324. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4325. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4326. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4327. {
  4328. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4329. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4330. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4331. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4332. {
  4333. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4334. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4335. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4336. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4337. {
  4338. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4339. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4340. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4341. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4342. {
  4343. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4344. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4345. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4346. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4347. {
  4348. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4349. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4350. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4351. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4352. {
  4353. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4354. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4355. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4356. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4357. {
  4358. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4359. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4360. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4361. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4362. {
  4363. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4364. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4365. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4366. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4367. {
  4368. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4369. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4370. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4371. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4372. {
  4373. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4374. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4375. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4376. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4377. {
  4378. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4379. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4380. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4381. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  4382. {
  4383. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4384. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4385. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4386. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  4387. {
  4388. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4389. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4390. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4391. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  4392. {
  4393. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4394. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4395. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4396. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  4397. {
  4398. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  4399. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4400. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4401. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  4402. {
  4403. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4404. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4405. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4406. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  4407. {
  4408. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4409. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4410. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4411. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  4412. {
  4413. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4414. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4415. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4416. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  4417. {
  4418. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4419. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4420. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4421. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  4422. {
  4423. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4424. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  4425. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4426. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  4427. {
  4428. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  4429. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4430. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4431. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  4432. {
  4433. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4434. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4435. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4436. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  4437. {
  4438. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  4439. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4440. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4441. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  4442. {
  4443. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4444. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4445. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4446. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  4447. {
  4448. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  4449. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4450. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4451. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  4452. {
  4453. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4454. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4455. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4456. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  4457. {
  4458. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  4459. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4460. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4461. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  4462. {
  4463. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4464. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4465. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4466. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  4467. {
  4468. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  4469. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4470. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4471. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  4472. {
  4473. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4474. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4475. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4476. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  4477. {
  4478. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  4479. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4480. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4481. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  4482. {
  4483. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4484. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4485. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4486. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  4487. {
  4488. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4489. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4490. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4491. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  4492. {
  4493. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4494. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4495. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4496. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  4497. {
  4498. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4499. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4500. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4501. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  4502. {
  4503. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4504. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4505. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4506. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  4507. {
  4508. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4509. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4510. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4511. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  4512. {
  4513. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4514. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4515. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4516. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  4517. {
  4518. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4519. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4520. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4521. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  4522. {
  4523. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4524. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4525. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4526. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  4527. {
  4528. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4529. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4530. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4531. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  4532. {
  4533. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4534. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4535. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4536. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  4537. {
  4538. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4539. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4540. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4541. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  4542. {
  4543. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4544. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4545. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4546. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  4547. {
  4548. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  4549. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4550. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4551. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  4552. {
  4553. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  4554. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4555. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4556. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  4557. {
  4558. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  4559. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  4560. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4561. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  4562. {
  4563. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  4564. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  4565. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  4566. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  4567. {
  4568. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  4569. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  4570. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  4571. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  4572. {
  4573. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  4574. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  4575. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  4576. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  4577. {
  4578. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  4579. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  4580. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  4581. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  4582. {
  4583. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  4584. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  4585. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  4586. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  4587. {
  4588. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  4589. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  4590. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  4591. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  4592. {
  4593. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  4594. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  4595. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  4596. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  4597. {
  4598. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  4599. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  4600. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  4601. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  4602. {
  4603. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  4604. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4605. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  4606. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  4607. {
  4608. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  4609. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4610. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  4611. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  4612. {
  4613. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  4614. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  4615. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  4616. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  4617. };
  4618. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v11[] = {
  4619. {
  4620. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4621. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4622. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4623. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4624. {
  4625. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4626. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4627. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4628. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4629. {
  4630. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4631. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4632. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4633. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4634. {
  4635. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4636. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4637. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4638. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4639. {
  4640. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4641. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4642. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4643. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4644. {
  4645. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4646. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4647. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4648. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4649. {
  4650. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4651. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4652. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4653. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4654. {
  4655. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4656. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4657. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4658. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4659. {
  4660. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4661. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4662. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4663. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4664. {
  4665. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4666. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4667. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4668. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4669. {
  4670. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4671. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4672. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4673. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4674. {
  4675. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4676. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4677. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4678. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4679. {
  4680. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4681. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4682. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4683. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4684. {
  4685. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4686. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4687. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4688. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4689. {
  4690. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4691. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4692. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4693. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4694. {
  4695. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4696. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4697. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4698. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4699. {
  4700. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4701. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4702. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4703. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4704. {
  4705. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4706. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4707. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4708. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4709. {
  4710. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4711. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4712. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4713. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4714. {
  4715. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4716. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4717. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4718. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4719. {
  4720. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4721. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4722. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4723. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4724. {
  4725. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4726. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4727. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4728. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4729. {
  4730. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4731. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4732. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4733. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4734. {
  4735. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4736. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4737. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4738. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4739. {
  4740. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4741. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4742. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4743. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4744. {
  4745. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4746. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4747. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4748. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4749. {
  4750. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4751. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4752. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4753. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4754. {
  4755. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4756. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4757. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4758. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4759. {
  4760. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4761. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4762. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4763. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4764. {
  4765. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4766. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4767. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4768. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4769. {
  4770. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4771. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4772. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4773. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4774. {
  4775. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4776. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4777. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4778. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4779. {
  4780. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4781. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4782. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4783. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4784. {
  4785. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4786. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4787. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4788. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4789. {
  4790. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4791. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4792. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4793. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4794. {
  4795. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4796. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4797. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4798. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4799. {
  4800. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4801. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4802. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4803. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4804. {
  4805. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4806. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4807. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4808. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4809. {
  4810. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4811. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4812. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4813. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4814. {
  4815. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4816. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4817. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4818. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4819. {
  4820. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4821. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4822. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4823. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4824. {
  4825. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4826. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4827. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4828. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4829. {
  4830. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4831. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4832. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4833. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4834. {
  4835. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4836. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4837. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4838. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4839. {
  4840. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4841. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4842. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4843. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4844. {
  4845. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4846. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4847. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4848. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4849. {
  4850. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4851. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4852. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4853. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4854. {
  4855. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4856. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4857. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4858. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4859. {
  4860. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4861. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4862. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4863. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4864. {
  4865. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4866. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4867. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4868. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4869. {
  4870. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4871. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4872. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4873. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4874. {
  4875. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4876. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4877. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4878. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4879. {
  4880. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4881. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4882. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4883. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4884. {
  4885. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4886. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4887. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4888. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4889. {
  4890. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4891. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4892. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4893. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4894. {
  4895. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4896. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4897. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4898. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4899. {
  4900. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4901. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4902. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4903. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4904. {
  4905. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4906. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4907. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4908. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4909. {
  4910. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4911. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4912. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4913. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4914. {
  4915. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4916. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4917. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4918. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4919. {
  4920. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4921. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4922. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4923. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4924. {
  4925. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4926. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4927. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4928. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4929. {
  4930. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4931. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4932. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4933. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4934. {
  4935. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4936. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4937. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4938. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4939. {
  4940. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4941. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4942. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4943. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4944. {
  4945. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4946. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4947. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4948. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4949. {
  4950. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4951. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4952. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4953. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4954. {
  4955. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4956. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4957. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4958. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4959. {
  4960. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4961. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4962. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4963. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4964. {
  4965. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4966. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4967. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4968. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4969. {
  4970. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4971. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4972. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4973. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4974. {
  4975. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4976. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4977. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4978. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4979. {
  4980. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4981. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4982. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4983. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4984. {
  4985. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4986. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4987. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4988. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4989. {
  4990. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4991. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4992. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4993. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4994. {
  4995. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4996. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4997. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4998. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4999. {
  5000. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5001. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5002. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5003. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  5004. {
  5005. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5006. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5007. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5008. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  5009. {
  5010. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5011. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5012. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5013. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  5014. {
  5015. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5016. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5017. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5018. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  5019. {
  5020. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x05, 0x05, 0x02, 0x15, 0x01,
  5021. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5022. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5023. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  5024. {
  5025. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5026. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5027. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5028. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  5029. {
  5030. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5031. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5032. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5033. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  5034. {
  5035. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5036. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5037. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5038. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  5039. {
  5040. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5041. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5042. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5043. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  5044. {
  5045. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5046. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  5047. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5048. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  5049. {
  5050. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x05, 0x05, 0x02, 0x15, 0x01,
  5051. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5052. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5053. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  5054. {
  5055. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5056. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5057. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5058. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  5059. {
  5060. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x05, 0x05, 0x02, 0x15, 0x01,
  5061. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5062. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5063. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  5064. {
  5065. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5066. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5067. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5068. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  5069. {
  5070. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x05, 0x05, 0x02, 0x15, 0x01,
  5071. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5072. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5073. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  5074. {
  5075. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5076. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5077. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5078. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  5079. {
  5080. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x05, 0x05, 0x02, 0x15, 0x01,
  5081. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5082. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5083. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  5084. {
  5085. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5086. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5087. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5088. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  5089. {
  5090. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x05, 0x05, 0x02, 0x15, 0x01,
  5091. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5092. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5093. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  5094. {
  5095. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5096. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5097. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5098. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  5099. {
  5100. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x05, 0x05, 0x02, 0x15, 0x01,
  5101. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5102. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5103. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  5104. {
  5105. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5106. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5107. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5108. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  5109. {
  5110. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5111. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5112. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5113. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  5114. {
  5115. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5116. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5117. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5118. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  5119. {
  5120. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5121. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5122. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5123. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  5124. {
  5125. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5126. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5127. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5128. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  5129. {
  5130. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5131. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5132. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5133. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  5134. {
  5135. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5136. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5137. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5138. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  5139. {
  5140. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5141. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5142. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5143. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  5144. {
  5145. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5146. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5147. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5148. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  5149. {
  5150. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5151. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5152. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5153. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  5154. {
  5155. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5156. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5157. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5158. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  5159. {
  5160. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5161. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5162. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5163. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  5164. {
  5165. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5166. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5167. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5168. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  5169. {
  5170. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5171. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5172. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5173. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  5174. {
  5175. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5176. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5177. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5178. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  5179. {
  5180. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5181. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  5182. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5183. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  5184. {
  5185. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5186. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  5187. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  5188. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  5189. {
  5190. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5191. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  5192. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  5193. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  5194. {
  5195. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5196. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  5197. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  5198. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  5199. {
  5200. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5201. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  5202. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  5203. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  5204. {
  5205. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5206. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  5207. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  5208. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  5209. {
  5210. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5211. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  5212. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  5213. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  5214. {
  5215. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5216. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  5217. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  5218. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  5219. {
  5220. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5221. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  5222. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  5223. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  5224. {
  5225. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5226. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5227. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  5228. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  5229. {
  5230. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5231. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5232. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  5233. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  5234. {
  5235. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5236. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  5237. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  5238. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  5239. };
  5240. static const struct chan_info_nphy_radio2057 chan_info_nphyrev7_2057_rev4[] = {
  5241. {
  5242. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  5243. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5244. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  5245. 0x0215,
  5246. 0x0216,
  5247. },
  5248. {
  5249. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  5250. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5251. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  5252. 0x0214,
  5253. 0x0215,
  5254. },
  5255. {
  5256. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  5257. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5258. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  5259. 0x0213,
  5260. 0x0214,
  5261. },
  5262. {
  5263. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  5264. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5265. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  5266. 0x0212,
  5267. 0x0213,
  5268. },
  5269. {
  5270. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  5271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5272. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  5273. 0x0211,
  5274. 0x0212,
  5275. },
  5276. {
  5277. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  5278. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5279. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  5280. 0x020f,
  5281. 0x0211,
  5282. },
  5283. {
  5284. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  5285. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5286. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  5287. 0x020e,
  5288. 0x020f,
  5289. },
  5290. {
  5291. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  5292. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5293. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  5294. 0x020d,
  5295. 0x020e,
  5296. },
  5297. {
  5298. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  5299. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5300. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  5301. 0x020c,
  5302. 0x020d,
  5303. },
  5304. {
  5305. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  5306. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5307. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  5308. 0x020b,
  5309. 0x020c,
  5310. },
  5311. {
  5312. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  5313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5314. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  5315. 0x020a,
  5316. 0x020b,
  5317. },
  5318. {
  5319. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  5320. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5321. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  5322. 0x0209,
  5323. 0x020a,
  5324. },
  5325. {
  5326. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  5327. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5328. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  5329. 0x0208,
  5330. 0x0209,
  5331. },
  5332. {
  5333. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  5334. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5335. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  5336. 0x0207,
  5337. 0x0208,
  5338. },
  5339. {
  5340. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  5341. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5342. 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  5343. 0x0206,
  5344. 0x0207,
  5345. },
  5346. {
  5347. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  5348. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5349. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  5350. 0x0205,
  5351. 0x0206,
  5352. },
  5353. {
  5354. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  5355. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5356. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  5357. 0x0204,
  5358. 0x0205,
  5359. },
  5360. {
  5361. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  5362. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5363. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  5364. 0x0203,
  5365. 0x0204,
  5366. },
  5367. {
  5368. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  5369. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5370. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  5371. 0x0202,
  5372. 0x0203,
  5373. },
  5374. {
  5375. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  5376. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5377. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0800, 0x07fc, 0x07f8, 0x0200,
  5378. 0x0201,
  5379. 0x0202,
  5380. },
  5381. {
  5382. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  5383. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5384. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0804, 0x0800, 0x07fc, 0x01ff,
  5385. 0x0200,
  5386. 0x0201,
  5387. },
  5388. {
  5389. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  5390. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5391. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0808, 0x0804, 0x0800, 0x01fe,
  5392. 0x01ff,
  5393. 0x0200,
  5394. },
  5395. {
  5396. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  5397. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5398. 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x080c, 0x0808, 0x0804, 0x01fd,
  5399. 0x01fe,
  5400. 0x01ff,
  5401. },
  5402. {
  5403. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  5404. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5405. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0814, 0x0810, 0x080c, 0x01fb,
  5406. 0x01fc,
  5407. 0x01fd,
  5408. },
  5409. {
  5410. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  5411. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5412. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0818, 0x0814, 0x0810, 0x01fa,
  5413. 0x01fb,
  5414. 0x01fc,
  5415. },
  5416. {
  5417. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  5418. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5419. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x081c, 0x0818, 0x0814, 0x01f9,
  5420. 0x01fa,
  5421. 0x01fb,
  5422. },
  5423. {
  5424. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  5425. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5426. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0820, 0x081c, 0x0818, 0x01f8,
  5427. 0x01f9,
  5428. 0x01fa,
  5429. },
  5430. {
  5431. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  5432. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5433. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0824, 0x0820, 0x081c, 0x01f7,
  5434. 0x01f8,
  5435. 0x01f9,
  5436. },
  5437. {
  5438. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  5439. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5440. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0828, 0x0824, 0x0820, 0x01f6,
  5441. 0x01f7,
  5442. 0x01f8,
  5443. },
  5444. {
  5445. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  5446. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5447. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x082c, 0x0828, 0x0824, 0x01f5,
  5448. 0x01f6,
  5449. 0x01f7,
  5450. },
  5451. {
  5452. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  5453. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5454. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0830, 0x082c, 0x0828, 0x01f4,
  5455. 0x01f5,
  5456. 0x01f6,
  5457. },
  5458. {
  5459. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  5460. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5461. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0834, 0x0830, 0x082c, 0x01f3,
  5462. 0x01f4,
  5463. 0x01f5,
  5464. },
  5465. {
  5466. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  5467. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5468. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0838, 0x0834, 0x0830, 0x01f2,
  5469. 0x01f3,
  5470. 0x01f4,
  5471. },
  5472. {
  5473. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  5474. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5475. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x083c, 0x0838, 0x0834, 0x01f1,
  5476. 0x01f2,
  5477. 0x01f3,
  5478. },
  5479. {
  5480. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  5481. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5482. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x0840, 0x083c, 0x0838, 0x01f0,
  5483. 0x01f1,
  5484. 0x01f2,
  5485. },
  5486. {
  5487. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  5488. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5489. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0844, 0x0840, 0x083c, 0x01f0,
  5490. 0x01f0,
  5491. 0x01f1,
  5492. },
  5493. {
  5494. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  5495. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5496. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0848, 0x0844, 0x0840, 0x01ef,
  5497. 0x01f0,
  5498. 0x01f0,
  5499. },
  5500. {
  5501. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  5502. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5503. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x084c, 0x0848, 0x0844, 0x01ee,
  5504. 0x01ef,
  5505. 0x01f0,
  5506. },
  5507. {
  5508. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  5509. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5510. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0850, 0x084c, 0x0848, 0x01ed,
  5511. 0x01ee,
  5512. 0x01ef,
  5513. },
  5514. {
  5515. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  5516. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5517. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0854, 0x0850, 0x084c, 0x01ec,
  5518. 0x01ed,
  5519. 0x01ee,
  5520. },
  5521. {
  5522. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  5523. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5524. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0858, 0x0854, 0x0850, 0x01eb,
  5525. 0x01ec,
  5526. 0x01ed,
  5527. },
  5528. {
  5529. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  5530. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x00,
  5531. 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x085c, 0x0858, 0x0854, 0x01ea,
  5532. 0x01eb,
  5533. 0x01ec,
  5534. },
  5535. {
  5536. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  5537. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5538. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0860, 0x085c, 0x0858, 0x01e9,
  5539. 0x01ea,
  5540. 0x01eb,
  5541. },
  5542. {
  5543. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  5544. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5545. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0864, 0x0860, 0x085c, 0x01e8,
  5546. 0x01e9,
  5547. 0x01ea,
  5548. },
  5549. {
  5550. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  5551. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5552. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0868, 0x0864, 0x0860, 0x01e7,
  5553. 0x01e8,
  5554. 0x01e9,
  5555. },
  5556. {
  5557. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  5558. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5559. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x086c, 0x0868, 0x0864, 0x01e6,
  5560. 0x01e7,
  5561. 0x01e8,
  5562. },
  5563. {
  5564. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  5565. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x00,
  5566. 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x0870, 0x086c, 0x0868, 0x01e5,
  5567. 0x01e6,
  5568. 0x01e7,
  5569. },
  5570. {
  5571. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  5572. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5573. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0874, 0x0870, 0x086c, 0x01e5,
  5574. 0x01e5,
  5575. 0x01e6,
  5576. },
  5577. {
  5578. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  5579. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5580. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0878, 0x0874, 0x0870, 0x01e4,
  5581. 0x01e5,
  5582. 0x01e5,
  5583. },
  5584. {
  5585. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  5586. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x00,
  5587. 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x087c, 0x0878, 0x0874, 0x01e3,
  5588. 0x01e4,
  5589. 0x01e5,
  5590. },
  5591. {
  5592. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  5593. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5594. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0880, 0x087c, 0x0878, 0x01e2,
  5595. 0x01e3,
  5596. 0x01e4,
  5597. },
  5598. {
  5599. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  5600. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5601. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0884, 0x0880, 0x087c, 0x01e1,
  5602. 0x01e2,
  5603. 0x01e3,
  5604. },
  5605. {
  5606. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  5607. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5608. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0888, 0x0884, 0x0880, 0x01e0,
  5609. 0x01e1,
  5610. 0x01e2,
  5611. },
  5612. {
  5613. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  5614. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x00,
  5615. 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x088c, 0x0888, 0x0884, 0x01df,
  5616. 0x01e0,
  5617. 0x01e1,
  5618. },
  5619. {
  5620. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  5621. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x00,
  5622. 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x0890, 0x088c, 0x0888, 0x01de,
  5623. 0x01df,
  5624. 0x01e0,
  5625. },
  5626. {
  5627. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  5628. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5629. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0894, 0x0890, 0x088c, 0x01dd,
  5630. 0x01de,
  5631. 0x01df,
  5632. },
  5633. {
  5634. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  5635. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5636. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0898, 0x0894, 0x0890, 0x01dd,
  5637. 0x01dd,
  5638. 0x01de,
  5639. },
  5640. {
  5641. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  5642. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5643. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x089c, 0x0898, 0x0894, 0x01dc,
  5644. 0x01dd,
  5645. 0x01dd,
  5646. },
  5647. {
  5648. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  5649. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5650. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x08a0, 0x089c, 0x0898, 0x01db,
  5651. 0x01dc,
  5652. 0x01dd,
  5653. },
  5654. {
  5655. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  5656. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5657. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a4, 0x08a0, 0x089c, 0x01da,
  5658. 0x01db,
  5659. 0x01dc,
  5660. },
  5661. {
  5662. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  5663. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5664. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  5665. 0x01da,
  5666. 0x01db,
  5667. },
  5668. {
  5669. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  5670. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5671. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  5672. 0x01d9,
  5673. 0x01da,
  5674. },
  5675. {
  5676. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  5677. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5678. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  5679. 0x01d8,
  5680. 0x01d9,
  5681. },
  5682. {
  5683. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  5684. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5685. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  5686. 0x01d7,
  5687. 0x01d8,
  5688. },
  5689. {
  5690. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  5691. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5692. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  5693. 0x01d7,
  5694. 0x01d7,
  5695. },
  5696. {
  5697. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  5698. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x00,
  5699. 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  5700. 0x01d6,
  5701. 0x01d7,
  5702. },
  5703. {
  5704. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  5705. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x00,
  5706. 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  5707. 0x01d5,
  5708. 0x01d6,
  5709. },
  5710. {
  5711. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  5712. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x00,
  5713. 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  5714. 0x01d4,
  5715. 0x01d5,
  5716. },
  5717. {
  5718. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  5719. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5720. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  5721. 0x01d3,
  5722. 0x01d4,
  5723. },
  5724. {
  5725. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  5726. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5727. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  5728. 0x01d2,
  5729. 0x01d3,
  5730. },
  5731. {
  5732. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  5733. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5734. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  5735. 0x01d2,
  5736. 0x01d2,
  5737. },
  5738. {
  5739. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  5740. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5741. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  5742. 0x01d1,
  5743. 0x01d2,
  5744. },
  5745. {
  5746. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  5747. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5748. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  5749. 0x01d0,
  5750. 0x01d1,
  5751. },
  5752. {
  5753. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  5754. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5755. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  5756. 0x01cf,
  5757. 0x01d0,
  5758. },
  5759. {
  5760. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  5761. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x00,
  5762. 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  5763. 0x01ce,
  5764. 0x01cf,
  5765. },
  5766. {
  5767. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  5768. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5769. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  5770. 0x01ce,
  5771. 0x01ce,
  5772. },
  5773. {
  5774. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  5775. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5776. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  5777. 0x01cd,
  5778. 0x01ce,
  5779. },
  5780. {
  5781. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  5782. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5783. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  5784. 0x01cc,
  5785. 0x01cd,
  5786. },
  5787. {
  5788. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  5789. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5790. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  5791. 0x01cb,
  5792. 0x01cc,
  5793. },
  5794. {
  5795. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  5796. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5797. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  5798. 0x01ca,
  5799. 0x01cb,
  5800. },
  5801. {
  5802. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  5803. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x00,
  5804. 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  5805. 0x01ca,
  5806. 0x01cb,
  5807. },
  5808. {
  5809. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  5810. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5811. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  5812. 0x01c9,
  5813. 0x01ca,
  5814. },
  5815. {
  5816. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  5817. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5818. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  5819. 0x01c9,
  5820. 0x01ca,
  5821. },
  5822. {
  5823. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  5824. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5825. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  5826. 0x01c9,
  5827. 0x01c9,
  5828. },
  5829. {
  5830. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  5831. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5832. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  5833. 0x01c8,
  5834. 0x01c9,
  5835. },
  5836. {
  5837. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  5838. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5839. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  5840. 0x01c8,
  5841. 0x01c9,
  5842. },
  5843. {
  5844. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  5845. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5846. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  5847. 0x01c8,
  5848. 0x01c8,
  5849. },
  5850. {
  5851. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  5852. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5853. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  5854. 0x01c7,
  5855. 0x01c8,
  5856. },
  5857. {
  5858. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  5859. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5860. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  5861. 0x01c7,
  5862. 0x01c8,
  5863. },
  5864. {
  5865. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  5866. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5867. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  5868. 0x01c6,
  5869. 0x01c7,
  5870. },
  5871. {
  5872. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  5873. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5874. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  5875. 0x01c6,
  5876. 0x01c7,
  5877. },
  5878. {
  5879. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  5880. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x00,
  5881. 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  5882. 0x01c6,
  5883. 0x01c6,
  5884. },
  5885. {
  5886. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  5887. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5888. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  5889. 0x01c5,
  5890. 0x01c6,
  5891. },
  5892. {
  5893. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  5894. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5895. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  5896. 0x01c5,
  5897. 0x01c6,
  5898. },
  5899. {
  5900. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  5901. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5902. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  5903. 0x01c4,
  5904. 0x01c5,
  5905. },
  5906. {
  5907. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  5908. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5909. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  5910. 0x01c4,
  5911. 0x01c5,
  5912. },
  5913. {
  5914. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  5915. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5916. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  5917. 0x01c4,
  5918. 0x01c4,
  5919. },
  5920. {
  5921. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  5922. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5923. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  5924. 0x01c3,
  5925. 0x01c4,
  5926. },
  5927. {
  5928. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  5929. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5930. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  5931. 0x01c3,
  5932. 0x01c4,
  5933. },
  5934. {
  5935. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  5936. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5937. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  5938. 0x01c2,
  5939. 0x01c3,
  5940. },
  5941. {
  5942. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  5943. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5944. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  5945. 0x01c2,
  5946. 0x01c3,
  5947. },
  5948. {
  5949. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  5950. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5951. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  5952. 0x01c2,
  5953. 0x01c2,
  5954. },
  5955. {
  5956. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  5957. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5958. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  5959. 0x01c1,
  5960. 0x01c2,
  5961. },
  5962. {
  5963. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  5964. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5965. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  5966. 0x01c0,
  5967. 0x01c1,
  5968. },
  5969. {
  5970. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  5971. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5972. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  5973. 0x01bf,
  5974. 0x01c0,
  5975. },
  5976. {
  5977. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  5978. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5979. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  5980. 0x01bf,
  5981. 0x01bf,
  5982. },
  5983. {
  5984. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  5985. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5986. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  5987. 0x01be,
  5988. 0x01bf,
  5989. },
  5990. {
  5991. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  5992. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5993. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  5994. 0x01bd,
  5995. 0x01be,
  5996. },
  5997. {
  5998. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  5999. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  6000. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6001. 0x01bc,
  6002. 0x01bd,
  6003. },
  6004. {
  6005. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6006. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6007. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6008. 0x043f,
  6009. 0x0443,
  6010. },
  6011. {
  6012. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6013. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6014. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6015. 0x043d,
  6016. 0x0441,
  6017. },
  6018. {
  6019. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6020. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6021. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6022. 0x043a,
  6023. 0x043f,
  6024. },
  6025. {
  6026. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6027. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6028. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6029. 0x0438,
  6030. 0x043d,
  6031. },
  6032. {
  6033. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6034. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6035. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6036. 0x0436,
  6037. 0x043a,
  6038. },
  6039. {
  6040. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6041. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6042. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6043. 0x0434,
  6044. 0x0438,
  6045. },
  6046. {
  6047. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6048. 0x07, 0x00, 0x07, 0x00, 0x51, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6049. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6050. 0x0431,
  6051. 0x0436,
  6052. },
  6053. {
  6054. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6055. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6056. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6057. 0x042f,
  6058. 0x0434,
  6059. },
  6060. {
  6061. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6062. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6063. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6064. 0x042d,
  6065. 0x0431,
  6066. },
  6067. {
  6068. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6069. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6070. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6071. 0x042b,
  6072. 0x042f,
  6073. },
  6074. {
  6075. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6076. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6077. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6078. 0x0429,
  6079. 0x042d,
  6080. },
  6081. {
  6082. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6083. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6084. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6085. 0x0427,
  6086. 0x042b,
  6087. },
  6088. {
  6089. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6090. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6091. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6092. 0x0424,
  6093. 0x0429,
  6094. },
  6095. {
  6096. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6097. 0x04, 0x00, 0x04, 0x00, 0x11, 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x11,
  6098. 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6099. 0x041f,
  6100. 0x0424}
  6101. };
  6102. static const struct chan_info_nphy_radio2057_rev5
  6103. chan_info_nphyrev8_2057_rev5[] = {
  6104. {
  6105. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6106. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6107. 0x043a, 0x043f, 0x0443},
  6108. {
  6109. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6110. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6111. 0x0438, 0x043d, 0x0441},
  6112. {
  6113. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6114. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6115. 0x0436, 0x043a, 0x043f},
  6116. {
  6117. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6118. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6119. 0x0434, 0x0438, 0x043d},
  6120. {
  6121. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6122. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6123. 0x0431, 0x0436, 0x043a},
  6124. {
  6125. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6126. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6127. 0x042f, 0x0434, 0x0438},
  6128. {
  6129. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6130. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6131. 0x042d, 0x0431, 0x0436},
  6132. {
  6133. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6134. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6135. 0x042b, 0x042f, 0x0434},
  6136. {
  6137. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6138. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6139. 0x0429, 0x042d, 0x0431},
  6140. {
  6141. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6142. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6143. 0x0427, 0x042b, 0x042f},
  6144. {
  6145. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6146. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6147. 0x0424, 0x0429, 0x042d},
  6148. {
  6149. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6150. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6151. 0x0422, 0x0427, 0x042b},
  6152. {
  6153. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6154. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6155. 0x0420, 0x0424, 0x0429},
  6156. {
  6157. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6158. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6159. 0x041b, 0x041f, 0x0424}
  6160. };
  6161. static const struct chan_info_nphy_radio2057_rev5
  6162. chan_info_nphyrev9_2057_rev5v1[] = {
  6163. {
  6164. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6165. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6166. 0x043a, 0x043f, 0x0443},
  6167. {
  6168. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6169. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6170. 0x0438, 0x043d, 0x0441},
  6171. {
  6172. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6173. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6174. 0x0436, 0x043a, 0x043f},
  6175. {
  6176. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6177. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6178. 0x0434, 0x0438, 0x043d},
  6179. {
  6180. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6181. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6182. 0x0431, 0x0436, 0x043a},
  6183. {
  6184. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6185. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6186. 0x042f, 0x0434, 0x0438},
  6187. {
  6188. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6189. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6190. 0x042d, 0x0431, 0x0436},
  6191. {
  6192. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6193. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6194. 0x042b, 0x042f, 0x0434},
  6195. {
  6196. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6197. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6198. 0x0429, 0x042d, 0x0431},
  6199. {
  6200. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6201. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6202. 0x0427, 0x042b, 0x042f},
  6203. {
  6204. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6205. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6206. 0x0424, 0x0429, 0x042d},
  6207. {
  6208. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6209. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6210. 0x0422, 0x0427, 0x042b},
  6211. {
  6212. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6213. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6214. 0x0420, 0x0424, 0x0429},
  6215. {
  6216. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6217. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6218. 0x041b, 0x041f, 0x0424}
  6219. };
  6220. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev7[] = {
  6221. {
  6222. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  6223. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6224. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  6225. 0x0215,
  6226. 0x0216},
  6227. {
  6228. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6229. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6230. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6231. 0x0214,
  6232. 0x0215},
  6233. {
  6234. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6235. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6236. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6237. 0x0213,
  6238. 0x0214},
  6239. {
  6240. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6241. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6242. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6243. 0x0212,
  6244. 0x0213},
  6245. {
  6246. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6247. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6248. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6249. 0x0211,
  6250. 0x0212},
  6251. {
  6252. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6253. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6254. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6255. 0x020f,
  6256. 0x0211},
  6257. {
  6258. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6259. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6260. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6261. 0x020e,
  6262. 0x020f},
  6263. {
  6264. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6265. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6266. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  6267. 0x020d,
  6268. 0x020e},
  6269. {
  6270. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  6271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6272. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  6273. 0x020c,
  6274. 0x020d},
  6275. {
  6276. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  6277. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6278. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  6279. 0x020b,
  6280. 0x020c},
  6281. {
  6282. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  6283. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6284. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  6285. 0x020a,
  6286. 0x020b},
  6287. {
  6288. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  6289. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6290. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  6291. 0x0209,
  6292. 0x020a},
  6293. {
  6294. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  6295. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6296. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  6297. 0x0208,
  6298. 0x0209},
  6299. {
  6300. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  6301. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6302. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  6303. 0x0207,
  6304. 0x0208},
  6305. {
  6306. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  6307. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6308. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  6309. 0x0206,
  6310. 0x0207},
  6311. {
  6312. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  6313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6314. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  6315. 0x0205,
  6316. 0x0206},
  6317. {
  6318. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  6319. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6320. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  6321. 0x0204,
  6322. 0x0205},
  6323. {
  6324. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  6325. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6326. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  6327. 0x0203,
  6328. 0x0204},
  6329. {
  6330. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  6331. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6332. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  6333. 0x0202,
  6334. 0x0203},
  6335. {
  6336. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  6337. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6338. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  6339. 0x0201,
  6340. 0x0202},
  6341. {
  6342. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  6343. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6344. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  6345. 0x0200,
  6346. 0x0201},
  6347. {
  6348. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  6349. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6350. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  6351. 0x01ff,
  6352. 0x0200},
  6353. {
  6354. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  6355. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6356. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  6357. 0x01fe,
  6358. 0x01ff},
  6359. {
  6360. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  6361. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6362. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  6363. 0x01fc,
  6364. 0x01fd},
  6365. {
  6366. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  6367. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6368. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  6369. 0x01fb,
  6370. 0x01fc},
  6371. {
  6372. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  6373. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6374. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  6375. 0x01fa,
  6376. 0x01fb},
  6377. {
  6378. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  6379. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6380. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  6381. 0x01f9,
  6382. 0x01fa},
  6383. {
  6384. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  6385. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6386. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  6387. 0x01f8,
  6388. 0x01f9},
  6389. {
  6390. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  6391. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6392. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  6393. 0x01f7,
  6394. 0x01f8},
  6395. {
  6396. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  6397. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6398. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  6399. 0x01f6,
  6400. 0x01f7},
  6401. {
  6402. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  6403. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6404. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  6405. 0x01f5,
  6406. 0x01f6},
  6407. {
  6408. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  6409. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6410. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  6411. 0x01f4,
  6412. 0x01f5},
  6413. {
  6414. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  6415. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6416. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  6417. 0x01f3,
  6418. 0x01f4},
  6419. {
  6420. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  6421. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6422. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  6423. 0x01f2,
  6424. 0x01f3},
  6425. {
  6426. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  6427. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6428. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  6429. 0x01f1,
  6430. 0x01f2},
  6431. {
  6432. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  6433. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6434. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  6435. 0x01f0,
  6436. 0x01f1},
  6437. {
  6438. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  6439. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6440. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  6441. 0x01f0,
  6442. 0x01f0},
  6443. {
  6444. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  6445. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6446. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  6447. 0x01ef,
  6448. 0x01f0},
  6449. {
  6450. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  6451. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6452. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  6453. 0x01ee,
  6454. 0x01ef},
  6455. {
  6456. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  6457. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6458. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  6459. 0x01ed,
  6460. 0x01ee},
  6461. {
  6462. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  6463. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6464. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  6465. 0x01ec,
  6466. 0x01ed},
  6467. {
  6468. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  6469. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6470. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  6471. 0x01eb,
  6472. 0x01ec},
  6473. {
  6474. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  6475. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6476. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  6477. 0x01ea,
  6478. 0x01eb},
  6479. {
  6480. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  6481. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6482. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  6483. 0x01e9,
  6484. 0x01ea},
  6485. {
  6486. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  6487. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6488. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  6489. 0x01e8,
  6490. 0x01e9},
  6491. {
  6492. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  6493. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6494. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  6495. 0x01e7,
  6496. 0x01e8},
  6497. {
  6498. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  6499. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6500. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  6501. 0x01e6,
  6502. 0x01e7},
  6503. {
  6504. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  6505. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6506. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  6507. 0x01e5,
  6508. 0x01e6},
  6509. {
  6510. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  6511. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6512. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  6513. 0x01e5,
  6514. 0x01e5},
  6515. {
  6516. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  6517. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6518. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  6519. 0x01e4,
  6520. 0x01e5},
  6521. {
  6522. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  6523. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6524. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  6525. 0x01e3,
  6526. 0x01e4},
  6527. {
  6528. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  6529. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6530. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  6531. 0x01e2,
  6532. 0x01e3},
  6533. {
  6534. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  6535. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6536. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  6537. 0x01e1,
  6538. 0x01e2},
  6539. {
  6540. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  6541. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6542. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  6543. 0x01e0,
  6544. 0x01e1},
  6545. {
  6546. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  6547. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6548. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  6549. 0x01df,
  6550. 0x01e0},
  6551. {
  6552. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  6553. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6554. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  6555. 0x01de,
  6556. 0x01df},
  6557. {
  6558. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  6559. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6560. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  6561. 0x01dd,
  6562. 0x01de},
  6563. {
  6564. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  6565. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6566. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  6567. 0x01dd,
  6568. 0x01dd},
  6569. {
  6570. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  6571. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6572. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  6573. 0x01dc,
  6574. 0x01dd},
  6575. {
  6576. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  6577. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6578. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  6579. 0x01db,
  6580. 0x01dc},
  6581. {
  6582. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  6583. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6584. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  6585. 0x01da,
  6586. 0x01db},
  6587. {
  6588. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  6589. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6590. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  6591. 0x01d9,
  6592. 0x01da},
  6593. {
  6594. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  6595. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6596. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  6597. 0x01d8,
  6598. 0x01d9},
  6599. {
  6600. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  6601. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6602. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  6603. 0x01d7,
  6604. 0x01d8},
  6605. {
  6606. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  6607. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6608. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  6609. 0x01d7,
  6610. 0x01d7},
  6611. {
  6612. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  6613. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6614. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  6615. 0x01d6,
  6616. 0x01d7},
  6617. {
  6618. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  6619. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6620. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  6621. 0x01d5,
  6622. 0x01d6},
  6623. {
  6624. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  6625. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6626. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  6627. 0x01d4,
  6628. 0x01d5},
  6629. {
  6630. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  6631. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6632. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  6633. 0x01d3,
  6634. 0x01d4},
  6635. {
  6636. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  6637. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6638. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  6639. 0x01d2,
  6640. 0x01d3},
  6641. {
  6642. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  6643. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6644. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  6645. 0x01d2,
  6646. 0x01d2},
  6647. {
  6648. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  6649. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6650. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  6651. 0x01d1,
  6652. 0x01d2},
  6653. {
  6654. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  6655. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6656. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  6657. 0x01d0,
  6658. 0x01d1},
  6659. {
  6660. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  6661. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6662. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  6663. 0x01cf,
  6664. 0x01d0},
  6665. {
  6666. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  6667. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6668. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  6669. 0x01ce,
  6670. 0x01cf},
  6671. {
  6672. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  6673. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6674. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  6675. 0x01ce,
  6676. 0x01ce},
  6677. {
  6678. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  6679. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6680. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  6681. 0x01cd,
  6682. 0x01ce},
  6683. {
  6684. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  6685. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6686. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  6687. 0x01cc,
  6688. 0x01cd},
  6689. {
  6690. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  6691. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6692. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  6693. 0x01cb,
  6694. 0x01cc},
  6695. {
  6696. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  6697. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6698. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  6699. 0x01ca,
  6700. 0x01cb},
  6701. {
  6702. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  6703. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6704. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  6705. 0x01ca,
  6706. 0x01cb},
  6707. {
  6708. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  6709. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6710. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  6711. 0x01c9,
  6712. 0x01ca},
  6713. {
  6714. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  6715. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6716. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  6717. 0x01c9,
  6718. 0x01ca},
  6719. {
  6720. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  6721. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6722. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  6723. 0x01c9,
  6724. 0x01c9},
  6725. {
  6726. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  6727. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6728. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  6729. 0x01c8,
  6730. 0x01c9},
  6731. {
  6732. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  6733. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6734. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  6735. 0x01c8,
  6736. 0x01c9},
  6737. {
  6738. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  6739. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6740. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  6741. 0x01c8,
  6742. 0x01c8},
  6743. {
  6744. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  6745. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6746. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  6747. 0x01c7,
  6748. 0x01c8},
  6749. {
  6750. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  6751. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6752. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  6753. 0x01c7,
  6754. 0x01c8},
  6755. {
  6756. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  6757. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6758. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  6759. 0x01c6,
  6760. 0x01c7},
  6761. {
  6762. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  6763. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6764. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  6765. 0x01c6,
  6766. 0x01c7},
  6767. {
  6768. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  6769. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6770. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  6771. 0x01c6,
  6772. 0x01c6},
  6773. {
  6774. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  6775. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6776. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  6777. 0x01c5,
  6778. 0x01c6},
  6779. {
  6780. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  6781. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6782. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  6783. 0x01c5,
  6784. 0x01c6},
  6785. {
  6786. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  6787. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6788. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  6789. 0x01c4,
  6790. 0x01c5},
  6791. {
  6792. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  6793. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  6794. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  6795. 0x01c4,
  6796. 0x01c5},
  6797. {
  6798. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  6799. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6800. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  6801. 0x01c4,
  6802. 0x01c4},
  6803. {
  6804. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  6805. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6806. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  6807. 0x01c3,
  6808. 0x01c4},
  6809. {
  6810. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  6811. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6812. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  6813. 0x01c3,
  6814. 0x01c4},
  6815. {
  6816. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  6817. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6818. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  6819. 0x01c2,
  6820. 0x01c3},
  6821. {
  6822. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  6823. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6824. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  6825. 0x01c2,
  6826. 0x01c3},
  6827. {
  6828. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  6829. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6830. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  6831. 0x01c2,
  6832. 0x01c2},
  6833. {
  6834. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  6835. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6836. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  6837. 0x01c1,
  6838. 0x01c2},
  6839. {
  6840. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  6841. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6842. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  6843. 0x01c0,
  6844. 0x01c1},
  6845. {
  6846. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  6847. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6848. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  6849. 0x01bf,
  6850. 0x01c0},
  6851. {
  6852. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  6853. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6854. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  6855. 0x01bf,
  6856. 0x01bf},
  6857. {
  6858. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  6859. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6860. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  6861. 0x01be,
  6862. 0x01bf},
  6863. {
  6864. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  6865. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6866. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  6867. 0x01bd,
  6868. 0x01be},
  6869. {
  6870. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  6871. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6872. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6873. 0x01bc,
  6874. 0x01bd},
  6875. {
  6876. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6877. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6878. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6879. 0x043f,
  6880. 0x0443},
  6881. {
  6882. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6883. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6884. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6885. 0x043d,
  6886. 0x0441},
  6887. {
  6888. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6889. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6890. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6891. 0x043a,
  6892. 0x043f},
  6893. {
  6894. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6895. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6896. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6897. 0x0438,
  6898. 0x043d},
  6899. {
  6900. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6901. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6902. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6903. 0x0436,
  6904. 0x043a},
  6905. {
  6906. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6907. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6908. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6909. 0x0434,
  6910. 0x0438},
  6911. {
  6912. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6913. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6914. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6915. 0x0431,
  6916. 0x0436},
  6917. {
  6918. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6919. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6920. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6921. 0x042f,
  6922. 0x0434},
  6923. {
  6924. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6925. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6926. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6927. 0x042d,
  6928. 0x0431},
  6929. {
  6930. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6931. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6932. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6933. 0x042b,
  6934. 0x042f},
  6935. {
  6936. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6937. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6938. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6939. 0x0429,
  6940. 0x042d},
  6941. {
  6942. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6943. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6944. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6945. 0x0427,
  6946. 0x042b},
  6947. {
  6948. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6949. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6950. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6951. 0x0424,
  6952. 0x0429},
  6953. {
  6954. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6955. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  6956. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6957. 0x041f,
  6958. 0x0424}
  6959. };
  6960. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev8[] = {
  6961. {
  6962. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6963. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6964. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6965. 0x0214,
  6966. 0x0215},
  6967. {
  6968. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6969. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6970. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6971. 0x0213,
  6972. 0x0214},
  6973. {
  6974. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6975. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6976. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6977. 0x0212,
  6978. 0x0213},
  6979. {
  6980. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6981. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6982. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6983. 0x0211,
  6984. 0x0212},
  6985. {
  6986. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6987. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6988. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6989. 0x020f,
  6990. 0x0211},
  6991. {
  6992. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6993. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6994. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6995. 0x020e,
  6996. 0x020f},
  6997. {
  6998. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6999. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  7000. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  7001. 0x020d,
  7002. 0x020e},
  7003. {
  7004. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  7005. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7006. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  7007. 0x020c,
  7008. 0x020d},
  7009. {
  7010. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  7011. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7012. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  7013. 0x020b,
  7014. 0x020c},
  7015. {
  7016. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  7017. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7018. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  7019. 0x020a,
  7020. 0x020b},
  7021. {
  7022. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  7023. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7024. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  7025. 0x0209,
  7026. 0x020a},
  7027. {
  7028. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  7029. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7030. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  7031. 0x0208,
  7032. 0x0209},
  7033. {
  7034. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  7035. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7036. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  7037. 0x0207,
  7038. 0x0208},
  7039. {
  7040. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  7041. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7042. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  7043. 0x0206,
  7044. 0x0207},
  7045. {
  7046. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  7047. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7048. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  7049. 0x0205,
  7050. 0x0206},
  7051. {
  7052. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  7053. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7054. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  7055. 0x0204,
  7056. 0x0205},
  7057. {
  7058. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  7059. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7060. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  7061. 0x0203,
  7062. 0x0204},
  7063. {
  7064. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  7065. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7066. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  7067. 0x0202,
  7068. 0x0203},
  7069. {
  7070. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  7071. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7072. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  7073. 0x0201,
  7074. 0x0202},
  7075. {
  7076. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  7077. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7078. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  7079. 0x0200,
  7080. 0x0201},
  7081. {
  7082. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  7083. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7084. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  7085. 0x01ff,
  7086. 0x0200},
  7087. {
  7088. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  7089. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7090. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  7091. 0x01fe,
  7092. 0x01ff},
  7093. {
  7094. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  7095. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7096. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  7097. 0x01fc,
  7098. 0x01fd},
  7099. {
  7100. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  7101. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7102. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  7103. 0x01fb,
  7104. 0x01fc},
  7105. {
  7106. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  7107. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7108. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  7109. 0x01fa,
  7110. 0x01fb},
  7111. {
  7112. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  7113. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7114. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  7115. 0x01f9,
  7116. 0x01fa},
  7117. {
  7118. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  7119. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7120. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  7121. 0x01f8,
  7122. 0x01f9},
  7123. {
  7124. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  7125. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7126. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  7127. 0x01f7,
  7128. 0x01f8},
  7129. {
  7130. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  7131. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7132. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  7133. 0x01f6,
  7134. 0x01f7},
  7135. {
  7136. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  7137. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7138. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  7139. 0x01f5,
  7140. 0x01f6},
  7141. {
  7142. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  7143. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7144. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  7145. 0x01f4,
  7146. 0x01f5},
  7147. {
  7148. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  7149. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7150. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  7151. 0x01f3,
  7152. 0x01f4},
  7153. {
  7154. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  7155. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7156. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  7157. 0x01f2,
  7158. 0x01f3},
  7159. {
  7160. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  7161. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7162. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  7163. 0x01f1,
  7164. 0x01f2},
  7165. {
  7166. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  7167. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7168. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  7169. 0x01f0,
  7170. 0x01f1},
  7171. {
  7172. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  7173. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7174. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  7175. 0x01f0,
  7176. 0x01f0},
  7177. {
  7178. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  7179. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7180. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  7181. 0x01ef,
  7182. 0x01f0},
  7183. {
  7184. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  7185. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7186. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  7187. 0x01ee,
  7188. 0x01ef},
  7189. {
  7190. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  7191. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7192. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  7193. 0x01ed,
  7194. 0x01ee},
  7195. {
  7196. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  7197. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7198. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  7199. 0x01ec,
  7200. 0x01ed},
  7201. {
  7202. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  7203. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7204. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  7205. 0x01eb,
  7206. 0x01ec},
  7207. {
  7208. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  7209. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7210. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  7211. 0x01ea,
  7212. 0x01eb},
  7213. {
  7214. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  7215. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7216. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  7217. 0x01e9,
  7218. 0x01ea},
  7219. {
  7220. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  7221. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7222. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  7223. 0x01e8,
  7224. 0x01e9},
  7225. {
  7226. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  7227. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7228. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  7229. 0x01e7,
  7230. 0x01e8},
  7231. {
  7232. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  7233. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7234. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  7235. 0x01e6,
  7236. 0x01e7},
  7237. {
  7238. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  7239. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7240. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  7241. 0x01e5,
  7242. 0x01e6},
  7243. {
  7244. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  7245. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7246. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  7247. 0x01e5,
  7248. 0x01e5},
  7249. {
  7250. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  7251. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7252. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  7253. 0x01e4,
  7254. 0x01e5},
  7255. {
  7256. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  7257. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7258. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  7259. 0x01e3,
  7260. 0x01e4},
  7261. {
  7262. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  7263. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7264. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  7265. 0x01e2,
  7266. 0x01e3},
  7267. {
  7268. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  7269. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7270. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  7271. 0x01e1,
  7272. 0x01e2},
  7273. {
  7274. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  7275. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7276. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  7277. 0x01e0,
  7278. 0x01e1},
  7279. {
  7280. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  7281. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7282. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  7283. 0x01df,
  7284. 0x01e0},
  7285. {
  7286. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  7287. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7288. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  7289. 0x01de,
  7290. 0x01df},
  7291. {
  7292. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  7293. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7294. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  7295. 0x01dd,
  7296. 0x01de},
  7297. {
  7298. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  7299. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7300. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  7301. 0x01dd,
  7302. 0x01dd},
  7303. {
  7304. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  7305. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7306. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  7307. 0x01dc,
  7308. 0x01dd},
  7309. {
  7310. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  7311. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7312. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  7313. 0x01db,
  7314. 0x01dc},
  7315. {
  7316. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  7317. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7318. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  7319. 0x01da,
  7320. 0x01db},
  7321. {
  7322. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  7323. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7324. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  7325. 0x01d9,
  7326. 0x01da},
  7327. {
  7328. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  7329. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7330. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  7331. 0x01d8,
  7332. 0x01d9},
  7333. {
  7334. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  7335. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7336. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  7337. 0x01d7,
  7338. 0x01d8},
  7339. {
  7340. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  7341. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7342. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  7343. 0x01d7,
  7344. 0x01d7},
  7345. {
  7346. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  7347. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7348. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  7349. 0x01d6,
  7350. 0x01d7},
  7351. {
  7352. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  7353. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7354. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  7355. 0x01d5,
  7356. 0x01d6},
  7357. {
  7358. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  7359. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7360. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  7361. 0x01d4,
  7362. 0x01d5},
  7363. {
  7364. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  7365. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7366. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  7367. 0x01d3,
  7368. 0x01d4},
  7369. {
  7370. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  7371. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7372. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  7373. 0x01d2,
  7374. 0x01d3},
  7375. {
  7376. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  7377. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7378. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  7379. 0x01d2,
  7380. 0x01d2},
  7381. {
  7382. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  7383. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7384. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  7385. 0x01d1,
  7386. 0x01d2},
  7387. {
  7388. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  7389. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7390. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  7391. 0x01d0,
  7392. 0x01d1},
  7393. {
  7394. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  7395. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7396. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  7397. 0x01cf,
  7398. 0x01d0},
  7399. {
  7400. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  7401. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7402. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  7403. 0x01ce,
  7404. 0x01cf},
  7405. {
  7406. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  7407. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7408. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  7409. 0x01ce,
  7410. 0x01ce},
  7411. {
  7412. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  7413. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7414. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  7415. 0x01cd,
  7416. 0x01ce},
  7417. {
  7418. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  7419. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7420. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  7421. 0x01cc,
  7422. 0x01cd},
  7423. {
  7424. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  7425. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7426. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  7427. 0x01cb,
  7428. 0x01cc},
  7429. {
  7430. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  7431. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7432. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  7433. 0x01ca,
  7434. 0x01cb},
  7435. {
  7436. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  7437. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7438. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  7439. 0x01ca,
  7440. 0x01cb},
  7441. {
  7442. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  7443. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7444. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  7445. 0x01c9,
  7446. 0x01ca},
  7447. {
  7448. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  7449. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7450. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  7451. 0x01c9,
  7452. 0x01ca},
  7453. {
  7454. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  7455. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7456. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  7457. 0x01c9,
  7458. 0x01c9},
  7459. {
  7460. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  7461. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7462. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  7463. 0x01c8,
  7464. 0x01c9},
  7465. {
  7466. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  7467. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7468. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  7469. 0x01c8,
  7470. 0x01c9},
  7471. {
  7472. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  7473. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7474. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  7475. 0x01c8,
  7476. 0x01c8},
  7477. {
  7478. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  7479. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7480. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  7481. 0x01c7,
  7482. 0x01c8},
  7483. {
  7484. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  7485. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7486. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  7487. 0x01c7,
  7488. 0x01c8},
  7489. {
  7490. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  7491. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7492. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  7493. 0x01c6,
  7494. 0x01c7},
  7495. {
  7496. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  7497. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7498. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  7499. 0x01c6,
  7500. 0x01c7},
  7501. {
  7502. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  7503. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7504. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  7505. 0x01c6,
  7506. 0x01c6},
  7507. {
  7508. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  7509. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7510. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  7511. 0x01c5,
  7512. 0x01c6},
  7513. {
  7514. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  7515. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7516. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  7517. 0x01c5,
  7518. 0x01c6},
  7519. {
  7520. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  7521. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7522. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  7523. 0x01c4,
  7524. 0x01c5},
  7525. {
  7526. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  7527. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  7528. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  7529. 0x01c4,
  7530. 0x01c5},
  7531. {
  7532. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  7533. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7534. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  7535. 0x01c4,
  7536. 0x01c4},
  7537. {
  7538. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  7539. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7540. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  7541. 0x01c3,
  7542. 0x01c4},
  7543. {
  7544. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  7545. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7546. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  7547. 0x01c3,
  7548. 0x01c4},
  7549. {
  7550. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  7551. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7552. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  7553. 0x01c2,
  7554. 0x01c3},
  7555. {
  7556. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  7557. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7558. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  7559. 0x01c2,
  7560. 0x01c3},
  7561. {
  7562. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  7563. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7564. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  7565. 0x01c2,
  7566. 0x01c2},
  7567. {
  7568. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  7569. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7570. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  7571. 0x01c1,
  7572. 0x01c2},
  7573. {
  7574. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  7575. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7576. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  7577. 0x01c0,
  7578. 0x01c1},
  7579. {
  7580. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  7581. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7582. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  7583. 0x01bf,
  7584. 0x01c0},
  7585. {
  7586. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  7587. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7588. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  7589. 0x01bf,
  7590. 0x01bf},
  7591. {
  7592. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  7593. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7594. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  7595. 0x01be,
  7596. 0x01bf},
  7597. {
  7598. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  7599. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7600. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  7601. 0x01bd,
  7602. 0x01be},
  7603. {
  7604. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  7605. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7606. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  7607. 0x01bc,
  7608. 0x01bd},
  7609. {
  7610. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  7611. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7612. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  7613. 0x043f,
  7614. 0x0443},
  7615. {
  7616. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  7617. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7618. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  7619. 0x043d,
  7620. 0x0441},
  7621. {
  7622. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  7623. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7624. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  7625. 0x043a,
  7626. 0x043f},
  7627. {
  7628. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  7629. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7630. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  7631. 0x0438,
  7632. 0x043d},
  7633. {
  7634. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  7635. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7636. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  7637. 0x0436,
  7638. 0x043a},
  7639. {
  7640. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  7641. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7642. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  7643. 0x0434,
  7644. 0x0438},
  7645. {
  7646. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  7647. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7648. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  7649. 0x0431,
  7650. 0x0436},
  7651. {
  7652. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  7653. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7654. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  7655. 0x042f,
  7656. 0x0434},
  7657. {
  7658. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  7659. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7660. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  7661. 0x042d,
  7662. 0x0431},
  7663. {
  7664. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  7665. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7666. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  7667. 0x042b,
  7668. 0x042f},
  7669. {
  7670. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  7671. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7672. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  7673. 0x0429,
  7674. 0x042d},
  7675. {
  7676. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  7677. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7678. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  7679. 0x0427,
  7680. 0x042b},
  7681. {
  7682. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  7683. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7684. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  7685. 0x0424,
  7686. 0x0429},
  7687. {
  7688. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  7689. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  7690. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  7691. 0x041f,
  7692. 0x0424}
  7693. };
  7694. static struct radio_regs regs_2055[] = {
  7695. {0x02, 0x80, 0x80, 0, 0},
  7696. {0x03, 0, 0, 0, 0},
  7697. {0x04, 0x27, 0x27, 0, 0},
  7698. {0x05, 0, 0, 0, 0},
  7699. {0x06, 0x27, 0x27, 0, 0},
  7700. {0x07, 0x7f, 0x7f, 1, 1},
  7701. {0x08, 0x7, 0x7, 1, 1},
  7702. {0x09, 0x7f, 0x7f, 1, 1},
  7703. {0x0A, 0x7, 0x7, 1, 1},
  7704. {0x0B, 0x15, 0x15, 0, 0},
  7705. {0x0C, 0x15, 0x15, 0, 0},
  7706. {0x0D, 0x4f, 0x4f, 1, 1},
  7707. {0x0E, 0x5, 0x5, 1, 1},
  7708. {0x0F, 0x4f, 0x4f, 1, 1},
  7709. {0x10, 0x5, 0x5, 1, 1},
  7710. {0x11, 0xd0, 0xd0, 0, 0},
  7711. {0x12, 0x2, 0x2, 0, 0},
  7712. {0x13, 0, 0, 0, 0},
  7713. {0x14, 0x40, 0x40, 0, 0},
  7714. {0x15, 0, 0, 0, 0},
  7715. {0x16, 0, 0, 0, 0},
  7716. {0x17, 0, 0, 0, 0},
  7717. {0x18, 0, 0, 0, 0},
  7718. {0x19, 0, 0, 0, 0},
  7719. {0x1A, 0, 0, 0, 0},
  7720. {0x1B, 0, 0, 0, 0},
  7721. {0x1C, 0, 0, 0, 0},
  7722. {0x1D, 0xc0, 0xc0, 0, 0},
  7723. {0x1E, 0xff, 0xff, 0, 0},
  7724. {0x1F, 0xc0, 0xc0, 0, 0},
  7725. {0x20, 0xff, 0xff, 0, 0},
  7726. {0x21, 0xc0, 0xc0, 0, 0},
  7727. {0x22, 0, 0, 0, 0},
  7728. {0x23, 0x2c, 0x2c, 0, 0},
  7729. {0x24, 0, 0, 0, 0},
  7730. {0x25, 0, 0, 0, 0},
  7731. {0x26, 0, 0, 0, 0},
  7732. {0x27, 0, 0, 0, 0},
  7733. {0x28, 0, 0, 0, 0},
  7734. {0x29, 0, 0, 0, 0},
  7735. {0x2A, 0, 0, 0, 0},
  7736. {0x2B, 0, 0, 0, 0},
  7737. {0x2C, 0, 0, 0, 0},
  7738. {0x2D, 0xa4, 0xa4, 0, 0},
  7739. {0x2E, 0x38, 0x38, 0, 0},
  7740. {0x2F, 0, 0, 0, 0},
  7741. {0x30, 0x4, 0x4, 1, 1},
  7742. {0x31, 0, 0, 0, 0},
  7743. {0x32, 0xa, 0xa, 0, 0},
  7744. {0x33, 0x87, 0x87, 0, 0},
  7745. {0x34, 0x9, 0x9, 0, 0},
  7746. {0x35, 0x70, 0x70, 0, 0},
  7747. {0x36, 0x11, 0x11, 0, 0},
  7748. {0x37, 0x18, 0x18, 1, 1},
  7749. {0x38, 0x6, 0x6, 0, 0},
  7750. {0x39, 0x4, 0x4, 1, 1},
  7751. {0x3A, 0x6, 0x6, 0, 0},
  7752. {0x3B, 0x9e, 0x9e, 0, 0},
  7753. {0x3C, 0x9, 0x9, 0, 0},
  7754. {0x3D, 0xc8, 0xc8, 1, 1},
  7755. {0x3E, 0x88, 0x88, 0, 0},
  7756. {0x3F, 0, 0, 0, 0},
  7757. {0x40, 0, 0, 0, 0},
  7758. {0x41, 0, 0, 0, 0},
  7759. {0x42, 0x1, 0x1, 0, 0},
  7760. {0x43, 0x2, 0x2, 0, 0},
  7761. {0x44, 0x96, 0x96, 0, 0},
  7762. {0x45, 0x3e, 0x3e, 0, 0},
  7763. {0x46, 0x3e, 0x3e, 0, 0},
  7764. {0x47, 0x13, 0x13, 0, 0},
  7765. {0x48, 0x2, 0x2, 0, 0},
  7766. {0x49, 0x15, 0x15, 0, 0},
  7767. {0x4A, 0x7, 0x7, 0, 0},
  7768. {0x4B, 0, 0, 0, 0},
  7769. {0x4C, 0, 0, 0, 0},
  7770. {0x4D, 0, 0, 0, 0},
  7771. {0x4E, 0, 0, 0, 0},
  7772. {0x4F, 0, 0, 0, 0},
  7773. {0x50, 0x8, 0x8, 0, 0},
  7774. {0x51, 0x8, 0x8, 0, 0},
  7775. {0x52, 0x6, 0x6, 0, 0},
  7776. {0x53, 0x84, 0x84, 1, 1},
  7777. {0x54, 0xc3, 0xc3, 0, 0},
  7778. {0x55, 0x8f, 0x8f, 0, 0},
  7779. {0x56, 0xff, 0xff, 0, 0},
  7780. {0x57, 0xff, 0xff, 0, 0},
  7781. {0x58, 0x88, 0x88, 0, 0},
  7782. {0x59, 0x88, 0x88, 0, 0},
  7783. {0x5A, 0, 0, 0, 0},
  7784. {0x5B, 0xcc, 0xcc, 0, 0},
  7785. {0x5C, 0x6, 0x6, 0, 0},
  7786. {0x5D, 0x80, 0x80, 0, 0},
  7787. {0x5E, 0x80, 0x80, 0, 0},
  7788. {0x5F, 0xf8, 0xf8, 0, 0},
  7789. {0x60, 0x88, 0x88, 0, 0},
  7790. {0x61, 0x88, 0x88, 0, 0},
  7791. {0x62, 0x88, 0x8, 1, 1},
  7792. {0x63, 0x88, 0x88, 0, 0},
  7793. {0x64, 0, 0, 0, 0},
  7794. {0x65, 0x1, 0x1, 1, 1},
  7795. {0x66, 0x8a, 0x8a, 0, 0},
  7796. {0x67, 0x8, 0x8, 0, 0},
  7797. {0x68, 0x83, 0x83, 0, 0},
  7798. {0x69, 0x6, 0x6, 0, 0},
  7799. {0x6A, 0xa0, 0xa0, 0, 0},
  7800. {0x6B, 0xa, 0xa, 0, 0},
  7801. {0x6C, 0x87, 0x87, 1, 1},
  7802. {0x6D, 0x2a, 0x2a, 0, 0},
  7803. {0x6E, 0x2a, 0x2a, 0, 0},
  7804. {0x6F, 0x2a, 0x2a, 0, 0},
  7805. {0x70, 0x2a, 0x2a, 0, 0},
  7806. {0x71, 0x18, 0x18, 0, 0},
  7807. {0x72, 0x6a, 0x6a, 1, 1},
  7808. {0x73, 0xab, 0xab, 1, 1},
  7809. {0x74, 0x13, 0x13, 1, 1},
  7810. {0x75, 0xc1, 0xc1, 1, 1},
  7811. {0x76, 0xaa, 0xaa, 1, 1},
  7812. {0x77, 0x87, 0x87, 1, 1},
  7813. {0x78, 0, 0, 0, 0},
  7814. {0x79, 0x6, 0x6, 0, 0},
  7815. {0x7A, 0x7, 0x7, 0, 0},
  7816. {0x7B, 0x7, 0x7, 0, 0},
  7817. {0x7C, 0x15, 0x15, 0, 0},
  7818. {0x7D, 0x55, 0x55, 0, 0},
  7819. {0x7E, 0x97, 0x97, 1, 1},
  7820. {0x7F, 0x8, 0x8, 0, 0},
  7821. {0x80, 0x14, 0x14, 1, 1},
  7822. {0x81, 0x33, 0x33, 0, 0},
  7823. {0x82, 0x88, 0x88, 0, 0},
  7824. {0x83, 0x6, 0x6, 0, 0},
  7825. {0x84, 0x3, 0x3, 1, 1},
  7826. {0x85, 0xa, 0xa, 0, 0},
  7827. {0x86, 0x3, 0x3, 1, 1},
  7828. {0x87, 0x2a, 0x2a, 0, 0},
  7829. {0x88, 0xa4, 0xa4, 0, 0},
  7830. {0x89, 0x18, 0x18, 0, 0},
  7831. {0x8A, 0x28, 0x28, 0, 0},
  7832. {0x8B, 0, 0, 0, 0},
  7833. {0x8C, 0x4a, 0x4a, 0, 0},
  7834. {0x8D, 0, 0, 0, 0},
  7835. {0x8E, 0xf8, 0xf8, 0, 0},
  7836. {0x8F, 0x88, 0x88, 0, 0},
  7837. {0x90, 0x88, 0x88, 0, 0},
  7838. {0x91, 0x88, 0x8, 1, 1},
  7839. {0x92, 0x88, 0x88, 0, 0},
  7840. {0x93, 0, 0, 0, 0},
  7841. {0x94, 0x1, 0x1, 1, 1},
  7842. {0x95, 0x8a, 0x8a, 0, 0},
  7843. {0x96, 0x8, 0x8, 0, 0},
  7844. {0x97, 0x83, 0x83, 0, 0},
  7845. {0x98, 0x6, 0x6, 0, 0},
  7846. {0x99, 0xa0, 0xa0, 0, 0},
  7847. {0x9A, 0xa, 0xa, 0, 0},
  7848. {0x9B, 0x87, 0x87, 1, 1},
  7849. {0x9C, 0x2a, 0x2a, 0, 0},
  7850. {0x9D, 0x2a, 0x2a, 0, 0},
  7851. {0x9E, 0x2a, 0x2a, 0, 0},
  7852. {0x9F, 0x2a, 0x2a, 0, 0},
  7853. {0xA0, 0x18, 0x18, 0, 0},
  7854. {0xA1, 0x6a, 0x6a, 1, 1},
  7855. {0xA2, 0xab, 0xab, 1, 1},
  7856. {0xA3, 0x13, 0x13, 1, 1},
  7857. {0xA4, 0xc1, 0xc1, 1, 1},
  7858. {0xA5, 0xaa, 0xaa, 1, 1},
  7859. {0xA6, 0x87, 0x87, 1, 1},
  7860. {0xA7, 0, 0, 0, 0},
  7861. {0xA8, 0x6, 0x6, 0, 0},
  7862. {0xA9, 0x7, 0x7, 0, 0},
  7863. {0xAA, 0x7, 0x7, 0, 0},
  7864. {0xAB, 0x15, 0x15, 0, 0},
  7865. {0xAC, 0x55, 0x55, 0, 0},
  7866. {0xAD, 0x97, 0x97, 1, 1},
  7867. {0xAE, 0x8, 0x8, 0, 0},
  7868. {0xAF, 0x14, 0x14, 1, 1},
  7869. {0xB0, 0x33, 0x33, 0, 0},
  7870. {0xB1, 0x88, 0x88, 0, 0},
  7871. {0xB2, 0x6, 0x6, 0, 0},
  7872. {0xB3, 0x3, 0x3, 1, 1},
  7873. {0xB4, 0xa, 0xa, 0, 0},
  7874. {0xB5, 0x3, 0x3, 1, 1},
  7875. {0xB6, 0x2a, 0x2a, 0, 0},
  7876. {0xB7, 0xa4, 0xa4, 0, 0},
  7877. {0xB8, 0x18, 0x18, 0, 0},
  7878. {0xB9, 0x28, 0x28, 0, 0},
  7879. {0xBA, 0, 0, 0, 0},
  7880. {0xBB, 0x4a, 0x4a, 0, 0},
  7881. {0xBC, 0, 0, 0, 0},
  7882. {0xBD, 0x71, 0x71, 0, 0},
  7883. {0xBE, 0x72, 0x72, 0, 0},
  7884. {0xBF, 0x73, 0x73, 0, 0},
  7885. {0xC0, 0x74, 0x74, 0, 0},
  7886. {0xC1, 0x75, 0x75, 0, 0},
  7887. {0xC2, 0x76, 0x76, 0, 0},
  7888. {0xC3, 0x77, 0x77, 0, 0},
  7889. {0xC4, 0x78, 0x78, 0, 0},
  7890. {0xC5, 0x79, 0x79, 0, 0},
  7891. {0xC6, 0x7a, 0x7a, 0, 0},
  7892. {0xC7, 0, 0, 0, 0},
  7893. {0xC8, 0, 0, 0, 0},
  7894. {0xC9, 0, 0, 0, 0},
  7895. {0xCA, 0, 0, 0, 0},
  7896. {0xCB, 0, 0, 0, 0},
  7897. {0xCC, 0, 0, 0, 0},
  7898. {0xCD, 0, 0, 0, 0},
  7899. {0xCE, 0x6, 0x6, 0, 0},
  7900. {0xCF, 0, 0, 0, 0},
  7901. {0xD0, 0, 0, 0, 0},
  7902. {0xD1, 0x18, 0x18, 0, 0},
  7903. {0xD2, 0x88, 0x88, 0, 0},
  7904. {0xD3, 0, 0, 0, 0},
  7905. {0xD4, 0, 0, 0, 0},
  7906. {0xD5, 0, 0, 0, 0},
  7907. {0xD6, 0, 0, 0, 0},
  7908. {0xD7, 0, 0, 0, 0},
  7909. {0xD8, 0, 0, 0, 0},
  7910. {0xD9, 0, 0, 0, 0},
  7911. {0xDA, 0x6, 0x6, 0, 0},
  7912. {0xDB, 0, 0, 0, 0},
  7913. {0xDC, 0, 0, 0, 0},
  7914. {0xDD, 0x18, 0x18, 0, 0},
  7915. {0xDE, 0x88, 0x88, 0, 0},
  7916. {0xDF, 0, 0, 0, 0},
  7917. {0xE0, 0, 0, 0, 0},
  7918. {0xE1, 0, 0, 0, 0},
  7919. {0xE2, 0, 0, 0, 0},
  7920. {0xFFFF, 0, 0, 0, 0},
  7921. };
  7922. static struct radio_regs regs_SYN_2056[] = {
  7923. {0x02, 0, 0, 0, 0},
  7924. {0x03, 0, 0, 0, 0},
  7925. {0x04, 0, 0, 0, 0},
  7926. {0x05, 0, 0, 0, 0},
  7927. {0x06, 0, 0, 0, 0},
  7928. {0x07, 0, 0, 0, 0},
  7929. {0x08, 0, 0, 0, 0},
  7930. {0x09, 0x1, 0x1, 0, 0},
  7931. {0x0A, 0, 0, 0, 0},
  7932. {0x0B, 0, 0, 0, 0},
  7933. {0x0C, 0, 0, 0, 0},
  7934. {0x0D, 0, 0, 0, 0},
  7935. {0x0E, 0, 0, 0, 0},
  7936. {0x0F, 0, 0, 0, 0},
  7937. {0x10, 0, 0, 0, 0},
  7938. {0x11, 0, 0, 0, 0},
  7939. {0x12, 0, 0, 0, 0},
  7940. {0x13, 0, 0, 0, 0},
  7941. {0x14, 0, 0, 0, 0},
  7942. {0x15, 0, 0, 0, 0},
  7943. {0x16, 0, 0, 0, 0},
  7944. {0x17, 0, 0, 0, 0},
  7945. {0x18, 0, 0, 0, 0},
  7946. {0x19, 0, 0, 0, 0},
  7947. {0x1A, 0, 0, 0, 0},
  7948. {0x1B, 0, 0, 0, 0},
  7949. {0x1C, 0, 0, 0, 0},
  7950. {0x1D, 0, 0, 0, 0},
  7951. {0x1E, 0, 0, 0, 0},
  7952. {0x1F, 0, 0, 0, 0},
  7953. {0x20, 0, 0, 0, 0},
  7954. {0x21, 0, 0, 0, 0},
  7955. {0x22, 0x60, 0x60, 0, 0},
  7956. {0x23, 0x6, 0x6, 0, 0},
  7957. {0x24, 0xc, 0xc, 0, 0},
  7958. {0x25, 0, 0, 0, 0},
  7959. {0x26, 0, 0, 0, 0},
  7960. {0x27, 0, 0, 0, 0},
  7961. {0x28, 0x1, 0x1, 0, 0},
  7962. {0x29, 0, 0, 0, 0},
  7963. {0x2A, 0, 0, 0, 0},
  7964. {0x2B, 0, 0, 0, 0},
  7965. {0x2C, 0, 0, 0, 0},
  7966. {0x2D, 0, 0, 0, 0},
  7967. {0x2E, 0xd, 0xd, 0, 0},
  7968. {0x2F, 0x1f, 0x1f, 0, 0},
  7969. {0x30, 0x15, 0x15, 0, 0},
  7970. {0x31, 0xf, 0xf, 0, 0},
  7971. {0x32, 0, 0, 0, 0},
  7972. {0x33, 0, 0, 0, 0},
  7973. {0x34, 0, 0, 0, 0},
  7974. {0x35, 0, 0, 0, 0},
  7975. {0x36, 0, 0, 0, 0},
  7976. {0x37, 0, 0, 0, 0},
  7977. {0x38, 0, 0, 0, 0},
  7978. {0x39, 0, 0, 0, 0},
  7979. {0x3A, 0, 0, 0, 0},
  7980. {0x3B, 0, 0, 0, 0},
  7981. {0x3C, 0x13, 0x13, 0, 0},
  7982. {0x3D, 0xf, 0xf, 0, 0},
  7983. {0x3E, 0x18, 0x18, 0, 0},
  7984. {0x3F, 0, 0, 0, 0},
  7985. {0x40, 0, 0, 0, 0},
  7986. {0x41, 0x20, 0x20, 0, 0},
  7987. {0x42, 0x20, 0x20, 0, 0},
  7988. {0x43, 0, 0, 0, 0},
  7989. {0x44, 0x77, 0x77, 0, 0},
  7990. {0x45, 0x7, 0x7, 0, 0},
  7991. {0x46, 0x1, 0x1, 0, 0},
  7992. {0x47, 0x4, 0x4, 0, 0},
  7993. {0x48, 0xf, 0xf, 0, 0},
  7994. {0x49, 0x30, 0x30, 0, 0},
  7995. {0x4A, 0x32, 0x32, 0, 0},
  7996. {0x4B, 0xd, 0xd, 0, 0},
  7997. {0x4C, 0xd, 0xd, 0, 0},
  7998. {0x4D, 0x4, 0x4, 0, 0},
  7999. {0x4E, 0x6, 0x6, 0, 0},
  8000. {0x4F, 0x1, 0x1, 0, 0},
  8001. {0x50, 0x1c, 0x1c, 0, 0},
  8002. {0x51, 0x2, 0x2, 0, 0},
  8003. {0x52, 0x2, 0x2, 0, 0},
  8004. {0x53, 0xf7, 0xf7, 1, 1},
  8005. {0x54, 0xb4, 0xb4, 0, 0},
  8006. {0x55, 0xd2, 0xd2, 0, 0},
  8007. {0x56, 0, 0, 0, 0},
  8008. {0x57, 0, 0, 0, 0},
  8009. {0x58, 0x4, 0x4, 0, 0},
  8010. {0x59, 0x96, 0x96, 0, 0},
  8011. {0x5A, 0x3e, 0x3e, 0, 0},
  8012. {0x5B, 0x3e, 0x3e, 0, 0},
  8013. {0x5C, 0x13, 0x13, 0, 0},
  8014. {0x5D, 0x2, 0x2, 0, 0},
  8015. {0x5E, 0, 0, 0, 0},
  8016. {0x5F, 0x7, 0x7, 0, 0},
  8017. {0x60, 0x7, 0x7, 1, 1},
  8018. {0x61, 0x8, 0x8, 0, 0},
  8019. {0x62, 0x3, 0x3, 0, 0},
  8020. {0x63, 0, 0, 0, 0},
  8021. {0x64, 0, 0, 0, 0},
  8022. {0x65, 0, 0, 0, 0},
  8023. {0x66, 0, 0, 0, 0},
  8024. {0x67, 0, 0, 0, 0},
  8025. {0x68, 0x40, 0x40, 0, 0},
  8026. {0x69, 0, 0, 0, 0},
  8027. {0x6A, 0, 0, 0, 0},
  8028. {0x6B, 0, 0, 0, 0},
  8029. {0x6C, 0, 0, 0, 0},
  8030. {0x6D, 0x1, 0x1, 0, 0},
  8031. {0x6E, 0, 0, 0, 0},
  8032. {0x6F, 0, 0, 0, 0},
  8033. {0x70, 0x60, 0x60, 0, 0},
  8034. {0x71, 0x66, 0x66, 0, 0},
  8035. {0x72, 0xc, 0xc, 0, 0},
  8036. {0x73, 0x66, 0x66, 0, 0},
  8037. {0x74, 0x8f, 0x8f, 1, 1},
  8038. {0x75, 0, 0, 0, 0},
  8039. {0x76, 0xcc, 0xcc, 0, 0},
  8040. {0x77, 0x1, 0x1, 0, 0},
  8041. {0x78, 0x66, 0x66, 0, 0},
  8042. {0x79, 0x66, 0x66, 0, 0},
  8043. {0x7A, 0, 0, 0, 0},
  8044. {0x7B, 0, 0, 0, 0},
  8045. {0x7C, 0, 0, 0, 0},
  8046. {0x7D, 0, 0, 0, 0},
  8047. {0x7E, 0, 0, 0, 0},
  8048. {0x7F, 0, 0, 0, 0},
  8049. {0x80, 0, 0, 0, 0},
  8050. {0x81, 0, 0, 0, 0},
  8051. {0x82, 0, 0, 0, 0},
  8052. {0x83, 0, 0, 0, 0},
  8053. {0x84, 0, 0, 0, 0},
  8054. {0x85, 0xff, 0xff, 0, 0},
  8055. {0x86, 0, 0, 0, 0},
  8056. {0x87, 0, 0, 0, 0},
  8057. {0x88, 0, 0, 0, 0},
  8058. {0x89, 0, 0, 0, 0},
  8059. {0x8A, 0, 0, 0, 0},
  8060. {0x8B, 0, 0, 0, 0},
  8061. {0x8C, 0, 0, 0, 0},
  8062. {0x8D, 0, 0, 0, 0},
  8063. {0x8E, 0, 0, 0, 0},
  8064. {0x8F, 0, 0, 0, 0},
  8065. {0x90, 0, 0, 0, 0},
  8066. {0x91, 0, 0, 0, 0},
  8067. {0x92, 0, 0, 0, 0},
  8068. {0x93, 0, 0, 0, 0},
  8069. {0x94, 0, 0, 0, 0},
  8070. {0x95, 0, 0, 0, 0},
  8071. {0x96, 0, 0, 0, 0},
  8072. {0x97, 0, 0, 0, 0},
  8073. {0x98, 0, 0, 0, 0},
  8074. {0x99, 0, 0, 0, 0},
  8075. {0x9A, 0, 0, 0, 0},
  8076. {0x9B, 0, 0, 0, 0},
  8077. {0x9C, 0, 0, 0, 0},
  8078. {0x9D, 0, 0, 0, 0},
  8079. {0x9E, 0, 0, 0, 0},
  8080. {0x9F, 0x6, 0x6, 0, 0},
  8081. {0xA0, 0x66, 0x66, 0, 0},
  8082. {0xA1, 0x66, 0x66, 0, 0},
  8083. {0xA2, 0x66, 0x66, 0, 0},
  8084. {0xA3, 0x66, 0x66, 0, 0},
  8085. {0xA4, 0x66, 0x66, 0, 0},
  8086. {0xA5, 0x66, 0x66, 0, 0},
  8087. {0xA6, 0x66, 0x66, 0, 0},
  8088. {0xA7, 0x66, 0x66, 0, 0},
  8089. {0xA8, 0x66, 0x66, 0, 0},
  8090. {0xA9, 0x66, 0x66, 0, 0},
  8091. {0xAA, 0x66, 0x66, 0, 0},
  8092. {0xAB, 0x66, 0x66, 0, 0},
  8093. {0xAC, 0x66, 0x66, 0, 0},
  8094. {0xAD, 0x66, 0x66, 0, 0},
  8095. {0xAE, 0x66, 0x66, 0, 0},
  8096. {0xAF, 0x66, 0x66, 0, 0},
  8097. {0xB0, 0x66, 0x66, 0, 0},
  8098. {0xB1, 0x66, 0x66, 0, 0},
  8099. {0xB2, 0x66, 0x66, 0, 0},
  8100. {0xB3, 0xa, 0xa, 0, 0},
  8101. {0xB4, 0, 0, 0, 0},
  8102. {0xB5, 0, 0, 0, 0},
  8103. {0xB6, 0, 0, 0, 0},
  8104. {0xFFFF, 0, 0, 0, 0}
  8105. };
  8106. static struct radio_regs regs_TX_2056[] = {
  8107. {0x02, 0, 0, 0, 0},
  8108. {0x03, 0, 0, 0, 0},
  8109. {0x04, 0, 0, 0, 0},
  8110. {0x05, 0, 0, 0, 0},
  8111. {0x06, 0, 0, 0, 0},
  8112. {0x07, 0, 0, 0, 0},
  8113. {0x08, 0, 0, 0, 0},
  8114. {0x09, 0, 0, 0, 0},
  8115. {0x0A, 0, 0, 0, 0},
  8116. {0x0B, 0, 0, 0, 0},
  8117. {0x0C, 0, 0, 0, 0},
  8118. {0x0D, 0, 0, 0, 0},
  8119. {0x0E, 0, 0, 0, 0},
  8120. {0x0F, 0, 0, 0, 0},
  8121. {0x10, 0, 0, 0, 0},
  8122. {0x11, 0, 0, 0, 0},
  8123. {0x12, 0, 0, 0, 0},
  8124. {0x13, 0, 0, 0, 0},
  8125. {0x14, 0, 0, 0, 0},
  8126. {0x15, 0, 0, 0, 0},
  8127. {0x16, 0, 0, 0, 0},
  8128. {0x17, 0, 0, 0, 0},
  8129. {0x18, 0, 0, 0, 0},
  8130. {0x19, 0, 0, 0, 0},
  8131. {0x1A, 0, 0, 0, 0},
  8132. {0x1B, 0, 0, 0, 0},
  8133. {0x1C, 0, 0, 0, 0},
  8134. {0x1D, 0, 0, 0, 0},
  8135. {0x1E, 0, 0, 0, 0},
  8136. {0x1F, 0, 0, 0, 0},
  8137. {0x20, 0, 0, 0, 0},
  8138. {0x21, 0x88, 0x88, 0, 0},
  8139. {0x22, 0x88, 0x88, 0, 0},
  8140. {0x23, 0x88, 0x88, 0, 0},
  8141. {0x24, 0x88, 0x88, 0, 0},
  8142. {0x25, 0xc, 0xc, 0, 0},
  8143. {0x26, 0, 0, 0, 0},
  8144. {0x27, 0x3, 0x3, 0, 0},
  8145. {0x28, 0, 0, 0, 0},
  8146. {0x29, 0x3, 0x3, 0, 0},
  8147. {0x2A, 0x37, 0x37, 0, 0},
  8148. {0x2B, 0x3, 0x3, 0, 0},
  8149. {0x2C, 0, 0, 0, 0},
  8150. {0x2D, 0, 0, 0, 0},
  8151. {0x2E, 0x1, 0x1, 0, 0},
  8152. {0x2F, 0x1, 0x1, 0, 0},
  8153. {0x30, 0, 0, 0, 0},
  8154. {0x31, 0, 0, 0, 0},
  8155. {0x32, 0, 0, 0, 0},
  8156. {0x33, 0x11, 0x11, 0, 0},
  8157. {0x34, 0x11, 0x11, 0, 0},
  8158. {0x35, 0, 0, 0, 0},
  8159. {0x36, 0, 0, 0, 0},
  8160. {0x37, 0x3, 0x3, 0, 0},
  8161. {0x38, 0xf, 0xf, 0, 0},
  8162. {0x39, 0, 0, 0, 0},
  8163. {0x3A, 0x2d, 0x2d, 0, 0},
  8164. {0x3B, 0, 0, 0, 0},
  8165. {0x3C, 0x6e, 0x6e, 0, 0},
  8166. {0x3D, 0xf0, 0xf0, 1, 1},
  8167. {0x3E, 0, 0, 0, 0},
  8168. {0x3F, 0, 0, 0, 0},
  8169. {0x40, 0, 0, 0, 0},
  8170. {0x41, 0x3, 0x3, 0, 0},
  8171. {0x42, 0x3, 0x3, 0, 0},
  8172. {0x43, 0, 0, 0, 0},
  8173. {0x44, 0x1e, 0x1e, 0, 0},
  8174. {0x45, 0, 0, 0, 0},
  8175. {0x46, 0x6e, 0x6e, 0, 0},
  8176. {0x47, 0xf0, 0xf0, 1, 1},
  8177. {0x48, 0, 0, 0, 0},
  8178. {0x49, 0x2, 0x2, 0, 0},
  8179. {0x4A, 0xff, 0xff, 1, 1},
  8180. {0x4B, 0xc, 0xc, 0, 0},
  8181. {0x4C, 0, 0, 0, 0},
  8182. {0x4D, 0x38, 0x38, 0, 0},
  8183. {0x4E, 0x70, 0x70, 1, 1},
  8184. {0x4F, 0x2, 0x2, 0, 0},
  8185. {0x50, 0x88, 0x88, 0, 0},
  8186. {0x51, 0xc, 0xc, 0, 0},
  8187. {0x52, 0, 0, 0, 0},
  8188. {0x53, 0x8, 0x8, 0, 0},
  8189. {0x54, 0x70, 0x70, 1, 1},
  8190. {0x55, 0x2, 0x2, 0, 0},
  8191. {0x56, 0xff, 0xff, 1, 1},
  8192. {0x57, 0, 0, 0, 0},
  8193. {0x58, 0x83, 0x83, 0, 0},
  8194. {0x59, 0x77, 0x77, 1, 1},
  8195. {0x5A, 0, 0, 0, 0},
  8196. {0x5B, 0x2, 0x2, 0, 0},
  8197. {0x5C, 0x88, 0x88, 0, 0},
  8198. {0x5D, 0, 0, 0, 0},
  8199. {0x5E, 0x8, 0x8, 0, 0},
  8200. {0x5F, 0x77, 0x77, 1, 1},
  8201. {0x60, 0x1, 0x1, 0, 0},
  8202. {0x61, 0, 0, 0, 0},
  8203. {0x62, 0x7, 0x7, 0, 0},
  8204. {0x63, 0, 0, 0, 0},
  8205. {0x64, 0x7, 0x7, 0, 0},
  8206. {0x65, 0, 0, 0, 0},
  8207. {0x66, 0, 0, 0, 0},
  8208. {0x67, 0x74, 0x74, 1, 1},
  8209. {0x68, 0, 0, 0, 0},
  8210. {0x69, 0xa, 0xa, 0, 0},
  8211. {0x6A, 0, 0, 0, 0},
  8212. {0x6B, 0, 0, 0, 0},
  8213. {0x6C, 0, 0, 0, 0},
  8214. {0x6D, 0, 0, 0, 0},
  8215. {0x6E, 0, 0, 0, 0},
  8216. {0x6F, 0, 0, 0, 0},
  8217. {0x70, 0, 0, 0, 0},
  8218. {0x71, 0x2, 0x2, 0, 0},
  8219. {0x72, 0, 0, 0, 0},
  8220. {0x73, 0, 0, 0, 0},
  8221. {0x74, 0xe, 0xe, 0, 0},
  8222. {0x75, 0xe, 0xe, 0, 0},
  8223. {0x76, 0xe, 0xe, 0, 0},
  8224. {0x77, 0x13, 0x13, 0, 0},
  8225. {0x78, 0x13, 0x13, 0, 0},
  8226. {0x79, 0x1b, 0x1b, 0, 0},
  8227. {0x7A, 0x1b, 0x1b, 0, 0},
  8228. {0x7B, 0x55, 0x55, 0, 0},
  8229. {0x7C, 0x5b, 0x5b, 0, 0},
  8230. {0x7D, 0, 0, 0, 0},
  8231. {0x7E, 0, 0, 0, 0},
  8232. {0x7F, 0, 0, 0, 0},
  8233. {0x80, 0, 0, 0, 0},
  8234. {0x81, 0, 0, 0, 0},
  8235. {0x82, 0, 0, 0, 0},
  8236. {0x83, 0, 0, 0, 0},
  8237. {0x84, 0, 0, 0, 0},
  8238. {0x85, 0, 0, 0, 0},
  8239. {0x86, 0, 0, 0, 0},
  8240. {0x87, 0, 0, 0, 0},
  8241. {0x88, 0, 0, 0, 0},
  8242. {0x89, 0, 0, 0, 0},
  8243. {0x8A, 0, 0, 0, 0},
  8244. {0x8B, 0, 0, 0, 0},
  8245. {0x8C, 0, 0, 0, 0},
  8246. {0x8D, 0, 0, 0, 0},
  8247. {0x8E, 0, 0, 0, 0},
  8248. {0x8F, 0, 0, 0, 0},
  8249. {0x90, 0, 0, 0, 0},
  8250. {0x91, 0, 0, 0, 0},
  8251. {0x92, 0, 0, 0, 0},
  8252. {0xFFFF, 0, 0, 0, 0}
  8253. };
  8254. static struct radio_regs regs_RX_2056[] = {
  8255. {0x02, 0, 0, 0, 0},
  8256. {0x03, 0, 0, 0, 0},
  8257. {0x04, 0, 0, 0, 0},
  8258. {0x05, 0, 0, 0, 0},
  8259. {0x06, 0, 0, 0, 0},
  8260. {0x07, 0, 0, 0, 0},
  8261. {0x08, 0, 0, 0, 0},
  8262. {0x09, 0, 0, 0, 0},
  8263. {0x0A, 0, 0, 0, 0},
  8264. {0x0B, 0, 0, 0, 0},
  8265. {0x0C, 0, 0, 0, 0},
  8266. {0x0D, 0, 0, 0, 0},
  8267. {0x0E, 0, 0, 0, 0},
  8268. {0x0F, 0, 0, 0, 0},
  8269. {0x10, 0, 0, 0, 0},
  8270. {0x11, 0, 0, 0, 0},
  8271. {0x12, 0, 0, 0, 0},
  8272. {0x13, 0, 0, 0, 0},
  8273. {0x14, 0, 0, 0, 0},
  8274. {0x15, 0, 0, 0, 0},
  8275. {0x16, 0, 0, 0, 0},
  8276. {0x17, 0, 0, 0, 0},
  8277. {0x18, 0, 0, 0, 0},
  8278. {0x19, 0, 0, 0, 0},
  8279. {0x1A, 0, 0, 0, 0},
  8280. {0x1B, 0, 0, 0, 0},
  8281. {0x1C, 0, 0, 0, 0},
  8282. {0x1D, 0, 0, 0, 0},
  8283. {0x1E, 0, 0, 0, 0},
  8284. {0x1F, 0, 0, 0, 0},
  8285. {0x20, 0x3, 0x3, 0, 0},
  8286. {0x21, 0, 0, 0, 0},
  8287. {0x22, 0, 0, 0, 0},
  8288. {0x23, 0x90, 0x90, 0, 0},
  8289. {0x24, 0x55, 0x55, 0, 0},
  8290. {0x25, 0x15, 0x15, 0, 0},
  8291. {0x26, 0x5, 0x5, 0, 0},
  8292. {0x27, 0x15, 0x15, 0, 0},
  8293. {0x28, 0x5, 0x5, 0, 0},
  8294. {0x29, 0x20, 0x20, 0, 0},
  8295. {0x2A, 0x11, 0x11, 0, 0},
  8296. {0x2B, 0x90, 0x90, 0, 0},
  8297. {0x2C, 0, 0, 0, 0},
  8298. {0x2D, 0x88, 0x88, 0, 0},
  8299. {0x2E, 0x32, 0x32, 0, 0},
  8300. {0x2F, 0x77, 0x77, 0, 0},
  8301. {0x30, 0x17, 0x17, 1, 1},
  8302. {0x31, 0xff, 0xff, 1, 1},
  8303. {0x32, 0x20, 0x20, 0, 0},
  8304. {0x33, 0, 0, 0, 0},
  8305. {0x34, 0x88, 0x88, 0, 0},
  8306. {0x35, 0x32, 0x32, 0, 0},
  8307. {0x36, 0x77, 0x77, 0, 0},
  8308. {0x37, 0x17, 0x17, 1, 1},
  8309. {0x38, 0xf0, 0xf0, 1, 1},
  8310. {0x39, 0x20, 0x20, 0, 0},
  8311. {0x3A, 0x8, 0x8, 0, 0},
  8312. {0x3B, 0x99, 0x99, 0, 0},
  8313. {0x3C, 0, 0, 0, 0},
  8314. {0x3D, 0x44, 0x44, 1, 1},
  8315. {0x3E, 0, 0, 0, 0},
  8316. {0x3F, 0x44, 0x44, 0, 0},
  8317. {0x40, 0xf, 0xf, 1, 1},
  8318. {0x41, 0x6, 0x6, 0, 0},
  8319. {0x42, 0x4, 0x4, 0, 0},
  8320. {0x43, 0x50, 0x50, 1, 1},
  8321. {0x44, 0x8, 0x8, 0, 0},
  8322. {0x45, 0x99, 0x99, 0, 0},
  8323. {0x46, 0, 0, 0, 0},
  8324. {0x47, 0x11, 0x11, 0, 0},
  8325. {0x48, 0, 0, 0, 0},
  8326. {0x49, 0x44, 0x44, 0, 0},
  8327. {0x4A, 0x7, 0x7, 0, 0},
  8328. {0x4B, 0x6, 0x6, 0, 0},
  8329. {0x4C, 0x4, 0x4, 0, 0},
  8330. {0x4D, 0, 0, 0, 0},
  8331. {0x4E, 0, 0, 0, 0},
  8332. {0x4F, 0x66, 0x66, 0, 0},
  8333. {0x50, 0x66, 0x66, 0, 0},
  8334. {0x51, 0x57, 0x57, 0, 0},
  8335. {0x52, 0x57, 0x57, 0, 0},
  8336. {0x53, 0x44, 0x44, 0, 0},
  8337. {0x54, 0, 0, 0, 0},
  8338. {0x55, 0, 0, 0, 0},
  8339. {0x56, 0x8, 0x8, 0, 0},
  8340. {0x57, 0x8, 0x8, 0, 0},
  8341. {0x58, 0x7, 0x7, 0, 0},
  8342. {0x59, 0x22, 0x22, 0, 0},
  8343. {0x5A, 0x22, 0x22, 0, 0},
  8344. {0x5B, 0x2, 0x2, 0, 0},
  8345. {0x5C, 0x23, 0x23, 0, 0},
  8346. {0x5D, 0x7, 0x7, 0, 0},
  8347. {0x5E, 0x55, 0x55, 0, 0},
  8348. {0x5F, 0x23, 0x23, 0, 0},
  8349. {0x60, 0x41, 0x41, 0, 0},
  8350. {0x61, 0x1, 0x1, 0, 0},
  8351. {0x62, 0xa, 0xa, 0, 0},
  8352. {0x63, 0, 0, 0, 0},
  8353. {0x64, 0, 0, 0, 0},
  8354. {0x65, 0, 0, 0, 0},
  8355. {0x66, 0, 0, 0, 0},
  8356. {0x67, 0, 0, 0, 0},
  8357. {0x68, 0, 0, 0, 0},
  8358. {0x69, 0, 0, 0, 0},
  8359. {0x6A, 0, 0, 0, 0},
  8360. {0x6B, 0xc, 0xc, 0, 0},
  8361. {0x6C, 0, 0, 0, 0},
  8362. {0x6D, 0, 0, 0, 0},
  8363. {0x6E, 0, 0, 0, 0},
  8364. {0x6F, 0, 0, 0, 0},
  8365. {0x70, 0, 0, 0, 0},
  8366. {0x71, 0, 0, 0, 0},
  8367. {0x72, 0x22, 0x22, 0, 0},
  8368. {0x73, 0x22, 0x22, 0, 0},
  8369. {0x74, 0x2, 0x2, 0, 0},
  8370. {0x75, 0xa, 0xa, 0, 0},
  8371. {0x76, 0x1, 0x1, 0, 0},
  8372. {0x77, 0x22, 0x22, 0, 0},
  8373. {0x78, 0x30, 0x30, 0, 0},
  8374. {0x79, 0, 0, 0, 0},
  8375. {0x7A, 0, 0, 0, 0},
  8376. {0x7B, 0, 0, 0, 0},
  8377. {0x7C, 0, 0, 0, 0},
  8378. {0x7D, 0, 0, 0, 0},
  8379. {0x7E, 0, 0, 0, 0},
  8380. {0x7F, 0, 0, 0, 0},
  8381. {0x80, 0, 0, 0, 0},
  8382. {0x81, 0, 0, 0, 0},
  8383. {0x82, 0, 0, 0, 0},
  8384. {0x83, 0, 0, 0, 0},
  8385. {0x84, 0, 0, 0, 0},
  8386. {0x85, 0, 0, 0, 0},
  8387. {0x86, 0, 0, 0, 0},
  8388. {0x87, 0, 0, 0, 0},
  8389. {0x88, 0, 0, 0, 0},
  8390. {0x89, 0, 0, 0, 0},
  8391. {0x8A, 0, 0, 0, 0},
  8392. {0x8B, 0, 0, 0, 0},
  8393. {0x8C, 0, 0, 0, 0},
  8394. {0x8D, 0, 0, 0, 0},
  8395. {0x8E, 0, 0, 0, 0},
  8396. {0x8F, 0, 0, 0, 0},
  8397. {0x90, 0, 0, 0, 0},
  8398. {0x91, 0, 0, 0, 0},
  8399. {0x92, 0, 0, 0, 0},
  8400. {0x93, 0, 0, 0, 0},
  8401. {0x94, 0, 0, 0, 0},
  8402. {0xFFFF, 0, 0, 0, 0}
  8403. };
  8404. static struct radio_regs regs_SYN_2056_A1[] = {
  8405. {0x02, 0, 0, 0, 0},
  8406. {0x03, 0, 0, 0, 0},
  8407. {0x04, 0, 0, 0, 0},
  8408. {0x05, 0, 0, 0, 0},
  8409. {0x06, 0, 0, 0, 0},
  8410. {0x07, 0, 0, 0, 0},
  8411. {0x08, 0, 0, 0, 0},
  8412. {0x09, 0x1, 0x1, 0, 0},
  8413. {0x0A, 0, 0, 0, 0},
  8414. {0x0B, 0, 0, 0, 0},
  8415. {0x0C, 0, 0, 0, 0},
  8416. {0x0D, 0, 0, 0, 0},
  8417. {0x0E, 0, 0, 0, 0},
  8418. {0x0F, 0, 0, 0, 0},
  8419. {0x10, 0, 0, 0, 0},
  8420. {0x11, 0, 0, 0, 0},
  8421. {0x12, 0, 0, 0, 0},
  8422. {0x13, 0, 0, 0, 0},
  8423. {0x14, 0, 0, 0, 0},
  8424. {0x15, 0, 0, 0, 0},
  8425. {0x16, 0, 0, 0, 0},
  8426. {0x17, 0, 0, 0, 0},
  8427. {0x18, 0, 0, 0, 0},
  8428. {0x19, 0, 0, 0, 0},
  8429. {0x1A, 0, 0, 0, 0},
  8430. {0x1B, 0, 0, 0, 0},
  8431. {0x1C, 0, 0, 0, 0},
  8432. {0x1D, 0, 0, 0, 0},
  8433. {0x1E, 0, 0, 0, 0},
  8434. {0x1F, 0, 0, 0, 0},
  8435. {0x20, 0, 0, 0, 0},
  8436. {0x21, 0, 0, 0, 0},
  8437. {0x22, 0x60, 0x60, 0, 0},
  8438. {0x23, 0x6, 0x6, 0, 0},
  8439. {0x24, 0xc, 0xc, 0, 0},
  8440. {0x25, 0, 0, 0, 0},
  8441. {0x26, 0, 0, 0, 0},
  8442. {0x27, 0, 0, 0, 0},
  8443. {0x28, 0x1, 0x1, 0, 0},
  8444. {0x29, 0, 0, 0, 0},
  8445. {0x2A, 0, 0, 0, 0},
  8446. {0x2B, 0, 0, 0, 0},
  8447. {0x2C, 0, 0, 0, 0},
  8448. {0x2D, 0, 0, 0, 0},
  8449. {0x2E, 0xd, 0xd, 0, 0},
  8450. {0x2F, 0x1f, 0x1f, 0, 0},
  8451. {0x30, 0x15, 0x15, 0, 0},
  8452. {0x31, 0xf, 0xf, 0, 0},
  8453. {0x32, 0, 0, 0, 0},
  8454. {0x33, 0, 0, 0, 0},
  8455. {0x34, 0, 0, 0, 0},
  8456. {0x35, 0, 0, 0, 0},
  8457. {0x36, 0, 0, 0, 0},
  8458. {0x37, 0, 0, 0, 0},
  8459. {0x38, 0, 0, 0, 0},
  8460. {0x39, 0, 0, 0, 0},
  8461. {0x3A, 0, 0, 0, 0},
  8462. {0x3B, 0, 0, 0, 0},
  8463. {0x3C, 0x13, 0x13, 0, 0},
  8464. {0x3D, 0xf, 0xf, 0, 0},
  8465. {0x3E, 0x18, 0x18, 0, 0},
  8466. {0x3F, 0, 0, 0, 0},
  8467. {0x40, 0, 0, 0, 0},
  8468. {0x41, 0x20, 0x20, 0, 0},
  8469. {0x42, 0x20, 0x20, 0, 0},
  8470. {0x43, 0, 0, 0, 0},
  8471. {0x44, 0x77, 0x77, 0, 0},
  8472. {0x45, 0x7, 0x7, 0, 0},
  8473. {0x46, 0x1, 0x1, 0, 0},
  8474. {0x47, 0x4, 0x4, 0, 0},
  8475. {0x48, 0xf, 0xf, 0, 0},
  8476. {0x49, 0x30, 0x30, 0, 0},
  8477. {0x4A, 0x32, 0x32, 0, 0},
  8478. {0x4B, 0xd, 0xd, 0, 0},
  8479. {0x4C, 0xd, 0xd, 0, 0},
  8480. {0x4D, 0x4, 0x4, 0, 0},
  8481. {0x4E, 0x6, 0x6, 0, 0},
  8482. {0x4F, 0x1, 0x1, 0, 0},
  8483. {0x50, 0x1c, 0x1c, 0, 0},
  8484. {0x51, 0x2, 0x2, 0, 0},
  8485. {0x52, 0x2, 0x2, 0, 0},
  8486. {0x53, 0xf7, 0xf7, 1, 1},
  8487. {0x54, 0xb4, 0xb4, 0, 0},
  8488. {0x55, 0xd2, 0xd2, 0, 0},
  8489. {0x56, 0, 0, 0, 0},
  8490. {0x57, 0, 0, 0, 0},
  8491. {0x58, 0x4, 0x4, 0, 0},
  8492. {0x59, 0x96, 0x96, 0, 0},
  8493. {0x5A, 0x3e, 0x3e, 0, 0},
  8494. {0x5B, 0x3e, 0x3e, 0, 0},
  8495. {0x5C, 0x13, 0x13, 0, 0},
  8496. {0x5D, 0x2, 0x2, 0, 0},
  8497. {0x5E, 0, 0, 0, 0},
  8498. {0x5F, 0x7, 0x7, 0, 0},
  8499. {0x60, 0x7, 0x7, 1, 1},
  8500. {0x61, 0x8, 0x8, 0, 0},
  8501. {0x62, 0x3, 0x3, 0, 0},
  8502. {0x63, 0, 0, 0, 0},
  8503. {0x64, 0, 0, 0, 0},
  8504. {0x65, 0, 0, 0, 0},
  8505. {0x66, 0, 0, 0, 0},
  8506. {0x67, 0, 0, 0, 0},
  8507. {0x68, 0x40, 0x40, 0, 0},
  8508. {0x69, 0, 0, 0, 0},
  8509. {0x6A, 0, 0, 0, 0},
  8510. {0x6B, 0, 0, 0, 0},
  8511. {0x6C, 0, 0, 0, 0},
  8512. {0x6D, 0x1, 0x1, 0, 0},
  8513. {0x6E, 0, 0, 0, 0},
  8514. {0x6F, 0, 0, 0, 0},
  8515. {0x70, 0x60, 0x60, 0, 0},
  8516. {0x71, 0x66, 0x66, 0, 0},
  8517. {0x72, 0xc, 0xc, 0, 0},
  8518. {0x73, 0x66, 0x66, 0, 0},
  8519. {0x74, 0x8f, 0x8f, 1, 1},
  8520. {0x75, 0, 0, 0, 0},
  8521. {0x76, 0xcc, 0xcc, 0, 0},
  8522. {0x77, 0x1, 0x1, 0, 0},
  8523. {0x78, 0x66, 0x66, 0, 0},
  8524. {0x79, 0x66, 0x66, 0, 0},
  8525. {0x7A, 0, 0, 0, 0},
  8526. {0x7B, 0, 0, 0, 0},
  8527. {0x7C, 0, 0, 0, 0},
  8528. {0x7D, 0, 0, 0, 0},
  8529. {0x7E, 0, 0, 0, 0},
  8530. {0x7F, 0, 0, 0, 0},
  8531. {0x80, 0, 0, 0, 0},
  8532. {0x81, 0, 0, 0, 0},
  8533. {0x82, 0, 0, 0, 0},
  8534. {0x83, 0, 0, 0, 0},
  8535. {0x84, 0, 0, 0, 0},
  8536. {0x85, 0xff, 0xff, 0, 0},
  8537. {0x86, 0, 0, 0, 0},
  8538. {0x87, 0, 0, 0, 0},
  8539. {0x88, 0, 0, 0, 0},
  8540. {0x89, 0, 0, 0, 0},
  8541. {0x8A, 0, 0, 0, 0},
  8542. {0x8B, 0, 0, 0, 0},
  8543. {0x8C, 0, 0, 0, 0},
  8544. {0x8D, 0, 0, 0, 0},
  8545. {0x8E, 0, 0, 0, 0},
  8546. {0x8F, 0, 0, 0, 0},
  8547. {0x90, 0, 0, 0, 0},
  8548. {0x91, 0, 0, 0, 0},
  8549. {0x92, 0, 0, 0, 0},
  8550. {0x93, 0, 0, 0, 0},
  8551. {0x94, 0, 0, 0, 0},
  8552. {0x95, 0, 0, 0, 0},
  8553. {0x96, 0, 0, 0, 0},
  8554. {0x97, 0, 0, 0, 0},
  8555. {0x98, 0, 0, 0, 0},
  8556. {0x99, 0, 0, 0, 0},
  8557. {0x9A, 0, 0, 0, 0},
  8558. {0x9B, 0, 0, 0, 0},
  8559. {0x9C, 0, 0, 0, 0},
  8560. {0x9D, 0, 0, 0, 0},
  8561. {0x9E, 0, 0, 0, 0},
  8562. {0x9F, 0x6, 0x6, 0, 0},
  8563. {0xA0, 0x66, 0x66, 0, 0},
  8564. {0xA1, 0x66, 0x66, 0, 0},
  8565. {0xA2, 0x66, 0x66, 0, 0},
  8566. {0xA3, 0x66, 0x66, 0, 0},
  8567. {0xA4, 0x66, 0x66, 0, 0},
  8568. {0xA5, 0x66, 0x66, 0, 0},
  8569. {0xA6, 0x66, 0x66, 0, 0},
  8570. {0xA7, 0x66, 0x66, 0, 0},
  8571. {0xA8, 0x66, 0x66, 0, 0},
  8572. {0xA9, 0x66, 0x66, 0, 0},
  8573. {0xAA, 0x66, 0x66, 0, 0},
  8574. {0xAB, 0x66, 0x66, 0, 0},
  8575. {0xAC, 0x66, 0x66, 0, 0},
  8576. {0xAD, 0x66, 0x66, 0, 0},
  8577. {0xAE, 0x66, 0x66, 0, 0},
  8578. {0xAF, 0x66, 0x66, 0, 0},
  8579. {0xB0, 0x66, 0x66, 0, 0},
  8580. {0xB1, 0x66, 0x66, 0, 0},
  8581. {0xB2, 0x66, 0x66, 0, 0},
  8582. {0xB3, 0xa, 0xa, 0, 0},
  8583. {0xB4, 0, 0, 0, 0},
  8584. {0xB5, 0, 0, 0, 0},
  8585. {0xB6, 0, 0, 0, 0},
  8586. {0xFFFF, 0, 0, 0, 0}
  8587. };
  8588. static struct radio_regs regs_TX_2056_A1[] = {
  8589. {0x02, 0, 0, 0, 0},
  8590. {0x03, 0, 0, 0, 0},
  8591. {0x04, 0, 0, 0, 0},
  8592. {0x05, 0, 0, 0, 0},
  8593. {0x06, 0, 0, 0, 0},
  8594. {0x07, 0, 0, 0, 0},
  8595. {0x08, 0, 0, 0, 0},
  8596. {0x09, 0, 0, 0, 0},
  8597. {0x0A, 0, 0, 0, 0},
  8598. {0x0B, 0, 0, 0, 0},
  8599. {0x0C, 0, 0, 0, 0},
  8600. {0x0D, 0, 0, 0, 0},
  8601. {0x0E, 0, 0, 0, 0},
  8602. {0x0F, 0, 0, 0, 0},
  8603. {0x10, 0, 0, 0, 0},
  8604. {0x11, 0, 0, 0, 0},
  8605. {0x12, 0, 0, 0, 0},
  8606. {0x13, 0, 0, 0, 0},
  8607. {0x14, 0, 0, 0, 0},
  8608. {0x15, 0, 0, 0, 0},
  8609. {0x16, 0, 0, 0, 0},
  8610. {0x17, 0, 0, 0, 0},
  8611. {0x18, 0, 0, 0, 0},
  8612. {0x19, 0, 0, 0, 0},
  8613. {0x1A, 0, 0, 0, 0},
  8614. {0x1B, 0, 0, 0, 0},
  8615. {0x1C, 0, 0, 0, 0},
  8616. {0x1D, 0, 0, 0, 0},
  8617. {0x1E, 0, 0, 0, 0},
  8618. {0x1F, 0, 0, 0, 0},
  8619. {0x20, 0, 0, 0, 0},
  8620. {0x21, 0x88, 0x88, 0, 0},
  8621. {0x22, 0x88, 0x88, 0, 0},
  8622. {0x23, 0x88, 0x88, 0, 0},
  8623. {0x24, 0x88, 0x88, 0, 0},
  8624. {0x25, 0xc, 0xc, 0, 0},
  8625. {0x26, 0, 0, 0, 0},
  8626. {0x27, 0x3, 0x3, 0, 0},
  8627. {0x28, 0, 0, 0, 0},
  8628. {0x29, 0x3, 0x3, 0, 0},
  8629. {0x2A, 0x37, 0x37, 0, 0},
  8630. {0x2B, 0x3, 0x3, 0, 0},
  8631. {0x2C, 0, 0, 0, 0},
  8632. {0x2D, 0, 0, 0, 0},
  8633. {0x2E, 0x1, 0x1, 0, 0},
  8634. {0x2F, 0x1, 0x1, 0, 0},
  8635. {0x30, 0, 0, 0, 0},
  8636. {0x31, 0, 0, 0, 0},
  8637. {0x32, 0, 0, 0, 0},
  8638. {0x33, 0x11, 0x11, 0, 0},
  8639. {0x34, 0x11, 0x11, 0, 0},
  8640. {0x35, 0, 0, 0, 0},
  8641. {0x36, 0, 0, 0, 0},
  8642. {0x37, 0x3, 0x3, 0, 0},
  8643. {0x38, 0xf, 0xf, 0, 0},
  8644. {0x39, 0, 0, 0, 0},
  8645. {0x3A, 0x2d, 0x2d, 0, 0},
  8646. {0x3B, 0, 0, 0, 0},
  8647. {0x3C, 0x6e, 0x6e, 0, 0},
  8648. {0x3D, 0xf0, 0xf0, 1, 1},
  8649. {0x3E, 0, 0, 0, 0},
  8650. {0x3F, 0, 0, 0, 0},
  8651. {0x40, 0, 0, 0, 0},
  8652. {0x41, 0x3, 0x3, 0, 0},
  8653. {0x42, 0x3, 0x3, 0, 0},
  8654. {0x43, 0, 0, 0, 0},
  8655. {0x44, 0x1e, 0x1e, 0, 0},
  8656. {0x45, 0, 0, 0, 0},
  8657. {0x46, 0x6e, 0x6e, 0, 0},
  8658. {0x47, 0xf0, 0xf0, 1, 1},
  8659. {0x48, 0, 0, 0, 0},
  8660. {0x49, 0x2, 0x2, 0, 0},
  8661. {0x4A, 0xff, 0xff, 1, 1},
  8662. {0x4B, 0xc, 0xc, 0, 0},
  8663. {0x4C, 0, 0, 0, 0},
  8664. {0x4D, 0x38, 0x38, 0, 0},
  8665. {0x4E, 0x70, 0x70, 1, 1},
  8666. {0x4F, 0x2, 0x2, 0, 0},
  8667. {0x50, 0x88, 0x88, 0, 0},
  8668. {0x51, 0xc, 0xc, 0, 0},
  8669. {0x52, 0, 0, 0, 0},
  8670. {0x53, 0x8, 0x8, 0, 0},
  8671. {0x54, 0x70, 0x70, 1, 1},
  8672. {0x55, 0x2, 0x2, 0, 0},
  8673. {0x56, 0xff, 0xff, 1, 1},
  8674. {0x57, 0, 0, 0, 0},
  8675. {0x58, 0x83, 0x83, 0, 0},
  8676. {0x59, 0x77, 0x77, 1, 1},
  8677. {0x5A, 0, 0, 0, 0},
  8678. {0x5B, 0x2, 0x2, 0, 0},
  8679. {0x5C, 0x88, 0x88, 0, 0},
  8680. {0x5D, 0, 0, 0, 0},
  8681. {0x5E, 0x8, 0x8, 0, 0},
  8682. {0x5F, 0x77, 0x77, 1, 1},
  8683. {0x60, 0x1, 0x1, 0, 0},
  8684. {0x61, 0, 0, 0, 0},
  8685. {0x62, 0x7, 0x7, 0, 0},
  8686. {0x63, 0, 0, 0, 0},
  8687. {0x64, 0x7, 0x7, 0, 0},
  8688. {0x65, 0, 0, 0, 0},
  8689. {0x66, 0, 0, 0, 0},
  8690. {0x67, 0x72, 0x72, 1, 1},
  8691. {0x68, 0, 0, 0, 0},
  8692. {0x69, 0xa, 0xa, 0, 0},
  8693. {0x6A, 0, 0, 0, 0},
  8694. {0x6B, 0, 0, 0, 0},
  8695. {0x6C, 0, 0, 0, 0},
  8696. {0x6D, 0, 0, 0, 0},
  8697. {0x6E, 0, 0, 0, 0},
  8698. {0x6F, 0, 0, 0, 0},
  8699. {0x70, 0, 0, 0, 0},
  8700. {0x71, 0x2, 0x2, 0, 0},
  8701. {0x72, 0, 0, 0, 0},
  8702. {0x73, 0, 0, 0, 0},
  8703. {0x74, 0xe, 0xe, 0, 0},
  8704. {0x75, 0xe, 0xe, 0, 0},
  8705. {0x76, 0xe, 0xe, 0, 0},
  8706. {0x77, 0x13, 0x13, 0, 0},
  8707. {0x78, 0x13, 0x13, 0, 0},
  8708. {0x79, 0x1b, 0x1b, 0, 0},
  8709. {0x7A, 0x1b, 0x1b, 0, 0},
  8710. {0x7B, 0x55, 0x55, 0, 0},
  8711. {0x7C, 0x5b, 0x5b, 0, 0},
  8712. {0x7D, 0, 0, 0, 0},
  8713. {0x7E, 0, 0, 0, 0},
  8714. {0x7F, 0, 0, 0, 0},
  8715. {0x80, 0, 0, 0, 0},
  8716. {0x81, 0, 0, 0, 0},
  8717. {0x82, 0, 0, 0, 0},
  8718. {0x83, 0, 0, 0, 0},
  8719. {0x84, 0, 0, 0, 0},
  8720. {0x85, 0, 0, 0, 0},
  8721. {0x86, 0, 0, 0, 0},
  8722. {0x87, 0, 0, 0, 0},
  8723. {0x88, 0, 0, 0, 0},
  8724. {0x89, 0, 0, 0, 0},
  8725. {0x8A, 0, 0, 0, 0},
  8726. {0x8B, 0, 0, 0, 0},
  8727. {0x8C, 0, 0, 0, 0},
  8728. {0x8D, 0, 0, 0, 0},
  8729. {0x8E, 0, 0, 0, 0},
  8730. {0x8F, 0, 0, 0, 0},
  8731. {0x90, 0, 0, 0, 0},
  8732. {0x91, 0, 0, 0, 0},
  8733. {0x92, 0, 0, 0, 0},
  8734. {0xFFFF, 0, 0, 0, 0}
  8735. };
  8736. static struct radio_regs regs_RX_2056_A1[] = {
  8737. {0x02, 0, 0, 0, 0},
  8738. {0x03, 0, 0, 0, 0},
  8739. {0x04, 0, 0, 0, 0},
  8740. {0x05, 0, 0, 0, 0},
  8741. {0x06, 0, 0, 0, 0},
  8742. {0x07, 0, 0, 0, 0},
  8743. {0x08, 0, 0, 0, 0},
  8744. {0x09, 0, 0, 0, 0},
  8745. {0x0A, 0, 0, 0, 0},
  8746. {0x0B, 0, 0, 0, 0},
  8747. {0x0C, 0, 0, 0, 0},
  8748. {0x0D, 0, 0, 0, 0},
  8749. {0x0E, 0, 0, 0, 0},
  8750. {0x0F, 0, 0, 0, 0},
  8751. {0x10, 0, 0, 0, 0},
  8752. {0x11, 0, 0, 0, 0},
  8753. {0x12, 0, 0, 0, 0},
  8754. {0x13, 0, 0, 0, 0},
  8755. {0x14, 0, 0, 0, 0},
  8756. {0x15, 0, 0, 0, 0},
  8757. {0x16, 0, 0, 0, 0},
  8758. {0x17, 0, 0, 0, 0},
  8759. {0x18, 0, 0, 0, 0},
  8760. {0x19, 0, 0, 0, 0},
  8761. {0x1A, 0, 0, 0, 0},
  8762. {0x1B, 0, 0, 0, 0},
  8763. {0x1C, 0, 0, 0, 0},
  8764. {0x1D, 0, 0, 0, 0},
  8765. {0x1E, 0, 0, 0, 0},
  8766. {0x1F, 0, 0, 0, 0},
  8767. {0x20, 0x3, 0x3, 0, 0},
  8768. {0x21, 0, 0, 0, 0},
  8769. {0x22, 0, 0, 0, 0},
  8770. {0x23, 0x90, 0x90, 0, 0},
  8771. {0x24, 0x55, 0x55, 0, 0},
  8772. {0x25, 0x15, 0x15, 0, 0},
  8773. {0x26, 0x5, 0x5, 0, 0},
  8774. {0x27, 0x15, 0x15, 0, 0},
  8775. {0x28, 0x5, 0x5, 0, 0},
  8776. {0x29, 0x20, 0x20, 0, 0},
  8777. {0x2A, 0x11, 0x11, 0, 0},
  8778. {0x2B, 0x90, 0x90, 0, 0},
  8779. {0x2C, 0, 0, 0, 0},
  8780. {0x2D, 0x88, 0x88, 0, 0},
  8781. {0x2E, 0x32, 0x32, 0, 0},
  8782. {0x2F, 0x77, 0x77, 0, 0},
  8783. {0x30, 0x17, 0x17, 1, 1},
  8784. {0x31, 0xff, 0xff, 1, 1},
  8785. {0x32, 0x20, 0x20, 0, 0},
  8786. {0x33, 0, 0, 0, 0},
  8787. {0x34, 0x88, 0x88, 0, 0},
  8788. {0x35, 0x32, 0x32, 0, 0},
  8789. {0x36, 0x77, 0x77, 0, 0},
  8790. {0x37, 0x17, 0x17, 1, 1},
  8791. {0x38, 0xf0, 0xf0, 1, 1},
  8792. {0x39, 0x20, 0x20, 0, 0},
  8793. {0x3A, 0x8, 0x8, 0, 0},
  8794. {0x3B, 0x55, 0x55, 1, 1},
  8795. {0x3C, 0, 0, 0, 0},
  8796. {0x3D, 0x44, 0x44, 1, 1},
  8797. {0x3E, 0, 0, 0, 0},
  8798. {0x3F, 0x44, 0x44, 0, 0},
  8799. {0x40, 0xf, 0xf, 1, 1},
  8800. {0x41, 0x6, 0x6, 0, 0},
  8801. {0x42, 0x4, 0x4, 0, 0},
  8802. {0x43, 0x50, 0x50, 1, 1},
  8803. {0x44, 0x8, 0x8, 0, 0},
  8804. {0x45, 0x55, 0x55, 1, 1},
  8805. {0x46, 0, 0, 0, 0},
  8806. {0x47, 0x11, 0x11, 0, 0},
  8807. {0x48, 0, 0, 0, 0},
  8808. {0x49, 0x44, 0x44, 0, 0},
  8809. {0x4A, 0x7, 0x7, 0, 0},
  8810. {0x4B, 0x6, 0x6, 0, 0},
  8811. {0x4C, 0x4, 0x4, 0, 0},
  8812. {0x4D, 0, 0, 0, 0},
  8813. {0x4E, 0, 0, 0, 0},
  8814. {0x4F, 0x26, 0x26, 1, 1},
  8815. {0x50, 0x26, 0x26, 1, 1},
  8816. {0x51, 0xf, 0xf, 1, 1},
  8817. {0x52, 0xf, 0xf, 1, 1},
  8818. {0x53, 0x44, 0x44, 0, 0},
  8819. {0x54, 0, 0, 0, 0},
  8820. {0x55, 0, 0, 0, 0},
  8821. {0x56, 0x8, 0x8, 0, 0},
  8822. {0x57, 0x8, 0x8, 0, 0},
  8823. {0x58, 0x7, 0x7, 0, 0},
  8824. {0x59, 0x22, 0x22, 0, 0},
  8825. {0x5A, 0x22, 0x22, 0, 0},
  8826. {0x5B, 0x2, 0x2, 0, 0},
  8827. {0x5C, 0x2f, 0x2f, 1, 1},
  8828. {0x5D, 0x7, 0x7, 0, 0},
  8829. {0x5E, 0x55, 0x55, 0, 0},
  8830. {0x5F, 0x23, 0x23, 0, 0},
  8831. {0x60, 0x41, 0x41, 0, 0},
  8832. {0x61, 0x1, 0x1, 0, 0},
  8833. {0x62, 0xa, 0xa, 0, 0},
  8834. {0x63, 0, 0, 0, 0},
  8835. {0x64, 0, 0, 0, 0},
  8836. {0x65, 0, 0, 0, 0},
  8837. {0x66, 0, 0, 0, 0},
  8838. {0x67, 0, 0, 0, 0},
  8839. {0x68, 0, 0, 0, 0},
  8840. {0x69, 0, 0, 0, 0},
  8841. {0x6A, 0, 0, 0, 0},
  8842. {0x6B, 0xc, 0xc, 0, 0},
  8843. {0x6C, 0, 0, 0, 0},
  8844. {0x6D, 0, 0, 0, 0},
  8845. {0x6E, 0, 0, 0, 0},
  8846. {0x6F, 0, 0, 0, 0},
  8847. {0x70, 0, 0, 0, 0},
  8848. {0x71, 0, 0, 0, 0},
  8849. {0x72, 0x22, 0x22, 0, 0},
  8850. {0x73, 0x22, 0x22, 0, 0},
  8851. {0x74, 0, 0, 1, 1},
  8852. {0x75, 0xa, 0xa, 0, 0},
  8853. {0x76, 0x1, 0x1, 0, 0},
  8854. {0x77, 0x22, 0x22, 0, 0},
  8855. {0x78, 0x30, 0x30, 0, 0},
  8856. {0x79, 0, 0, 0, 0},
  8857. {0x7A, 0, 0, 0, 0},
  8858. {0x7B, 0, 0, 0, 0},
  8859. {0x7C, 0, 0, 0, 0},
  8860. {0x7D, 0, 0, 0, 0},
  8861. {0x7E, 0, 0, 0, 0},
  8862. {0x7F, 0, 0, 0, 0},
  8863. {0x80, 0, 0, 0, 0},
  8864. {0x81, 0, 0, 0, 0},
  8865. {0x82, 0, 0, 0, 0},
  8866. {0x83, 0, 0, 0, 0},
  8867. {0x84, 0, 0, 0, 0},
  8868. {0x85, 0, 0, 0, 0},
  8869. {0x86, 0, 0, 0, 0},
  8870. {0x87, 0, 0, 0, 0},
  8871. {0x88, 0, 0, 0, 0},
  8872. {0x89, 0, 0, 0, 0},
  8873. {0x8A, 0, 0, 0, 0},
  8874. {0x8B, 0, 0, 0, 0},
  8875. {0x8C, 0, 0, 0, 0},
  8876. {0x8D, 0, 0, 0, 0},
  8877. {0x8E, 0, 0, 0, 0},
  8878. {0x8F, 0, 0, 0, 0},
  8879. {0x90, 0, 0, 0, 0},
  8880. {0x91, 0, 0, 0, 0},
  8881. {0x92, 0, 0, 0, 0},
  8882. {0x93, 0, 0, 0, 0},
  8883. {0x94, 0, 0, 0, 0},
  8884. {0xFFFF, 0, 0, 0, 0}
  8885. };
  8886. static struct radio_regs regs_SYN_2056_rev5[] = {
  8887. {0x02, 0, 0, 0, 0},
  8888. {0x03, 0, 0, 0, 0},
  8889. {0x04, 0, 0, 0, 0},
  8890. {0x05, 0, 0, 0, 0},
  8891. {0x06, 0, 0, 0, 0},
  8892. {0x07, 0, 0, 0, 0},
  8893. {0x08, 0, 0, 0, 0},
  8894. {0x09, 0x1, 0x1, 0, 0},
  8895. {0x0A, 0, 0, 0, 0},
  8896. {0x0B, 0, 0, 0, 0},
  8897. {0x0C, 0, 0, 0, 0},
  8898. {0x0D, 0, 0, 0, 0},
  8899. {0x0E, 0, 0, 0, 0},
  8900. {0x0F, 0, 0, 0, 0},
  8901. {0x10, 0, 0, 0, 0},
  8902. {0x11, 0, 0, 0, 0},
  8903. {0x12, 0, 0, 0, 0},
  8904. {0x13, 0, 0, 0, 0},
  8905. {0x14, 0, 0, 0, 0},
  8906. {0x15, 0, 0, 0, 0},
  8907. {0x16, 0, 0, 0, 0},
  8908. {0x17, 0, 0, 0, 0},
  8909. {0x18, 0, 0, 0, 0},
  8910. {0x19, 0, 0, 0, 0},
  8911. {0x1A, 0, 0, 0, 0},
  8912. {0x1B, 0, 0, 0, 0},
  8913. {0x1C, 0, 0, 0, 0},
  8914. {0x1D, 0, 0, 0, 0},
  8915. {0x1E, 0, 0, 0, 0},
  8916. {0x1F, 0, 0, 0, 0},
  8917. {0x20, 0, 0, 0, 0},
  8918. {0x21, 0, 0, 0, 0},
  8919. {0x22, 0x60, 0x60, 0, 0},
  8920. {0x23, 0x6, 0x6, 0, 0},
  8921. {0x24, 0xc, 0xc, 0, 0},
  8922. {0x25, 0, 0, 0, 0},
  8923. {0x26, 0, 0, 0, 0},
  8924. {0x27, 0, 0, 0, 0},
  8925. {0x28, 0x1, 0x1, 0, 0},
  8926. {0x29, 0, 0, 0, 0},
  8927. {0x2A, 0, 0, 0, 0},
  8928. {0x2B, 0, 0, 0, 0},
  8929. {0x2C, 0, 0, 0, 0},
  8930. {0x2D, 0, 0, 0, 0},
  8931. {0x2E, 0, 0, 0, 0},
  8932. {0x2F, 0x1f, 0x1f, 0, 0},
  8933. {0x30, 0x15, 0x15, 0, 0},
  8934. {0x31, 0xf, 0xf, 0, 0},
  8935. {0x32, 0, 0, 0, 0},
  8936. {0x33, 0, 0, 0, 0},
  8937. {0x34, 0, 0, 0, 0},
  8938. {0x35, 0, 0, 0, 0},
  8939. {0x36, 0, 0, 0, 0},
  8940. {0x37, 0, 0, 0, 0},
  8941. {0x38, 0, 0, 0, 0},
  8942. {0x39, 0, 0, 0, 0},
  8943. {0x3A, 0, 0, 0, 0},
  8944. {0x3B, 0, 0, 0, 0},
  8945. {0x3C, 0x13, 0x13, 0, 0},
  8946. {0x3D, 0xf, 0xf, 0, 0},
  8947. {0x3E, 0x18, 0x18, 0, 0},
  8948. {0x3F, 0, 0, 0, 0},
  8949. {0x40, 0, 0, 0, 0},
  8950. {0x41, 0x20, 0x20, 0, 0},
  8951. {0x42, 0x20, 0x20, 0, 0},
  8952. {0x43, 0, 0, 0, 0},
  8953. {0x44, 0x77, 0x77, 0, 0},
  8954. {0x45, 0x7, 0x7, 0, 0},
  8955. {0x46, 0x1, 0x1, 0, 0},
  8956. {0x47, 0x4, 0x4, 0, 0},
  8957. {0x48, 0xf, 0xf, 0, 0},
  8958. {0x49, 0x30, 0x30, 0, 0},
  8959. {0x4A, 0x32, 0x32, 0, 0},
  8960. {0x4B, 0xd, 0xd, 0, 0},
  8961. {0x4C, 0xd, 0xd, 0, 0},
  8962. {0x4D, 0x4, 0x4, 0, 0},
  8963. {0x4E, 0x6, 0x6, 0, 0},
  8964. {0x4F, 0x1, 0x1, 0, 0},
  8965. {0x50, 0x1c, 0x1c, 0, 0},
  8966. {0x51, 0x2, 0x2, 0, 0},
  8967. {0x52, 0x2, 0x2, 0, 0},
  8968. {0x53, 0xf7, 0xf7, 1, 1},
  8969. {0x54, 0xb4, 0xb4, 0, 0},
  8970. {0x55, 0xd2, 0xd2, 0, 0},
  8971. {0x56, 0, 0, 0, 0},
  8972. {0x57, 0, 0, 0, 0},
  8973. {0x58, 0x4, 0x4, 0, 0},
  8974. {0x59, 0x96, 0x96, 0, 0},
  8975. {0x5A, 0x3e, 0x3e, 0, 0},
  8976. {0x5B, 0x3e, 0x3e, 0, 0},
  8977. {0x5C, 0x13, 0x13, 0, 0},
  8978. {0x5D, 0x2, 0x2, 0, 0},
  8979. {0x5E, 0, 0, 0, 0},
  8980. {0x5F, 0x7, 0x7, 0, 0},
  8981. {0x60, 0x7, 0x7, 1, 1},
  8982. {0x61, 0x8, 0x8, 0, 0},
  8983. {0x62, 0x3, 0x3, 0, 0},
  8984. {0x63, 0, 0, 0, 0},
  8985. {0x64, 0, 0, 0, 0},
  8986. {0x65, 0, 0, 0, 0},
  8987. {0x66, 0, 0, 0, 0},
  8988. {0x67, 0, 0, 0, 0},
  8989. {0x68, 0x40, 0x40, 0, 0},
  8990. {0x69, 0, 0, 0, 0},
  8991. {0x6A, 0, 0, 0, 0},
  8992. {0x6B, 0, 0, 0, 0},
  8993. {0x6C, 0, 0, 0, 0},
  8994. {0x6D, 0x1, 0x1, 0, 0},
  8995. {0x6E, 0, 0, 0, 0},
  8996. {0x6F, 0, 0, 0, 0},
  8997. {0x70, 0x60, 0x60, 0, 0},
  8998. {0x71, 0x66, 0x66, 0, 0},
  8999. {0x72, 0xc, 0xc, 0, 0},
  9000. {0x73, 0x66, 0x66, 0, 0},
  9001. {0x74, 0x8f, 0x8f, 1, 1},
  9002. {0x75, 0, 0, 0, 0},
  9003. {0x76, 0xcc, 0xcc, 0, 0},
  9004. {0x77, 0x1, 0x1, 0, 0},
  9005. {0x78, 0x66, 0x66, 0, 0},
  9006. {0x79, 0x66, 0x66, 0, 0},
  9007. {0x7A, 0, 0, 0, 0},
  9008. {0x7B, 0, 0, 0, 0},
  9009. {0x7C, 0, 0, 0, 0},
  9010. {0x7D, 0, 0, 0, 0},
  9011. {0x7E, 0, 0, 0, 0},
  9012. {0x7F, 0, 0, 0, 0},
  9013. {0x80, 0, 0, 0, 0},
  9014. {0x81, 0, 0, 0, 0},
  9015. {0x82, 0, 0, 0, 0},
  9016. {0x83, 0, 0, 0, 0},
  9017. {0x84, 0, 0, 0, 0},
  9018. {0x85, 0xff, 0xff, 0, 0},
  9019. {0x86, 0, 0, 0, 0},
  9020. {0x87, 0, 0, 0, 0},
  9021. {0x88, 0, 0, 0, 0},
  9022. {0x89, 0, 0, 0, 0},
  9023. {0x8A, 0, 0, 0, 0},
  9024. {0x8B, 0, 0, 0, 0},
  9025. {0x8C, 0, 0, 0, 0},
  9026. {0x8D, 0, 0, 0, 0},
  9027. {0x8E, 0, 0, 0, 0},
  9028. {0x8F, 0, 0, 0, 0},
  9029. {0x90, 0, 0, 0, 0},
  9030. {0x91, 0, 0, 0, 0},
  9031. {0x92, 0, 0, 0, 0},
  9032. {0x93, 0, 0, 0, 0},
  9033. {0x94, 0, 0, 0, 0},
  9034. {0x95, 0, 0, 0, 0},
  9035. {0x96, 0, 0, 0, 0},
  9036. {0x97, 0, 0, 0, 0},
  9037. {0x98, 0, 0, 0, 0},
  9038. {0x99, 0, 0, 0, 0},
  9039. {0x9A, 0, 0, 0, 0},
  9040. {0x9B, 0, 0, 0, 0},
  9041. {0x9C, 0, 0, 0, 0},
  9042. {0x9D, 0, 0, 0, 0},
  9043. {0x9E, 0, 0, 0, 0},
  9044. {0x9F, 0x6, 0x6, 0, 0},
  9045. {0xA0, 0x66, 0x66, 0, 0},
  9046. {0xA1, 0x66, 0x66, 0, 0},
  9047. {0xA2, 0x66, 0x66, 0, 0},
  9048. {0xA3, 0x66, 0x66, 0, 0},
  9049. {0xA4, 0x66, 0x66, 0, 0},
  9050. {0xA5, 0x66, 0x66, 0, 0},
  9051. {0xA6, 0x66, 0x66, 0, 0},
  9052. {0xA7, 0x66, 0x66, 0, 0},
  9053. {0xA8, 0x66, 0x66, 0, 0},
  9054. {0xA9, 0x66, 0x66, 0, 0},
  9055. {0xAA, 0x66, 0x66, 0, 0},
  9056. {0xAB, 0x66, 0x66, 0, 0},
  9057. {0xAC, 0x66, 0x66, 0, 0},
  9058. {0xAD, 0x66, 0x66, 0, 0},
  9059. {0xAE, 0x66, 0x66, 0, 0},
  9060. {0xAF, 0x66, 0x66, 0, 0},
  9061. {0xB0, 0x66, 0x66, 0, 0},
  9062. {0xB1, 0x66, 0x66, 0, 0},
  9063. {0xB2, 0x66, 0x66, 0, 0},
  9064. {0xB3, 0xa, 0xa, 0, 0},
  9065. {0xB4, 0, 0, 0, 0},
  9066. {0xB5, 0, 0, 0, 0},
  9067. {0xB6, 0, 0, 0, 0},
  9068. {0xFFFF, 0, 0, 0, 0}
  9069. };
  9070. static struct radio_regs regs_TX_2056_rev5[] = {
  9071. {0x02, 0, 0, 0, 0},
  9072. {0x03, 0, 0, 0, 0},
  9073. {0x04, 0, 0, 0, 0},
  9074. {0x05, 0, 0, 0, 0},
  9075. {0x06, 0, 0, 0, 0},
  9076. {0x07, 0, 0, 0, 0},
  9077. {0x08, 0, 0, 0, 0},
  9078. {0x09, 0, 0, 0, 0},
  9079. {0x0A, 0, 0, 0, 0},
  9080. {0x0B, 0, 0, 0, 0},
  9081. {0x0C, 0, 0, 0, 0},
  9082. {0x0D, 0, 0, 0, 0},
  9083. {0x0E, 0, 0, 0, 0},
  9084. {0x0F, 0, 0, 0, 0},
  9085. {0x10, 0, 0, 0, 0},
  9086. {0x11, 0, 0, 0, 0},
  9087. {0x12, 0, 0, 0, 0},
  9088. {0x13, 0, 0, 0, 0},
  9089. {0x14, 0, 0, 0, 0},
  9090. {0x15, 0, 0, 0, 0},
  9091. {0x16, 0, 0, 0, 0},
  9092. {0x17, 0, 0, 0, 0},
  9093. {0x18, 0, 0, 0, 0},
  9094. {0x19, 0, 0, 0, 0},
  9095. {0x1A, 0, 0, 0, 0},
  9096. {0x1B, 0, 0, 0, 0},
  9097. {0x1C, 0, 0, 0, 0},
  9098. {0x1D, 0, 0, 0, 0},
  9099. {0x1E, 0, 0, 0, 0},
  9100. {0x1F, 0, 0, 0, 0},
  9101. {0x20, 0, 0, 0, 0},
  9102. {0x21, 0x88, 0x88, 0, 0},
  9103. {0x22, 0x88, 0x88, 0, 0},
  9104. {0x23, 0x88, 0x88, 0, 0},
  9105. {0x24, 0x88, 0x88, 0, 0},
  9106. {0x25, 0xc, 0xc, 0, 0},
  9107. {0x26, 0, 0, 0, 0},
  9108. {0x27, 0x3, 0x3, 0, 0},
  9109. {0x28, 0, 0, 0, 0},
  9110. {0x29, 0x3, 0x3, 0, 0},
  9111. {0x2A, 0x37, 0x37, 0, 0},
  9112. {0x2B, 0x3, 0x3, 0, 0},
  9113. {0x2C, 0, 0, 0, 0},
  9114. {0x2D, 0, 0, 0, 0},
  9115. {0x2E, 0x1, 0x1, 0, 0},
  9116. {0x2F, 0x1, 0x1, 0, 0},
  9117. {0x30, 0, 0, 0, 0},
  9118. {0x31, 0, 0, 0, 0},
  9119. {0x32, 0, 0, 0, 0},
  9120. {0x33, 0x11, 0x11, 0, 0},
  9121. {0x34, 0x11, 0x11, 0, 0},
  9122. {0x35, 0, 0, 0, 0},
  9123. {0x36, 0, 0, 0, 0},
  9124. {0x37, 0x3, 0x3, 0, 0},
  9125. {0x38, 0xf, 0xf, 0, 0},
  9126. {0x39, 0, 0, 0, 0},
  9127. {0x3A, 0x2d, 0x2d, 0, 0},
  9128. {0x3B, 0, 0, 0, 0},
  9129. {0x3C, 0x6e, 0x6e, 0, 0},
  9130. {0x3D, 0xf0, 0xf0, 1, 1},
  9131. {0x3E, 0, 0, 0, 0},
  9132. {0x3F, 0, 0, 0, 0},
  9133. {0x40, 0, 0, 0, 0},
  9134. {0x41, 0x3, 0x3, 0, 0},
  9135. {0x42, 0x3, 0x3, 0, 0},
  9136. {0x43, 0, 0, 0, 0},
  9137. {0x44, 0x1e, 0x1e, 0, 0},
  9138. {0x45, 0, 0, 0, 0},
  9139. {0x46, 0x6e, 0x6e, 0, 0},
  9140. {0x47, 0xf0, 0xf0, 1, 1},
  9141. {0x48, 0, 0, 0, 0},
  9142. {0x49, 0x2, 0x2, 0, 0},
  9143. {0x4A, 0xff, 0xff, 1, 1},
  9144. {0x4B, 0xc, 0xc, 0, 0},
  9145. {0x4C, 0, 0, 0, 0},
  9146. {0x4D, 0x38, 0x38, 0, 0},
  9147. {0x4E, 0x70, 0x70, 1, 1},
  9148. {0x4F, 0x2, 0x2, 0, 0},
  9149. {0x50, 0x88, 0x88, 0, 0},
  9150. {0x51, 0xc, 0xc, 0, 0},
  9151. {0x52, 0, 0, 0, 0},
  9152. {0x53, 0x8, 0x8, 0, 0},
  9153. {0x54, 0x70, 0x70, 1, 1},
  9154. {0x55, 0x2, 0x2, 0, 0},
  9155. {0x56, 0xff, 0xff, 1, 1},
  9156. {0x57, 0, 0, 0, 0},
  9157. {0x58, 0x83, 0x83, 0, 0},
  9158. {0x59, 0x77, 0x77, 1, 1},
  9159. {0x5A, 0, 0, 0, 0},
  9160. {0x5B, 0x2, 0x2, 0, 0},
  9161. {0x5C, 0x88, 0x88, 0, 0},
  9162. {0x5D, 0, 0, 0, 0},
  9163. {0x5E, 0x8, 0x8, 0, 0},
  9164. {0x5F, 0x77, 0x77, 1, 1},
  9165. {0x60, 0x1, 0x1, 0, 0},
  9166. {0x61, 0, 0, 0, 0},
  9167. {0x62, 0x7, 0x7, 0, 0},
  9168. {0x63, 0, 0, 0, 0},
  9169. {0x64, 0x7, 0x7, 0, 0},
  9170. {0x65, 0, 0, 0, 0},
  9171. {0x66, 0, 0, 0, 0},
  9172. {0x67, 0, 0, 1, 1},
  9173. {0x68, 0, 0, 0, 0},
  9174. {0x69, 0xa, 0xa, 0, 0},
  9175. {0x6A, 0, 0, 0, 0},
  9176. {0x6B, 0, 0, 0, 0},
  9177. {0x6C, 0, 0, 0, 0},
  9178. {0x6D, 0, 0, 0, 0},
  9179. {0x6E, 0, 0, 0, 0},
  9180. {0x6F, 0, 0, 0, 0},
  9181. {0x70, 0, 0, 0, 0},
  9182. {0x71, 0x2, 0x2, 0, 0},
  9183. {0x72, 0, 0, 0, 0},
  9184. {0x73, 0, 0, 0, 0},
  9185. {0x74, 0xe, 0xe, 0, 0},
  9186. {0x75, 0xe, 0xe, 0, 0},
  9187. {0x76, 0xe, 0xe, 0, 0},
  9188. {0x77, 0x13, 0x13, 0, 0},
  9189. {0x78, 0x13, 0x13, 0, 0},
  9190. {0x79, 0x1b, 0x1b, 0, 0},
  9191. {0x7A, 0x1b, 0x1b, 0, 0},
  9192. {0x7B, 0x55, 0x55, 0, 0},
  9193. {0x7C, 0x5b, 0x5b, 0, 0},
  9194. {0x7D, 0, 0, 0, 0},
  9195. {0x7E, 0, 0, 0, 0},
  9196. {0x7F, 0, 0, 0, 0},
  9197. {0x80, 0, 0, 0, 0},
  9198. {0x81, 0, 0, 0, 0},
  9199. {0x82, 0, 0, 0, 0},
  9200. {0x83, 0, 0, 0, 0},
  9201. {0x84, 0, 0, 0, 0},
  9202. {0x85, 0, 0, 0, 0},
  9203. {0x86, 0, 0, 0, 0},
  9204. {0x87, 0, 0, 0, 0},
  9205. {0x88, 0, 0, 0, 0},
  9206. {0x89, 0, 0, 0, 0},
  9207. {0x8A, 0, 0, 0, 0},
  9208. {0x8B, 0, 0, 0, 0},
  9209. {0x8C, 0, 0, 0, 0},
  9210. {0x8D, 0, 0, 0, 0},
  9211. {0x8E, 0, 0, 0, 0},
  9212. {0x8F, 0, 0, 0, 0},
  9213. {0x90, 0, 0, 0, 0},
  9214. {0x91, 0, 0, 0, 0},
  9215. {0x92, 0, 0, 0, 0},
  9216. {0x93, 0x70, 0x70, 0, 0},
  9217. {0x94, 0x70, 0x70, 0, 0},
  9218. {0x95, 0x71, 0x71, 1, 1},
  9219. {0x96, 0x71, 0x71, 1, 1},
  9220. {0x97, 0x72, 0x72, 1, 1},
  9221. {0x98, 0x73, 0x73, 1, 1},
  9222. {0x99, 0x74, 0x74, 1, 1},
  9223. {0x9A, 0x75, 0x75, 1, 1},
  9224. {0xFFFF, 0, 0, 0, 0}
  9225. };
  9226. static struct radio_regs regs_RX_2056_rev5[] = {
  9227. {0x02, 0, 0, 0, 0},
  9228. {0x03, 0, 0, 0, 0},
  9229. {0x04, 0, 0, 0, 0},
  9230. {0x05, 0, 0, 0, 0},
  9231. {0x06, 0, 0, 0, 0},
  9232. {0x07, 0, 0, 0, 0},
  9233. {0x08, 0, 0, 0, 0},
  9234. {0x09, 0, 0, 0, 0},
  9235. {0x0A, 0, 0, 0, 0},
  9236. {0x0B, 0, 0, 0, 0},
  9237. {0x0C, 0, 0, 0, 0},
  9238. {0x0D, 0, 0, 0, 0},
  9239. {0x0E, 0, 0, 0, 0},
  9240. {0x0F, 0, 0, 0, 0},
  9241. {0x10, 0, 0, 0, 0},
  9242. {0x11, 0, 0, 0, 0},
  9243. {0x12, 0, 0, 0, 0},
  9244. {0x13, 0, 0, 0, 0},
  9245. {0x14, 0, 0, 0, 0},
  9246. {0x15, 0, 0, 0, 0},
  9247. {0x16, 0, 0, 0, 0},
  9248. {0x17, 0, 0, 0, 0},
  9249. {0x18, 0, 0, 0, 0},
  9250. {0x19, 0, 0, 0, 0},
  9251. {0x1A, 0, 0, 0, 0},
  9252. {0x1B, 0, 0, 0, 0},
  9253. {0x1C, 0, 0, 0, 0},
  9254. {0x1D, 0, 0, 0, 0},
  9255. {0x1E, 0, 0, 0, 0},
  9256. {0x1F, 0, 0, 0, 0},
  9257. {0x20, 0x3, 0x3, 0, 0},
  9258. {0x21, 0, 0, 0, 0},
  9259. {0x22, 0, 0, 0, 0},
  9260. {0x23, 0x90, 0x90, 0, 0},
  9261. {0x24, 0x55, 0x55, 0, 0},
  9262. {0x25, 0x15, 0x15, 0, 0},
  9263. {0x26, 0x5, 0x5, 0, 0},
  9264. {0x27, 0x15, 0x15, 0, 0},
  9265. {0x28, 0x5, 0x5, 0, 0},
  9266. {0x29, 0x20, 0x20, 0, 0},
  9267. {0x2A, 0x11, 0x11, 0, 0},
  9268. {0x2B, 0x90, 0x90, 0, 0},
  9269. {0x2C, 0, 0, 0, 0},
  9270. {0x2D, 0x88, 0x88, 0, 0},
  9271. {0x2E, 0x32, 0x32, 0, 0},
  9272. {0x2F, 0x77, 0x77, 0, 0},
  9273. {0x30, 0x17, 0x17, 1, 1},
  9274. {0x31, 0xff, 0xff, 1, 1},
  9275. {0x32, 0x20, 0x20, 0, 0},
  9276. {0x33, 0, 0, 0, 0},
  9277. {0x34, 0x88, 0x88, 0, 0},
  9278. {0x35, 0x32, 0x32, 0, 0},
  9279. {0x36, 0x77, 0x77, 0, 0},
  9280. {0x37, 0x17, 0x17, 1, 1},
  9281. {0x38, 0xf0, 0xf0, 1, 1},
  9282. {0x39, 0x20, 0x20, 0, 0},
  9283. {0x3A, 0x8, 0x8, 0, 0},
  9284. {0x3B, 0x55, 0x55, 1, 1},
  9285. {0x3C, 0, 0, 0, 0},
  9286. {0x3D, 0x88, 0x88, 1, 1},
  9287. {0x3E, 0, 0, 0, 0},
  9288. {0x3F, 0, 0, 1, 1},
  9289. {0x40, 0x7, 0x7, 1, 1},
  9290. {0x41, 0x6, 0x6, 0, 0},
  9291. {0x42, 0x4, 0x4, 0, 0},
  9292. {0x43, 0, 0, 0, 0},
  9293. {0x44, 0x8, 0x8, 0, 0},
  9294. {0x45, 0x55, 0x55, 1, 1},
  9295. {0x46, 0, 0, 0, 0},
  9296. {0x47, 0x11, 0x11, 0, 0},
  9297. {0x48, 0, 0, 0, 0},
  9298. {0x49, 0, 0, 1, 1},
  9299. {0x4A, 0x7, 0x7, 0, 0},
  9300. {0x4B, 0x6, 0x6, 0, 0},
  9301. {0x4C, 0x4, 0x4, 0, 0},
  9302. {0x4D, 0, 0, 0, 0},
  9303. {0x4E, 0, 0, 0, 0},
  9304. {0x4F, 0x26, 0x26, 1, 1},
  9305. {0x50, 0x26, 0x26, 1, 1},
  9306. {0x51, 0xf, 0xf, 1, 1},
  9307. {0x52, 0xf, 0xf, 1, 1},
  9308. {0x53, 0x44, 0x44, 0, 0},
  9309. {0x54, 0, 0, 0, 0},
  9310. {0x55, 0, 0, 0, 0},
  9311. {0x56, 0x8, 0x8, 0, 0},
  9312. {0x57, 0x8, 0x8, 0, 0},
  9313. {0x58, 0x7, 0x7, 0, 0},
  9314. {0x59, 0x22, 0x22, 0, 0},
  9315. {0x5A, 0x22, 0x22, 0, 0},
  9316. {0x5B, 0x2, 0x2, 0, 0},
  9317. {0x5C, 0x4, 0x4, 1, 1},
  9318. {0x5D, 0x7, 0x7, 0, 0},
  9319. {0x5E, 0x55, 0x55, 0, 0},
  9320. {0x5F, 0x23, 0x23, 0, 0},
  9321. {0x60, 0x41, 0x41, 0, 0},
  9322. {0x61, 0x1, 0x1, 0, 0},
  9323. {0x62, 0xa, 0xa, 0, 0},
  9324. {0x63, 0, 0, 0, 0},
  9325. {0x64, 0, 0, 0, 0},
  9326. {0x65, 0, 0, 0, 0},
  9327. {0x66, 0, 0, 0, 0},
  9328. {0x67, 0, 0, 0, 0},
  9329. {0x68, 0, 0, 0, 0},
  9330. {0x69, 0, 0, 0, 0},
  9331. {0x6A, 0, 0, 0, 0},
  9332. {0x6B, 0xc, 0xc, 0, 0},
  9333. {0x6C, 0, 0, 0, 0},
  9334. {0x6D, 0, 0, 0, 0},
  9335. {0x6E, 0, 0, 0, 0},
  9336. {0x6F, 0, 0, 0, 0},
  9337. {0x70, 0, 0, 0, 0},
  9338. {0x71, 0, 0, 0, 0},
  9339. {0x72, 0x22, 0x22, 0, 0},
  9340. {0x73, 0x22, 0x22, 0, 0},
  9341. {0x74, 0, 0, 1, 1},
  9342. {0x75, 0xa, 0xa, 0, 0},
  9343. {0x76, 0x1, 0x1, 0, 0},
  9344. {0x77, 0x22, 0x22, 0, 0},
  9345. {0x78, 0x30, 0x30, 0, 0},
  9346. {0x79, 0, 0, 0, 0},
  9347. {0x7A, 0, 0, 0, 0},
  9348. {0x7B, 0, 0, 0, 0},
  9349. {0x7C, 0, 0, 0, 0},
  9350. {0x7D, 0, 0, 0, 0},
  9351. {0x7E, 0, 0, 0, 0},
  9352. {0x7F, 0, 0, 0, 0},
  9353. {0x80, 0, 0, 0, 0},
  9354. {0x81, 0, 0, 0, 0},
  9355. {0x82, 0, 0, 0, 0},
  9356. {0x83, 0, 0, 0, 0},
  9357. {0x84, 0, 0, 0, 0},
  9358. {0x85, 0, 0, 0, 0},
  9359. {0x86, 0, 0, 0, 0},
  9360. {0x87, 0, 0, 0, 0},
  9361. {0x88, 0, 0, 0, 0},
  9362. {0x89, 0, 0, 0, 0},
  9363. {0x8A, 0, 0, 0, 0},
  9364. {0x8B, 0, 0, 0, 0},
  9365. {0x8C, 0, 0, 0, 0},
  9366. {0x8D, 0, 0, 0, 0},
  9367. {0x8E, 0, 0, 0, 0},
  9368. {0x8F, 0, 0, 0, 0},
  9369. {0x90, 0, 0, 0, 0},
  9370. {0x91, 0, 0, 0, 0},
  9371. {0x92, 0, 0, 0, 0},
  9372. {0x93, 0, 0, 0, 0},
  9373. {0x94, 0, 0, 0, 0},
  9374. {0xFFFF, 0, 0, 0, 0}
  9375. };
  9376. static struct radio_regs regs_SYN_2056_rev6[] = {
  9377. {0x02, 0, 0, 0, 0},
  9378. {0x03, 0, 0, 0, 0},
  9379. {0x04, 0, 0, 0, 0},
  9380. {0x05, 0, 0, 0, 0},
  9381. {0x06, 0, 0, 0, 0},
  9382. {0x07, 0, 0, 0, 0},
  9383. {0x08, 0, 0, 0, 0},
  9384. {0x09, 0x1, 0x1, 0, 0},
  9385. {0x0A, 0, 0, 0, 0},
  9386. {0x0B, 0, 0, 0, 0},
  9387. {0x0C, 0, 0, 0, 0},
  9388. {0x0D, 0, 0, 0, 0},
  9389. {0x0E, 0, 0, 0, 0},
  9390. {0x0F, 0, 0, 0, 0},
  9391. {0x10, 0, 0, 0, 0},
  9392. {0x11, 0, 0, 0, 0},
  9393. {0x12, 0, 0, 0, 0},
  9394. {0x13, 0, 0, 0, 0},
  9395. {0x14, 0, 0, 0, 0},
  9396. {0x15, 0, 0, 0, 0},
  9397. {0x16, 0, 0, 0, 0},
  9398. {0x17, 0, 0, 0, 0},
  9399. {0x18, 0, 0, 0, 0},
  9400. {0x19, 0, 0, 0, 0},
  9401. {0x1A, 0, 0, 0, 0},
  9402. {0x1B, 0, 0, 0, 0},
  9403. {0x1C, 0, 0, 0, 0},
  9404. {0x1D, 0, 0, 0, 0},
  9405. {0x1E, 0, 0, 0, 0},
  9406. {0x1F, 0, 0, 0, 0},
  9407. {0x20, 0, 0, 0, 0},
  9408. {0x21, 0, 0, 0, 0},
  9409. {0x22, 0x60, 0x60, 0, 0},
  9410. {0x23, 0x6, 0x6, 0, 0},
  9411. {0x24, 0xc, 0xc, 0, 0},
  9412. {0x25, 0, 0, 0, 0},
  9413. {0x26, 0, 0, 0, 0},
  9414. {0x27, 0, 0, 0, 0},
  9415. {0x28, 0x1, 0x1, 0, 0},
  9416. {0x29, 0, 0, 0, 0},
  9417. {0x2A, 0, 0, 0, 0},
  9418. {0x2B, 0, 0, 0, 0},
  9419. {0x2C, 0, 0, 0, 0},
  9420. {0x2D, 0, 0, 0, 0},
  9421. {0x2E, 0, 0, 0, 0},
  9422. {0x2F, 0x1f, 0x1f, 0, 0},
  9423. {0x30, 0x15, 0x15, 0, 0},
  9424. {0x31, 0xf, 0xf, 0, 0},
  9425. {0x32, 0, 0, 0, 0},
  9426. {0x33, 0, 0, 0, 0},
  9427. {0x34, 0, 0, 0, 0},
  9428. {0x35, 0, 0, 0, 0},
  9429. {0x36, 0, 0, 0, 0},
  9430. {0x37, 0, 0, 0, 0},
  9431. {0x38, 0, 0, 0, 0},
  9432. {0x39, 0, 0, 0, 0},
  9433. {0x3A, 0, 0, 0, 0},
  9434. {0x3B, 0, 0, 0, 0},
  9435. {0x3C, 0x13, 0x13, 0, 0},
  9436. {0x3D, 0xf, 0xf, 0, 0},
  9437. {0x3E, 0x18, 0x18, 0, 0},
  9438. {0x3F, 0, 0, 0, 0},
  9439. {0x40, 0, 0, 0, 0},
  9440. {0x41, 0x20, 0x20, 0, 0},
  9441. {0x42, 0x20, 0x20, 0, 0},
  9442. {0x43, 0, 0, 0, 0},
  9443. {0x44, 0x77, 0x77, 0, 0},
  9444. {0x45, 0x7, 0x7, 0, 0},
  9445. {0x46, 0x1, 0x1, 0, 0},
  9446. {0x47, 0x4, 0x4, 0, 0},
  9447. {0x48, 0xf, 0xf, 0, 0},
  9448. {0x49, 0x30, 0x30, 0, 0},
  9449. {0x4A, 0x32, 0x32, 0, 0},
  9450. {0x4B, 0xd, 0xd, 0, 0},
  9451. {0x4C, 0xd, 0xd, 0, 0},
  9452. {0x4D, 0x4, 0x4, 0, 0},
  9453. {0x4E, 0x6, 0x6, 0, 0},
  9454. {0x4F, 0x1, 0x1, 0, 0},
  9455. {0x50, 0x1c, 0x1c, 0, 0},
  9456. {0x51, 0x2, 0x2, 0, 0},
  9457. {0x52, 0x2, 0x2, 0, 0},
  9458. {0x53, 0xf7, 0xf7, 1, 1},
  9459. {0x54, 0xb4, 0xb4, 0, 0},
  9460. {0x55, 0xd2, 0xd2, 0, 0},
  9461. {0x56, 0, 0, 0, 0},
  9462. {0x57, 0, 0, 0, 0},
  9463. {0x58, 0x4, 0x4, 0, 0},
  9464. {0x59, 0x96, 0x96, 0, 0},
  9465. {0x5A, 0x3e, 0x3e, 0, 0},
  9466. {0x5B, 0x3e, 0x3e, 0, 0},
  9467. {0x5C, 0x13, 0x13, 0, 0},
  9468. {0x5D, 0x2, 0x2, 0, 0},
  9469. {0x5E, 0, 0, 0, 0},
  9470. {0x5F, 0x7, 0x7, 0, 0},
  9471. {0x60, 0x7, 0x7, 1, 1},
  9472. {0x61, 0x8, 0x8, 0, 0},
  9473. {0x62, 0x3, 0x3, 0, 0},
  9474. {0x63, 0, 0, 0, 0},
  9475. {0x64, 0, 0, 0, 0},
  9476. {0x65, 0, 0, 0, 0},
  9477. {0x66, 0, 0, 0, 0},
  9478. {0x67, 0, 0, 0, 0},
  9479. {0x68, 0x40, 0x40, 0, 0},
  9480. {0x69, 0, 0, 0, 0},
  9481. {0x6A, 0, 0, 0, 0},
  9482. {0x6B, 0, 0, 0, 0},
  9483. {0x6C, 0, 0, 0, 0},
  9484. {0x6D, 0x1, 0x1, 0, 0},
  9485. {0x6E, 0, 0, 0, 0},
  9486. {0x6F, 0, 0, 0, 0},
  9487. {0x70, 0x60, 0x60, 0, 0},
  9488. {0x71, 0x66, 0x66, 0, 0},
  9489. {0x72, 0xc, 0xc, 0, 0},
  9490. {0x73, 0x66, 0x66, 0, 0},
  9491. {0x74, 0x8f, 0x8f, 1, 1},
  9492. {0x75, 0, 0, 0, 0},
  9493. {0x76, 0xcc, 0xcc, 0, 0},
  9494. {0x77, 0x1, 0x1, 0, 0},
  9495. {0x78, 0x66, 0x66, 0, 0},
  9496. {0x79, 0x66, 0x66, 0, 0},
  9497. {0x7A, 0, 0, 0, 0},
  9498. {0x7B, 0, 0, 0, 0},
  9499. {0x7C, 0, 0, 0, 0},
  9500. {0x7D, 0, 0, 0, 0},
  9501. {0x7E, 0, 0, 0, 0},
  9502. {0x7F, 0, 0, 0, 0},
  9503. {0x80, 0, 0, 0, 0},
  9504. {0x81, 0, 0, 0, 0},
  9505. {0x82, 0, 0, 0, 0},
  9506. {0x83, 0, 0, 0, 0},
  9507. {0x84, 0, 0, 0, 0},
  9508. {0x85, 0xff, 0xff, 0, 0},
  9509. {0x86, 0, 0, 0, 0},
  9510. {0x87, 0, 0, 0, 0},
  9511. {0x88, 0, 0, 0, 0},
  9512. {0x89, 0, 0, 0, 0},
  9513. {0x8A, 0, 0, 0, 0},
  9514. {0x8B, 0, 0, 0, 0},
  9515. {0x8C, 0, 0, 0, 0},
  9516. {0x8D, 0, 0, 0, 0},
  9517. {0x8E, 0, 0, 0, 0},
  9518. {0x8F, 0, 0, 0, 0},
  9519. {0x90, 0, 0, 0, 0},
  9520. {0x91, 0, 0, 0, 0},
  9521. {0x92, 0, 0, 0, 0},
  9522. {0x93, 0, 0, 0, 0},
  9523. {0x94, 0, 0, 0, 0},
  9524. {0x95, 0, 0, 0, 0},
  9525. {0x96, 0, 0, 0, 0},
  9526. {0x97, 0, 0, 0, 0},
  9527. {0x98, 0, 0, 0, 0},
  9528. {0x99, 0, 0, 0, 0},
  9529. {0x9A, 0, 0, 0, 0},
  9530. {0x9B, 0, 0, 0, 0},
  9531. {0x9C, 0, 0, 0, 0},
  9532. {0x9D, 0, 0, 0, 0},
  9533. {0x9E, 0, 0, 0, 0},
  9534. {0x9F, 0x6, 0x6, 0, 0},
  9535. {0xA0, 0x66, 0x66, 0, 0},
  9536. {0xA1, 0x66, 0x66, 0, 0},
  9537. {0xA2, 0x66, 0x66, 0, 0},
  9538. {0xA3, 0x66, 0x66, 0, 0},
  9539. {0xA4, 0x66, 0x66, 0, 0},
  9540. {0xA5, 0x66, 0x66, 0, 0},
  9541. {0xA6, 0x66, 0x66, 0, 0},
  9542. {0xA7, 0x66, 0x66, 0, 0},
  9543. {0xA8, 0x66, 0x66, 0, 0},
  9544. {0xA9, 0x66, 0x66, 0, 0},
  9545. {0xAA, 0x66, 0x66, 0, 0},
  9546. {0xAB, 0x66, 0x66, 0, 0},
  9547. {0xAC, 0x66, 0x66, 0, 0},
  9548. {0xAD, 0x66, 0x66, 0, 0},
  9549. {0xAE, 0x66, 0x66, 0, 0},
  9550. {0xAF, 0x66, 0x66, 0, 0},
  9551. {0xB0, 0x66, 0x66, 0, 0},
  9552. {0xB1, 0x66, 0x66, 0, 0},
  9553. {0xB2, 0x66, 0x66, 0, 0},
  9554. {0xB3, 0xa, 0xa, 0, 0},
  9555. {0xB4, 0, 0, 0, 0},
  9556. {0xB5, 0, 0, 0, 0},
  9557. {0xB6, 0, 0, 0, 0},
  9558. {0xFFFF, 0, 0, 0, 0}
  9559. };
  9560. static struct radio_regs regs_TX_2056_rev6[] = {
  9561. {0x02, 0, 0, 0, 0},
  9562. {0x03, 0, 0, 0, 0},
  9563. {0x04, 0, 0, 0, 0},
  9564. {0x05, 0, 0, 0, 0},
  9565. {0x06, 0, 0, 0, 0},
  9566. {0x07, 0, 0, 0, 0},
  9567. {0x08, 0, 0, 0, 0},
  9568. {0x09, 0, 0, 0, 0},
  9569. {0x0A, 0, 0, 0, 0},
  9570. {0x0B, 0, 0, 0, 0},
  9571. {0x0C, 0, 0, 0, 0},
  9572. {0x0D, 0, 0, 0, 0},
  9573. {0x0E, 0, 0, 0, 0},
  9574. {0x0F, 0, 0, 0, 0},
  9575. {0x10, 0, 0, 0, 0},
  9576. {0x11, 0, 0, 0, 0},
  9577. {0x12, 0, 0, 0, 0},
  9578. {0x13, 0, 0, 0, 0},
  9579. {0x14, 0, 0, 0, 0},
  9580. {0x15, 0, 0, 0, 0},
  9581. {0x16, 0, 0, 0, 0},
  9582. {0x17, 0, 0, 0, 0},
  9583. {0x18, 0, 0, 0, 0},
  9584. {0x19, 0, 0, 0, 0},
  9585. {0x1A, 0, 0, 0, 0},
  9586. {0x1B, 0, 0, 0, 0},
  9587. {0x1C, 0, 0, 0, 0},
  9588. {0x1D, 0, 0, 0, 0},
  9589. {0x1E, 0, 0, 0, 0},
  9590. {0x1F, 0, 0, 0, 0},
  9591. {0x20, 0, 0, 0, 0},
  9592. {0x21, 0x88, 0x88, 0, 0},
  9593. {0x22, 0x88, 0x88, 0, 0},
  9594. {0x23, 0x88, 0x88, 0, 0},
  9595. {0x24, 0x88, 0x88, 0, 0},
  9596. {0x25, 0xc, 0xc, 0, 0},
  9597. {0x26, 0, 0, 0, 0},
  9598. {0x27, 0x3, 0x3, 0, 0},
  9599. {0x28, 0, 0, 0, 0},
  9600. {0x29, 0x3, 0x3, 0, 0},
  9601. {0x2A, 0x37, 0x37, 0, 0},
  9602. {0x2B, 0x3, 0x3, 0, 0},
  9603. {0x2C, 0, 0, 0, 0},
  9604. {0x2D, 0, 0, 0, 0},
  9605. {0x2E, 0x1, 0x1, 0, 0},
  9606. {0x2F, 0x1, 0x1, 0, 0},
  9607. {0x30, 0, 0, 0, 0},
  9608. {0x31, 0, 0, 0, 0},
  9609. {0x32, 0, 0, 0, 0},
  9610. {0x33, 0x11, 0x11, 0, 0},
  9611. {0x34, 0xee, 0xee, 1, 1},
  9612. {0x35, 0, 0, 0, 0},
  9613. {0x36, 0, 0, 0, 0},
  9614. {0x37, 0x3, 0x3, 0, 0},
  9615. {0x38, 0x50, 0x50, 1, 1},
  9616. {0x39, 0, 0, 0, 0},
  9617. {0x3A, 0x50, 0x50, 1, 1},
  9618. {0x3B, 0, 0, 0, 0},
  9619. {0x3C, 0x6e, 0x6e, 0, 0},
  9620. {0x3D, 0xf0, 0xf0, 1, 1},
  9621. {0x3E, 0, 0, 0, 0},
  9622. {0x3F, 0, 0, 0, 0},
  9623. {0x40, 0, 0, 0, 0},
  9624. {0x41, 0x3, 0x3, 0, 0},
  9625. {0x42, 0x3, 0x3, 0, 0},
  9626. {0x43, 0, 0, 0, 0},
  9627. {0x44, 0x1e, 0x1e, 0, 0},
  9628. {0x45, 0, 0, 0, 0},
  9629. {0x46, 0x6e, 0x6e, 0, 0},
  9630. {0x47, 0xf0, 0xf0, 1, 1},
  9631. {0x48, 0, 0, 0, 0},
  9632. {0x49, 0x2, 0x2, 0, 0},
  9633. {0x4A, 0xff, 0xff, 1, 1},
  9634. {0x4B, 0xc, 0xc, 0, 0},
  9635. {0x4C, 0, 0, 0, 0},
  9636. {0x4D, 0x38, 0x38, 0, 0},
  9637. {0x4E, 0x70, 0x70, 1, 1},
  9638. {0x4F, 0x2, 0x2, 0, 0},
  9639. {0x50, 0x88, 0x88, 0, 0},
  9640. {0x51, 0xc, 0xc, 0, 0},
  9641. {0x52, 0, 0, 0, 0},
  9642. {0x53, 0x8, 0x8, 0, 0},
  9643. {0x54, 0x70, 0x70, 1, 1},
  9644. {0x55, 0x2, 0x2, 0, 0},
  9645. {0x56, 0xff, 0xff, 1, 1},
  9646. {0x57, 0, 0, 0, 0},
  9647. {0x58, 0x83, 0x83, 0, 0},
  9648. {0x59, 0x77, 0x77, 1, 1},
  9649. {0x5A, 0, 0, 0, 0},
  9650. {0x5B, 0x2, 0x2, 0, 0},
  9651. {0x5C, 0x88, 0x88, 0, 0},
  9652. {0x5D, 0, 0, 0, 0},
  9653. {0x5E, 0x8, 0x8, 0, 0},
  9654. {0x5F, 0x77, 0x77, 1, 1},
  9655. {0x60, 0x1, 0x1, 0, 0},
  9656. {0x61, 0, 0, 0, 0},
  9657. {0x62, 0x7, 0x7, 0, 0},
  9658. {0x63, 0, 0, 0, 0},
  9659. {0x64, 0x7, 0x7, 0, 0},
  9660. {0x65, 0, 0, 0, 0},
  9661. {0x66, 0, 0, 0, 0},
  9662. {0x67, 0, 0, 1, 1},
  9663. {0x68, 0, 0, 0, 0},
  9664. {0x69, 0xa, 0xa, 0, 0},
  9665. {0x6A, 0, 0, 0, 0},
  9666. {0x6B, 0, 0, 0, 0},
  9667. {0x6C, 0, 0, 0, 0},
  9668. {0x6D, 0, 0, 0, 0},
  9669. {0x6E, 0, 0, 0, 0},
  9670. {0x6F, 0, 0, 0, 0},
  9671. {0x70, 0, 0, 0, 0},
  9672. {0x71, 0x2, 0x2, 0, 0},
  9673. {0x72, 0, 0, 0, 0},
  9674. {0x73, 0, 0, 0, 0},
  9675. {0x74, 0xe, 0xe, 0, 0},
  9676. {0x75, 0xe, 0xe, 0, 0},
  9677. {0x76, 0xe, 0xe, 0, 0},
  9678. {0x77, 0x13, 0x13, 0, 0},
  9679. {0x78, 0x13, 0x13, 0, 0},
  9680. {0x79, 0x1b, 0x1b, 0, 0},
  9681. {0x7A, 0x1b, 0x1b, 0, 0},
  9682. {0x7B, 0x55, 0x55, 0, 0},
  9683. {0x7C, 0x5b, 0x5b, 0, 0},
  9684. {0x7D, 0x30, 0x30, 1, 1},
  9685. {0x7E, 0, 0, 0, 0},
  9686. {0x7F, 0, 0, 0, 0},
  9687. {0x80, 0, 0, 0, 0},
  9688. {0x81, 0, 0, 0, 0},
  9689. {0x82, 0, 0, 0, 0},
  9690. {0x83, 0, 0, 0, 0},
  9691. {0x84, 0, 0, 0, 0},
  9692. {0x85, 0, 0, 0, 0},
  9693. {0x86, 0, 0, 0, 0},
  9694. {0x87, 0, 0, 0, 0},
  9695. {0x88, 0, 0, 0, 0},
  9696. {0x89, 0, 0, 0, 0},
  9697. {0x8A, 0, 0, 0, 0},
  9698. {0x8B, 0, 0, 0, 0},
  9699. {0x8C, 0, 0, 0, 0},
  9700. {0x8D, 0, 0, 0, 0},
  9701. {0x8E, 0, 0, 0, 0},
  9702. {0x8F, 0, 0, 0, 0},
  9703. {0x90, 0, 0, 0, 0},
  9704. {0x91, 0, 0, 0, 0},
  9705. {0x92, 0, 0, 0, 0},
  9706. {0x93, 0x70, 0x70, 0, 0},
  9707. {0x94, 0x70, 0x70, 0, 0},
  9708. {0x95, 0x70, 0x70, 0, 0},
  9709. {0x96, 0x70, 0x70, 0, 0},
  9710. {0x97, 0x70, 0x70, 0, 0},
  9711. {0x98, 0x70, 0x70, 0, 0},
  9712. {0x99, 0x70, 0x70, 0, 0},
  9713. {0x9A, 0x70, 0x70, 0, 0},
  9714. {0xFFFF, 0, 0, 0, 0}
  9715. };
  9716. static struct radio_regs regs_RX_2056_rev6[] = {
  9717. {0x02, 0, 0, 0, 0},
  9718. {0x03, 0, 0, 0, 0},
  9719. {0x04, 0, 0, 0, 0},
  9720. {0x05, 0, 0, 0, 0},
  9721. {0x06, 0, 0, 0, 0},
  9722. {0x07, 0, 0, 0, 0},
  9723. {0x08, 0, 0, 0, 0},
  9724. {0x09, 0, 0, 0, 0},
  9725. {0x0A, 0, 0, 0, 0},
  9726. {0x0B, 0, 0, 0, 0},
  9727. {0x0C, 0, 0, 0, 0},
  9728. {0x0D, 0, 0, 0, 0},
  9729. {0x0E, 0, 0, 0, 0},
  9730. {0x0F, 0, 0, 0, 0},
  9731. {0x10, 0, 0, 0, 0},
  9732. {0x11, 0, 0, 0, 0},
  9733. {0x12, 0, 0, 0, 0},
  9734. {0x13, 0, 0, 0, 0},
  9735. {0x14, 0, 0, 0, 0},
  9736. {0x15, 0, 0, 0, 0},
  9737. {0x16, 0, 0, 0, 0},
  9738. {0x17, 0, 0, 0, 0},
  9739. {0x18, 0, 0, 0, 0},
  9740. {0x19, 0, 0, 0, 0},
  9741. {0x1A, 0, 0, 0, 0},
  9742. {0x1B, 0, 0, 0, 0},
  9743. {0x1C, 0, 0, 0, 0},
  9744. {0x1D, 0, 0, 0, 0},
  9745. {0x1E, 0, 0, 0, 0},
  9746. {0x1F, 0, 0, 0, 0},
  9747. {0x20, 0x3, 0x3, 0, 0},
  9748. {0x21, 0, 0, 0, 0},
  9749. {0x22, 0, 0, 0, 0},
  9750. {0x23, 0x90, 0x90, 0, 0},
  9751. {0x24, 0x55, 0x55, 0, 0},
  9752. {0x25, 0x15, 0x15, 0, 0},
  9753. {0x26, 0x5, 0x5, 0, 0},
  9754. {0x27, 0x15, 0x15, 0, 0},
  9755. {0x28, 0x5, 0x5, 0, 0},
  9756. {0x29, 0x20, 0x20, 0, 0},
  9757. {0x2A, 0x11, 0x11, 0, 0},
  9758. {0x2B, 0x90, 0x90, 0, 0},
  9759. {0x2C, 0, 0, 0, 0},
  9760. {0x2D, 0x88, 0x88, 0, 0},
  9761. {0x2E, 0x32, 0x32, 0, 0},
  9762. {0x2F, 0x77, 0x77, 0, 0},
  9763. {0x30, 0x17, 0x17, 1, 1},
  9764. {0x31, 0xff, 0xff, 1, 1},
  9765. {0x32, 0x20, 0x20, 0, 0},
  9766. {0x33, 0, 0, 0, 0},
  9767. {0x34, 0x88, 0x88, 0, 0},
  9768. {0x35, 0x32, 0x32, 0, 0},
  9769. {0x36, 0x77, 0x77, 0, 0},
  9770. {0x37, 0x17, 0x17, 1, 1},
  9771. {0x38, 0xf0, 0xf0, 1, 1},
  9772. {0x39, 0x20, 0x20, 0, 0},
  9773. {0x3A, 0x8, 0x8, 0, 0},
  9774. {0x3B, 0x55, 0x55, 1, 1},
  9775. {0x3C, 0, 0, 0, 0},
  9776. {0x3D, 0x88, 0x88, 1, 1},
  9777. {0x3E, 0, 0, 0, 0},
  9778. {0x3F, 0x44, 0x44, 0, 0},
  9779. {0x40, 0x7, 0x7, 1, 1},
  9780. {0x41, 0x6, 0x6, 0, 0},
  9781. {0x42, 0x4, 0x4, 0, 0},
  9782. {0x43, 0, 0, 0, 0},
  9783. {0x44, 0x8, 0x8, 0, 0},
  9784. {0x45, 0x55, 0x55, 1, 1},
  9785. {0x46, 0, 0, 0, 0},
  9786. {0x47, 0x11, 0x11, 0, 0},
  9787. {0x48, 0, 0, 0, 0},
  9788. {0x49, 0x44, 0x44, 0, 0},
  9789. {0x4A, 0x7, 0x7, 0, 0},
  9790. {0x4B, 0x6, 0x6, 0, 0},
  9791. {0x4C, 0x4, 0x4, 0, 0},
  9792. {0x4D, 0, 0, 0, 0},
  9793. {0x4E, 0, 0, 0, 0},
  9794. {0x4F, 0x26, 0x26, 1, 1},
  9795. {0x50, 0x26, 0x26, 1, 1},
  9796. {0x51, 0xf, 0xf, 1, 1},
  9797. {0x52, 0xf, 0xf, 1, 1},
  9798. {0x53, 0x44, 0x44, 0, 0},
  9799. {0x54, 0, 0, 0, 0},
  9800. {0x55, 0, 0, 0, 0},
  9801. {0x56, 0x8, 0x8, 0, 0},
  9802. {0x57, 0x8, 0x8, 0, 0},
  9803. {0x58, 0x7, 0x7, 0, 0},
  9804. {0x59, 0x22, 0x22, 0, 0},
  9805. {0x5A, 0x22, 0x22, 0, 0},
  9806. {0x5B, 0x2, 0x2, 0, 0},
  9807. {0x5C, 0x4, 0x4, 1, 1},
  9808. {0x5D, 0x7, 0x7, 0, 0},
  9809. {0x5E, 0x55, 0x55, 0, 0},
  9810. {0x5F, 0x23, 0x23, 0, 0},
  9811. {0x60, 0x41, 0x41, 0, 0},
  9812. {0x61, 0x1, 0x1, 0, 0},
  9813. {0x62, 0xa, 0xa, 0, 0},
  9814. {0x63, 0, 0, 0, 0},
  9815. {0x64, 0, 0, 0, 0},
  9816. {0x65, 0, 0, 0, 0},
  9817. {0x66, 0, 0, 0, 0},
  9818. {0x67, 0, 0, 0, 0},
  9819. {0x68, 0, 0, 0, 0},
  9820. {0x69, 0, 0, 0, 0},
  9821. {0x6A, 0, 0, 0, 0},
  9822. {0x6B, 0xc, 0xc, 0, 0},
  9823. {0x6C, 0, 0, 0, 0},
  9824. {0x6D, 0, 0, 0, 0},
  9825. {0x6E, 0, 0, 0, 0},
  9826. {0x6F, 0, 0, 0, 0},
  9827. {0x70, 0, 0, 0, 0},
  9828. {0x71, 0, 0, 0, 0},
  9829. {0x72, 0x22, 0x22, 0, 0},
  9830. {0x73, 0x22, 0x22, 0, 0},
  9831. {0x74, 0, 0, 1, 1},
  9832. {0x75, 0xa, 0xa, 0, 0},
  9833. {0x76, 0x1, 0x1, 0, 0},
  9834. {0x77, 0x22, 0x22, 0, 0},
  9835. {0x78, 0x30, 0x30, 0, 0},
  9836. {0x79, 0, 0, 0, 0},
  9837. {0x7A, 0, 0, 0, 0},
  9838. {0x7B, 0, 0, 0, 0},
  9839. {0x7C, 0, 0, 0, 0},
  9840. {0x7D, 0x5, 0x5, 1, 1},
  9841. {0x7E, 0, 0, 0, 0},
  9842. {0x7F, 0, 0, 0, 0},
  9843. {0x80, 0, 0, 0, 0},
  9844. {0x81, 0, 0, 0, 0},
  9845. {0x82, 0, 0, 0, 0},
  9846. {0x83, 0, 0, 0, 0},
  9847. {0x84, 0, 0, 0, 0},
  9848. {0x85, 0, 0, 0, 0},
  9849. {0x86, 0, 0, 0, 0},
  9850. {0x87, 0, 0, 0, 0},
  9851. {0x88, 0, 0, 0, 0},
  9852. {0x89, 0, 0, 0, 0},
  9853. {0x8A, 0, 0, 0, 0},
  9854. {0x8B, 0, 0, 0, 0},
  9855. {0x8C, 0, 0, 0, 0},
  9856. {0x8D, 0, 0, 0, 0},
  9857. {0x8E, 0, 0, 0, 0},
  9858. {0x8F, 0, 0, 0, 0},
  9859. {0x90, 0, 0, 0, 0},
  9860. {0x91, 0, 0, 0, 0},
  9861. {0x92, 0, 0, 0, 0},
  9862. {0x93, 0, 0, 0, 0},
  9863. {0x94, 0, 0, 0, 0},
  9864. {0xFFFF, 0, 0, 0, 0}
  9865. };
  9866. static struct radio_regs regs_SYN_2056_rev7[] = {
  9867. {0x02, 0, 0, 0, 0},
  9868. {0x03, 0, 0, 0, 0},
  9869. {0x04, 0, 0, 0, 0},
  9870. {0x05, 0, 0, 0, 0},
  9871. {0x06, 0, 0, 0, 0},
  9872. {0x07, 0, 0, 0, 0},
  9873. {0x08, 0, 0, 0, 0},
  9874. {0x09, 0x1, 0x1, 0, 0},
  9875. {0x0A, 0, 0, 0, 0},
  9876. {0x0B, 0, 0, 0, 0},
  9877. {0x0C, 0, 0, 0, 0},
  9878. {0x0D, 0, 0, 0, 0},
  9879. {0x0E, 0, 0, 0, 0},
  9880. {0x0F, 0, 0, 0, 0},
  9881. {0x10, 0, 0, 0, 0},
  9882. {0x11, 0, 0, 0, 0},
  9883. {0x12, 0, 0, 0, 0},
  9884. {0x13, 0, 0, 0, 0},
  9885. {0x14, 0, 0, 0, 0},
  9886. {0x15, 0, 0, 0, 0},
  9887. {0x16, 0, 0, 0, 0},
  9888. {0x17, 0, 0, 0, 0},
  9889. {0x18, 0, 0, 0, 0},
  9890. {0x19, 0, 0, 0, 0},
  9891. {0x1A, 0, 0, 0, 0},
  9892. {0x1B, 0, 0, 0, 0},
  9893. {0x1C, 0, 0, 0, 0},
  9894. {0x1D, 0, 0, 0, 0},
  9895. {0x1E, 0, 0, 0, 0},
  9896. {0x1F, 0, 0, 0, 0},
  9897. {0x20, 0, 0, 0, 0},
  9898. {0x21, 0, 0, 0, 0},
  9899. {0x22, 0x60, 0x60, 0, 0},
  9900. {0x23, 0x6, 0x6, 0, 0},
  9901. {0x24, 0xc, 0xc, 0, 0},
  9902. {0x25, 0, 0, 0, 0},
  9903. {0x26, 0, 0, 0, 0},
  9904. {0x27, 0, 0, 0, 0},
  9905. {0x28, 0x1, 0x1, 0, 0},
  9906. {0x29, 0, 0, 0, 0},
  9907. {0x2A, 0, 0, 0, 0},
  9908. {0x2B, 0, 0, 0, 0},
  9909. {0x2C, 0, 0, 0, 0},
  9910. {0x2D, 0, 0, 0, 0},
  9911. {0x2E, 0, 0, 0, 0},
  9912. {0x2F, 0x1f, 0x1f, 0, 0},
  9913. {0x30, 0x15, 0x15, 0, 0},
  9914. {0x31, 0xf, 0xf, 0, 0},
  9915. {0x32, 0, 0, 0, 0},
  9916. {0x33, 0, 0, 0, 0},
  9917. {0x34, 0, 0, 0, 0},
  9918. {0x35, 0, 0, 0, 0},
  9919. {0x36, 0, 0, 0, 0},
  9920. {0x37, 0, 0, 0, 0},
  9921. {0x38, 0, 0, 0, 0},
  9922. {0x39, 0, 0, 0, 0},
  9923. {0x3A, 0, 0, 0, 0},
  9924. {0x3B, 0, 0, 0, 0},
  9925. {0x3C, 0x13, 0x13, 0, 0},
  9926. {0x3D, 0xf, 0xf, 0, 0},
  9927. {0x3E, 0x18, 0x18, 0, 0},
  9928. {0x3F, 0, 0, 0, 0},
  9929. {0x40, 0, 0, 0, 0},
  9930. {0x41, 0x20, 0x20, 0, 0},
  9931. {0x42, 0x20, 0x20, 0, 0},
  9932. {0x43, 0, 0, 0, 0},
  9933. {0x44, 0x77, 0x77, 0, 0},
  9934. {0x45, 0x7, 0x7, 0, 0},
  9935. {0x46, 0x1, 0x1, 0, 0},
  9936. {0x47, 0x4, 0x4, 0, 0},
  9937. {0x48, 0xf, 0xf, 0, 0},
  9938. {0x49, 0x30, 0x30, 0, 0},
  9939. {0x4A, 0x32, 0x32, 0, 0},
  9940. {0x4B, 0xd, 0xd, 0, 0},
  9941. {0x4C, 0xd, 0xd, 0, 0},
  9942. {0x4D, 0x4, 0x4, 0, 0},
  9943. {0x4E, 0x6, 0x6, 0, 0},
  9944. {0x4F, 0x1, 0x1, 0, 0},
  9945. {0x50, 0x1c, 0x1c, 0, 0},
  9946. {0x51, 0x2, 0x2, 0, 0},
  9947. {0x52, 0x2, 0x2, 0, 0},
  9948. {0x53, 0xf7, 0xf7, 1, 1},
  9949. {0x54, 0xb4, 0xb4, 0, 0},
  9950. {0x55, 0xd2, 0xd2, 0, 0},
  9951. {0x56, 0, 0, 0, 0},
  9952. {0x57, 0, 0, 0, 0},
  9953. {0x58, 0x4, 0x4, 0, 0},
  9954. {0x59, 0x96, 0x96, 0, 0},
  9955. {0x5A, 0x3e, 0x3e, 0, 0},
  9956. {0x5B, 0x3e, 0x3e, 0, 0},
  9957. {0x5C, 0x13, 0x13, 0, 0},
  9958. {0x5D, 0x2, 0x2, 0, 0},
  9959. {0x5E, 0, 0, 0, 0},
  9960. {0x5F, 0x7, 0x7, 0, 0},
  9961. {0x60, 0x7, 0x7, 1, 1},
  9962. {0x61, 0x8, 0x8, 0, 0},
  9963. {0x62, 0x3, 0x3, 0, 0},
  9964. {0x63, 0, 0, 0, 0},
  9965. {0x64, 0, 0, 0, 0},
  9966. {0x65, 0, 0, 0, 0},
  9967. {0x66, 0, 0, 0, 0},
  9968. {0x67, 0, 0, 0, 0},
  9969. {0x68, 0x40, 0x40, 0, 0},
  9970. {0x69, 0, 0, 0, 0},
  9971. {0x6A, 0, 0, 0, 0},
  9972. {0x6B, 0, 0, 0, 0},
  9973. {0x6C, 0, 0, 0, 0},
  9974. {0x6D, 0x1, 0x1, 0, 0},
  9975. {0x6E, 0, 0, 0, 0},
  9976. {0x6F, 0, 0, 0, 0},
  9977. {0x70, 0x60, 0x60, 0, 0},
  9978. {0x71, 0x66, 0x66, 0, 0},
  9979. {0x72, 0xc, 0xc, 0, 0},
  9980. {0x73, 0x66, 0x66, 0, 0},
  9981. {0x74, 0x8f, 0x8f, 1, 1},
  9982. {0x75, 0, 0, 0, 0},
  9983. {0x76, 0xcc, 0xcc, 0, 0},
  9984. {0x77, 0x1, 0x1, 0, 0},
  9985. {0x78, 0x66, 0x66, 0, 0},
  9986. {0x79, 0x66, 0x66, 0, 0},
  9987. {0x7A, 0, 0, 0, 0},
  9988. {0x7B, 0, 0, 0, 0},
  9989. {0x7C, 0, 0, 0, 0},
  9990. {0x7D, 0, 0, 0, 0},
  9991. {0x7E, 0, 0, 0, 0},
  9992. {0x7F, 0, 0, 0, 0},
  9993. {0x80, 0, 0, 0, 0},
  9994. {0x81, 0, 0, 0, 0},
  9995. {0x82, 0, 0, 0, 0},
  9996. {0x83, 0, 0, 0, 0},
  9997. {0x84, 0, 0, 0, 0},
  9998. {0x85, 0xff, 0xff, 0, 0},
  9999. {0x86, 0, 0, 0, 0},
  10000. {0x87, 0, 0, 0, 0},
  10001. {0x88, 0, 0, 0, 0},
  10002. {0x89, 0, 0, 0, 0},
  10003. {0x8A, 0, 0, 0, 0},
  10004. {0x8B, 0, 0, 0, 0},
  10005. {0x8C, 0, 0, 0, 0},
  10006. {0x8D, 0, 0, 0, 0},
  10007. {0x8E, 0, 0, 0, 0},
  10008. {0x8F, 0, 0, 0, 0},
  10009. {0x90, 0, 0, 0, 0},
  10010. {0x91, 0, 0, 0, 0},
  10011. {0x92, 0, 0, 0, 0},
  10012. {0x93, 0, 0, 0, 0},
  10013. {0x94, 0, 0, 0, 0},
  10014. {0x95, 0, 0, 0, 0},
  10015. {0x96, 0, 0, 0, 0},
  10016. {0x97, 0, 0, 0, 0},
  10017. {0x98, 0, 0, 0, 0},
  10018. {0x99, 0, 0, 0, 0},
  10019. {0x9A, 0, 0, 0, 0},
  10020. {0x9B, 0, 0, 0, 0},
  10021. {0x9C, 0, 0, 0, 0},
  10022. {0x9D, 0, 0, 0, 0},
  10023. {0x9E, 0, 0, 0, 0},
  10024. {0x9F, 0x6, 0x6, 0, 0},
  10025. {0xA0, 0x66, 0x66, 0, 0},
  10026. {0xA1, 0x66, 0x66, 0, 0},
  10027. {0xA2, 0x66, 0x66, 0, 0},
  10028. {0xA3, 0x66, 0x66, 0, 0},
  10029. {0xA4, 0x66, 0x66, 0, 0},
  10030. {0xA5, 0x66, 0x66, 0, 0},
  10031. {0xA6, 0x66, 0x66, 0, 0},
  10032. {0xA7, 0x66, 0x66, 0, 0},
  10033. {0xA8, 0x66, 0x66, 0, 0},
  10034. {0xA9, 0x66, 0x66, 0, 0},
  10035. {0xAA, 0x66, 0x66, 0, 0},
  10036. {0xAB, 0x66, 0x66, 0, 0},
  10037. {0xAC, 0x66, 0x66, 0, 0},
  10038. {0xAD, 0x66, 0x66, 0, 0},
  10039. {0xAE, 0x66, 0x66, 0, 0},
  10040. {0xAF, 0x66, 0x66, 0, 0},
  10041. {0xB0, 0x66, 0x66, 0, 0},
  10042. {0xB1, 0x66, 0x66, 0, 0},
  10043. {0xB2, 0x66, 0x66, 0, 0},
  10044. {0xB3, 0xa, 0xa, 0, 0},
  10045. {0xB4, 0, 0, 0, 0},
  10046. {0xB5, 0, 0, 0, 0},
  10047. {0xB6, 0, 0, 0, 0},
  10048. {0xFFFF, 0, 0, 0, 0},
  10049. };
  10050. static struct radio_regs regs_TX_2056_rev7[] = {
  10051. {0x02, 0, 0, 0, 0},
  10052. {0x03, 0, 0, 0, 0},
  10053. {0x04, 0, 0, 0, 0},
  10054. {0x05, 0, 0, 0, 0},
  10055. {0x06, 0, 0, 0, 0},
  10056. {0x07, 0, 0, 0, 0},
  10057. {0x08, 0, 0, 0, 0},
  10058. {0x09, 0, 0, 0, 0},
  10059. {0x0A, 0, 0, 0, 0},
  10060. {0x0B, 0, 0, 0, 0},
  10061. {0x0C, 0, 0, 0, 0},
  10062. {0x0D, 0, 0, 0, 0},
  10063. {0x0E, 0, 0, 0, 0},
  10064. {0x0F, 0, 0, 0, 0},
  10065. {0x10, 0, 0, 0, 0},
  10066. {0x11, 0, 0, 0, 0},
  10067. {0x12, 0, 0, 0, 0},
  10068. {0x13, 0, 0, 0, 0},
  10069. {0x14, 0, 0, 0, 0},
  10070. {0x15, 0, 0, 0, 0},
  10071. {0x16, 0, 0, 0, 0},
  10072. {0x17, 0, 0, 0, 0},
  10073. {0x18, 0, 0, 0, 0},
  10074. {0x19, 0, 0, 0, 0},
  10075. {0x1A, 0, 0, 0, 0},
  10076. {0x1B, 0, 0, 0, 0},
  10077. {0x1C, 0, 0, 0, 0},
  10078. {0x1D, 0, 0, 0, 0},
  10079. {0x1E, 0, 0, 0, 0},
  10080. {0x1F, 0, 0, 0, 0},
  10081. {0x20, 0, 0, 0, 0},
  10082. {0x21, 0x88, 0x88, 0, 0},
  10083. {0x22, 0x88, 0x88, 0, 0},
  10084. {0x23, 0x88, 0x88, 0, 0},
  10085. {0x24, 0x88, 0x88, 0, 0},
  10086. {0x25, 0xc, 0xc, 0, 0},
  10087. {0x26, 0, 0, 0, 0},
  10088. {0x27, 0x3, 0x3, 0, 0},
  10089. {0x28, 0, 0, 0, 0},
  10090. {0x29, 0x3, 0x3, 0, 0},
  10091. {0x2A, 0x37, 0x37, 0, 0},
  10092. {0x2B, 0x3, 0x3, 0, 0},
  10093. {0x2C, 0, 0, 0, 0},
  10094. {0x2D, 0, 0, 0, 0},
  10095. {0x2E, 0x1, 0x1, 0, 0},
  10096. {0x2F, 0x1, 0x1, 0, 0},
  10097. {0x30, 0, 0, 0, 0},
  10098. {0x31, 0, 0, 0, 0},
  10099. {0x32, 0, 0, 0, 0},
  10100. {0x33, 0x11, 0x11, 0, 0},
  10101. {0x34, 0xee, 0xee, 1, 1},
  10102. {0x35, 0, 0, 0, 0},
  10103. {0x36, 0, 0, 0, 0},
  10104. {0x37, 0x3, 0x3, 0, 0},
  10105. {0x38, 0x50, 0x50, 1, 1},
  10106. {0x39, 0, 0, 0, 0},
  10107. {0x3A, 0x50, 0x50, 1, 1},
  10108. {0x3B, 0, 0, 0, 0},
  10109. {0x3C, 0x6e, 0x6e, 0, 0},
  10110. {0x3D, 0xf0, 0xf0, 1, 1},
  10111. {0x3E, 0, 0, 0, 0},
  10112. {0x3F, 0, 0, 0, 0},
  10113. {0x40, 0, 0, 0, 0},
  10114. {0x41, 0x3, 0x3, 0, 0},
  10115. {0x42, 0x3, 0x3, 0, 0},
  10116. {0x43, 0, 0, 0, 0},
  10117. {0x44, 0x1e, 0x1e, 0, 0},
  10118. {0x45, 0, 0, 0, 0},
  10119. {0x46, 0x6e, 0x6e, 0, 0},
  10120. {0x47, 0xf0, 0xf0, 1, 1},
  10121. {0x48, 0, 0, 0, 0},
  10122. {0x49, 0x2, 0x2, 0, 0},
  10123. {0x4A, 0xff, 0xff, 1, 1},
  10124. {0x4B, 0xc, 0xc, 0, 0},
  10125. {0x4C, 0, 0, 0, 0},
  10126. {0x4D, 0x38, 0x38, 0, 0},
  10127. {0x4E, 0x70, 0x70, 1, 1},
  10128. {0x4F, 0x2, 0x2, 0, 0},
  10129. {0x50, 0x88, 0x88, 0, 0},
  10130. {0x51, 0xc, 0xc, 0, 0},
  10131. {0x52, 0, 0, 0, 0},
  10132. {0x53, 0x8, 0x8, 0, 0},
  10133. {0x54, 0x70, 0x70, 1, 1},
  10134. {0x55, 0x2, 0x2, 0, 0},
  10135. {0x56, 0xff, 0xff, 1, 1},
  10136. {0x57, 0, 0, 0, 0},
  10137. {0x58, 0x83, 0x83, 0, 0},
  10138. {0x59, 0x77, 0x77, 1, 1},
  10139. {0x5A, 0, 0, 0, 0},
  10140. {0x5B, 0x2, 0x2, 0, 0},
  10141. {0x5C, 0x88, 0x88, 0, 0},
  10142. {0x5D, 0, 0, 0, 0},
  10143. {0x5E, 0x8, 0x8, 0, 0},
  10144. {0x5F, 0x77, 0x77, 1, 1},
  10145. {0x60, 0x1, 0x1, 0, 0},
  10146. {0x61, 0, 0, 0, 0},
  10147. {0x62, 0x7, 0x7, 0, 0},
  10148. {0x63, 0, 0, 0, 0},
  10149. {0x64, 0x7, 0x7, 0, 0},
  10150. {0x65, 0, 0, 0, 0},
  10151. {0x66, 0, 0, 0, 0},
  10152. {0x67, 0, 0, 1, 1},
  10153. {0x68, 0, 0, 0, 0},
  10154. {0x69, 0xa, 0xa, 0, 0},
  10155. {0x6A, 0, 0, 0, 0},
  10156. {0x6B, 0, 0, 0, 0},
  10157. {0x6C, 0, 0, 0, 0},
  10158. {0x6D, 0, 0, 0, 0},
  10159. {0x6E, 0, 0, 0, 0},
  10160. {0x6F, 0, 0, 0, 0},
  10161. {0x70, 0, 0, 0, 0},
  10162. {0x71, 0x2, 0x2, 0, 0},
  10163. {0x72, 0, 0, 0, 0},
  10164. {0x73, 0, 0, 0, 0},
  10165. {0x74, 0xe, 0xe, 0, 0},
  10166. {0x75, 0xe, 0xe, 0, 0},
  10167. {0x76, 0xe, 0xe, 0, 0},
  10168. {0x77, 0x13, 0x13, 0, 0},
  10169. {0x78, 0x13, 0x13, 0, 0},
  10170. {0x79, 0x1b, 0x1b, 0, 0},
  10171. {0x7A, 0x1b, 0x1b, 0, 0},
  10172. {0x7B, 0x55, 0x55, 0, 0},
  10173. {0x7C, 0x5b, 0x5b, 0, 0},
  10174. {0x7D, 0x30, 0x30, 1, 1},
  10175. {0x7E, 0, 0, 0, 0},
  10176. {0x7F, 0, 0, 0, 0},
  10177. {0x80, 0, 0, 0, 0},
  10178. {0x81, 0, 0, 0, 0},
  10179. {0x82, 0, 0, 0, 0},
  10180. {0x83, 0, 0, 0, 0},
  10181. {0x84, 0, 0, 0, 0},
  10182. {0x85, 0, 0, 0, 0},
  10183. {0x86, 0, 0, 0, 0},
  10184. {0x87, 0, 0, 0, 0},
  10185. {0x88, 0, 0, 0, 0},
  10186. {0x89, 0, 0, 0, 0},
  10187. {0x8A, 0, 0, 0, 0},
  10188. {0x8B, 0, 0, 0, 0},
  10189. {0x8C, 0, 0, 0, 0},
  10190. {0x8D, 0, 0, 0, 0},
  10191. {0x8E, 0, 0, 0, 0},
  10192. {0x8F, 0, 0, 0, 0},
  10193. {0x90, 0, 0, 0, 0},
  10194. {0x91, 0, 0, 0, 0},
  10195. {0x92, 0, 0, 0, 0},
  10196. {0x93, 0x70, 0x70, 0, 0},
  10197. {0x94, 0x70, 0x70, 0, 0},
  10198. {0x95, 0x71, 0x71, 1, 1},
  10199. {0x96, 0x71, 0x71, 1, 1},
  10200. {0x97, 0x72, 0x72, 1, 1},
  10201. {0x98, 0x73, 0x73, 1, 1},
  10202. {0x99, 0x74, 0x74, 1, 1},
  10203. {0x9A, 0x75, 0x75, 1, 1},
  10204. {0xFFFF, 0, 0, 0, 0},
  10205. };
  10206. static struct radio_regs regs_RX_2056_rev7[] = {
  10207. {0x02, 0, 0, 0, 0},
  10208. {0x03, 0, 0, 0, 0},
  10209. {0x04, 0, 0, 0, 0},
  10210. {0x05, 0, 0, 0, 0},
  10211. {0x06, 0, 0, 0, 0},
  10212. {0x07, 0, 0, 0, 0},
  10213. {0x08, 0, 0, 0, 0},
  10214. {0x09, 0, 0, 0, 0},
  10215. {0x0A, 0, 0, 0, 0},
  10216. {0x0B, 0, 0, 0, 0},
  10217. {0x0C, 0, 0, 0, 0},
  10218. {0x0D, 0, 0, 0, 0},
  10219. {0x0E, 0, 0, 0, 0},
  10220. {0x0F, 0, 0, 0, 0},
  10221. {0x10, 0, 0, 0, 0},
  10222. {0x11, 0, 0, 0, 0},
  10223. {0x12, 0, 0, 0, 0},
  10224. {0x13, 0, 0, 0, 0},
  10225. {0x14, 0, 0, 0, 0},
  10226. {0x15, 0, 0, 0, 0},
  10227. {0x16, 0, 0, 0, 0},
  10228. {0x17, 0, 0, 0, 0},
  10229. {0x18, 0, 0, 0, 0},
  10230. {0x19, 0, 0, 0, 0},
  10231. {0x1A, 0, 0, 0, 0},
  10232. {0x1B, 0, 0, 0, 0},
  10233. {0x1C, 0, 0, 0, 0},
  10234. {0x1D, 0, 0, 0, 0},
  10235. {0x1E, 0, 0, 0, 0},
  10236. {0x1F, 0, 0, 0, 0},
  10237. {0x20, 0x3, 0x3, 0, 0},
  10238. {0x21, 0, 0, 0, 0},
  10239. {0x22, 0, 0, 0, 0},
  10240. {0x23, 0x90, 0x90, 0, 0},
  10241. {0x24, 0x55, 0x55, 0, 0},
  10242. {0x25, 0x15, 0x15, 0, 0},
  10243. {0x26, 0x5, 0x5, 0, 0},
  10244. {0x27, 0x15, 0x15, 0, 0},
  10245. {0x28, 0x5, 0x5, 0, 0},
  10246. {0x29, 0x20, 0x20, 0, 0},
  10247. {0x2A, 0x11, 0x11, 0, 0},
  10248. {0x2B, 0x90, 0x90, 0, 0},
  10249. {0x2C, 0, 0, 0, 0},
  10250. {0x2D, 0x88, 0x88, 0, 0},
  10251. {0x2E, 0x32, 0x32, 0, 0},
  10252. {0x2F, 0x77, 0x77, 0, 0},
  10253. {0x30, 0x17, 0x17, 1, 1},
  10254. {0x31, 0xff, 0xff, 1, 1},
  10255. {0x32, 0x20, 0x20, 0, 0},
  10256. {0x33, 0, 0, 0, 0},
  10257. {0x34, 0x88, 0x88, 0, 0},
  10258. {0x35, 0x32, 0x32, 0, 0},
  10259. {0x36, 0x77, 0x77, 0, 0},
  10260. {0x37, 0x17, 0x17, 1, 1},
  10261. {0x38, 0xf0, 0xf0, 1, 1},
  10262. {0x39, 0x20, 0x20, 0, 0},
  10263. {0x3A, 0x8, 0x8, 0, 0},
  10264. {0x3B, 0x55, 0x55, 1, 1},
  10265. {0x3C, 0, 0, 0, 0},
  10266. {0x3D, 0x88, 0x88, 1, 1},
  10267. {0x3E, 0, 0, 0, 0},
  10268. {0x3F, 0, 0, 1, 1},
  10269. {0x40, 0x7, 0x7, 1, 1},
  10270. {0x41, 0x6, 0x6, 0, 0},
  10271. {0x42, 0x4, 0x4, 0, 0},
  10272. {0x43, 0, 0, 0, 0},
  10273. {0x44, 0x8, 0x8, 0, 0},
  10274. {0x45, 0x55, 0x55, 1, 1},
  10275. {0x46, 0, 0, 0, 0},
  10276. {0x47, 0x11, 0x11, 0, 0},
  10277. {0x48, 0, 0, 0, 0},
  10278. {0x49, 0, 0, 1, 1},
  10279. {0x4A, 0x7, 0x7, 0, 0},
  10280. {0x4B, 0x6, 0x6, 0, 0},
  10281. {0x4C, 0x4, 0x4, 0, 0},
  10282. {0x4D, 0, 0, 0, 0},
  10283. {0x4E, 0, 0, 0, 0},
  10284. {0x4F, 0x26, 0x26, 1, 1},
  10285. {0x50, 0x26, 0x26, 1, 1},
  10286. {0x51, 0xf, 0xf, 1, 1},
  10287. {0x52, 0xf, 0xf, 1, 1},
  10288. {0x53, 0x44, 0x44, 0, 0},
  10289. {0x54, 0, 0, 0, 0},
  10290. {0x55, 0, 0, 0, 0},
  10291. {0x56, 0x8, 0x8, 0, 0},
  10292. {0x57, 0x8, 0x8, 0, 0},
  10293. {0x58, 0x7, 0x7, 0, 0},
  10294. {0x59, 0x22, 0x22, 0, 0},
  10295. {0x5A, 0x22, 0x22, 0, 0},
  10296. {0x5B, 0x2, 0x2, 0, 0},
  10297. {0x5C, 0x4, 0x4, 1, 1},
  10298. {0x5D, 0x7, 0x7, 0, 0},
  10299. {0x5E, 0x55, 0x55, 0, 0},
  10300. {0x5F, 0x23, 0x23, 0, 0},
  10301. {0x60, 0x41, 0x41, 0, 0},
  10302. {0x61, 0x1, 0x1, 0, 0},
  10303. {0x62, 0xa, 0xa, 0, 0},
  10304. {0x63, 0, 0, 0, 0},
  10305. {0x64, 0, 0, 0, 0},
  10306. {0x65, 0, 0, 0, 0},
  10307. {0x66, 0, 0, 0, 0},
  10308. {0x67, 0, 0, 0, 0},
  10309. {0x68, 0, 0, 0, 0},
  10310. {0x69, 0, 0, 0, 0},
  10311. {0x6A, 0, 0, 0, 0},
  10312. {0x6B, 0xc, 0xc, 0, 0},
  10313. {0x6C, 0, 0, 0, 0},
  10314. {0x6D, 0, 0, 0, 0},
  10315. {0x6E, 0, 0, 0, 0},
  10316. {0x6F, 0, 0, 0, 0},
  10317. {0x70, 0, 0, 0, 0},
  10318. {0x71, 0, 0, 0, 0},
  10319. {0x72, 0x22, 0x22, 0, 0},
  10320. {0x73, 0x22, 0x22, 0, 0},
  10321. {0x74, 0, 0, 1, 1},
  10322. {0x75, 0xa, 0xa, 0, 0},
  10323. {0x76, 0x1, 0x1, 0, 0},
  10324. {0x77, 0x22, 0x22, 0, 0},
  10325. {0x78, 0x30, 0x30, 0, 0},
  10326. {0x79, 0, 0, 0, 0},
  10327. {0x7A, 0, 0, 0, 0},
  10328. {0x7B, 0, 0, 0, 0},
  10329. {0x7C, 0, 0, 0, 0},
  10330. {0x7D, 0, 0, 0, 0},
  10331. {0x7E, 0, 0, 0, 0},
  10332. {0x7F, 0, 0, 0, 0},
  10333. {0x80, 0, 0, 0, 0},
  10334. {0x81, 0, 0, 0, 0},
  10335. {0x82, 0, 0, 0, 0},
  10336. {0x83, 0, 0, 0, 0},
  10337. {0x84, 0, 0, 0, 0},
  10338. {0x85, 0, 0, 0, 0},
  10339. {0x86, 0, 0, 0, 0},
  10340. {0x87, 0, 0, 0, 0},
  10341. {0x88, 0, 0, 0, 0},
  10342. {0x89, 0, 0, 0, 0},
  10343. {0x8A, 0, 0, 0, 0},
  10344. {0x8B, 0, 0, 0, 0},
  10345. {0x8C, 0, 0, 0, 0},
  10346. {0x8D, 0, 0, 0, 0},
  10347. {0x8E, 0, 0, 0, 0},
  10348. {0x8F, 0, 0, 0, 0},
  10349. {0x90, 0, 0, 0, 0},
  10350. {0x91, 0, 0, 0, 0},
  10351. {0x92, 0, 0, 0, 0},
  10352. {0x93, 0, 0, 0, 0},
  10353. {0x94, 0, 0, 0, 0},
  10354. {0xFFFF, 0, 0, 0, 0},
  10355. };
  10356. static struct radio_regs regs_SYN_2056_rev8[] = {
  10357. {0x02, 0, 0, 0, 0},
  10358. {0x03, 0, 0, 0, 0},
  10359. {0x04, 0, 0, 0, 0},
  10360. {0x05, 0, 0, 0, 0},
  10361. {0x06, 0, 0, 0, 0},
  10362. {0x07, 0, 0, 0, 0},
  10363. {0x08, 0, 0, 0, 0},
  10364. {0x09, 0x1, 0x1, 0, 0},
  10365. {0x0A, 0, 0, 0, 0},
  10366. {0x0B, 0, 0, 0, 0},
  10367. {0x0C, 0, 0, 0, 0},
  10368. {0x0D, 0, 0, 0, 0},
  10369. {0x0E, 0, 0, 0, 0},
  10370. {0x0F, 0, 0, 0, 0},
  10371. {0x10, 0, 0, 0, 0},
  10372. {0x11, 0, 0, 0, 0},
  10373. {0x12, 0, 0, 0, 0},
  10374. {0x13, 0, 0, 0, 0},
  10375. {0x14, 0, 0, 0, 0},
  10376. {0x15, 0, 0, 0, 0},
  10377. {0x16, 0, 0, 0, 0},
  10378. {0x17, 0, 0, 0, 0},
  10379. {0x18, 0, 0, 0, 0},
  10380. {0x19, 0, 0, 0, 0},
  10381. {0x1A, 0, 0, 0, 0},
  10382. {0x1B, 0, 0, 0, 0},
  10383. {0x1C, 0, 0, 0, 0},
  10384. {0x1D, 0, 0, 0, 0},
  10385. {0x1E, 0, 0, 0, 0},
  10386. {0x1F, 0, 0, 0, 0},
  10387. {0x20, 0, 0, 0, 0},
  10388. {0x21, 0, 0, 0, 0},
  10389. {0x22, 0x60, 0x60, 0, 0},
  10390. {0x23, 0x6, 0x6, 0, 0},
  10391. {0x24, 0xc, 0xc, 0, 0},
  10392. {0x25, 0, 0, 0, 0},
  10393. {0x26, 0, 0, 0, 0},
  10394. {0x27, 0, 0, 0, 0},
  10395. {0x28, 0x1, 0x1, 0, 0},
  10396. {0x29, 0, 0, 0, 0},
  10397. {0x2A, 0, 0, 0, 0},
  10398. {0x2B, 0, 0, 0, 0},
  10399. {0x2C, 0, 0, 0, 0},
  10400. {0x2D, 0, 0, 0, 0},
  10401. {0x2E, 0, 0, 0, 0},
  10402. {0x2F, 0x1f, 0x1f, 0, 0},
  10403. {0x30, 0x15, 0x15, 0, 0},
  10404. {0x31, 0xf, 0xf, 0, 0},
  10405. {0x32, 0, 0, 0, 0},
  10406. {0x33, 0, 0, 0, 0},
  10407. {0x34, 0, 0, 0, 0},
  10408. {0x35, 0, 0, 0, 0},
  10409. {0x36, 0, 0, 0, 0},
  10410. {0x37, 0, 0, 0, 0},
  10411. {0x38, 0, 0, 0, 0},
  10412. {0x39, 0, 0, 0, 0},
  10413. {0x3A, 0, 0, 0, 0},
  10414. {0x3B, 0, 0, 0, 0},
  10415. {0x3C, 0x13, 0x13, 0, 0},
  10416. {0x3D, 0xf, 0xf, 0, 0},
  10417. {0x3E, 0x18, 0x18, 0, 0},
  10418. {0x3F, 0, 0, 0, 0},
  10419. {0x40, 0, 0, 0, 0},
  10420. {0x41, 0x20, 0x20, 0, 0},
  10421. {0x42, 0x20, 0x20, 0, 0},
  10422. {0x43, 0, 0, 0, 0},
  10423. {0x44, 0x77, 0x77, 0, 0},
  10424. {0x45, 0x7, 0x7, 0, 0},
  10425. {0x46, 0x1, 0x1, 0, 0},
  10426. {0x47, 0x4, 0x4, 0, 0},
  10427. {0x48, 0xf, 0xf, 0, 0},
  10428. {0x49, 0x30, 0x30, 0, 0},
  10429. {0x4A, 0x32, 0x32, 0, 0},
  10430. {0x4B, 0xd, 0xd, 0, 0},
  10431. {0x4C, 0xd, 0xd, 0, 0},
  10432. {0x4D, 0x4, 0x4, 0, 0},
  10433. {0x4E, 0x6, 0x6, 0, 0},
  10434. {0x4F, 0x1, 0x1, 0, 0},
  10435. {0x50, 0x1c, 0x1c, 0, 0},
  10436. {0x51, 0x2, 0x2, 0, 0},
  10437. {0x52, 0x2, 0x2, 0, 0},
  10438. {0x53, 0xf7, 0xf7, 1, 1},
  10439. {0x54, 0xb4, 0xb4, 0, 0},
  10440. {0x55, 0xd2, 0xd2, 0, 0},
  10441. {0x56, 0, 0, 0, 0},
  10442. {0x57, 0, 0, 0, 0},
  10443. {0x58, 0x4, 0x4, 0, 0},
  10444. {0x59, 0x96, 0x96, 0, 0},
  10445. {0x5A, 0x3e, 0x3e, 0, 0},
  10446. {0x5B, 0x3e, 0x3e, 0, 0},
  10447. {0x5C, 0x13, 0x13, 0, 0},
  10448. {0x5D, 0x2, 0x2, 0, 0},
  10449. {0x5E, 0, 0, 0, 0},
  10450. {0x5F, 0x7, 0x7, 0, 0},
  10451. {0x60, 0x7, 0x7, 1, 1},
  10452. {0x61, 0x8, 0x8, 0, 0},
  10453. {0x62, 0x3, 0x3, 0, 0},
  10454. {0x63, 0, 0, 0, 0},
  10455. {0x64, 0, 0, 0, 0},
  10456. {0x65, 0, 0, 0, 0},
  10457. {0x66, 0, 0, 0, 0},
  10458. {0x67, 0, 0, 0, 0},
  10459. {0x68, 0x40, 0x40, 0, 0},
  10460. {0x69, 0, 0, 0, 0},
  10461. {0x6A, 0, 0, 0, 0},
  10462. {0x6B, 0, 0, 0, 0},
  10463. {0x6C, 0, 0, 0, 0},
  10464. {0x6D, 0x1, 0x1, 0, 0},
  10465. {0x6E, 0, 0, 0, 0},
  10466. {0x6F, 0, 0, 0, 0},
  10467. {0x70, 0x60, 0x60, 0, 0},
  10468. {0x71, 0x66, 0x66, 0, 0},
  10469. {0x72, 0xc, 0xc, 0, 0},
  10470. {0x73, 0x66, 0x66, 0, 0},
  10471. {0x74, 0x8f, 0x8f, 1, 1},
  10472. {0x75, 0, 0, 0, 0},
  10473. {0x76, 0xcc, 0xcc, 0, 0},
  10474. {0x77, 0x1, 0x1, 0, 0},
  10475. {0x78, 0x66, 0x66, 0, 0},
  10476. {0x79, 0x66, 0x66, 0, 0},
  10477. {0x7A, 0, 0, 0, 0},
  10478. {0x7B, 0, 0, 0, 0},
  10479. {0x7C, 0, 0, 0, 0},
  10480. {0x7D, 0, 0, 0, 0},
  10481. {0x7E, 0, 0, 0, 0},
  10482. {0x7F, 0, 0, 0, 0},
  10483. {0x80, 0, 0, 0, 0},
  10484. {0x81, 0, 0, 0, 0},
  10485. {0x82, 0, 0, 0, 0},
  10486. {0x83, 0, 0, 0, 0},
  10487. {0x84, 0, 0, 0, 0},
  10488. {0x85, 0xff, 0xff, 0, 0},
  10489. {0x86, 0, 0, 0, 0},
  10490. {0x87, 0, 0, 0, 0},
  10491. {0x88, 0, 0, 0, 0},
  10492. {0x89, 0, 0, 0, 0},
  10493. {0x8A, 0, 0, 0, 0},
  10494. {0x8B, 0, 0, 0, 0},
  10495. {0x8C, 0, 0, 0, 0},
  10496. {0x8D, 0, 0, 0, 0},
  10497. {0x8E, 0, 0, 0, 0},
  10498. {0x8F, 0, 0, 0, 0},
  10499. {0x90, 0, 0, 0, 0},
  10500. {0x91, 0, 0, 0, 0},
  10501. {0x92, 0, 0, 0, 0},
  10502. {0x93, 0, 0, 0, 0},
  10503. {0x94, 0, 0, 0, 0},
  10504. {0x95, 0, 0, 0, 0},
  10505. {0x96, 0, 0, 0, 0},
  10506. {0x97, 0, 0, 0, 0},
  10507. {0x98, 0, 0, 0, 0},
  10508. {0x99, 0, 0, 0, 0},
  10509. {0x9A, 0, 0, 0, 0},
  10510. {0x9B, 0, 0, 0, 0},
  10511. {0x9C, 0, 0, 0, 0},
  10512. {0x9D, 0, 0, 0, 0},
  10513. {0x9E, 0, 0, 0, 0},
  10514. {0x9F, 0x6, 0x6, 0, 0},
  10515. {0xA0, 0x66, 0x66, 0, 0},
  10516. {0xA1, 0x66, 0x66, 0, 0},
  10517. {0xA2, 0x66, 0x66, 0, 0},
  10518. {0xA3, 0x66, 0x66, 0, 0},
  10519. {0xA4, 0x66, 0x66, 0, 0},
  10520. {0xA5, 0x66, 0x66, 0, 0},
  10521. {0xA6, 0x66, 0x66, 0, 0},
  10522. {0xA7, 0x66, 0x66, 0, 0},
  10523. {0xA8, 0x66, 0x66, 0, 0},
  10524. {0xA9, 0x66, 0x66, 0, 0},
  10525. {0xAA, 0x66, 0x66, 0, 0},
  10526. {0xAB, 0x66, 0x66, 0, 0},
  10527. {0xAC, 0x66, 0x66, 0, 0},
  10528. {0xAD, 0x66, 0x66, 0, 0},
  10529. {0xAE, 0x66, 0x66, 0, 0},
  10530. {0xAF, 0x66, 0x66, 0, 0},
  10531. {0xB0, 0x66, 0x66, 0, 0},
  10532. {0xB1, 0x66, 0x66, 0, 0},
  10533. {0xB2, 0x66, 0x66, 0, 0},
  10534. {0xB3, 0xa, 0xa, 0, 0},
  10535. {0xB4, 0, 0, 0, 0},
  10536. {0xB5, 0, 0, 0, 0},
  10537. {0xB6, 0, 0, 0, 0},
  10538. {0xFFFF, 0, 0, 0, 0},
  10539. };
  10540. static struct radio_regs regs_TX_2056_rev8[] = {
  10541. {0x02, 0, 0, 0, 0},
  10542. {0x03, 0, 0, 0, 0},
  10543. {0x04, 0, 0, 0, 0},
  10544. {0x05, 0, 0, 0, 0},
  10545. {0x06, 0, 0, 0, 0},
  10546. {0x07, 0, 0, 0, 0},
  10547. {0x08, 0, 0, 0, 0},
  10548. {0x09, 0, 0, 0, 0},
  10549. {0x0A, 0, 0, 0, 0},
  10550. {0x0B, 0, 0, 0, 0},
  10551. {0x0C, 0, 0, 0, 0},
  10552. {0x0D, 0, 0, 0, 0},
  10553. {0x0E, 0, 0, 0, 0},
  10554. {0x0F, 0, 0, 0, 0},
  10555. {0x10, 0, 0, 0, 0},
  10556. {0x11, 0, 0, 0, 0},
  10557. {0x12, 0, 0, 0, 0},
  10558. {0x13, 0, 0, 0, 0},
  10559. {0x14, 0, 0, 0, 0},
  10560. {0x15, 0, 0, 0, 0},
  10561. {0x16, 0, 0, 0, 0},
  10562. {0x17, 0, 0, 0, 0},
  10563. {0x18, 0, 0, 0, 0},
  10564. {0x19, 0, 0, 0, 0},
  10565. {0x1A, 0, 0, 0, 0},
  10566. {0x1B, 0, 0, 0, 0},
  10567. {0x1C, 0, 0, 0, 0},
  10568. {0x1D, 0, 0, 0, 0},
  10569. {0x1E, 0, 0, 0, 0},
  10570. {0x1F, 0, 0, 0, 0},
  10571. {0x20, 0, 0, 0, 0},
  10572. {0x21, 0x88, 0x88, 0, 0},
  10573. {0x22, 0x88, 0x88, 0, 0},
  10574. {0x23, 0x88, 0x88, 0, 0},
  10575. {0x24, 0x88, 0x88, 0, 0},
  10576. {0x25, 0xc, 0xc, 0, 0},
  10577. {0x26, 0, 0, 0, 0},
  10578. {0x27, 0x3, 0x3, 0, 0},
  10579. {0x28, 0, 0, 0, 0},
  10580. {0x29, 0x3, 0x3, 0, 0},
  10581. {0x2A, 0x37, 0x37, 0, 0},
  10582. {0x2B, 0x3, 0x3, 0, 0},
  10583. {0x2C, 0, 0, 0, 0},
  10584. {0x2D, 0, 0, 0, 0},
  10585. {0x2E, 0x1, 0x1, 0, 0},
  10586. {0x2F, 0x1, 0x1, 0, 0},
  10587. {0x30, 0, 0, 0, 0},
  10588. {0x31, 0, 0, 0, 0},
  10589. {0x32, 0, 0, 0, 0},
  10590. {0x33, 0x11, 0x11, 0, 0},
  10591. {0x34, 0xee, 0xee, 1, 1},
  10592. {0x35, 0, 0, 0, 0},
  10593. {0x36, 0, 0, 0, 0},
  10594. {0x37, 0x3, 0x3, 0, 0},
  10595. {0x38, 0x50, 0x50, 1, 1},
  10596. {0x39, 0, 0, 0, 0},
  10597. {0x3A, 0x50, 0x50, 1, 1},
  10598. {0x3B, 0, 0, 0, 0},
  10599. {0x3C, 0x6e, 0x6e, 0, 0},
  10600. {0x3D, 0xf0, 0xf0, 1, 1},
  10601. {0x3E, 0, 0, 0, 0},
  10602. {0x3F, 0, 0, 0, 0},
  10603. {0x40, 0, 0, 0, 0},
  10604. {0x41, 0x3, 0x3, 0, 0},
  10605. {0x42, 0x3, 0x3, 0, 0},
  10606. {0x43, 0, 0, 0, 0},
  10607. {0x44, 0x1e, 0x1e, 0, 0},
  10608. {0x45, 0, 0, 0, 0},
  10609. {0x46, 0x6e, 0x6e, 0, 0},
  10610. {0x47, 0xf0, 0xf0, 1, 1},
  10611. {0x48, 0, 0, 0, 0},
  10612. {0x49, 0x2, 0x2, 0, 0},
  10613. {0x4A, 0xff, 0xff, 1, 1},
  10614. {0x4B, 0xc, 0xc, 0, 0},
  10615. {0x4C, 0, 0, 0, 0},
  10616. {0x4D, 0x38, 0x38, 0, 0},
  10617. {0x4E, 0x70, 0x70, 1, 1},
  10618. {0x4F, 0x2, 0x2, 0, 0},
  10619. {0x50, 0x88, 0x88, 0, 0},
  10620. {0x51, 0xc, 0xc, 0, 0},
  10621. {0x52, 0, 0, 0, 0},
  10622. {0x53, 0x8, 0x8, 0, 0},
  10623. {0x54, 0x70, 0x70, 1, 1},
  10624. {0x55, 0x2, 0x2, 0, 0},
  10625. {0x56, 0xff, 0xff, 1, 1},
  10626. {0x57, 0, 0, 0, 0},
  10627. {0x58, 0x83, 0x83, 0, 0},
  10628. {0x59, 0x77, 0x77, 1, 1},
  10629. {0x5A, 0, 0, 0, 0},
  10630. {0x5B, 0x2, 0x2, 0, 0},
  10631. {0x5C, 0x88, 0x88, 0, 0},
  10632. {0x5D, 0, 0, 0, 0},
  10633. {0x5E, 0x8, 0x8, 0, 0},
  10634. {0x5F, 0x77, 0x77, 1, 1},
  10635. {0x60, 0x1, 0x1, 0, 0},
  10636. {0x61, 0, 0, 0, 0},
  10637. {0x62, 0x7, 0x7, 0, 0},
  10638. {0x63, 0, 0, 0, 0},
  10639. {0x64, 0x7, 0x7, 0, 0},
  10640. {0x65, 0, 0, 0, 0},
  10641. {0x66, 0, 0, 0, 0},
  10642. {0x67, 0, 0, 1, 1},
  10643. {0x68, 0, 0, 0, 0},
  10644. {0x69, 0xa, 0xa, 0, 0},
  10645. {0x6A, 0, 0, 0, 0},
  10646. {0x6B, 0, 0, 0, 0},
  10647. {0x6C, 0, 0, 0, 0},
  10648. {0x6D, 0, 0, 0, 0},
  10649. {0x6E, 0, 0, 0, 0},
  10650. {0x6F, 0, 0, 0, 0},
  10651. {0x70, 0, 0, 0, 0},
  10652. {0x71, 0x2, 0x2, 0, 0},
  10653. {0x72, 0, 0, 0, 0},
  10654. {0x73, 0, 0, 0, 0},
  10655. {0x74, 0xe, 0xe, 0, 0},
  10656. {0x75, 0xe, 0xe, 0, 0},
  10657. {0x76, 0xe, 0xe, 0, 0},
  10658. {0x77, 0x13, 0x13, 0, 0},
  10659. {0x78, 0x13, 0x13, 0, 0},
  10660. {0x79, 0x1b, 0x1b, 0, 0},
  10661. {0x7A, 0x1b, 0x1b, 0, 0},
  10662. {0x7B, 0x55, 0x55, 0, 0},
  10663. {0x7C, 0x5b, 0x5b, 0, 0},
  10664. {0x7D, 0x30, 0x30, 1, 1},
  10665. {0x7E, 0, 0, 0, 0},
  10666. {0x7F, 0, 0, 0, 0},
  10667. {0x80, 0, 0, 0, 0},
  10668. {0x81, 0, 0, 0, 0},
  10669. {0x82, 0, 0, 0, 0},
  10670. {0x83, 0, 0, 0, 0},
  10671. {0x84, 0, 0, 0, 0},
  10672. {0x85, 0, 0, 0, 0},
  10673. {0x86, 0, 0, 0, 0},
  10674. {0x87, 0, 0, 0, 0},
  10675. {0x88, 0, 0, 0, 0},
  10676. {0x89, 0, 0, 0, 0},
  10677. {0x8A, 0, 0, 0, 0},
  10678. {0x8B, 0, 0, 0, 0},
  10679. {0x8C, 0, 0, 0, 0},
  10680. {0x8D, 0, 0, 0, 0},
  10681. {0x8E, 0, 0, 0, 0},
  10682. {0x8F, 0, 0, 0, 0},
  10683. {0x90, 0, 0, 0, 0},
  10684. {0x91, 0, 0, 0, 0},
  10685. {0x92, 0, 0, 0, 0},
  10686. {0x93, 0x70, 0x70, 0, 0},
  10687. {0x94, 0x70, 0x70, 0, 0},
  10688. {0x95, 0x70, 0x70, 0, 0},
  10689. {0x96, 0x70, 0x70, 0, 0},
  10690. {0x97, 0x70, 0x70, 0, 0},
  10691. {0x98, 0x70, 0x70, 0, 0},
  10692. {0x99, 0x70, 0x70, 0, 0},
  10693. {0x9A, 0x70, 0x70, 0, 0},
  10694. {0xFFFF, 0, 0, 0, 0},
  10695. };
  10696. static struct radio_regs regs_RX_2056_rev8[] = {
  10697. {0x02, 0, 0, 0, 0},
  10698. {0x03, 0, 0, 0, 0},
  10699. {0x04, 0, 0, 0, 0},
  10700. {0x05, 0, 0, 0, 0},
  10701. {0x06, 0, 0, 0, 0},
  10702. {0x07, 0, 0, 0, 0},
  10703. {0x08, 0, 0, 0, 0},
  10704. {0x09, 0, 0, 0, 0},
  10705. {0x0A, 0, 0, 0, 0},
  10706. {0x0B, 0, 0, 0, 0},
  10707. {0x0C, 0, 0, 0, 0},
  10708. {0x0D, 0, 0, 0, 0},
  10709. {0x0E, 0, 0, 0, 0},
  10710. {0x0F, 0, 0, 0, 0},
  10711. {0x10, 0, 0, 0, 0},
  10712. {0x11, 0, 0, 0, 0},
  10713. {0x12, 0, 0, 0, 0},
  10714. {0x13, 0, 0, 0, 0},
  10715. {0x14, 0, 0, 0, 0},
  10716. {0x15, 0, 0, 0, 0},
  10717. {0x16, 0, 0, 0, 0},
  10718. {0x17, 0, 0, 0, 0},
  10719. {0x18, 0, 0, 0, 0},
  10720. {0x19, 0, 0, 0, 0},
  10721. {0x1A, 0, 0, 0, 0},
  10722. {0x1B, 0, 0, 0, 0},
  10723. {0x1C, 0, 0, 0, 0},
  10724. {0x1D, 0, 0, 0, 0},
  10725. {0x1E, 0, 0, 0, 0},
  10726. {0x1F, 0, 0, 0, 0},
  10727. {0x20, 0x3, 0x3, 0, 0},
  10728. {0x21, 0, 0, 0, 0},
  10729. {0x22, 0, 0, 0, 0},
  10730. {0x23, 0x90, 0x90, 0, 0},
  10731. {0x24, 0x55, 0x55, 0, 0},
  10732. {0x25, 0x15, 0x15, 0, 0},
  10733. {0x26, 0x5, 0x5, 0, 0},
  10734. {0x27, 0x15, 0x15, 0, 0},
  10735. {0x28, 0x5, 0x5, 0, 0},
  10736. {0x29, 0x20, 0x20, 0, 0},
  10737. {0x2A, 0x11, 0x11, 0, 0},
  10738. {0x2B, 0x90, 0x90, 0, 0},
  10739. {0x2C, 0, 0, 0, 0},
  10740. {0x2D, 0x88, 0x88, 0, 0},
  10741. {0x2E, 0x32, 0x32, 0, 0},
  10742. {0x2F, 0x77, 0x77, 0, 0},
  10743. {0x30, 0x17, 0x17, 1, 1},
  10744. {0x31, 0xff, 0xff, 1, 1},
  10745. {0x32, 0x20, 0x20, 0, 0},
  10746. {0x33, 0, 0, 0, 0},
  10747. {0x34, 0x88, 0x88, 0, 0},
  10748. {0x35, 0x32, 0x32, 0, 0},
  10749. {0x36, 0x77, 0x77, 0, 0},
  10750. {0x37, 0x17, 0x17, 1, 1},
  10751. {0x38, 0xf0, 0xf0, 1, 1},
  10752. {0x39, 0x20, 0x20, 0, 0},
  10753. {0x3A, 0x8, 0x8, 0, 0},
  10754. {0x3B, 0x55, 0x55, 1, 1},
  10755. {0x3C, 0, 0, 0, 0},
  10756. {0x3D, 0x88, 0x88, 1, 1},
  10757. {0x3E, 0, 0, 0, 0},
  10758. {0x3F, 0x44, 0x44, 0, 0},
  10759. {0x40, 0x7, 0x7, 1, 1},
  10760. {0x41, 0x6, 0x6, 0, 0},
  10761. {0x42, 0x4, 0x4, 0, 0},
  10762. {0x43, 0, 0, 0, 0},
  10763. {0x44, 0x8, 0x8, 0, 0},
  10764. {0x45, 0x55, 0x55, 1, 1},
  10765. {0x46, 0, 0, 0, 0},
  10766. {0x47, 0x11, 0x11, 0, 0},
  10767. {0x48, 0, 0, 0, 0},
  10768. {0x49, 0x44, 0x44, 0, 0},
  10769. {0x4A, 0x7, 0x7, 0, 0},
  10770. {0x4B, 0x6, 0x6, 0, 0},
  10771. {0x4C, 0x4, 0x4, 0, 0},
  10772. {0x4D, 0, 0, 0, 0},
  10773. {0x4E, 0, 0, 0, 0},
  10774. {0x4F, 0x26, 0x26, 1, 1},
  10775. {0x50, 0x26, 0x26, 1, 1},
  10776. {0x51, 0xf, 0xf, 1, 1},
  10777. {0x52, 0xf, 0xf, 1, 1},
  10778. {0x53, 0x44, 0x44, 0, 0},
  10779. {0x54, 0, 0, 0, 0},
  10780. {0x55, 0, 0, 0, 0},
  10781. {0x56, 0x8, 0x8, 0, 0},
  10782. {0x57, 0x8, 0x8, 0, 0},
  10783. {0x58, 0x7, 0x7, 0, 0},
  10784. {0x59, 0x22, 0x22, 0, 0},
  10785. {0x5A, 0x22, 0x22, 0, 0},
  10786. {0x5B, 0x2, 0x2, 0, 0},
  10787. {0x5C, 0x4, 0x4, 1, 1},
  10788. {0x5D, 0x7, 0x7, 0, 0},
  10789. {0x5E, 0x55, 0x55, 0, 0},
  10790. {0x5F, 0x23, 0x23, 0, 0},
  10791. {0x60, 0x41, 0x41, 0, 0},
  10792. {0x61, 0x1, 0x1, 0, 0},
  10793. {0x62, 0xa, 0xa, 0, 0},
  10794. {0x63, 0, 0, 0, 0},
  10795. {0x64, 0, 0, 0, 0},
  10796. {0x65, 0, 0, 0, 0},
  10797. {0x66, 0, 0, 0, 0},
  10798. {0x67, 0, 0, 0, 0},
  10799. {0x68, 0, 0, 0, 0},
  10800. {0x69, 0, 0, 0, 0},
  10801. {0x6A, 0, 0, 0, 0},
  10802. {0x6B, 0xc, 0xc, 0, 0},
  10803. {0x6C, 0, 0, 0, 0},
  10804. {0x6D, 0, 0, 0, 0},
  10805. {0x6E, 0, 0, 0, 0},
  10806. {0x6F, 0, 0, 0, 0},
  10807. {0x70, 0, 0, 0, 0},
  10808. {0x71, 0, 0, 0, 0},
  10809. {0x72, 0x22, 0x22, 0, 0},
  10810. {0x73, 0x22, 0x22, 0, 0},
  10811. {0x74, 0, 0, 1, 1},
  10812. {0x75, 0xa, 0xa, 0, 0},
  10813. {0x76, 0x1, 0x1, 0, 0},
  10814. {0x77, 0x22, 0x22, 0, 0},
  10815. {0x78, 0x30, 0x30, 0, 0},
  10816. {0x79, 0, 0, 0, 0},
  10817. {0x7A, 0, 0, 0, 0},
  10818. {0x7B, 0, 0, 0, 0},
  10819. {0x7C, 0, 0, 0, 0},
  10820. {0x7D, 0x5, 0x5, 1, 1},
  10821. {0x7E, 0, 0, 0, 0},
  10822. {0x7F, 0, 0, 0, 0},
  10823. {0x80, 0, 0, 0, 0},
  10824. {0x81, 0, 0, 0, 0},
  10825. {0x82, 0, 0, 0, 0},
  10826. {0x83, 0, 0, 0, 0},
  10827. {0x84, 0, 0, 0, 0},
  10828. {0x85, 0, 0, 0, 0},
  10829. {0x86, 0, 0, 0, 0},
  10830. {0x87, 0, 0, 0, 0},
  10831. {0x88, 0, 0, 0, 0},
  10832. {0x89, 0, 0, 0, 0},
  10833. {0x8A, 0, 0, 0, 0},
  10834. {0x8B, 0, 0, 0, 0},
  10835. {0x8C, 0, 0, 0, 0},
  10836. {0x8D, 0, 0, 0, 0},
  10837. {0x8E, 0, 0, 0, 0},
  10838. {0x8F, 0, 0, 0, 0},
  10839. {0x90, 0, 0, 0, 0},
  10840. {0x91, 0, 0, 0, 0},
  10841. {0x92, 0, 0, 0, 0},
  10842. {0x93, 0, 0, 0, 0},
  10843. {0x94, 0, 0, 0, 0},
  10844. {0xFFFF, 0, 0, 0, 0},
  10845. };
  10846. static const struct radio_regs regs_SYN_2056_rev11[] = {
  10847. {0x02, 0, 0, 0, 0},
  10848. {0x03, 0, 0, 0, 0},
  10849. {0x04, 0, 0, 0, 0},
  10850. {0x05, 0, 0, 0, 0},
  10851. {0x06, 0, 0, 0, 0},
  10852. {0x07, 0, 0, 0, 0},
  10853. {0x08, 0, 0, 0, 0},
  10854. {0x09, 0x1, 0x1, 0, 0},
  10855. {0x0A, 0, 0, 0, 0},
  10856. {0x0B, 0, 0, 0, 0},
  10857. {0x0C, 0, 0, 0, 0},
  10858. {0x0D, 0, 0, 0, 0},
  10859. {0x0E, 0, 0, 0, 0},
  10860. {0x0F, 0, 0, 0, 0},
  10861. {0x10, 0, 0, 0, 0},
  10862. {0x11, 0, 0, 0, 0},
  10863. {0x12, 0, 0, 0, 0},
  10864. {0x13, 0, 0, 0, 0},
  10865. {0x14, 0, 0, 0, 0},
  10866. {0x15, 0, 0, 0, 0},
  10867. {0x16, 0, 0, 0, 0},
  10868. {0x17, 0, 0, 0, 0},
  10869. {0x18, 0, 0, 0, 0},
  10870. {0x19, 0, 0, 0, 0},
  10871. {0x1A, 0, 0, 0, 0},
  10872. {0x1B, 0, 0, 0, 0},
  10873. {0x1C, 0, 0, 0, 0},
  10874. {0x1D, 0, 0, 0, 0},
  10875. {0x1E, 0, 0, 0, 0},
  10876. {0x1F, 0, 0, 0, 0},
  10877. {0x20, 0, 0, 0, 0},
  10878. {0x21, 0, 0, 0, 0},
  10879. {0x22, 0x60, 0x60, 0, 0},
  10880. {0x23, 0x6, 0x6, 0, 0},
  10881. {0x24, 0xc, 0xc, 0, 0},
  10882. {0x25, 0, 0, 0, 0},
  10883. {0x26, 0, 0, 0, 0},
  10884. {0x27, 0, 0, 0, 0},
  10885. {0x28, 0x1, 0x1, 0, 0},
  10886. {0x29, 0, 0, 0, 0},
  10887. {0x2A, 0, 0, 0, 0},
  10888. {0x2B, 0, 0, 0, 0},
  10889. {0x2C, 0, 0, 0, 0},
  10890. {0x2D, 0, 0, 0, 0},
  10891. {0x2E, 0, 0, 0, 0},
  10892. {0x2F, 0x1f, 0x1f, 0, 0},
  10893. {0x30, 0x15, 0x15, 0, 0},
  10894. {0x31, 0xf, 0xf, 0, 0},
  10895. {0x32, 0, 0, 0, 0},
  10896. {0x33, 0, 0, 0, 0},
  10897. {0x34, 0, 0, 0, 0},
  10898. {0x35, 0, 0, 0, 0},
  10899. {0x36, 0, 0, 0, 0},
  10900. {0x37, 0, 0, 0, 0},
  10901. {0x38, 0, 0, 0, 0},
  10902. {0x39, 0, 0, 0, 0},
  10903. {0x3A, 0, 0, 0, 0},
  10904. {0x3B, 0, 0, 0, 0},
  10905. {0x3C, 0x13, 0x13, 0, 0},
  10906. {0x3D, 0xf, 0xf, 0, 0},
  10907. {0x3E, 0x18, 0x18, 0, 0},
  10908. {0x3F, 0, 0, 0, 0},
  10909. {0x40, 0, 0, 0, 0},
  10910. {0x41, 0x20, 0x20, 0, 0},
  10911. {0x42, 0x20, 0x20, 0, 0},
  10912. {0x43, 0, 0, 0, 0},
  10913. {0x44, 0x77, 0x77, 0, 0},
  10914. {0x45, 0x7, 0x7, 0, 0},
  10915. {0x46, 0x1, 0x1, 0, 0},
  10916. {0x47, 0x6, 0x6, 1, 1},
  10917. {0x48, 0xf, 0xf, 0, 0},
  10918. {0x49, 0x3f, 0x3f, 1, 1},
  10919. {0x4A, 0x32, 0x32, 0, 0},
  10920. {0x4B, 0x6, 0x6, 1, 1},
  10921. {0x4C, 0x6, 0x6, 1, 1},
  10922. {0x4D, 0x4, 0x4, 0, 0},
  10923. {0x4E, 0x2b, 0x2b, 1, 1},
  10924. {0x4F, 0x1, 0x1, 0, 0},
  10925. {0x50, 0x1c, 0x1c, 0, 0},
  10926. {0x51, 0x2, 0x2, 0, 0},
  10927. {0x52, 0x2, 0x2, 0, 0},
  10928. {0x53, 0xf7, 0xf7, 1, 1},
  10929. {0x54, 0xb4, 0xb4, 0, 0},
  10930. {0x55, 0xd2, 0xd2, 0, 0},
  10931. {0x56, 0, 0, 0, 0},
  10932. {0x57, 0, 0, 0, 0},
  10933. {0x58, 0x4, 0x4, 0, 0},
  10934. {0x59, 0x96, 0x96, 0, 0},
  10935. {0x5A, 0x3e, 0x3e, 0, 0},
  10936. {0x5B, 0x3e, 0x3e, 0, 0},
  10937. {0x5C, 0x13, 0x13, 0, 0},
  10938. {0x5D, 0x2, 0x2, 0, 0},
  10939. {0x5E, 0, 0, 0, 0},
  10940. {0x5F, 0x7, 0x7, 0, 0},
  10941. {0x60, 0x7, 0x7, 1, 1},
  10942. {0x61, 0x8, 0x8, 0, 0},
  10943. {0x62, 0x3, 0x3, 0, 0},
  10944. {0x63, 0, 0, 0, 0},
  10945. {0x64, 0, 0, 0, 0},
  10946. {0x65, 0, 0, 0, 0},
  10947. {0x66, 0, 0, 0, 0},
  10948. {0x67, 0, 0, 0, 0},
  10949. {0x68, 0x40, 0x40, 0, 0},
  10950. {0x69, 0, 0, 0, 0},
  10951. {0x6A, 0, 0, 0, 0},
  10952. {0x6B, 0, 0, 0, 0},
  10953. {0x6C, 0, 0, 0, 0},
  10954. {0x6D, 0x1, 0x1, 0, 0},
  10955. {0x6E, 0, 0, 0, 0},
  10956. {0x6F, 0, 0, 0, 0},
  10957. {0x70, 0x60, 0x60, 0, 0},
  10958. {0x71, 0x66, 0x66, 0, 0},
  10959. {0x72, 0xc, 0xc, 0, 0},
  10960. {0x73, 0x66, 0x66, 0, 0},
  10961. {0x74, 0x8f, 0x8f, 1, 1},
  10962. {0x75, 0, 0, 0, 0},
  10963. {0x76, 0xcc, 0xcc, 0, 0},
  10964. {0x77, 0x1, 0x1, 0, 0},
  10965. {0x78, 0x66, 0x66, 0, 0},
  10966. {0x79, 0x66, 0x66, 0, 0},
  10967. {0x7A, 0, 0, 0, 0},
  10968. {0x7B, 0, 0, 0, 0},
  10969. {0x7C, 0, 0, 0, 0},
  10970. {0x7D, 0, 0, 0, 0},
  10971. {0x7E, 0, 0, 0, 0},
  10972. {0x7F, 0, 0, 0, 0},
  10973. {0x80, 0, 0, 0, 0},
  10974. {0x81, 0, 0, 0, 0},
  10975. {0x82, 0, 0, 0, 0},
  10976. {0x83, 0, 0, 0, 0},
  10977. {0x84, 0, 0, 0, 0},
  10978. {0x85, 0xff, 0xff, 0, 0},
  10979. {0x86, 0, 0, 0, 0},
  10980. {0x87, 0, 0, 0, 0},
  10981. {0x88, 0, 0, 0, 0},
  10982. {0x89, 0, 0, 0, 0},
  10983. {0x8A, 0, 0, 0, 0},
  10984. {0x8B, 0, 0, 0, 0},
  10985. {0x8C, 0, 0, 0, 0},
  10986. {0x8D, 0, 0, 0, 0},
  10987. {0x8E, 0, 0, 0, 0},
  10988. {0x8F, 0, 0, 0, 0},
  10989. {0x90, 0, 0, 0, 0},
  10990. {0x91, 0, 0, 0, 0},
  10991. {0x92, 0, 0, 0, 0},
  10992. {0x93, 0, 0, 0, 0},
  10993. {0x94, 0, 0, 0, 0},
  10994. {0x95, 0, 0, 0, 0},
  10995. {0x96, 0, 0, 0, 0},
  10996. {0x97, 0, 0, 0, 0},
  10997. {0x98, 0, 0, 0, 0},
  10998. {0x99, 0, 0, 0, 0},
  10999. {0x9A, 0, 0, 0, 0},
  11000. {0x9B, 0, 0, 0, 0},
  11001. {0x9C, 0, 0, 0, 0},
  11002. {0x9D, 0, 0, 0, 0},
  11003. {0x9E, 0, 0, 0, 0},
  11004. {0x9F, 0x6, 0x6, 0, 0},
  11005. {0xA0, 0x66, 0x66, 0, 0},
  11006. {0xA1, 0x66, 0x66, 0, 0},
  11007. {0xA2, 0x66, 0x66, 0, 0},
  11008. {0xA3, 0x66, 0x66, 0, 0},
  11009. {0xA4, 0x66, 0x66, 0, 0},
  11010. {0xA5, 0x66, 0x66, 0, 0},
  11011. {0xA6, 0x66, 0x66, 0, 0},
  11012. {0xA7, 0x66, 0x66, 0, 0},
  11013. {0xA8, 0x66, 0x66, 0, 0},
  11014. {0xA9, 0x66, 0x66, 0, 0},
  11015. {0xAA, 0x66, 0x66, 0, 0},
  11016. {0xAB, 0x66, 0x66, 0, 0},
  11017. {0xAC, 0x66, 0x66, 0, 0},
  11018. {0xAD, 0x66, 0x66, 0, 0},
  11019. {0xAE, 0x66, 0x66, 0, 0},
  11020. {0xAF, 0x66, 0x66, 0, 0},
  11021. {0xB0, 0x66, 0x66, 0, 0},
  11022. {0xB1, 0x66, 0x66, 0, 0},
  11023. {0xB2, 0x66, 0x66, 0, 0},
  11024. {0xB3, 0xa, 0xa, 0, 0},
  11025. {0xB4, 0, 0, 0, 0},
  11026. {0xB5, 0, 0, 0, 0},
  11027. {0xB6, 0, 0, 0, 0},
  11028. {0xFFFF, 0, 0, 0, 0},
  11029. };
  11030. static const struct radio_regs regs_TX_2056_rev11[] = {
  11031. {0x02, 0, 0, 0, 0},
  11032. {0x03, 0, 0, 0, 0},
  11033. {0x04, 0, 0, 0, 0},
  11034. {0x05, 0, 0, 0, 0},
  11035. {0x06, 0, 0, 0, 0},
  11036. {0x07, 0, 0, 0, 0},
  11037. {0x08, 0, 0, 0, 0},
  11038. {0x09, 0, 0, 0, 0},
  11039. {0x0A, 0, 0, 0, 0},
  11040. {0x0B, 0, 0, 0, 0},
  11041. {0x0C, 0, 0, 0, 0},
  11042. {0x0D, 0, 0, 0, 0},
  11043. {0x0E, 0, 0, 0, 0},
  11044. {0x0F, 0, 0, 0, 0},
  11045. {0x10, 0, 0, 0, 0},
  11046. {0x11, 0, 0, 0, 0},
  11047. {0x12, 0, 0, 0, 0},
  11048. {0x13, 0, 0, 0, 0},
  11049. {0x14, 0, 0, 0, 0},
  11050. {0x15, 0, 0, 0, 0},
  11051. {0x16, 0, 0, 0, 0},
  11052. {0x17, 0, 0, 0, 0},
  11053. {0x18, 0, 0, 0, 0},
  11054. {0x19, 0, 0, 0, 0},
  11055. {0x1A, 0, 0, 0, 0},
  11056. {0x1B, 0, 0, 0, 0},
  11057. {0x1C, 0, 0, 0, 0},
  11058. {0x1D, 0, 0, 0, 0},
  11059. {0x1E, 0, 0, 0, 0},
  11060. {0x1F, 0, 0, 0, 0},
  11061. {0x20, 0, 0, 0, 0},
  11062. {0x21, 0x88, 0x88, 0, 0},
  11063. {0x22, 0x88, 0x88, 0, 0},
  11064. {0x23, 0x88, 0x88, 0, 0},
  11065. {0x24, 0x88, 0x88, 0, 0},
  11066. {0x25, 0xc, 0xc, 0, 0},
  11067. {0x26, 0, 0, 0, 0},
  11068. {0x27, 0x3, 0x3, 0, 0},
  11069. {0x28, 0, 0, 0, 0},
  11070. {0x29, 0x3, 0x3, 0, 0},
  11071. {0x2A, 0x37, 0x37, 0, 0},
  11072. {0x2B, 0x3, 0x3, 0, 0},
  11073. {0x2C, 0, 0, 0, 0},
  11074. {0x2D, 0, 0, 0, 0},
  11075. {0x2E, 0x1, 0x1, 0, 0},
  11076. {0x2F, 0x1, 0x1, 0, 0},
  11077. {0x30, 0, 0, 0, 0},
  11078. {0x31, 0, 0, 0, 0},
  11079. {0x32, 0, 0, 0, 0},
  11080. {0x33, 0x11, 0x11, 0, 0},
  11081. {0x34, 0xee, 0xee, 1, 1},
  11082. {0x35, 0, 0, 0, 0},
  11083. {0x36, 0, 0, 0, 0},
  11084. {0x37, 0x3, 0x3, 0, 0},
  11085. {0x38, 0x50, 0x50, 1, 1},
  11086. {0x39, 0, 0, 0, 0},
  11087. {0x3A, 0x50, 0x50, 1, 1},
  11088. {0x3B, 0, 0, 0, 0},
  11089. {0x3C, 0x6e, 0x6e, 0, 0},
  11090. {0x3D, 0xf0, 0xf0, 1, 1},
  11091. {0x3E, 0, 0, 0, 0},
  11092. {0x3F, 0, 0, 0, 0},
  11093. {0x40, 0, 0, 0, 0},
  11094. {0x41, 0x3, 0x3, 0, 0},
  11095. {0x42, 0x3, 0x3, 0, 0},
  11096. {0x43, 0, 0, 0, 0},
  11097. {0x44, 0x1e, 0x1e, 0, 0},
  11098. {0x45, 0, 0, 0, 0},
  11099. {0x46, 0x6e, 0x6e, 0, 0},
  11100. {0x47, 0xf0, 0xf0, 1, 1},
  11101. {0x48, 0, 0, 0, 0},
  11102. {0x49, 0x2, 0x2, 0, 0},
  11103. {0x4A, 0xff, 0xff, 1, 1},
  11104. {0x4B, 0xc, 0xc, 0, 0},
  11105. {0x4C, 0, 0, 0, 0},
  11106. {0x4D, 0x38, 0x38, 0, 0},
  11107. {0x4E, 0x70, 0x70, 1, 1},
  11108. {0x4F, 0x2, 0x2, 0, 0},
  11109. {0x50, 0x88, 0x88, 0, 0},
  11110. {0x51, 0xc, 0xc, 0, 0},
  11111. {0x52, 0, 0, 0, 0},
  11112. {0x53, 0x8, 0x8, 0, 0},
  11113. {0x54, 0x70, 0x70, 1, 1},
  11114. {0x55, 0x2, 0x2, 0, 0},
  11115. {0x56, 0xff, 0xff, 1, 1},
  11116. {0x57, 0, 0, 0, 0},
  11117. {0x58, 0x83, 0x83, 0, 0},
  11118. {0x59, 0x77, 0x77, 1, 1},
  11119. {0x5A, 0, 0, 0, 0},
  11120. {0x5B, 0x2, 0x2, 0, 0},
  11121. {0x5C, 0x88, 0x88, 0, 0},
  11122. {0x5D, 0, 0, 0, 0},
  11123. {0x5E, 0x8, 0x8, 0, 0},
  11124. {0x5F, 0x77, 0x77, 1, 1},
  11125. {0x60, 0x1, 0x1, 0, 0},
  11126. {0x61, 0, 0, 0, 0},
  11127. {0x62, 0x7, 0x7, 0, 0},
  11128. {0x63, 0, 0, 0, 0},
  11129. {0x64, 0x7, 0x7, 0, 0},
  11130. {0x65, 0, 0, 0, 0},
  11131. {0x66, 0, 0, 0, 0},
  11132. {0x67, 0, 0, 1, 1},
  11133. {0x68, 0, 0, 0, 0},
  11134. {0x69, 0xa, 0xa, 0, 0},
  11135. {0x6A, 0, 0, 0, 0},
  11136. {0x6B, 0, 0, 0, 0},
  11137. {0x6C, 0, 0, 0, 0},
  11138. {0x6D, 0, 0, 0, 0},
  11139. {0x6E, 0, 0, 0, 0},
  11140. {0x6F, 0, 0, 0, 0},
  11141. {0x70, 0, 0, 0, 0},
  11142. {0x71, 0x2, 0x2, 0, 0},
  11143. {0x72, 0, 0, 0, 0},
  11144. {0x73, 0, 0, 0, 0},
  11145. {0x74, 0xe, 0xe, 0, 0},
  11146. {0x75, 0xe, 0xe, 0, 0},
  11147. {0x76, 0xe, 0xe, 0, 0},
  11148. {0x77, 0x13, 0x13, 0, 0},
  11149. {0x78, 0x13, 0x13, 0, 0},
  11150. {0x79, 0x1b, 0x1b, 0, 0},
  11151. {0x7A, 0x1b, 0x1b, 0, 0},
  11152. {0x7B, 0x55, 0x55, 0, 0},
  11153. {0x7C, 0x5b, 0x5b, 0, 0},
  11154. {0x7D, 0x30, 0x30, 1, 1},
  11155. {0x7E, 0, 0, 0, 0},
  11156. {0x7F, 0, 0, 0, 0},
  11157. {0x80, 0, 0, 0, 0},
  11158. {0x81, 0, 0, 0, 0},
  11159. {0x82, 0, 0, 0, 0},
  11160. {0x83, 0, 0, 0, 0},
  11161. {0x84, 0, 0, 0, 0},
  11162. {0x85, 0, 0, 0, 0},
  11163. {0x86, 0, 0, 0, 0},
  11164. {0x87, 0, 0, 0, 0},
  11165. {0x88, 0, 0, 0, 0},
  11166. {0x89, 0, 0, 0, 0},
  11167. {0x8A, 0, 0, 0, 0},
  11168. {0x8B, 0, 0, 0, 0},
  11169. {0x8C, 0, 0, 0, 0},
  11170. {0x8D, 0, 0, 0, 0},
  11171. {0x8E, 0, 0, 0, 0},
  11172. {0x8F, 0, 0, 0, 0},
  11173. {0x90, 0, 0, 0, 0},
  11174. {0x91, 0, 0, 0, 0},
  11175. {0x92, 0, 0, 0, 0},
  11176. {0x93, 0x70, 0x70, 0, 0},
  11177. {0x94, 0x70, 0x70, 0, 0},
  11178. {0x95, 0x70, 0x70, 0, 0},
  11179. {0x96, 0x70, 0x70, 0, 0},
  11180. {0x97, 0x70, 0x70, 0, 0},
  11181. {0x98, 0x70, 0x70, 0, 0},
  11182. {0x99, 0x70, 0x70, 0, 0},
  11183. {0x9A, 0x70, 0x70, 0, 0},
  11184. {0xFFFF, 0, 0, 0, 0},
  11185. };
  11186. static const struct radio_regs regs_RX_2056_rev11[] = {
  11187. {0x02, 0, 0, 0, 0},
  11188. {0x03, 0, 0, 0, 0},
  11189. {0x04, 0, 0, 0, 0},
  11190. {0x05, 0, 0, 0, 0},
  11191. {0x06, 0, 0, 0, 0},
  11192. {0x07, 0, 0, 0, 0},
  11193. {0x08, 0, 0, 0, 0},
  11194. {0x09, 0, 0, 0, 0},
  11195. {0x0A, 0, 0, 0, 0},
  11196. {0x0B, 0, 0, 0, 0},
  11197. {0x0C, 0, 0, 0, 0},
  11198. {0x0D, 0, 0, 0, 0},
  11199. {0x0E, 0, 0, 0, 0},
  11200. {0x0F, 0, 0, 0, 0},
  11201. {0x10, 0, 0, 0, 0},
  11202. {0x11, 0, 0, 0, 0},
  11203. {0x12, 0, 0, 0, 0},
  11204. {0x13, 0, 0, 0, 0},
  11205. {0x14, 0, 0, 0, 0},
  11206. {0x15, 0, 0, 0, 0},
  11207. {0x16, 0, 0, 0, 0},
  11208. {0x17, 0, 0, 0, 0},
  11209. {0x18, 0, 0, 0, 0},
  11210. {0x19, 0, 0, 0, 0},
  11211. {0x1A, 0, 0, 0, 0},
  11212. {0x1B, 0, 0, 0, 0},
  11213. {0x1C, 0, 0, 0, 0},
  11214. {0x1D, 0, 0, 0, 0},
  11215. {0x1E, 0, 0, 0, 0},
  11216. {0x1F, 0, 0, 0, 0},
  11217. {0x20, 0x3, 0x3, 0, 0},
  11218. {0x21, 0, 0, 0, 0},
  11219. {0x22, 0, 0, 0, 0},
  11220. {0x23, 0x90, 0x90, 0, 0},
  11221. {0x24, 0x55, 0x55, 0, 0},
  11222. {0x25, 0x15, 0x15, 0, 0},
  11223. {0x26, 0x5, 0x5, 0, 0},
  11224. {0x27, 0x15, 0x15, 0, 0},
  11225. {0x28, 0x5, 0x5, 0, 0},
  11226. {0x29, 0x20, 0x20, 0, 0},
  11227. {0x2A, 0x11, 0x11, 0, 0},
  11228. {0x2B, 0x90, 0x90, 0, 0},
  11229. {0x2C, 0, 0, 0, 0},
  11230. {0x2D, 0x88, 0x88, 0, 0},
  11231. {0x2E, 0x32, 0x32, 0, 0},
  11232. {0x2F, 0x77, 0x77, 0, 0},
  11233. {0x30, 0x17, 0x17, 1, 1},
  11234. {0x31, 0xff, 0xff, 1, 1},
  11235. {0x32, 0x20, 0x20, 0, 0},
  11236. {0x33, 0, 0, 0, 0},
  11237. {0x34, 0x88, 0x88, 0, 0},
  11238. {0x35, 0x32, 0x32, 0, 0},
  11239. {0x36, 0x77, 0x77, 0, 0},
  11240. {0x37, 0x17, 0x17, 1, 1},
  11241. {0x38, 0xf0, 0xf0, 1, 1},
  11242. {0x39, 0x20, 0x20, 0, 0},
  11243. {0x3A, 0x8, 0x8, 0, 0},
  11244. {0x3B, 0x55, 0x55, 1, 1},
  11245. {0x3C, 0, 0, 0, 0},
  11246. {0x3D, 0x88, 0x88, 1, 1},
  11247. {0x3E, 0, 0, 0, 0},
  11248. {0x3F, 0x44, 0x44, 0, 0},
  11249. {0x40, 0x7, 0x7, 1, 1},
  11250. {0x41, 0x6, 0x6, 0, 0},
  11251. {0x42, 0x4, 0x4, 0, 0},
  11252. {0x43, 0, 0, 0, 0},
  11253. {0x44, 0x8, 0x8, 0, 0},
  11254. {0x45, 0x55, 0x55, 1, 1},
  11255. {0x46, 0, 0, 0, 0},
  11256. {0x47, 0x11, 0x11, 0, 0},
  11257. {0x48, 0, 0, 0, 0},
  11258. {0x49, 0x44, 0x44, 0, 0},
  11259. {0x4A, 0x7, 0x7, 0, 0},
  11260. {0x4B, 0x6, 0x6, 0, 0},
  11261. {0x4C, 0x4, 0x4, 0, 0},
  11262. {0x4D, 0, 0, 0, 0},
  11263. {0x4E, 0, 0, 0, 0},
  11264. {0x4F, 0x26, 0x26, 1, 1},
  11265. {0x50, 0x26, 0x26, 1, 1},
  11266. {0x51, 0xf, 0xf, 1, 1},
  11267. {0x52, 0xf, 0xf, 1, 1},
  11268. {0x53, 0x44, 0x44, 0, 0},
  11269. {0x54, 0, 0, 0, 0},
  11270. {0x55, 0, 0, 0, 0},
  11271. {0x56, 0x8, 0x8, 0, 0},
  11272. {0x57, 0x8, 0x8, 0, 0},
  11273. {0x58, 0x7, 0x7, 0, 0},
  11274. {0x59, 0x22, 0x22, 0, 0},
  11275. {0x5A, 0x22, 0x22, 0, 0},
  11276. {0x5B, 0x2, 0x2, 0, 0},
  11277. {0x5C, 0x4, 0x4, 1, 1},
  11278. {0x5D, 0x7, 0x7, 0, 0},
  11279. {0x5E, 0x55, 0x55, 0, 0},
  11280. {0x5F, 0x23, 0x23, 0, 0},
  11281. {0x60, 0x41, 0x41, 0, 0},
  11282. {0x61, 0x1, 0x1, 0, 0},
  11283. {0x62, 0xa, 0xa, 0, 0},
  11284. {0x63, 0, 0, 0, 0},
  11285. {0x64, 0, 0, 0, 0},
  11286. {0x65, 0, 0, 0, 0},
  11287. {0x66, 0, 0, 0, 0},
  11288. {0x67, 0, 0, 0, 0},
  11289. {0x68, 0, 0, 0, 0},
  11290. {0x69, 0, 0, 0, 0},
  11291. {0x6A, 0, 0, 0, 0},
  11292. {0x6B, 0xc, 0xc, 0, 0},
  11293. {0x6C, 0, 0, 0, 0},
  11294. {0x6D, 0, 0, 0, 0},
  11295. {0x6E, 0, 0, 0, 0},
  11296. {0x6F, 0, 0, 0, 0},
  11297. {0x70, 0, 0, 0, 0},
  11298. {0x71, 0, 0, 0, 0},
  11299. {0x72, 0x22, 0x22, 0, 0},
  11300. {0x73, 0x22, 0x22, 0, 0},
  11301. {0x74, 0, 0, 1, 1},
  11302. {0x75, 0xa, 0xa, 0, 0},
  11303. {0x76, 0x1, 0x1, 0, 0},
  11304. {0x77, 0x22, 0x22, 0, 0},
  11305. {0x78, 0x30, 0x30, 0, 0},
  11306. {0x79, 0, 0, 0, 0},
  11307. {0x7A, 0, 0, 0, 0},
  11308. {0x7B, 0, 0, 0, 0},
  11309. {0x7C, 0, 0, 0, 0},
  11310. {0x7D, 0x5, 0x5, 1, 1},
  11311. {0x7E, 0, 0, 0, 0},
  11312. {0x7F, 0, 0, 0, 0},
  11313. {0x80, 0, 0, 0, 0},
  11314. {0x81, 0, 0, 0, 0},
  11315. {0x82, 0, 0, 0, 0},
  11316. {0x83, 0, 0, 0, 0},
  11317. {0x84, 0, 0, 0, 0},
  11318. {0x85, 0, 0, 0, 0},
  11319. {0x86, 0, 0, 0, 0},
  11320. {0x87, 0, 0, 0, 0},
  11321. {0x88, 0, 0, 0, 0},
  11322. {0x89, 0, 0, 0, 0},
  11323. {0x8A, 0, 0, 0, 0},
  11324. {0x8B, 0, 0, 0, 0},
  11325. {0x8C, 0, 0, 0, 0},
  11326. {0x8D, 0, 0, 0, 0},
  11327. {0x8E, 0, 0, 0, 0},
  11328. {0x8F, 0, 0, 0, 0},
  11329. {0x90, 0, 0, 0, 0},
  11330. {0x91, 0, 0, 0, 0},
  11331. {0x92, 0, 0, 0, 0},
  11332. {0x93, 0, 0, 0, 0},
  11333. {0x94, 0, 0, 0, 0},
  11334. {0xFFFF, 0, 0, 0, 0},
  11335. };
  11336. static struct radio_20xx_regs regs_2057_rev4[] = {
  11337. {0x00, 0x84, 0},
  11338. {0x01, 0, 0},
  11339. {0x02, 0x60, 0},
  11340. {0x03, 0x1f, 0},
  11341. {0x04, 0x4, 0},
  11342. {0x05, 0x2, 0},
  11343. {0x06, 0x1, 0},
  11344. {0x07, 0x1, 0},
  11345. {0x08, 0x1, 0},
  11346. {0x09, 0x69, 0},
  11347. {0x0A, 0x66, 0},
  11348. {0x0B, 0x6, 0},
  11349. {0x0C, 0x18, 0},
  11350. {0x0D, 0x3, 0},
  11351. {0x0E, 0x20, 1},
  11352. {0x0F, 0x20, 0},
  11353. {0x10, 0, 0},
  11354. {0x11, 0x7c, 0},
  11355. {0x12, 0x42, 0},
  11356. {0x13, 0xbd, 0},
  11357. {0x14, 0x7, 0},
  11358. {0x15, 0xf7, 0},
  11359. {0x16, 0x8, 0},
  11360. {0x17, 0x17, 0},
  11361. {0x18, 0x7, 0},
  11362. {0x19, 0, 0},
  11363. {0x1A, 0x2, 0},
  11364. {0x1B, 0x13, 0},
  11365. {0x1C, 0x3e, 0},
  11366. {0x1D, 0x3e, 0},
  11367. {0x1E, 0x96, 0},
  11368. {0x1F, 0x4, 0},
  11369. {0x20, 0, 0},
  11370. {0x21, 0, 0},
  11371. {0x22, 0x17, 0},
  11372. {0x23, 0x4, 0},
  11373. {0x24, 0x1, 0},
  11374. {0x25, 0x6, 0},
  11375. {0x26, 0x4, 0},
  11376. {0x27, 0xd, 0},
  11377. {0x28, 0xd, 0},
  11378. {0x29, 0x30, 0},
  11379. {0x2A, 0x32, 0},
  11380. {0x2B, 0x8, 0},
  11381. {0x2C, 0x1c, 0},
  11382. {0x2D, 0x2, 0},
  11383. {0x2E, 0x4, 0},
  11384. {0x2F, 0x7f, 0},
  11385. {0x30, 0x27, 0},
  11386. {0x31, 0, 1},
  11387. {0x32, 0, 1},
  11388. {0x33, 0, 1},
  11389. {0x34, 0, 0},
  11390. {0x35, 0x26, 1},
  11391. {0x36, 0x18, 0},
  11392. {0x37, 0x7, 0},
  11393. {0x38, 0x66, 0},
  11394. {0x39, 0x66, 0},
  11395. {0x3A, 0x66, 0},
  11396. {0x3B, 0x66, 0},
  11397. {0x3C, 0xff, 1},
  11398. {0x3D, 0xff, 1},
  11399. {0x3E, 0xff, 1},
  11400. {0x3F, 0xff, 1},
  11401. {0x40, 0x16, 0},
  11402. {0x41, 0x7, 0},
  11403. {0x42, 0x19, 0},
  11404. {0x43, 0x7, 0},
  11405. {0x44, 0x6, 0},
  11406. {0x45, 0x3, 0},
  11407. {0x46, 0x1, 0},
  11408. {0x47, 0x7, 0},
  11409. {0x48, 0x33, 0},
  11410. {0x49, 0x5, 0},
  11411. {0x4A, 0x77, 0},
  11412. {0x4B, 0x66, 0},
  11413. {0x4C, 0x66, 0},
  11414. {0x4D, 0, 0},
  11415. {0x4E, 0x4, 0},
  11416. {0x4F, 0xc, 0},
  11417. {0x50, 0, 0},
  11418. {0x51, 0x75, 0},
  11419. {0x56, 0x7, 0},
  11420. {0x57, 0, 0},
  11421. {0x58, 0, 0},
  11422. {0x59, 0xa8, 0},
  11423. {0x5A, 0, 0},
  11424. {0x5B, 0x1f, 0},
  11425. {0x5C, 0x30, 0},
  11426. {0x5D, 0x1, 0},
  11427. {0x5E, 0x30, 0},
  11428. {0x5F, 0x70, 0},
  11429. {0x60, 0, 0},
  11430. {0x61, 0, 0},
  11431. {0x62, 0x33, 1},
  11432. {0x63, 0x19, 0},
  11433. {0x64, 0x62, 0},
  11434. {0x65, 0, 0},
  11435. {0x66, 0x11, 0},
  11436. {0x69, 0, 0},
  11437. {0x6A, 0x7e, 0},
  11438. {0x6B, 0x3f, 0},
  11439. {0x6C, 0x7f, 0},
  11440. {0x6D, 0x78, 0},
  11441. {0x6E, 0xc8, 0},
  11442. {0x6F, 0x88, 0},
  11443. {0x70, 0x8, 0},
  11444. {0x71, 0xf, 0},
  11445. {0x72, 0xbc, 0},
  11446. {0x73, 0x8, 0},
  11447. {0x74, 0x60, 0},
  11448. {0x75, 0x1e, 0},
  11449. {0x76, 0x70, 0},
  11450. {0x77, 0, 0},
  11451. {0x78, 0, 0},
  11452. {0x79, 0, 0},
  11453. {0x7A, 0x33, 0},
  11454. {0x7B, 0x1e, 0},
  11455. {0x7C, 0x62, 0},
  11456. {0x7D, 0x11, 0},
  11457. {0x80, 0x3c, 0},
  11458. {0x81, 0x9c, 0},
  11459. {0x82, 0xa, 0},
  11460. {0x83, 0x9d, 0},
  11461. {0x84, 0xa, 0},
  11462. {0x85, 0, 0},
  11463. {0x86, 0x40, 0},
  11464. {0x87, 0x40, 0},
  11465. {0x88, 0x88, 0},
  11466. {0x89, 0x10, 0},
  11467. {0x8A, 0xf0, 1},
  11468. {0x8B, 0x10, 1},
  11469. {0x8C, 0xf0, 1},
  11470. {0x8D, 0, 0},
  11471. {0x8E, 0, 0},
  11472. {0x8F, 0x10, 0},
  11473. {0x90, 0x55, 0},
  11474. {0x91, 0x3f, 1},
  11475. {0x92, 0x36, 1},
  11476. {0x93, 0, 0},
  11477. {0x94, 0, 0},
  11478. {0x95, 0, 0},
  11479. {0x96, 0x87, 0},
  11480. {0x97, 0x11, 0},
  11481. {0x98, 0, 0},
  11482. {0x99, 0x33, 0},
  11483. {0x9A, 0x88, 0},
  11484. {0x9B, 0, 0},
  11485. {0x9C, 0x87, 0},
  11486. {0x9D, 0x11, 0},
  11487. {0x9E, 0, 0},
  11488. {0x9F, 0x33, 0},
  11489. {0xA0, 0x88, 0},
  11490. {0xA1, 0xe1, 0},
  11491. {0xA2, 0x3f, 0},
  11492. {0xA3, 0x44, 0},
  11493. {0xA4, 0x8c, 1},
  11494. {0xA5, 0x6d, 0},
  11495. {0xA6, 0x22, 0},
  11496. {0xA7, 0xbe, 0},
  11497. {0xA8, 0x55, 1},
  11498. {0xA9, 0xc, 0},
  11499. {0xAA, 0xc, 0},
  11500. {0xAB, 0xaa, 0},
  11501. {0xAC, 0x2, 0},
  11502. {0xAD, 0, 0},
  11503. {0xAE, 0x10, 0},
  11504. {0xAF, 0x1, 1},
  11505. {0xB0, 0, 0},
  11506. {0xB1, 0, 0},
  11507. {0xB2, 0x80, 0},
  11508. {0xB3, 0x60, 0},
  11509. {0xB4, 0x44, 0},
  11510. {0xB5, 0x55, 0},
  11511. {0xB6, 0x1, 0},
  11512. {0xB7, 0x55, 0},
  11513. {0xB8, 0x1, 0},
  11514. {0xB9, 0x5, 0},
  11515. {0xBA, 0x55, 0},
  11516. {0xBB, 0x55, 0},
  11517. {0xC1, 0, 0},
  11518. {0xC2, 0, 0},
  11519. {0xC3, 0, 0},
  11520. {0xC4, 0, 0},
  11521. {0xC5, 0, 0},
  11522. {0xC6, 0, 0},
  11523. {0xC7, 0, 0},
  11524. {0xC8, 0, 0},
  11525. {0xC9, 0, 0},
  11526. {0xCA, 0, 0},
  11527. {0xCB, 0, 0},
  11528. {0xCC, 0, 0},
  11529. {0xCD, 0, 0},
  11530. {0xCE, 0x5e, 0},
  11531. {0xCF, 0xc, 0},
  11532. {0xD0, 0xc, 0},
  11533. {0xD1, 0xc, 0},
  11534. {0xD2, 0, 0},
  11535. {0xD3, 0x2b, 0},
  11536. {0xD4, 0xc, 0},
  11537. {0xD5, 0, 0},
  11538. {0xD6, 0x75, 0},
  11539. {0xDB, 0x7, 0},
  11540. {0xDC, 0, 0},
  11541. {0xDD, 0, 0},
  11542. {0xDE, 0xa8, 0},
  11543. {0xDF, 0, 0},
  11544. {0xE0, 0x1f, 0},
  11545. {0xE1, 0x30, 0},
  11546. {0xE2, 0x1, 0},
  11547. {0xE3, 0x30, 0},
  11548. {0xE4, 0x70, 0},
  11549. {0xE5, 0, 0},
  11550. {0xE6, 0, 0},
  11551. {0xE7, 0x33, 0},
  11552. {0xE8, 0x19, 0},
  11553. {0xE9, 0x62, 0},
  11554. {0xEA, 0, 0},
  11555. {0xEB, 0x11, 0},
  11556. {0xEE, 0, 0},
  11557. {0xEF, 0x7e, 0},
  11558. {0xF0, 0x3f, 0},
  11559. {0xF1, 0x7f, 0},
  11560. {0xF2, 0x78, 0},
  11561. {0xF3, 0xc8, 0},
  11562. {0xF4, 0x88, 0},
  11563. {0xF5, 0x8, 0},
  11564. {0xF6, 0xf, 0},
  11565. {0xF7, 0xbc, 0},
  11566. {0xF8, 0x8, 0},
  11567. {0xF9, 0x60, 0},
  11568. {0xFA, 0x1e, 0},
  11569. {0xFB, 0x70, 0},
  11570. {0xFC, 0, 0},
  11571. {0xFD, 0, 0},
  11572. {0xFE, 0, 0},
  11573. {0xFF, 0x33, 0},
  11574. {0x100, 0x1e, 0},
  11575. {0x101, 0x62, 0},
  11576. {0x102, 0x11, 0},
  11577. {0x105, 0x3c, 0},
  11578. {0x106, 0x9c, 0},
  11579. {0x107, 0xa, 0},
  11580. {0x108, 0x9d, 0},
  11581. {0x109, 0xa, 0},
  11582. {0x10A, 0, 0},
  11583. {0x10B, 0x40, 0},
  11584. {0x10C, 0x40, 0},
  11585. {0x10D, 0x88, 0},
  11586. {0x10E, 0x10, 0},
  11587. {0x10F, 0xf0, 1},
  11588. {0x110, 0x10, 1},
  11589. {0x111, 0xf0, 1},
  11590. {0x112, 0, 0},
  11591. {0x113, 0, 0},
  11592. {0x114, 0x10, 0},
  11593. {0x115, 0x55, 0},
  11594. {0x116, 0x3f, 1},
  11595. {0x117, 0x36, 1},
  11596. {0x118, 0, 0},
  11597. {0x119, 0, 0},
  11598. {0x11A, 0, 0},
  11599. {0x11B, 0x87, 0},
  11600. {0x11C, 0x11, 0},
  11601. {0x11D, 0, 0},
  11602. {0x11E, 0x33, 0},
  11603. {0x11F, 0x88, 0},
  11604. {0x120, 0, 0},
  11605. {0x121, 0x87, 0},
  11606. {0x122, 0x11, 0},
  11607. {0x123, 0, 0},
  11608. {0x124, 0x33, 0},
  11609. {0x125, 0x88, 0},
  11610. {0x126, 0xe1, 0},
  11611. {0x127, 0x3f, 0},
  11612. {0x128, 0x44, 0},
  11613. {0x129, 0x8c, 1},
  11614. {0x12A, 0x6d, 0},
  11615. {0x12B, 0x22, 0},
  11616. {0x12C, 0xbe, 0},
  11617. {0x12D, 0x55, 1},
  11618. {0x12E, 0xc, 0},
  11619. {0x12F, 0xc, 0},
  11620. {0x130, 0xaa, 0},
  11621. {0x131, 0x2, 0},
  11622. {0x132, 0, 0},
  11623. {0x133, 0x10, 0},
  11624. {0x134, 0x1, 1},
  11625. {0x135, 0, 0},
  11626. {0x136, 0, 0},
  11627. {0x137, 0x80, 0},
  11628. {0x138, 0x60, 0},
  11629. {0x139, 0x44, 0},
  11630. {0x13A, 0x55, 0},
  11631. {0x13B, 0x1, 0},
  11632. {0x13C, 0x55, 0},
  11633. {0x13D, 0x1, 0},
  11634. {0x13E, 0x5, 0},
  11635. {0x13F, 0x55, 0},
  11636. {0x140, 0x55, 0},
  11637. {0x146, 0, 0},
  11638. {0x147, 0, 0},
  11639. {0x148, 0, 0},
  11640. {0x149, 0, 0},
  11641. {0x14A, 0, 0},
  11642. {0x14B, 0, 0},
  11643. {0x14C, 0, 0},
  11644. {0x14D, 0, 0},
  11645. {0x14E, 0, 0},
  11646. {0x14F, 0, 0},
  11647. {0x150, 0, 0},
  11648. {0x151, 0, 0},
  11649. {0x152, 0, 0},
  11650. {0x153, 0, 0},
  11651. {0x154, 0xc, 0},
  11652. {0x155, 0xc, 0},
  11653. {0x156, 0xc, 0},
  11654. {0x157, 0, 0},
  11655. {0x158, 0x2b, 0},
  11656. {0x159, 0x84, 0},
  11657. {0x15A, 0x15, 0},
  11658. {0x15B, 0xf, 0},
  11659. {0x15C, 0, 0},
  11660. {0x15D, 0, 0},
  11661. {0x15E, 0, 1},
  11662. {0x15F, 0, 1},
  11663. {0x160, 0, 1},
  11664. {0x161, 0, 1},
  11665. {0x162, 0, 1},
  11666. {0x163, 0, 1},
  11667. {0x164, 0, 0},
  11668. {0x165, 0, 0},
  11669. {0x166, 0, 0},
  11670. {0x167, 0, 0},
  11671. {0x168, 0, 0},
  11672. {0x169, 0x2, 1},
  11673. {0x16A, 0, 1},
  11674. {0x16B, 0, 1},
  11675. {0x16C, 0, 1},
  11676. {0x16D, 0, 0},
  11677. {0x170, 0, 0},
  11678. {0x171, 0x77, 0},
  11679. {0x172, 0x77, 0},
  11680. {0x173, 0x77, 0},
  11681. {0x174, 0x77, 0},
  11682. {0x175, 0, 0},
  11683. {0x176, 0x3, 0},
  11684. {0x177, 0x37, 0},
  11685. {0x178, 0x3, 0},
  11686. {0x179, 0, 0},
  11687. {0x17A, 0x21, 0},
  11688. {0x17B, 0x21, 0},
  11689. {0x17C, 0, 0},
  11690. {0x17D, 0xaa, 0},
  11691. {0x17E, 0, 0},
  11692. {0x17F, 0xaa, 0},
  11693. {0x180, 0, 0},
  11694. {0x190, 0, 0},
  11695. {0x191, 0x77, 0},
  11696. {0x192, 0x77, 0},
  11697. {0x193, 0x77, 0},
  11698. {0x194, 0x77, 0},
  11699. {0x195, 0, 0},
  11700. {0x196, 0x3, 0},
  11701. {0x197, 0x37, 0},
  11702. {0x198, 0x3, 0},
  11703. {0x199, 0, 0},
  11704. {0x19A, 0x21, 0},
  11705. {0x19B, 0x21, 0},
  11706. {0x19C, 0, 0},
  11707. {0x19D, 0xaa, 0},
  11708. {0x19E, 0, 0},
  11709. {0x19F, 0xaa, 0},
  11710. {0x1A0, 0, 0},
  11711. {0x1A1, 0x2, 0},
  11712. {0x1A2, 0xf, 0},
  11713. {0x1A3, 0xf, 0},
  11714. {0x1A4, 0, 1},
  11715. {0x1A5, 0, 1},
  11716. {0x1A6, 0, 1},
  11717. {0x1A7, 0x2, 0},
  11718. {0x1A8, 0xf, 0},
  11719. {0x1A9, 0xf, 0},
  11720. {0x1AA, 0, 1},
  11721. {0x1AB, 0, 1},
  11722. {0x1AC, 0, 1},
  11723. {0xFFFF, 0, 0},
  11724. };
  11725. static struct radio_20xx_regs regs_2057_rev5[] = {
  11726. {0x00, 0, 1},
  11727. {0x01, 0x57, 1},
  11728. {0x02, 0x20, 1},
  11729. {0x03, 0x1f, 0},
  11730. {0x04, 0x4, 0},
  11731. {0x05, 0x2, 0},
  11732. {0x06, 0x1, 0},
  11733. {0x07, 0x1, 0},
  11734. {0x08, 0x1, 0},
  11735. {0x09, 0x69, 0},
  11736. {0x0A, 0x66, 0},
  11737. {0x0B, 0x6, 0},
  11738. {0x0C, 0x18, 0},
  11739. {0x0D, 0x3, 0},
  11740. {0x0E, 0x20, 0},
  11741. {0x0F, 0x20, 0},
  11742. {0x10, 0, 0},
  11743. {0x11, 0x7c, 0},
  11744. {0x12, 0x42, 0},
  11745. {0x13, 0xbd, 0},
  11746. {0x14, 0x7, 0},
  11747. {0x15, 0x87, 0},
  11748. {0x16, 0x8, 0},
  11749. {0x17, 0x17, 0},
  11750. {0x18, 0x7, 0},
  11751. {0x19, 0, 0},
  11752. {0x1A, 0x2, 0},
  11753. {0x1B, 0x13, 0},
  11754. {0x1C, 0x3e, 0},
  11755. {0x1D, 0x3e, 0},
  11756. {0x1E, 0x96, 0},
  11757. {0x1F, 0x4, 0},
  11758. {0x20, 0, 0},
  11759. {0x21, 0, 0},
  11760. {0x22, 0x17, 0},
  11761. {0x23, 0x6, 1},
  11762. {0x24, 0x1, 0},
  11763. {0x25, 0x6, 0},
  11764. {0x26, 0x4, 0},
  11765. {0x27, 0xd, 0},
  11766. {0x28, 0xd, 0},
  11767. {0x29, 0x30, 0},
  11768. {0x2A, 0x32, 0},
  11769. {0x2B, 0x8, 0},
  11770. {0x2C, 0x1c, 0},
  11771. {0x2D, 0x2, 0},
  11772. {0x2E, 0x4, 0},
  11773. {0x2F, 0x7f, 0},
  11774. {0x30, 0x27, 0},
  11775. {0x31, 0, 1},
  11776. {0x32, 0, 1},
  11777. {0x33, 0, 1},
  11778. {0x34, 0, 0},
  11779. {0x35, 0x20, 0},
  11780. {0x36, 0x18, 0},
  11781. {0x37, 0x7, 0},
  11782. {0x38, 0x66, 0},
  11783. {0x39, 0x66, 0},
  11784. {0x3C, 0xff, 0},
  11785. {0x3D, 0xff, 0},
  11786. {0x40, 0x16, 0},
  11787. {0x41, 0x7, 0},
  11788. {0x45, 0x3, 0},
  11789. {0x46, 0x1, 0},
  11790. {0x47, 0x7, 0},
  11791. {0x4B, 0x66, 0},
  11792. {0x4C, 0x66, 0},
  11793. {0x4D, 0, 0},
  11794. {0x4E, 0x4, 0},
  11795. {0x4F, 0xc, 0},
  11796. {0x50, 0, 0},
  11797. {0x51, 0x70, 1},
  11798. {0x56, 0x7, 0},
  11799. {0x57, 0, 0},
  11800. {0x58, 0, 0},
  11801. {0x59, 0x88, 1},
  11802. {0x5A, 0, 0},
  11803. {0x5B, 0x1f, 0},
  11804. {0x5C, 0x20, 1},
  11805. {0x5D, 0x1, 0},
  11806. {0x5E, 0x30, 0},
  11807. {0x5F, 0x70, 0},
  11808. {0x60, 0, 0},
  11809. {0x61, 0, 0},
  11810. {0x62, 0x33, 1},
  11811. {0x63, 0xf, 1},
  11812. {0x64, 0xf, 1},
  11813. {0x65, 0, 0},
  11814. {0x66, 0x11, 0},
  11815. {0x80, 0x3c, 0},
  11816. {0x81, 0x1, 1},
  11817. {0x82, 0xa, 0},
  11818. {0x85, 0, 0},
  11819. {0x86, 0x40, 0},
  11820. {0x87, 0x40, 0},
  11821. {0x88, 0x88, 0},
  11822. {0x89, 0x10, 0},
  11823. {0x8A, 0xf0, 0},
  11824. {0x8B, 0x10, 0},
  11825. {0x8C, 0xf0, 0},
  11826. {0x8F, 0x10, 0},
  11827. {0x90, 0x55, 0},
  11828. {0x91, 0x3f, 1},
  11829. {0x92, 0x36, 1},
  11830. {0x93, 0, 0},
  11831. {0x94, 0, 0},
  11832. {0x95, 0, 0},
  11833. {0x96, 0x87, 0},
  11834. {0x97, 0x11, 0},
  11835. {0x98, 0, 0},
  11836. {0x99, 0x33, 0},
  11837. {0x9A, 0x88, 0},
  11838. {0xA1, 0x20, 1},
  11839. {0xA2, 0x3f, 0},
  11840. {0xA3, 0x44, 0},
  11841. {0xA4, 0x8c, 0},
  11842. {0xA5, 0x6c, 0},
  11843. {0xA6, 0x22, 0},
  11844. {0xA7, 0xbe, 0},
  11845. {0xA8, 0x55, 0},
  11846. {0xAA, 0xc, 0},
  11847. {0xAB, 0xaa, 0},
  11848. {0xAC, 0x2, 0},
  11849. {0xAD, 0, 0},
  11850. {0xAE, 0x10, 0},
  11851. {0xAF, 0x1, 0},
  11852. {0xB0, 0, 0},
  11853. {0xB1, 0, 0},
  11854. {0xB2, 0x80, 0},
  11855. {0xB3, 0x60, 0},
  11856. {0xB4, 0x44, 0},
  11857. {0xB5, 0x55, 0},
  11858. {0xB6, 0x1, 0},
  11859. {0xB7, 0x55, 0},
  11860. {0xB8, 0x1, 0},
  11861. {0xB9, 0x5, 0},
  11862. {0xBA, 0x55, 0},
  11863. {0xBB, 0x55, 0},
  11864. {0xC3, 0, 0},
  11865. {0xC4, 0, 0},
  11866. {0xC5, 0, 0},
  11867. {0xC6, 0, 0},
  11868. {0xC7, 0, 0},
  11869. {0xC8, 0, 0},
  11870. {0xC9, 0, 0},
  11871. {0xCA, 0, 0},
  11872. {0xCB, 0, 0},
  11873. {0xCD, 0, 0},
  11874. {0xCE, 0x5e, 0},
  11875. {0xCF, 0xc, 0},
  11876. {0xD0, 0xc, 0},
  11877. {0xD1, 0xc, 0},
  11878. {0xD2, 0, 0},
  11879. {0xD3, 0x2b, 0},
  11880. {0xD4, 0xc, 0},
  11881. {0xD5, 0, 0},
  11882. {0xD6, 0x70, 1},
  11883. {0xDB, 0x7, 0},
  11884. {0xDC, 0, 0},
  11885. {0xDD, 0, 0},
  11886. {0xDE, 0x88, 1},
  11887. {0xDF, 0, 0},
  11888. {0xE0, 0x1f, 0},
  11889. {0xE1, 0x20, 1},
  11890. {0xE2, 0x1, 0},
  11891. {0xE3, 0x30, 0},
  11892. {0xE4, 0x70, 0},
  11893. {0xE5, 0, 0},
  11894. {0xE6, 0, 0},
  11895. {0xE7, 0x33, 0},
  11896. {0xE8, 0xf, 1},
  11897. {0xE9, 0xf, 1},
  11898. {0xEA, 0, 0},
  11899. {0xEB, 0x11, 0},
  11900. {0x105, 0x3c, 0},
  11901. {0x106, 0x1, 1},
  11902. {0x107, 0xa, 0},
  11903. {0x10A, 0, 0},
  11904. {0x10B, 0x40, 0},
  11905. {0x10C, 0x40, 0},
  11906. {0x10D, 0x88, 0},
  11907. {0x10E, 0x10, 0},
  11908. {0x10F, 0xf0, 0},
  11909. {0x110, 0x10, 0},
  11910. {0x111, 0xf0, 0},
  11911. {0x114, 0x10, 0},
  11912. {0x115, 0x55, 0},
  11913. {0x116, 0x3f, 1},
  11914. {0x117, 0x36, 1},
  11915. {0x118, 0, 0},
  11916. {0x119, 0, 0},
  11917. {0x11A, 0, 0},
  11918. {0x11B, 0x87, 0},
  11919. {0x11C, 0x11, 0},
  11920. {0x11D, 0, 0},
  11921. {0x11E, 0x33, 0},
  11922. {0x11F, 0x88, 0},
  11923. {0x126, 0x20, 1},
  11924. {0x127, 0x3f, 0},
  11925. {0x128, 0x44, 0},
  11926. {0x129, 0x8c, 0},
  11927. {0x12A, 0x6c, 0},
  11928. {0x12B, 0x22, 0},
  11929. {0x12C, 0xbe, 0},
  11930. {0x12D, 0x55, 0},
  11931. {0x12F, 0xc, 0},
  11932. {0x130, 0xaa, 0},
  11933. {0x131, 0x2, 0},
  11934. {0x132, 0, 0},
  11935. {0x133, 0x10, 0},
  11936. {0x134, 0x1, 0},
  11937. {0x135, 0, 0},
  11938. {0x136, 0, 0},
  11939. {0x137, 0x80, 0},
  11940. {0x138, 0x60, 0},
  11941. {0x139, 0x44, 0},
  11942. {0x13A, 0x55, 0},
  11943. {0x13B, 0x1, 0},
  11944. {0x13C, 0x55, 0},
  11945. {0x13D, 0x1, 0},
  11946. {0x13E, 0x5, 0},
  11947. {0x13F, 0x55, 0},
  11948. {0x140, 0x55, 0},
  11949. {0x148, 0, 0},
  11950. {0x149, 0, 0},
  11951. {0x14A, 0, 0},
  11952. {0x14B, 0, 0},
  11953. {0x14C, 0, 0},
  11954. {0x14D, 0, 0},
  11955. {0x14E, 0, 0},
  11956. {0x14F, 0, 0},
  11957. {0x150, 0, 0},
  11958. {0x154, 0xc, 0},
  11959. {0x155, 0xc, 0},
  11960. {0x156, 0xc, 0},
  11961. {0x157, 0, 0},
  11962. {0x158, 0x2b, 0},
  11963. {0x159, 0x84, 0},
  11964. {0x15A, 0x15, 0},
  11965. {0x15B, 0xf, 0},
  11966. {0x15C, 0, 0},
  11967. {0x15D, 0, 0},
  11968. {0x15E, 0, 1},
  11969. {0x15F, 0, 1},
  11970. {0x160, 0, 1},
  11971. {0x161, 0, 1},
  11972. {0x162, 0, 1},
  11973. {0x163, 0, 1},
  11974. {0x164, 0, 0},
  11975. {0x165, 0, 0},
  11976. {0x166, 0, 0},
  11977. {0x167, 0, 0},
  11978. {0x168, 0, 0},
  11979. {0x169, 0, 0},
  11980. {0x16A, 0, 1},
  11981. {0x16B, 0, 1},
  11982. {0x16C, 0, 1},
  11983. {0x16D, 0, 0},
  11984. {0x170, 0, 0},
  11985. {0x171, 0x77, 0},
  11986. {0x172, 0x77, 0},
  11987. {0x173, 0x77, 0},
  11988. {0x174, 0x77, 0},
  11989. {0x175, 0, 0},
  11990. {0x176, 0x3, 0},
  11991. {0x177, 0x37, 0},
  11992. {0x178, 0x3, 0},
  11993. {0x179, 0, 0},
  11994. {0x17B, 0x21, 0},
  11995. {0x17C, 0, 0},
  11996. {0x17D, 0xaa, 0},
  11997. {0x17E, 0, 0},
  11998. {0x190, 0, 0},
  11999. {0x191, 0x77, 0},
  12000. {0x192, 0x77, 0},
  12001. {0x193, 0x77, 0},
  12002. {0x194, 0x77, 0},
  12003. {0x195, 0, 0},
  12004. {0x196, 0x3, 0},
  12005. {0x197, 0x37, 0},
  12006. {0x198, 0x3, 0},
  12007. {0x199, 0, 0},
  12008. {0x19B, 0x21, 0},
  12009. {0x19C, 0, 0},
  12010. {0x19D, 0xaa, 0},
  12011. {0x19E, 0, 0},
  12012. {0x1A1, 0x2, 0},
  12013. {0x1A2, 0xf, 0},
  12014. {0x1A3, 0xf, 0},
  12015. {0x1A4, 0, 1},
  12016. {0x1A5, 0, 1},
  12017. {0x1A6, 0, 1},
  12018. {0x1A7, 0x2, 0},
  12019. {0x1A8, 0xf, 0},
  12020. {0x1A9, 0xf, 0},
  12021. {0x1AA, 0, 1},
  12022. {0x1AB, 0, 1},
  12023. {0x1AC, 0, 1},
  12024. {0x1AD, 0x84, 0},
  12025. {0x1AE, 0x60, 0},
  12026. {0x1AF, 0x47, 0},
  12027. {0x1B0, 0x47, 0},
  12028. {0x1B1, 0, 0},
  12029. {0x1B2, 0, 0},
  12030. {0x1B3, 0, 0},
  12031. {0x1B4, 0, 0},
  12032. {0x1B5, 0, 0},
  12033. {0x1B6, 0, 0},
  12034. {0x1B7, 0xc, 1},
  12035. {0x1B8, 0, 0},
  12036. {0x1B9, 0, 0},
  12037. {0x1BA, 0, 0},
  12038. {0x1BB, 0, 0},
  12039. {0x1BC, 0, 0},
  12040. {0x1BD, 0, 0},
  12041. {0x1BE, 0, 0},
  12042. {0x1BF, 0, 0},
  12043. {0x1C0, 0, 0},
  12044. {0x1C1, 0x1, 1},
  12045. {0x1C2, 0x80, 1},
  12046. {0x1C3, 0, 0},
  12047. {0x1C4, 0, 0},
  12048. {0x1C5, 0, 0},
  12049. {0x1C6, 0, 0},
  12050. {0x1C7, 0, 0},
  12051. {0x1C8, 0, 0},
  12052. {0x1C9, 0, 0},
  12053. {0x1CA, 0, 0},
  12054. {0xFFFF, 0, 0}
  12055. };
  12056. static struct radio_20xx_regs regs_2057_rev5v1[] = {
  12057. {0x00, 0x15, 1},
  12058. {0x01, 0x57, 1},
  12059. {0x02, 0x20, 1},
  12060. {0x03, 0x1f, 0},
  12061. {0x04, 0x4, 0},
  12062. {0x05, 0x2, 0},
  12063. {0x06, 0x1, 0},
  12064. {0x07, 0x1, 0},
  12065. {0x08, 0x1, 0},
  12066. {0x09, 0x69, 0},
  12067. {0x0A, 0x66, 0},
  12068. {0x0B, 0x6, 0},
  12069. {0x0C, 0x18, 0},
  12070. {0x0D, 0x3, 0},
  12071. {0x0E, 0x20, 0},
  12072. {0x0F, 0x20, 0},
  12073. {0x10, 0, 0},
  12074. {0x11, 0x7c, 0},
  12075. {0x12, 0x42, 0},
  12076. {0x13, 0xbd, 0},
  12077. {0x14, 0x7, 0},
  12078. {0x15, 0x87, 0},
  12079. {0x16, 0x8, 0},
  12080. {0x17, 0x17, 0},
  12081. {0x18, 0x7, 0},
  12082. {0x19, 0, 0},
  12083. {0x1A, 0x2, 0},
  12084. {0x1B, 0x13, 0},
  12085. {0x1C, 0x3e, 0},
  12086. {0x1D, 0x3e, 0},
  12087. {0x1E, 0x96, 0},
  12088. {0x1F, 0x4, 0},
  12089. {0x20, 0, 0},
  12090. {0x21, 0, 0},
  12091. {0x22, 0x17, 0},
  12092. {0x23, 0x6, 1},
  12093. {0x24, 0x1, 0},
  12094. {0x25, 0x6, 0},
  12095. {0x26, 0x4, 0},
  12096. {0x27, 0xd, 0},
  12097. {0x28, 0xd, 0},
  12098. {0x29, 0x30, 0},
  12099. {0x2A, 0x32, 0},
  12100. {0x2B, 0x8, 0},
  12101. {0x2C, 0x1c, 0},
  12102. {0x2D, 0x2, 0},
  12103. {0x2E, 0x4, 0},
  12104. {0x2F, 0x7f, 0},
  12105. {0x30, 0x27, 0},
  12106. {0x31, 0, 1},
  12107. {0x32, 0, 1},
  12108. {0x33, 0, 1},
  12109. {0x34, 0, 0},
  12110. {0x35, 0x20, 0},
  12111. {0x36, 0x18, 0},
  12112. {0x37, 0x7, 0},
  12113. {0x38, 0x66, 0},
  12114. {0x39, 0x66, 0},
  12115. {0x3C, 0xff, 0},
  12116. {0x3D, 0xff, 0},
  12117. {0x40, 0x16, 0},
  12118. {0x41, 0x7, 0},
  12119. {0x45, 0x3, 0},
  12120. {0x46, 0x1, 0},
  12121. {0x47, 0x7, 0},
  12122. {0x4B, 0x66, 0},
  12123. {0x4C, 0x66, 0},
  12124. {0x4D, 0, 0},
  12125. {0x4E, 0x4, 0},
  12126. {0x4F, 0xc, 0},
  12127. {0x50, 0, 0},
  12128. {0x51, 0x70, 1},
  12129. {0x56, 0x7, 0},
  12130. {0x57, 0, 0},
  12131. {0x58, 0, 0},
  12132. {0x59, 0x88, 1},
  12133. {0x5A, 0, 0},
  12134. {0x5B, 0x1f, 0},
  12135. {0x5C, 0x20, 1},
  12136. {0x5D, 0x1, 0},
  12137. {0x5E, 0x30, 0},
  12138. {0x5F, 0x70, 0},
  12139. {0x60, 0, 0},
  12140. {0x61, 0, 0},
  12141. {0x62, 0x33, 1},
  12142. {0x63, 0xf, 1},
  12143. {0x64, 0xf, 1},
  12144. {0x65, 0, 0},
  12145. {0x66, 0x11, 0},
  12146. {0x80, 0x3c, 0},
  12147. {0x81, 0x1, 1},
  12148. {0x82, 0xa, 0},
  12149. {0x85, 0, 0},
  12150. {0x86, 0x40, 0},
  12151. {0x87, 0x40, 0},
  12152. {0x88, 0x88, 0},
  12153. {0x89, 0x10, 0},
  12154. {0x8A, 0xf0, 0},
  12155. {0x8B, 0x10, 0},
  12156. {0x8C, 0xf0, 0},
  12157. {0x8F, 0x10, 0},
  12158. {0x90, 0x55, 0},
  12159. {0x91, 0x3f, 1},
  12160. {0x92, 0x36, 1},
  12161. {0x93, 0, 0},
  12162. {0x94, 0, 0},
  12163. {0x95, 0, 0},
  12164. {0x96, 0x87, 0},
  12165. {0x97, 0x11, 0},
  12166. {0x98, 0, 0},
  12167. {0x99, 0x33, 0},
  12168. {0x9A, 0x88, 0},
  12169. {0xA1, 0x20, 1},
  12170. {0xA2, 0x3f, 0},
  12171. {0xA3, 0x44, 0},
  12172. {0xA4, 0x8c, 0},
  12173. {0xA5, 0x6c, 0},
  12174. {0xA6, 0x22, 0},
  12175. {0xA7, 0xbe, 0},
  12176. {0xA8, 0x55, 0},
  12177. {0xAA, 0xc, 0},
  12178. {0xAB, 0xaa, 0},
  12179. {0xAC, 0x2, 0},
  12180. {0xAD, 0, 0},
  12181. {0xAE, 0x10, 0},
  12182. {0xAF, 0x1, 0},
  12183. {0xB0, 0, 0},
  12184. {0xB1, 0, 0},
  12185. {0xB2, 0x80, 0},
  12186. {0xB3, 0x60, 0},
  12187. {0xB4, 0x44, 0},
  12188. {0xB5, 0x55, 0},
  12189. {0xB6, 0x1, 0},
  12190. {0xB7, 0x55, 0},
  12191. {0xB8, 0x1, 0},
  12192. {0xB9, 0x5, 0},
  12193. {0xBA, 0x55, 0},
  12194. {0xBB, 0x55, 0},
  12195. {0xC3, 0, 0},
  12196. {0xC4, 0, 0},
  12197. {0xC5, 0, 0},
  12198. {0xC6, 0, 0},
  12199. {0xC7, 0, 0},
  12200. {0xC8, 0, 0},
  12201. {0xC9, 0x1, 1},
  12202. {0xCA, 0, 0},
  12203. {0xCB, 0, 0},
  12204. {0xCD, 0, 0},
  12205. {0xCE, 0x5e, 0},
  12206. {0xCF, 0xc, 0},
  12207. {0xD0, 0xc, 0},
  12208. {0xD1, 0xc, 0},
  12209. {0xD2, 0, 0},
  12210. {0xD3, 0x2b, 0},
  12211. {0xD4, 0xc, 0},
  12212. {0xD5, 0, 0},
  12213. {0xD6, 0x70, 1},
  12214. {0xDB, 0x7, 0},
  12215. {0xDC, 0, 0},
  12216. {0xDD, 0, 0},
  12217. {0xDE, 0x88, 1},
  12218. {0xDF, 0, 0},
  12219. {0xE0, 0x1f, 0},
  12220. {0xE1, 0x20, 1},
  12221. {0xE2, 0x1, 0},
  12222. {0xE3, 0x30, 0},
  12223. {0xE4, 0x70, 0},
  12224. {0xE5, 0, 0},
  12225. {0xE6, 0, 0},
  12226. {0xE7, 0x33, 0},
  12227. {0xE8, 0xf, 1},
  12228. {0xE9, 0xf, 1},
  12229. {0xEA, 0, 0},
  12230. {0xEB, 0x11, 0},
  12231. {0x105, 0x3c, 0},
  12232. {0x106, 0x1, 1},
  12233. {0x107, 0xa, 0},
  12234. {0x10A, 0, 0},
  12235. {0x10B, 0x40, 0},
  12236. {0x10C, 0x40, 0},
  12237. {0x10D, 0x88, 0},
  12238. {0x10E, 0x10, 0},
  12239. {0x10F, 0xf0, 0},
  12240. {0x110, 0x10, 0},
  12241. {0x111, 0xf0, 0},
  12242. {0x114, 0x10, 0},
  12243. {0x115, 0x55, 0},
  12244. {0x116, 0x3f, 1},
  12245. {0x117, 0x36, 1},
  12246. {0x118, 0, 0},
  12247. {0x119, 0, 0},
  12248. {0x11A, 0, 0},
  12249. {0x11B, 0x87, 0},
  12250. {0x11C, 0x11, 0},
  12251. {0x11D, 0, 0},
  12252. {0x11E, 0x33, 0},
  12253. {0x11F, 0x88, 0},
  12254. {0x126, 0x20, 1},
  12255. {0x127, 0x3f, 0},
  12256. {0x128, 0x44, 0},
  12257. {0x129, 0x8c, 0},
  12258. {0x12A, 0x6c, 0},
  12259. {0x12B, 0x22, 0},
  12260. {0x12C, 0xbe, 0},
  12261. {0x12D, 0x55, 0},
  12262. {0x12F, 0xc, 0},
  12263. {0x130, 0xaa, 0},
  12264. {0x131, 0x2, 0},
  12265. {0x132, 0, 0},
  12266. {0x133, 0x10, 0},
  12267. {0x134, 0x1, 0},
  12268. {0x135, 0, 0},
  12269. {0x136, 0, 0},
  12270. {0x137, 0x80, 0},
  12271. {0x138, 0x60, 0},
  12272. {0x139, 0x44, 0},
  12273. {0x13A, 0x55, 0},
  12274. {0x13B, 0x1, 0},
  12275. {0x13C, 0x55, 0},
  12276. {0x13D, 0x1, 0},
  12277. {0x13E, 0x5, 0},
  12278. {0x13F, 0x55, 0},
  12279. {0x140, 0x55, 0},
  12280. {0x148, 0, 0},
  12281. {0x149, 0, 0},
  12282. {0x14A, 0, 0},
  12283. {0x14B, 0, 0},
  12284. {0x14C, 0, 0},
  12285. {0x14D, 0, 0},
  12286. {0x14E, 0x1, 1},
  12287. {0x14F, 0, 0},
  12288. {0x150, 0, 0},
  12289. {0x154, 0xc, 0},
  12290. {0x155, 0xc, 0},
  12291. {0x156, 0xc, 0},
  12292. {0x157, 0, 0},
  12293. {0x158, 0x2b, 0},
  12294. {0x159, 0x84, 0},
  12295. {0x15A, 0x15, 0},
  12296. {0x15B, 0xf, 0},
  12297. {0x15C, 0, 0},
  12298. {0x15D, 0, 0},
  12299. {0x15E, 0, 1},
  12300. {0x15F, 0, 1},
  12301. {0x160, 0, 1},
  12302. {0x161, 0, 1},
  12303. {0x162, 0, 1},
  12304. {0x163, 0, 1},
  12305. {0x164, 0, 0},
  12306. {0x165, 0, 0},
  12307. {0x166, 0, 0},
  12308. {0x167, 0, 0},
  12309. {0x168, 0, 0},
  12310. {0x169, 0, 0},
  12311. {0x16A, 0, 1},
  12312. {0x16B, 0, 1},
  12313. {0x16C, 0, 1},
  12314. {0x16D, 0, 0},
  12315. {0x170, 0, 0},
  12316. {0x171, 0x77, 0},
  12317. {0x172, 0x77, 0},
  12318. {0x173, 0x77, 0},
  12319. {0x174, 0x77, 0},
  12320. {0x175, 0, 0},
  12321. {0x176, 0x3, 0},
  12322. {0x177, 0x37, 0},
  12323. {0x178, 0x3, 0},
  12324. {0x179, 0, 0},
  12325. {0x17B, 0x21, 0},
  12326. {0x17C, 0, 0},
  12327. {0x17D, 0xaa, 0},
  12328. {0x17E, 0, 0},
  12329. {0x190, 0, 0},
  12330. {0x191, 0x77, 0},
  12331. {0x192, 0x77, 0},
  12332. {0x193, 0x77, 0},
  12333. {0x194, 0x77, 0},
  12334. {0x195, 0, 0},
  12335. {0x196, 0x3, 0},
  12336. {0x197, 0x37, 0},
  12337. {0x198, 0x3, 0},
  12338. {0x199, 0, 0},
  12339. {0x19B, 0x21, 0},
  12340. {0x19C, 0, 0},
  12341. {0x19D, 0xaa, 0},
  12342. {0x19E, 0, 0},
  12343. {0x1A1, 0x2, 0},
  12344. {0x1A2, 0xf, 0},
  12345. {0x1A3, 0xf, 0},
  12346. {0x1A4, 0, 1},
  12347. {0x1A5, 0, 1},
  12348. {0x1A6, 0, 1},
  12349. {0x1A7, 0x2, 0},
  12350. {0x1A8, 0xf, 0},
  12351. {0x1A9, 0xf, 0},
  12352. {0x1AA, 0, 1},
  12353. {0x1AB, 0, 1},
  12354. {0x1AC, 0, 1},
  12355. {0x1AD, 0x84, 0},
  12356. {0x1AE, 0x60, 0},
  12357. {0x1AF, 0x47, 0},
  12358. {0x1B0, 0x47, 0},
  12359. {0x1B1, 0, 0},
  12360. {0x1B2, 0, 0},
  12361. {0x1B3, 0, 0},
  12362. {0x1B4, 0, 0},
  12363. {0x1B5, 0, 0},
  12364. {0x1B6, 0, 0},
  12365. {0x1B7, 0xc, 1},
  12366. {0x1B8, 0, 0},
  12367. {0x1B9, 0, 0},
  12368. {0x1BA, 0, 0},
  12369. {0x1BB, 0, 0},
  12370. {0x1BC, 0, 0},
  12371. {0x1BD, 0, 0},
  12372. {0x1BE, 0, 0},
  12373. {0x1BF, 0, 0},
  12374. {0x1C0, 0, 0},
  12375. {0x1C1, 0x1, 1},
  12376. {0x1C2, 0x80, 1},
  12377. {0x1C3, 0, 0},
  12378. {0x1C4, 0, 0},
  12379. {0x1C5, 0, 0},
  12380. {0x1C6, 0, 0},
  12381. {0x1C7, 0, 0},
  12382. {0x1C8, 0, 0},
  12383. {0x1C9, 0, 0},
  12384. {0x1CA, 0, 0},
  12385. {0xFFFF, 0, 0}
  12386. };
  12387. static struct radio_20xx_regs regs_2057_rev7[] = {
  12388. {0x00, 0, 1},
  12389. {0x01, 0x57, 1},
  12390. {0x02, 0x20, 1},
  12391. {0x03, 0x1f, 0},
  12392. {0x04, 0x4, 0},
  12393. {0x05, 0x2, 0},
  12394. {0x06, 0x1, 0},
  12395. {0x07, 0x1, 0},
  12396. {0x08, 0x1, 0},
  12397. {0x09, 0x69, 0},
  12398. {0x0A, 0x66, 0},
  12399. {0x0B, 0x6, 0},
  12400. {0x0C, 0x18, 0},
  12401. {0x0D, 0x3, 0},
  12402. {0x0E, 0x20, 0},
  12403. {0x0F, 0x20, 0},
  12404. {0x10, 0, 0},
  12405. {0x11, 0x7c, 0},
  12406. {0x12, 0x42, 0},
  12407. {0x13, 0xbd, 0},
  12408. {0x14, 0x7, 0},
  12409. {0x15, 0x87, 0},
  12410. {0x16, 0x8, 0},
  12411. {0x17, 0x17, 0},
  12412. {0x18, 0x7, 0},
  12413. {0x19, 0, 0},
  12414. {0x1A, 0x2, 0},
  12415. {0x1B, 0x13, 0},
  12416. {0x1C, 0x3e, 0},
  12417. {0x1D, 0x3e, 0},
  12418. {0x1E, 0x96, 0},
  12419. {0x1F, 0x4, 0},
  12420. {0x20, 0, 0},
  12421. {0x21, 0, 0},
  12422. {0x22, 0x17, 0},
  12423. {0x23, 0x6, 0},
  12424. {0x24, 0x1, 0},
  12425. {0x25, 0x6, 0},
  12426. {0x26, 0x4, 0},
  12427. {0x27, 0xd, 0},
  12428. {0x28, 0xd, 0},
  12429. {0x29, 0x30, 0},
  12430. {0x2A, 0x32, 0},
  12431. {0x2B, 0x8, 0},
  12432. {0x2C, 0x1c, 0},
  12433. {0x2D, 0x2, 0},
  12434. {0x2E, 0x4, 0},
  12435. {0x2F, 0x7f, 0},
  12436. {0x30, 0x27, 0},
  12437. {0x31, 0, 1},
  12438. {0x32, 0, 1},
  12439. {0x33, 0, 1},
  12440. {0x34, 0, 0},
  12441. {0x35, 0x20, 0},
  12442. {0x36, 0x18, 0},
  12443. {0x37, 0x7, 0},
  12444. {0x38, 0x66, 0},
  12445. {0x39, 0x66, 0},
  12446. {0x3A, 0x66, 0},
  12447. {0x3B, 0x66, 0},
  12448. {0x3C, 0xff, 0},
  12449. {0x3D, 0xff, 0},
  12450. {0x3E, 0xff, 0},
  12451. {0x3F, 0xff, 0},
  12452. {0x40, 0x16, 0},
  12453. {0x41, 0x7, 0},
  12454. {0x42, 0x19, 0},
  12455. {0x43, 0x7, 0},
  12456. {0x44, 0x6, 0},
  12457. {0x45, 0x3, 0},
  12458. {0x46, 0x1, 0},
  12459. {0x47, 0x7, 0},
  12460. {0x48, 0x33, 0},
  12461. {0x49, 0x5, 0},
  12462. {0x4A, 0x77, 0},
  12463. {0x4B, 0x66, 0},
  12464. {0x4C, 0x66, 0},
  12465. {0x4D, 0, 0},
  12466. {0x4E, 0x4, 0},
  12467. {0x4F, 0xc, 0},
  12468. {0x50, 0, 0},
  12469. {0x51, 0x70, 1},
  12470. {0x56, 0x7, 0},
  12471. {0x57, 0, 0},
  12472. {0x58, 0, 0},
  12473. {0x59, 0x88, 1},
  12474. {0x5A, 0, 0},
  12475. {0x5B, 0x1f, 0},
  12476. {0x5C, 0x20, 1},
  12477. {0x5D, 0x1, 0},
  12478. {0x5E, 0x30, 0},
  12479. {0x5F, 0x70, 0},
  12480. {0x60, 0, 0},
  12481. {0x61, 0, 0},
  12482. {0x62, 0x33, 1},
  12483. {0x63, 0xf, 1},
  12484. {0x64, 0x13, 1},
  12485. {0x65, 0, 0},
  12486. {0x66, 0xee, 1},
  12487. {0x69, 0, 0},
  12488. {0x6A, 0x7e, 0},
  12489. {0x6B, 0x3f, 0},
  12490. {0x6C, 0x7f, 0},
  12491. {0x6D, 0x78, 0},
  12492. {0x6E, 0x58, 1},
  12493. {0x6F, 0x88, 0},
  12494. {0x70, 0x8, 0},
  12495. {0x71, 0xf, 0},
  12496. {0x72, 0xbc, 0},
  12497. {0x73, 0x8, 0},
  12498. {0x74, 0x60, 0},
  12499. {0x75, 0x13, 1},
  12500. {0x76, 0x70, 0},
  12501. {0x77, 0, 0},
  12502. {0x78, 0, 0},
  12503. {0x79, 0, 0},
  12504. {0x7A, 0x33, 0},
  12505. {0x7B, 0x13, 1},
  12506. {0x7C, 0x14, 1},
  12507. {0x7D, 0xee, 1},
  12508. {0x80, 0x3c, 0},
  12509. {0x81, 0x1, 1},
  12510. {0x82, 0xa, 0},
  12511. {0x83, 0x9d, 0},
  12512. {0x84, 0xa, 0},
  12513. {0x85, 0, 0},
  12514. {0x86, 0x40, 0},
  12515. {0x87, 0x40, 0},
  12516. {0x88, 0x88, 0},
  12517. {0x89, 0x10, 0},
  12518. {0x8A, 0xf0, 0},
  12519. {0x8B, 0x10, 0},
  12520. {0x8C, 0xf0, 0},
  12521. {0x8D, 0, 0},
  12522. {0x8E, 0, 0},
  12523. {0x8F, 0x10, 0},
  12524. {0x90, 0x55, 0},
  12525. {0x91, 0x3f, 1},
  12526. {0x92, 0x36, 1},
  12527. {0x93, 0, 0},
  12528. {0x94, 0, 0},
  12529. {0x95, 0, 0},
  12530. {0x96, 0x87, 0},
  12531. {0x97, 0x11, 0},
  12532. {0x98, 0, 0},
  12533. {0x99, 0x33, 0},
  12534. {0x9A, 0x88, 0},
  12535. {0x9B, 0, 0},
  12536. {0x9C, 0x87, 0},
  12537. {0x9D, 0x11, 0},
  12538. {0x9E, 0, 0},
  12539. {0x9F, 0x33, 0},
  12540. {0xA0, 0x88, 0},
  12541. {0xA1, 0x20, 1},
  12542. {0xA2, 0x3f, 0},
  12543. {0xA3, 0x44, 0},
  12544. {0xA4, 0x8c, 0},
  12545. {0xA5, 0x6c, 0},
  12546. {0xA6, 0x22, 0},
  12547. {0xA7, 0xbe, 0},
  12548. {0xA8, 0x55, 0},
  12549. {0xAA, 0xc, 0},
  12550. {0xAB, 0xaa, 0},
  12551. {0xAC, 0x2, 0},
  12552. {0xAD, 0, 0},
  12553. {0xAE, 0x10, 0},
  12554. {0xAF, 0x1, 0},
  12555. {0xB0, 0, 0},
  12556. {0xB1, 0, 0},
  12557. {0xB2, 0x80, 0},
  12558. {0xB3, 0x60, 0},
  12559. {0xB4, 0x44, 0},
  12560. {0xB5, 0x55, 0},
  12561. {0xB6, 0x1, 0},
  12562. {0xB7, 0x55, 0},
  12563. {0xB8, 0x1, 0},
  12564. {0xB9, 0x5, 0},
  12565. {0xBA, 0x55, 0},
  12566. {0xBB, 0x55, 0},
  12567. {0xC1, 0, 0},
  12568. {0xC2, 0, 0},
  12569. {0xC3, 0, 0},
  12570. {0xC4, 0, 0},
  12571. {0xC5, 0, 0},
  12572. {0xC6, 0, 0},
  12573. {0xC7, 0, 0},
  12574. {0xC8, 0, 0},
  12575. {0xC9, 0, 0},
  12576. {0xCA, 0, 0},
  12577. {0xCB, 0, 0},
  12578. {0xCC, 0, 0},
  12579. {0xCD, 0, 0},
  12580. {0xCE, 0x5e, 0},
  12581. {0xCF, 0xc, 0},
  12582. {0xD0, 0xc, 0},
  12583. {0xD1, 0xc, 0},
  12584. {0xD2, 0, 0},
  12585. {0xD3, 0x2b, 0},
  12586. {0xD4, 0xc, 0},
  12587. {0xD5, 0, 0},
  12588. {0xD6, 0x70, 1},
  12589. {0xDB, 0x7, 0},
  12590. {0xDC, 0, 0},
  12591. {0xDD, 0, 0},
  12592. {0xDE, 0x88, 1},
  12593. {0xDF, 0, 0},
  12594. {0xE0, 0x1f, 0},
  12595. {0xE1, 0x20, 1},
  12596. {0xE2, 0x1, 0},
  12597. {0xE3, 0x30, 0},
  12598. {0xE4, 0x70, 0},
  12599. {0xE5, 0, 0},
  12600. {0xE6, 0, 0},
  12601. {0xE7, 0x33, 0},
  12602. {0xE8, 0xf, 1},
  12603. {0xE9, 0x13, 1},
  12604. {0xEA, 0, 0},
  12605. {0xEB, 0xee, 1},
  12606. {0xEE, 0, 0},
  12607. {0xEF, 0x7e, 0},
  12608. {0xF0, 0x3f, 0},
  12609. {0xF1, 0x7f, 0},
  12610. {0xF2, 0x78, 0},
  12611. {0xF3, 0x58, 1},
  12612. {0xF4, 0x88, 0},
  12613. {0xF5, 0x8, 0},
  12614. {0xF6, 0xf, 0},
  12615. {0xF7, 0xbc, 0},
  12616. {0xF8, 0x8, 0},
  12617. {0xF9, 0x60, 0},
  12618. {0xFA, 0x13, 1},
  12619. {0xFB, 0x70, 0},
  12620. {0xFC, 0, 0},
  12621. {0xFD, 0, 0},
  12622. {0xFE, 0, 0},
  12623. {0xFF, 0x33, 0},
  12624. {0x100, 0x13, 1},
  12625. {0x101, 0x14, 1},
  12626. {0x102, 0xee, 1},
  12627. {0x105, 0x3c, 0},
  12628. {0x106, 0x1, 1},
  12629. {0x107, 0xa, 0},
  12630. {0x108, 0x9d, 0},
  12631. {0x109, 0xa, 0},
  12632. {0x10A, 0, 0},
  12633. {0x10B, 0x40, 0},
  12634. {0x10C, 0x40, 0},
  12635. {0x10D, 0x88, 0},
  12636. {0x10E, 0x10, 0},
  12637. {0x10F, 0xf0, 0},
  12638. {0x110, 0x10, 0},
  12639. {0x111, 0xf0, 0},
  12640. {0x112, 0, 0},
  12641. {0x113, 0, 0},
  12642. {0x114, 0x10, 0},
  12643. {0x115, 0x55, 0},
  12644. {0x116, 0x3f, 1},
  12645. {0x117, 0x36, 1},
  12646. {0x118, 0, 0},
  12647. {0x119, 0, 0},
  12648. {0x11A, 0, 0},
  12649. {0x11B, 0x87, 0},
  12650. {0x11C, 0x11, 0},
  12651. {0x11D, 0, 0},
  12652. {0x11E, 0x33, 0},
  12653. {0x11F, 0x88, 0},
  12654. {0x120, 0, 0},
  12655. {0x121, 0x87, 0},
  12656. {0x122, 0x11, 0},
  12657. {0x123, 0, 0},
  12658. {0x124, 0x33, 0},
  12659. {0x125, 0x88, 0},
  12660. {0x126, 0x20, 1},
  12661. {0x127, 0x3f, 0},
  12662. {0x128, 0x44, 0},
  12663. {0x129, 0x8c, 0},
  12664. {0x12A, 0x6c, 0},
  12665. {0x12B, 0x22, 0},
  12666. {0x12C, 0xbe, 0},
  12667. {0x12D, 0x55, 0},
  12668. {0x12F, 0xc, 0},
  12669. {0x130, 0xaa, 0},
  12670. {0x131, 0x2, 0},
  12671. {0x132, 0, 0},
  12672. {0x133, 0x10, 0},
  12673. {0x134, 0x1, 0},
  12674. {0x135, 0, 0},
  12675. {0x136, 0, 0},
  12676. {0x137, 0x80, 0},
  12677. {0x138, 0x60, 0},
  12678. {0x139, 0x44, 0},
  12679. {0x13A, 0x55, 0},
  12680. {0x13B, 0x1, 0},
  12681. {0x13C, 0x55, 0},
  12682. {0x13D, 0x1, 0},
  12683. {0x13E, 0x5, 0},
  12684. {0x13F, 0x55, 0},
  12685. {0x140, 0x55, 0},
  12686. {0x146, 0, 0},
  12687. {0x147, 0, 0},
  12688. {0x148, 0, 0},
  12689. {0x149, 0, 0},
  12690. {0x14A, 0, 0},
  12691. {0x14B, 0, 0},
  12692. {0x14C, 0, 0},
  12693. {0x14D, 0, 0},
  12694. {0x14E, 0, 0},
  12695. {0x14F, 0, 0},
  12696. {0x150, 0, 0},
  12697. {0x151, 0, 0},
  12698. {0x154, 0xc, 0},
  12699. {0x155, 0xc, 0},
  12700. {0x156, 0xc, 0},
  12701. {0x157, 0, 0},
  12702. {0x158, 0x2b, 0},
  12703. {0x159, 0x84, 0},
  12704. {0x15A, 0x15, 0},
  12705. {0x15B, 0xf, 0},
  12706. {0x15C, 0, 0},
  12707. {0x15D, 0, 0},
  12708. {0x15E, 0, 1},
  12709. {0x15F, 0, 1},
  12710. {0x160, 0, 1},
  12711. {0x161, 0, 1},
  12712. {0x162, 0, 1},
  12713. {0x163, 0, 1},
  12714. {0x164, 0, 0},
  12715. {0x165, 0, 0},
  12716. {0x166, 0, 0},
  12717. {0x167, 0, 0},
  12718. {0x168, 0, 0},
  12719. {0x169, 0, 0},
  12720. {0x16A, 0, 1},
  12721. {0x16B, 0, 1},
  12722. {0x16C, 0, 1},
  12723. {0x16D, 0, 0},
  12724. {0x170, 0, 0},
  12725. {0x171, 0x77, 0},
  12726. {0x172, 0x77, 0},
  12727. {0x173, 0x77, 0},
  12728. {0x174, 0x77, 0},
  12729. {0x175, 0, 0},
  12730. {0x176, 0x3, 0},
  12731. {0x177, 0x37, 0},
  12732. {0x178, 0x3, 0},
  12733. {0x179, 0, 0},
  12734. {0x17A, 0x21, 0},
  12735. {0x17B, 0x21, 0},
  12736. {0x17C, 0, 0},
  12737. {0x17D, 0xaa, 0},
  12738. {0x17E, 0, 0},
  12739. {0x17F, 0xaa, 0},
  12740. {0x180, 0, 0},
  12741. {0x190, 0, 0},
  12742. {0x191, 0x77, 0},
  12743. {0x192, 0x77, 0},
  12744. {0x193, 0x77, 0},
  12745. {0x194, 0x77, 0},
  12746. {0x195, 0, 0},
  12747. {0x196, 0x3, 0},
  12748. {0x197, 0x37, 0},
  12749. {0x198, 0x3, 0},
  12750. {0x199, 0, 0},
  12751. {0x19A, 0x21, 0},
  12752. {0x19B, 0x21, 0},
  12753. {0x19C, 0, 0},
  12754. {0x19D, 0xaa, 0},
  12755. {0x19E, 0, 0},
  12756. {0x19F, 0xaa, 0},
  12757. {0x1A0, 0, 0},
  12758. {0x1A1, 0x2, 0},
  12759. {0x1A2, 0xf, 0},
  12760. {0x1A3, 0xf, 0},
  12761. {0x1A4, 0, 1},
  12762. {0x1A5, 0, 1},
  12763. {0x1A6, 0, 1},
  12764. {0x1A7, 0x2, 0},
  12765. {0x1A8, 0xf, 0},
  12766. {0x1A9, 0xf, 0},
  12767. {0x1AA, 0, 1},
  12768. {0x1AB, 0, 1},
  12769. {0x1AC, 0, 1},
  12770. {0x1AD, 0x84, 0},
  12771. {0x1AE, 0x60, 0},
  12772. {0x1AF, 0x47, 0},
  12773. {0x1B0, 0x47, 0},
  12774. {0x1B1, 0, 0},
  12775. {0x1B2, 0, 0},
  12776. {0x1B3, 0, 0},
  12777. {0x1B4, 0, 0},
  12778. {0x1B5, 0, 0},
  12779. {0x1B6, 0, 0},
  12780. {0x1B7, 0x5, 1},
  12781. {0x1B8, 0, 0},
  12782. {0x1B9, 0, 0},
  12783. {0x1BA, 0, 0},
  12784. {0x1BB, 0, 0},
  12785. {0x1BC, 0, 0},
  12786. {0x1BD, 0, 0},
  12787. {0x1BE, 0, 0},
  12788. {0x1BF, 0, 0},
  12789. {0x1C0, 0, 0},
  12790. {0x1C1, 0, 0},
  12791. {0x1C2, 0xa0, 1},
  12792. {0x1C3, 0, 0},
  12793. {0x1C4, 0, 0},
  12794. {0x1C5, 0, 0},
  12795. {0x1C6, 0, 0},
  12796. {0x1C7, 0, 0},
  12797. {0x1C8, 0, 0},
  12798. {0x1C9, 0, 0},
  12799. {0x1CA, 0, 0},
  12800. {0xFFFF, 0, 0}
  12801. };
  12802. static struct radio_20xx_regs regs_2057_rev8[] = {
  12803. {0x00, 0x8, 1},
  12804. {0x01, 0x57, 1},
  12805. {0x02, 0x20, 1},
  12806. {0x03, 0x1f, 0},
  12807. {0x04, 0x4, 0},
  12808. {0x05, 0x2, 0},
  12809. {0x06, 0x1, 0},
  12810. {0x07, 0x1, 0},
  12811. {0x08, 0x1, 0},
  12812. {0x09, 0x69, 0},
  12813. {0x0A, 0x66, 0},
  12814. {0x0B, 0x6, 0},
  12815. {0x0C, 0x18, 0},
  12816. {0x0D, 0x3, 0},
  12817. {0x0E, 0x20, 0},
  12818. {0x0F, 0x20, 0},
  12819. {0x10, 0, 0},
  12820. {0x11, 0x7c, 0},
  12821. {0x12, 0x42, 0},
  12822. {0x13, 0xbd, 0},
  12823. {0x14, 0x7, 0},
  12824. {0x15, 0x87, 0},
  12825. {0x16, 0x8, 0},
  12826. {0x17, 0x17, 0},
  12827. {0x18, 0x7, 0},
  12828. {0x19, 0, 0},
  12829. {0x1A, 0x2, 0},
  12830. {0x1B, 0x13, 0},
  12831. {0x1C, 0x3e, 0},
  12832. {0x1D, 0x3e, 0},
  12833. {0x1E, 0x96, 0},
  12834. {0x1F, 0x4, 0},
  12835. {0x20, 0, 0},
  12836. {0x21, 0, 0},
  12837. {0x22, 0x17, 0},
  12838. {0x23, 0x6, 0},
  12839. {0x24, 0x1, 0},
  12840. {0x25, 0x6, 0},
  12841. {0x26, 0x4, 0},
  12842. {0x27, 0xd, 0},
  12843. {0x28, 0xd, 0},
  12844. {0x29, 0x30, 0},
  12845. {0x2A, 0x32, 0},
  12846. {0x2B, 0x8, 0},
  12847. {0x2C, 0x1c, 0},
  12848. {0x2D, 0x2, 0},
  12849. {0x2E, 0x4, 0},
  12850. {0x2F, 0x7f, 0},
  12851. {0x30, 0x27, 0},
  12852. {0x31, 0, 1},
  12853. {0x32, 0, 1},
  12854. {0x33, 0, 1},
  12855. {0x34, 0, 0},
  12856. {0x35, 0x20, 0},
  12857. {0x36, 0x18, 0},
  12858. {0x37, 0x7, 0},
  12859. {0x38, 0x66, 0},
  12860. {0x39, 0x66, 0},
  12861. {0x3A, 0x66, 0},
  12862. {0x3B, 0x66, 0},
  12863. {0x3C, 0xff, 0},
  12864. {0x3D, 0xff, 0},
  12865. {0x3E, 0xff, 0},
  12866. {0x3F, 0xff, 0},
  12867. {0x40, 0x16, 0},
  12868. {0x41, 0x7, 0},
  12869. {0x42, 0x19, 0},
  12870. {0x43, 0x7, 0},
  12871. {0x44, 0x6, 0},
  12872. {0x45, 0x3, 0},
  12873. {0x46, 0x1, 0},
  12874. {0x47, 0x7, 0},
  12875. {0x48, 0x33, 0},
  12876. {0x49, 0x5, 0},
  12877. {0x4A, 0x77, 0},
  12878. {0x4B, 0x66, 0},
  12879. {0x4C, 0x66, 0},
  12880. {0x4D, 0, 0},
  12881. {0x4E, 0x4, 0},
  12882. {0x4F, 0xc, 0},
  12883. {0x50, 0, 0},
  12884. {0x51, 0x70, 1},
  12885. {0x56, 0x7, 0},
  12886. {0x57, 0, 0},
  12887. {0x58, 0, 0},
  12888. {0x59, 0x88, 1},
  12889. {0x5A, 0, 0},
  12890. {0x5B, 0x1f, 0},
  12891. {0x5C, 0x20, 1},
  12892. {0x5D, 0x1, 0},
  12893. {0x5E, 0x30, 0},
  12894. {0x5F, 0x70, 0},
  12895. {0x60, 0, 0},
  12896. {0x61, 0, 0},
  12897. {0x62, 0x33, 1},
  12898. {0x63, 0xf, 1},
  12899. {0x64, 0xf, 1},
  12900. {0x65, 0, 0},
  12901. {0x66, 0x11, 0},
  12902. {0x69, 0, 0},
  12903. {0x6A, 0x7e, 0},
  12904. {0x6B, 0x3f, 0},
  12905. {0x6C, 0x7f, 0},
  12906. {0x6D, 0x78, 0},
  12907. {0x6E, 0x58, 1},
  12908. {0x6F, 0x88, 0},
  12909. {0x70, 0x8, 0},
  12910. {0x71, 0xf, 0},
  12911. {0x72, 0xbc, 0},
  12912. {0x73, 0x8, 0},
  12913. {0x74, 0x60, 0},
  12914. {0x75, 0x13, 1},
  12915. {0x76, 0x70, 0},
  12916. {0x77, 0, 0},
  12917. {0x78, 0, 0},
  12918. {0x79, 0, 0},
  12919. {0x7A, 0x33, 0},
  12920. {0x7B, 0x13, 1},
  12921. {0x7C, 0xf, 1},
  12922. {0x7D, 0xee, 1},
  12923. {0x80, 0x3c, 0},
  12924. {0x81, 0x1, 1},
  12925. {0x82, 0xa, 0},
  12926. {0x83, 0x9d, 0},
  12927. {0x84, 0xa, 0},
  12928. {0x85, 0, 0},
  12929. {0x86, 0x40, 0},
  12930. {0x87, 0x40, 0},
  12931. {0x88, 0x88, 0},
  12932. {0x89, 0x10, 0},
  12933. {0x8A, 0xf0, 0},
  12934. {0x8B, 0x10, 0},
  12935. {0x8C, 0xf0, 0},
  12936. {0x8D, 0, 0},
  12937. {0x8E, 0, 0},
  12938. {0x8F, 0x10, 0},
  12939. {0x90, 0x55, 0},
  12940. {0x91, 0x3f, 1},
  12941. {0x92, 0x36, 1},
  12942. {0x93, 0, 0},
  12943. {0x94, 0, 0},
  12944. {0x95, 0, 0},
  12945. {0x96, 0x87, 0},
  12946. {0x97, 0x11, 0},
  12947. {0x98, 0, 0},
  12948. {0x99, 0x33, 0},
  12949. {0x9A, 0x88, 0},
  12950. {0x9B, 0, 0},
  12951. {0x9C, 0x87, 0},
  12952. {0x9D, 0x11, 0},
  12953. {0x9E, 0, 0},
  12954. {0x9F, 0x33, 0},
  12955. {0xA0, 0x88, 0},
  12956. {0xA1, 0x20, 1},
  12957. {0xA2, 0x3f, 0},
  12958. {0xA3, 0x44, 0},
  12959. {0xA4, 0x8c, 0},
  12960. {0xA5, 0x6c, 0},
  12961. {0xA6, 0x22, 0},
  12962. {0xA7, 0xbe, 0},
  12963. {0xA8, 0x55, 0},
  12964. {0xAA, 0xc, 0},
  12965. {0xAB, 0xaa, 0},
  12966. {0xAC, 0x2, 0},
  12967. {0xAD, 0, 0},
  12968. {0xAE, 0x10, 0},
  12969. {0xAF, 0x1, 0},
  12970. {0xB0, 0, 0},
  12971. {0xB1, 0, 0},
  12972. {0xB2, 0x80, 0},
  12973. {0xB3, 0x60, 0},
  12974. {0xB4, 0x44, 0},
  12975. {0xB5, 0x55, 0},
  12976. {0xB6, 0x1, 0},
  12977. {0xB7, 0x55, 0},
  12978. {0xB8, 0x1, 0},
  12979. {0xB9, 0x5, 0},
  12980. {0xBA, 0x55, 0},
  12981. {0xBB, 0x55, 0},
  12982. {0xC1, 0, 0},
  12983. {0xC2, 0, 0},
  12984. {0xC3, 0, 0},
  12985. {0xC4, 0, 0},
  12986. {0xC5, 0, 0},
  12987. {0xC6, 0, 0},
  12988. {0xC7, 0, 0},
  12989. {0xC8, 0, 0},
  12990. {0xC9, 0x1, 1},
  12991. {0xCA, 0, 0},
  12992. {0xCB, 0, 0},
  12993. {0xCC, 0, 0},
  12994. {0xCD, 0, 0},
  12995. {0xCE, 0x5e, 0},
  12996. {0xCF, 0xc, 0},
  12997. {0xD0, 0xc, 0},
  12998. {0xD1, 0xc, 0},
  12999. {0xD2, 0, 0},
  13000. {0xD3, 0x2b, 0},
  13001. {0xD4, 0xc, 0},
  13002. {0xD5, 0, 0},
  13003. {0xD6, 0x70, 1},
  13004. {0xDB, 0x7, 0},
  13005. {0xDC, 0, 0},
  13006. {0xDD, 0, 0},
  13007. {0xDE, 0x88, 1},
  13008. {0xDF, 0, 0},
  13009. {0xE0, 0x1f, 0},
  13010. {0xE1, 0x20, 1},
  13011. {0xE2, 0x1, 0},
  13012. {0xE3, 0x30, 0},
  13013. {0xE4, 0x70, 0},
  13014. {0xE5, 0, 0},
  13015. {0xE6, 0, 0},
  13016. {0xE7, 0x33, 0},
  13017. {0xE8, 0xf, 1},
  13018. {0xE9, 0xf, 1},
  13019. {0xEA, 0, 0},
  13020. {0xEB, 0x11, 0},
  13021. {0xEE, 0, 0},
  13022. {0xEF, 0x7e, 0},
  13023. {0xF0, 0x3f, 0},
  13024. {0xF1, 0x7f, 0},
  13025. {0xF2, 0x78, 0},
  13026. {0xF3, 0x58, 1},
  13027. {0xF4, 0x88, 0},
  13028. {0xF5, 0x8, 0},
  13029. {0xF6, 0xf, 0},
  13030. {0xF7, 0xbc, 0},
  13031. {0xF8, 0x8, 0},
  13032. {0xF9, 0x60, 0},
  13033. {0xFA, 0x13, 1},
  13034. {0xFB, 0x70, 0},
  13035. {0xFC, 0, 0},
  13036. {0xFD, 0, 0},
  13037. {0xFE, 0, 0},
  13038. {0xFF, 0x33, 0},
  13039. {0x100, 0x13, 1},
  13040. {0x101, 0xf, 1},
  13041. {0x102, 0xee, 1},
  13042. {0x105, 0x3c, 0},
  13043. {0x106, 0x1, 1},
  13044. {0x107, 0xa, 0},
  13045. {0x108, 0x9d, 0},
  13046. {0x109, 0xa, 0},
  13047. {0x10A, 0, 0},
  13048. {0x10B, 0x40, 0},
  13049. {0x10C, 0x40, 0},
  13050. {0x10D, 0x88, 0},
  13051. {0x10E, 0x10, 0},
  13052. {0x10F, 0xf0, 0},
  13053. {0x110, 0x10, 0},
  13054. {0x111, 0xf0, 0},
  13055. {0x112, 0, 0},
  13056. {0x113, 0, 0},
  13057. {0x114, 0x10, 0},
  13058. {0x115, 0x55, 0},
  13059. {0x116, 0x3f, 1},
  13060. {0x117, 0x36, 1},
  13061. {0x118, 0, 0},
  13062. {0x119, 0, 0},
  13063. {0x11A, 0, 0},
  13064. {0x11B, 0x87, 0},
  13065. {0x11C, 0x11, 0},
  13066. {0x11D, 0, 0},
  13067. {0x11E, 0x33, 0},
  13068. {0x11F, 0x88, 0},
  13069. {0x120, 0, 0},
  13070. {0x121, 0x87, 0},
  13071. {0x122, 0x11, 0},
  13072. {0x123, 0, 0},
  13073. {0x124, 0x33, 0},
  13074. {0x125, 0x88, 0},
  13075. {0x126, 0x20, 1},
  13076. {0x127, 0x3f, 0},
  13077. {0x128, 0x44, 0},
  13078. {0x129, 0x8c, 0},
  13079. {0x12A, 0x6c, 0},
  13080. {0x12B, 0x22, 0},
  13081. {0x12C, 0xbe, 0},
  13082. {0x12D, 0x55, 0},
  13083. {0x12F, 0xc, 0},
  13084. {0x130, 0xaa, 0},
  13085. {0x131, 0x2, 0},
  13086. {0x132, 0, 0},
  13087. {0x133, 0x10, 0},
  13088. {0x134, 0x1, 0},
  13089. {0x135, 0, 0},
  13090. {0x136, 0, 0},
  13091. {0x137, 0x80, 0},
  13092. {0x138, 0x60, 0},
  13093. {0x139, 0x44, 0},
  13094. {0x13A, 0x55, 0},
  13095. {0x13B, 0x1, 0},
  13096. {0x13C, 0x55, 0},
  13097. {0x13D, 0x1, 0},
  13098. {0x13E, 0x5, 0},
  13099. {0x13F, 0x55, 0},
  13100. {0x140, 0x55, 0},
  13101. {0x146, 0, 0},
  13102. {0x147, 0, 0},
  13103. {0x148, 0, 0},
  13104. {0x149, 0, 0},
  13105. {0x14A, 0, 0},
  13106. {0x14B, 0, 0},
  13107. {0x14C, 0, 0},
  13108. {0x14D, 0, 0},
  13109. {0x14E, 0x1, 1},
  13110. {0x14F, 0, 0},
  13111. {0x150, 0, 0},
  13112. {0x151, 0, 0},
  13113. {0x154, 0xc, 0},
  13114. {0x155, 0xc, 0},
  13115. {0x156, 0xc, 0},
  13116. {0x157, 0, 0},
  13117. {0x158, 0x2b, 0},
  13118. {0x159, 0x84, 0},
  13119. {0x15A, 0x15, 0},
  13120. {0x15B, 0xf, 0},
  13121. {0x15C, 0, 0},
  13122. {0x15D, 0, 0},
  13123. {0x15E, 0, 1},
  13124. {0x15F, 0, 1},
  13125. {0x160, 0, 1},
  13126. {0x161, 0, 1},
  13127. {0x162, 0, 1},
  13128. {0x163, 0, 1},
  13129. {0x164, 0, 0},
  13130. {0x165, 0, 0},
  13131. {0x166, 0, 0},
  13132. {0x167, 0, 0},
  13133. {0x168, 0, 0},
  13134. {0x169, 0, 0},
  13135. {0x16A, 0, 1},
  13136. {0x16B, 0, 1},
  13137. {0x16C, 0, 1},
  13138. {0x16D, 0, 0},
  13139. {0x170, 0, 0},
  13140. {0x171, 0x77, 0},
  13141. {0x172, 0x77, 0},
  13142. {0x173, 0x77, 0},
  13143. {0x174, 0x77, 0},
  13144. {0x175, 0, 0},
  13145. {0x176, 0x3, 0},
  13146. {0x177, 0x37, 0},
  13147. {0x178, 0x3, 0},
  13148. {0x179, 0, 0},
  13149. {0x17A, 0x21, 0},
  13150. {0x17B, 0x21, 0},
  13151. {0x17C, 0, 0},
  13152. {0x17D, 0xaa, 0},
  13153. {0x17E, 0, 0},
  13154. {0x17F, 0xaa, 0},
  13155. {0x180, 0, 0},
  13156. {0x190, 0, 0},
  13157. {0x191, 0x77, 0},
  13158. {0x192, 0x77, 0},
  13159. {0x193, 0x77, 0},
  13160. {0x194, 0x77, 0},
  13161. {0x195, 0, 0},
  13162. {0x196, 0x3, 0},
  13163. {0x197, 0x37, 0},
  13164. {0x198, 0x3, 0},
  13165. {0x199, 0, 0},
  13166. {0x19A, 0x21, 0},
  13167. {0x19B, 0x21, 0},
  13168. {0x19C, 0, 0},
  13169. {0x19D, 0xaa, 0},
  13170. {0x19E, 0, 0},
  13171. {0x19F, 0xaa, 0},
  13172. {0x1A0, 0, 0},
  13173. {0x1A1, 0x2, 0},
  13174. {0x1A2, 0xf, 0},
  13175. {0x1A3, 0xf, 0},
  13176. {0x1A4, 0, 1},
  13177. {0x1A5, 0, 1},
  13178. {0x1A6, 0, 1},
  13179. {0x1A7, 0x2, 0},
  13180. {0x1A8, 0xf, 0},
  13181. {0x1A9, 0xf, 0},
  13182. {0x1AA, 0, 1},
  13183. {0x1AB, 0, 1},
  13184. {0x1AC, 0, 1},
  13185. {0x1AD, 0x84, 0},
  13186. {0x1AE, 0x60, 0},
  13187. {0x1AF, 0x47, 0},
  13188. {0x1B0, 0x47, 0},
  13189. {0x1B1, 0, 0},
  13190. {0x1B2, 0, 0},
  13191. {0x1B3, 0, 0},
  13192. {0x1B4, 0, 0},
  13193. {0x1B5, 0, 0},
  13194. {0x1B6, 0, 0},
  13195. {0x1B7, 0x5, 1},
  13196. {0x1B8, 0, 0},
  13197. {0x1B9, 0, 0},
  13198. {0x1BA, 0, 0},
  13199. {0x1BB, 0, 0},
  13200. {0x1BC, 0, 0},
  13201. {0x1BD, 0, 0},
  13202. {0x1BE, 0, 0},
  13203. {0x1BF, 0, 0},
  13204. {0x1C0, 0, 0},
  13205. {0x1C1, 0, 0},
  13206. {0x1C2, 0xa0, 1},
  13207. {0x1C3, 0, 0},
  13208. {0x1C4, 0, 0},
  13209. {0x1C5, 0, 0},
  13210. {0x1C6, 0, 0},
  13211. {0x1C7, 0, 0},
  13212. {0x1C8, 0, 0},
  13213. {0x1C9, 0, 0},
  13214. {0x1CA, 0, 0},
  13215. {0xFFFF, 0, 0}
  13216. };
  13217. static s16 nphy_def_lnagains[] = { -2, 10, 19, 25 };
  13218. static s32 nphy_lnagain_est0[] = { -315, 40370 };
  13219. static s32 nphy_lnagain_est1[] = { -224, 23242 };
  13220. static const u16 tbl_iqcal_gainparams_nphy[2][NPHY_IQCAL_NUMGAINS][8] = {
  13221. {
  13222. {0x000, 0, 0, 2, 0x69, 0x69, 0x69, 0x69},
  13223. {0x700, 7, 0, 0, 0x69, 0x69, 0x69, 0x69},
  13224. {0x710, 7, 1, 0, 0x68, 0x68, 0x68, 0x68},
  13225. {0x720, 7, 2, 0, 0x67, 0x67, 0x67, 0x67},
  13226. {0x730, 7, 3, 0, 0x66, 0x66, 0x66, 0x66},
  13227. {0x740, 7, 4, 0, 0x65, 0x65, 0x65, 0x65},
  13228. {0x741, 7, 4, 1, 0x65, 0x65, 0x65, 0x65},
  13229. {0x742, 7, 4, 2, 0x65, 0x65, 0x65, 0x65},
  13230. {0x743, 7, 4, 3, 0x65, 0x65, 0x65, 0x65}
  13231. },
  13232. {
  13233. {0x000, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13234. {0x700, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13235. {0x710, 7, 1, 0, 0x79, 0x79, 0x79, 0x79},
  13236. {0x720, 7, 2, 0, 0x78, 0x78, 0x78, 0x78},
  13237. {0x730, 7, 3, 0, 0x78, 0x78, 0x78, 0x78},
  13238. {0x740, 7, 4, 0, 0x78, 0x78, 0x78, 0x78},
  13239. {0x741, 7, 4, 1, 0x78, 0x78, 0x78, 0x78},
  13240. {0x742, 7, 4, 2, 0x78, 0x78, 0x78, 0x78},
  13241. {0x743, 7, 4, 3, 0x78, 0x78, 0x78, 0x78}
  13242. }
  13243. };
  13244. static const u32 nphy_tpc_txgain[] = {
  13245. 0x03cc2b44, 0x03cc2b42, 0x03cc2a44, 0x03cc2a42,
  13246. 0x03cc2944, 0x03c82b44, 0x03c82b42, 0x03c82a44,
  13247. 0x03c82a42, 0x03c82944, 0x03c82942, 0x03c82844,
  13248. 0x03c82842, 0x03c42b44, 0x03c42b42, 0x03c42a44,
  13249. 0x03c42a42, 0x03c42944, 0x03c42942, 0x03c42844,
  13250. 0x03c42842, 0x03c42744, 0x03c42742, 0x03c42644,
  13251. 0x03c42642, 0x03c42544, 0x03c42542, 0x03c42444,
  13252. 0x03c42442, 0x03c02b44, 0x03c02b42, 0x03c02a44,
  13253. 0x03c02a42, 0x03c02944, 0x03c02942, 0x03c02844,
  13254. 0x03c02842, 0x03c02744, 0x03c02742, 0x03b02b44,
  13255. 0x03b02b42, 0x03b02a44, 0x03b02a42, 0x03b02944,
  13256. 0x03b02942, 0x03b02844, 0x03b02842, 0x03b02744,
  13257. 0x03b02742, 0x03b02644, 0x03b02642, 0x03b02544,
  13258. 0x03b02542, 0x03a02b44, 0x03a02b42, 0x03a02a44,
  13259. 0x03a02a42, 0x03a02944, 0x03a02942, 0x03a02844,
  13260. 0x03a02842, 0x03a02744, 0x03a02742, 0x03902b44,
  13261. 0x03902b42, 0x03902a44, 0x03902a42, 0x03902944,
  13262. 0x03902942, 0x03902844, 0x03902842, 0x03902744,
  13263. 0x03902742, 0x03902644, 0x03902642, 0x03902544,
  13264. 0x03902542, 0x03802b44, 0x03802b42, 0x03802a44,
  13265. 0x03802a42, 0x03802944, 0x03802942, 0x03802844,
  13266. 0x03802842, 0x03802744, 0x03802742, 0x03802644,
  13267. 0x03802642, 0x03802544, 0x03802542, 0x03802444,
  13268. 0x03802442, 0x03802344, 0x03802342, 0x03802244,
  13269. 0x03802242, 0x03802144, 0x03802142, 0x03802044,
  13270. 0x03802042, 0x03801f44, 0x03801f42, 0x03801e44,
  13271. 0x03801e42, 0x03801d44, 0x03801d42, 0x03801c44,
  13272. 0x03801c42, 0x03801b44, 0x03801b42, 0x03801a44,
  13273. 0x03801a42, 0x03801944, 0x03801942, 0x03801844,
  13274. 0x03801842, 0x03801744, 0x03801742, 0x03801644,
  13275. 0x03801642, 0x03801544, 0x03801542, 0x03801444,
  13276. 0x03801442, 0x03801344, 0x03801342, 0x00002b00
  13277. };
  13278. static const u16 nphy_tpc_loscale[] = {
  13279. 256, 256, 271, 271, 287, 256, 256, 271,
  13280. 271, 287, 287, 304, 304, 256, 256, 271,
  13281. 271, 287, 287, 304, 304, 322, 322, 341,
  13282. 341, 362, 362, 383, 383, 256, 256, 271,
  13283. 271, 287, 287, 304, 304, 322, 322, 256,
  13284. 256, 271, 271, 287, 287, 304, 304, 322,
  13285. 322, 341, 341, 362, 362, 256, 256, 271,
  13286. 271, 287, 287, 304, 304, 322, 322, 256,
  13287. 256, 271, 271, 287, 287, 304, 304, 322,
  13288. 322, 341, 341, 362, 362, 256, 256, 271,
  13289. 271, 287, 287, 304, 304, 322, 322, 341,
  13290. 341, 362, 362, 383, 383, 406, 406, 430,
  13291. 430, 455, 455, 482, 482, 511, 511, 541,
  13292. 541, 573, 573, 607, 607, 643, 643, 681,
  13293. 681, 722, 722, 764, 764, 810, 810, 858,
  13294. 858, 908, 908, 962, 962, 1019, 1019, 256
  13295. };
  13296. static u32 nphy_tpc_txgain_ipa[] = {
  13297. 0x5ff7002d, 0x5ff7002b, 0x5ff7002a, 0x5ff70029,
  13298. 0x5ff70028, 0x5ff70027, 0x5ff70026, 0x5ff70025,
  13299. 0x5ef7002d, 0x5ef7002b, 0x5ef7002a, 0x5ef70029,
  13300. 0x5ef70028, 0x5ef70027, 0x5ef70026, 0x5ef70025,
  13301. 0x5df7002d, 0x5df7002b, 0x5df7002a, 0x5df70029,
  13302. 0x5df70028, 0x5df70027, 0x5df70026, 0x5df70025,
  13303. 0x5cf7002d, 0x5cf7002b, 0x5cf7002a, 0x5cf70029,
  13304. 0x5cf70028, 0x5cf70027, 0x5cf70026, 0x5cf70025,
  13305. 0x5bf7002d, 0x5bf7002b, 0x5bf7002a, 0x5bf70029,
  13306. 0x5bf70028, 0x5bf70027, 0x5bf70026, 0x5bf70025,
  13307. 0x5af7002d, 0x5af7002b, 0x5af7002a, 0x5af70029,
  13308. 0x5af70028, 0x5af70027, 0x5af70026, 0x5af70025,
  13309. 0x59f7002d, 0x59f7002b, 0x59f7002a, 0x59f70029,
  13310. 0x59f70028, 0x59f70027, 0x59f70026, 0x59f70025,
  13311. 0x58f7002d, 0x58f7002b, 0x58f7002a, 0x58f70029,
  13312. 0x58f70028, 0x58f70027, 0x58f70026, 0x58f70025,
  13313. 0x57f7002d, 0x57f7002b, 0x57f7002a, 0x57f70029,
  13314. 0x57f70028, 0x57f70027, 0x57f70026, 0x57f70025,
  13315. 0x56f7002d, 0x56f7002b, 0x56f7002a, 0x56f70029,
  13316. 0x56f70028, 0x56f70027, 0x56f70026, 0x56f70025,
  13317. 0x55f7002d, 0x55f7002b, 0x55f7002a, 0x55f70029,
  13318. 0x55f70028, 0x55f70027, 0x55f70026, 0x55f70025,
  13319. 0x54f7002d, 0x54f7002b, 0x54f7002a, 0x54f70029,
  13320. 0x54f70028, 0x54f70027, 0x54f70026, 0x54f70025,
  13321. 0x53f7002d, 0x53f7002b, 0x53f7002a, 0x53f70029,
  13322. 0x53f70028, 0x53f70027, 0x53f70026, 0x53f70025,
  13323. 0x52f7002d, 0x52f7002b, 0x52f7002a, 0x52f70029,
  13324. 0x52f70028, 0x52f70027, 0x52f70026, 0x52f70025,
  13325. 0x51f7002d, 0x51f7002b, 0x51f7002a, 0x51f70029,
  13326. 0x51f70028, 0x51f70027, 0x51f70026, 0x51f70025,
  13327. 0x50f7002d, 0x50f7002b, 0x50f7002a, 0x50f70029,
  13328. 0x50f70028, 0x50f70027, 0x50f70026, 0x50f70025
  13329. };
  13330. static u32 nphy_tpc_txgain_ipa_rev5[] = {
  13331. 0x1ff7002d, 0x1ff7002b, 0x1ff7002a, 0x1ff70029,
  13332. 0x1ff70028, 0x1ff70027, 0x1ff70026, 0x1ff70025,
  13333. 0x1ef7002d, 0x1ef7002b, 0x1ef7002a, 0x1ef70029,
  13334. 0x1ef70028, 0x1ef70027, 0x1ef70026, 0x1ef70025,
  13335. 0x1df7002d, 0x1df7002b, 0x1df7002a, 0x1df70029,
  13336. 0x1df70028, 0x1df70027, 0x1df70026, 0x1df70025,
  13337. 0x1cf7002d, 0x1cf7002b, 0x1cf7002a, 0x1cf70029,
  13338. 0x1cf70028, 0x1cf70027, 0x1cf70026, 0x1cf70025,
  13339. 0x1bf7002d, 0x1bf7002b, 0x1bf7002a, 0x1bf70029,
  13340. 0x1bf70028, 0x1bf70027, 0x1bf70026, 0x1bf70025,
  13341. 0x1af7002d, 0x1af7002b, 0x1af7002a, 0x1af70029,
  13342. 0x1af70028, 0x1af70027, 0x1af70026, 0x1af70025,
  13343. 0x19f7002d, 0x19f7002b, 0x19f7002a, 0x19f70029,
  13344. 0x19f70028, 0x19f70027, 0x19f70026, 0x19f70025,
  13345. 0x18f7002d, 0x18f7002b, 0x18f7002a, 0x18f70029,
  13346. 0x18f70028, 0x18f70027, 0x18f70026, 0x18f70025,
  13347. 0x17f7002d, 0x17f7002b, 0x17f7002a, 0x17f70029,
  13348. 0x17f70028, 0x17f70027, 0x17f70026, 0x17f70025,
  13349. 0x16f7002d, 0x16f7002b, 0x16f7002a, 0x16f70029,
  13350. 0x16f70028, 0x16f70027, 0x16f70026, 0x16f70025,
  13351. 0x15f7002d, 0x15f7002b, 0x15f7002a, 0x15f70029,
  13352. 0x15f70028, 0x15f70027, 0x15f70026, 0x15f70025,
  13353. 0x14f7002d, 0x14f7002b, 0x14f7002a, 0x14f70029,
  13354. 0x14f70028, 0x14f70027, 0x14f70026, 0x14f70025,
  13355. 0x13f7002d, 0x13f7002b, 0x13f7002a, 0x13f70029,
  13356. 0x13f70028, 0x13f70027, 0x13f70026, 0x13f70025,
  13357. 0x12f7002d, 0x12f7002b, 0x12f7002a, 0x12f70029,
  13358. 0x12f70028, 0x12f70027, 0x12f70026, 0x12f70025,
  13359. 0x11f7002d, 0x11f7002b, 0x11f7002a, 0x11f70029,
  13360. 0x11f70028, 0x11f70027, 0x11f70026, 0x11f70025,
  13361. 0x10f7002d, 0x10f7002b, 0x10f7002a, 0x10f70029,
  13362. 0x10f70028, 0x10f70027, 0x10f70026, 0x10f70025
  13363. };
  13364. static u32 nphy_tpc_txgain_ipa_rev6[] = {
  13365. 0x0ff7002d, 0x0ff7002b, 0x0ff7002a, 0x0ff70029,
  13366. 0x0ff70028, 0x0ff70027, 0x0ff70026, 0x0ff70025,
  13367. 0x0ef7002d, 0x0ef7002b, 0x0ef7002a, 0x0ef70029,
  13368. 0x0ef70028, 0x0ef70027, 0x0ef70026, 0x0ef70025,
  13369. 0x0df7002d, 0x0df7002b, 0x0df7002a, 0x0df70029,
  13370. 0x0df70028, 0x0df70027, 0x0df70026, 0x0df70025,
  13371. 0x0cf7002d, 0x0cf7002b, 0x0cf7002a, 0x0cf70029,
  13372. 0x0cf70028, 0x0cf70027, 0x0cf70026, 0x0cf70025,
  13373. 0x0bf7002d, 0x0bf7002b, 0x0bf7002a, 0x0bf70029,
  13374. 0x0bf70028, 0x0bf70027, 0x0bf70026, 0x0bf70025,
  13375. 0x0af7002d, 0x0af7002b, 0x0af7002a, 0x0af70029,
  13376. 0x0af70028, 0x0af70027, 0x0af70026, 0x0af70025,
  13377. 0x09f7002d, 0x09f7002b, 0x09f7002a, 0x09f70029,
  13378. 0x09f70028, 0x09f70027, 0x09f70026, 0x09f70025,
  13379. 0x08f7002d, 0x08f7002b, 0x08f7002a, 0x08f70029,
  13380. 0x08f70028, 0x08f70027, 0x08f70026, 0x08f70025,
  13381. 0x07f7002d, 0x07f7002b, 0x07f7002a, 0x07f70029,
  13382. 0x07f70028, 0x07f70027, 0x07f70026, 0x07f70025,
  13383. 0x06f7002d, 0x06f7002b, 0x06f7002a, 0x06f70029,
  13384. 0x06f70028, 0x06f70027, 0x06f70026, 0x06f70025,
  13385. 0x05f7002d, 0x05f7002b, 0x05f7002a, 0x05f70029,
  13386. 0x05f70028, 0x05f70027, 0x05f70026, 0x05f70025,
  13387. 0x04f7002d, 0x04f7002b, 0x04f7002a, 0x04f70029,
  13388. 0x04f70028, 0x04f70027, 0x04f70026, 0x04f70025,
  13389. 0x03f7002d, 0x03f7002b, 0x03f7002a, 0x03f70029,
  13390. 0x03f70028, 0x03f70027, 0x03f70026, 0x03f70025,
  13391. 0x02f7002d, 0x02f7002b, 0x02f7002a, 0x02f70029,
  13392. 0x02f70028, 0x02f70027, 0x02f70026, 0x02f70025,
  13393. 0x01f7002d, 0x01f7002b, 0x01f7002a, 0x01f70029,
  13394. 0x01f70028, 0x01f70027, 0x01f70026, 0x01f70025,
  13395. 0x00f7002d, 0x00f7002b, 0x00f7002a, 0x00f70029,
  13396. 0x00f70028, 0x00f70027, 0x00f70026, 0x00f70025
  13397. };
  13398. static u32 nphy_tpc_txgain_ipa_2g_2057rev3[] = {
  13399. 0x70ff0040, 0x70f7003e, 0x70ef003b, 0x70e70039,
  13400. 0x70df0037, 0x70d70036, 0x70cf0033, 0x70c70032,
  13401. 0x70bf0031, 0x70b7002f, 0x70af002e, 0x70a7002d,
  13402. 0x709f002d, 0x7097002c, 0x708f002c, 0x7087002c,
  13403. 0x707f002b, 0x7077002c, 0x706f002c, 0x7067002d,
  13404. 0x705f002e, 0x705f002b, 0x705f0029, 0x7057002a,
  13405. 0x70570028, 0x704f002a, 0x7047002c, 0x7047002a,
  13406. 0x70470028, 0x70470026, 0x70470024, 0x70470022,
  13407. 0x7047001f, 0x70370027, 0x70370024, 0x70370022,
  13408. 0x70370020, 0x7037001f, 0x7037001d, 0x7037001b,
  13409. 0x7037001a, 0x70370018, 0x70370017, 0x7027001e,
  13410. 0x7027001d, 0x7027001a, 0x701f0024, 0x701f0022,
  13411. 0x701f0020, 0x701f001f, 0x701f001d, 0x701f001b,
  13412. 0x701f001a, 0x701f0018, 0x701f0017, 0x701f0015,
  13413. 0x701f0014, 0x701f0013, 0x701f0012, 0x701f0011,
  13414. 0x70170019, 0x70170018, 0x70170016, 0x70170015,
  13415. 0x70170014, 0x70170013, 0x70170012, 0x70170010,
  13416. 0x70170010, 0x7017000f, 0x700f001d, 0x700f001b,
  13417. 0x700f001a, 0x700f0018, 0x700f0017, 0x700f0015,
  13418. 0x700f0015, 0x700f0013, 0x700f0013, 0x700f0011,
  13419. 0x700f0010, 0x700f0010, 0x700f000f, 0x700f000e,
  13420. 0x700f000d, 0x700f000c, 0x700f000b, 0x700f000b,
  13421. 0x700f000b, 0x700f000a, 0x700f0009, 0x700f0009,
  13422. 0x700f0009, 0x700f0008, 0x700f0007, 0x700f0007,
  13423. 0x700f0006, 0x700f0006, 0x700f0006, 0x700f0006,
  13424. 0x700f0005, 0x700f0005, 0x700f0005, 0x700f0004,
  13425. 0x700f0004, 0x700f0004, 0x700f0004, 0x700f0004,
  13426. 0x700f0004, 0x700f0003, 0x700f0003, 0x700f0003,
  13427. 0x700f0003, 0x700f0002, 0x700f0002, 0x700f0002,
  13428. 0x700f0002, 0x700f0002, 0x700f0002, 0x700f0001,
  13429. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001,
  13430. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001
  13431. };
  13432. static u32 nphy_tpc_txgain_ipa_2g_2057rev4n6[] = {
  13433. 0xf0ff0040, 0xf0f7003e, 0xf0ef003b, 0xf0e70039,
  13434. 0xf0df0037, 0xf0d70036, 0xf0cf0033, 0xf0c70032,
  13435. 0xf0bf0031, 0xf0b7002f, 0xf0af002e, 0xf0a7002d,
  13436. 0xf09f002d, 0xf097002c, 0xf08f002c, 0xf087002c,
  13437. 0xf07f002b, 0xf077002c, 0xf06f002c, 0xf067002d,
  13438. 0xf05f002e, 0xf05f002b, 0xf05f0029, 0xf057002a,
  13439. 0xf0570028, 0xf04f002a, 0xf047002c, 0xf047002a,
  13440. 0xf0470028, 0xf0470026, 0xf0470024, 0xf0470022,
  13441. 0xf047001f, 0xf0370027, 0xf0370024, 0xf0370022,
  13442. 0xf0370020, 0xf037001f, 0xf037001d, 0xf037001b,
  13443. 0xf037001a, 0xf0370018, 0xf0370017, 0xf027001e,
  13444. 0xf027001d, 0xf027001a, 0xf01f0024, 0xf01f0022,
  13445. 0xf01f0020, 0xf01f001f, 0xf01f001d, 0xf01f001b,
  13446. 0xf01f001a, 0xf01f0018, 0xf01f0017, 0xf01f0015,
  13447. 0xf01f0014, 0xf01f0013, 0xf01f0012, 0xf01f0011,
  13448. 0xf0170019, 0xf0170018, 0xf0170016, 0xf0170015,
  13449. 0xf0170014, 0xf0170013, 0xf0170012, 0xf0170010,
  13450. 0xf0170010, 0xf017000f, 0xf00f001d, 0xf00f001b,
  13451. 0xf00f001a, 0xf00f0018, 0xf00f0017, 0xf00f0015,
  13452. 0xf00f0015, 0xf00f0013, 0xf00f0013, 0xf00f0011,
  13453. 0xf00f0010, 0xf00f0010, 0xf00f000f, 0xf00f000e,
  13454. 0xf00f000d, 0xf00f000c, 0xf00f000b, 0xf00f000b,
  13455. 0xf00f000b, 0xf00f000a, 0xf00f0009, 0xf00f0009,
  13456. 0xf00f0009, 0xf00f0008, 0xf00f0007, 0xf00f0007,
  13457. 0xf00f0006, 0xf00f0006, 0xf00f0006, 0xf00f0006,
  13458. 0xf00f0005, 0xf00f0005, 0xf00f0005, 0xf00f0004,
  13459. 0xf00f0004, 0xf00f0004, 0xf00f0004, 0xf00f0004,
  13460. 0xf00f0004, 0xf00f0003, 0xf00f0003, 0xf00f0003,
  13461. 0xf00f0003, 0xf00f0002, 0xf00f0002, 0xf00f0002,
  13462. 0xf00f0002, 0xf00f0002, 0xf00f0002, 0xf00f0001,
  13463. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001,
  13464. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001
  13465. };
  13466. static u32 nphy_tpc_txgain_ipa_2g_2057rev5[] = {
  13467. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13468. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13469. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13470. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13471. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13472. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13473. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13474. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13475. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13476. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13477. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13478. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13479. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13480. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13481. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13482. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13483. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13484. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13485. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13486. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13487. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13488. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13489. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13490. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13491. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13492. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13493. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13494. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13495. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13496. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13497. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13498. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13499. };
  13500. static u32 nphy_tpc_txgain_ipa_2g_2057rev7[] = {
  13501. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13502. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13503. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13504. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13505. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13506. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13507. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13508. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13509. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13510. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13511. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13512. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13513. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13514. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13515. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13516. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13517. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13518. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13519. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13520. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13521. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13522. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13523. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13524. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13525. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13526. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13527. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13528. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13529. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13530. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13531. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13532. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13533. };
  13534. static u32 nphy_tpc_txgain_ipa_5g[] = {
  13535. 0x7ff70035, 0x7ff70033, 0x7ff70032, 0x7ff70031,
  13536. 0x7ff7002f, 0x7ff7002e, 0x7ff7002d, 0x7ff7002b,
  13537. 0x7ff7002a, 0x7ff70029, 0x7ff70028, 0x7ff70027,
  13538. 0x7ff70026, 0x7ff70024, 0x7ff70023, 0x7ff70022,
  13539. 0x7ef70028, 0x7ef70027, 0x7ef70026, 0x7ef70025,
  13540. 0x7ef70024, 0x7ef70023, 0x7df70028, 0x7df70027,
  13541. 0x7df70026, 0x7df70025, 0x7df70024, 0x7df70023,
  13542. 0x7df70022, 0x7cf70029, 0x7cf70028, 0x7cf70027,
  13543. 0x7cf70026, 0x7cf70025, 0x7cf70023, 0x7cf70022,
  13544. 0x7bf70029, 0x7bf70028, 0x7bf70026, 0x7bf70025,
  13545. 0x7bf70024, 0x7bf70023, 0x7bf70022, 0x7bf70021,
  13546. 0x7af70029, 0x7af70028, 0x7af70027, 0x7af70026,
  13547. 0x7af70025, 0x7af70024, 0x7af70023, 0x7af70022,
  13548. 0x79f70029, 0x79f70028, 0x79f70027, 0x79f70026,
  13549. 0x79f70025, 0x79f70024, 0x79f70023, 0x79f70022,
  13550. 0x78f70029, 0x78f70028, 0x78f70027, 0x78f70026,
  13551. 0x78f70025, 0x78f70024, 0x78f70023, 0x78f70022,
  13552. 0x77f70029, 0x77f70028, 0x77f70027, 0x77f70026,
  13553. 0x77f70025, 0x77f70024, 0x77f70023, 0x77f70022,
  13554. 0x76f70029, 0x76f70028, 0x76f70027, 0x76f70026,
  13555. 0x76f70024, 0x76f70023, 0x76f70022, 0x76f70021,
  13556. 0x75f70029, 0x75f70028, 0x75f70027, 0x75f70026,
  13557. 0x75f70025, 0x75f70024, 0x75f70023, 0x74f70029,
  13558. 0x74f70028, 0x74f70026, 0x74f70025, 0x74f70024,
  13559. 0x74f70023, 0x74f70022, 0x73f70029, 0x73f70027,
  13560. 0x73f70026, 0x73f70025, 0x73f70024, 0x73f70023,
  13561. 0x73f70022, 0x72f70028, 0x72f70027, 0x72f70026,
  13562. 0x72f70025, 0x72f70024, 0x72f70023, 0x72f70022,
  13563. 0x71f70028, 0x71f70027, 0x71f70026, 0x71f70025,
  13564. 0x71f70024, 0x71f70023, 0x70f70028, 0x70f70027,
  13565. 0x70f70026, 0x70f70024, 0x70f70023, 0x70f70022,
  13566. 0x70f70021, 0x70f70020, 0x70f70020, 0x70f7001f
  13567. };
  13568. static u32 nphy_tpc_txgain_ipa_5g_2057[] = {
  13569. 0x7f7f0044, 0x7f7f0040, 0x7f7f003c, 0x7f7f0039,
  13570. 0x7f7f0036, 0x7e7f003c, 0x7e7f0038, 0x7e7f0035,
  13571. 0x7d7f003c, 0x7d7f0039, 0x7d7f0036, 0x7d7f0033,
  13572. 0x7c7f003b, 0x7c7f0037, 0x7c7f0034, 0x7b7f003a,
  13573. 0x7b7f0036, 0x7b7f0033, 0x7a7f003c, 0x7a7f0039,
  13574. 0x7a7f0036, 0x7a7f0033, 0x797f003b, 0x797f0038,
  13575. 0x797f0035, 0x797f0032, 0x787f003b, 0x787f0038,
  13576. 0x787f0035, 0x787f0032, 0x777f003a, 0x777f0037,
  13577. 0x777f0034, 0x777f0031, 0x767f003a, 0x767f0036,
  13578. 0x767f0033, 0x767f0031, 0x757f003a, 0x757f0037,
  13579. 0x757f0034, 0x747f003c, 0x747f0039, 0x747f0036,
  13580. 0x747f0033, 0x737f003b, 0x737f0038, 0x737f0035,
  13581. 0x737f0032, 0x727f0039, 0x727f0036, 0x727f0033,
  13582. 0x727f0030, 0x717f003a, 0x717f0037, 0x717f0034,
  13583. 0x707f003b, 0x707f0038, 0x707f0035, 0x707f0032,
  13584. 0x707f002f, 0x707f002d, 0x707f002a, 0x707f0028,
  13585. 0x707f0025, 0x707f0023, 0x707f0021, 0x707f0020,
  13586. 0x707f001e, 0x707f001c, 0x707f001b, 0x707f0019,
  13587. 0x707f0018, 0x707f0016, 0x707f0015, 0x707f0014,
  13588. 0x707f0013, 0x707f0012, 0x707f0011, 0x707f0010,
  13589. 0x707f000f, 0x707f000e, 0x707f000d, 0x707f000d,
  13590. 0x707f000c, 0x707f000b, 0x707f000b, 0x707f000a,
  13591. 0x707f0009, 0x707f0009, 0x707f0008, 0x707f0008,
  13592. 0x707f0007, 0x707f0007, 0x707f0007, 0x707f0006,
  13593. 0x707f0006, 0x707f0006, 0x707f0005, 0x707f0005,
  13594. 0x707f0005, 0x707f0004, 0x707f0004, 0x707f0004,
  13595. 0x707f0004, 0x707f0004, 0x707f0003, 0x707f0003,
  13596. 0x707f0003, 0x707f0003, 0x707f0003, 0x707f0003,
  13597. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13598. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13599. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001,
  13600. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001
  13601. };
  13602. static u32 nphy_tpc_txgain_ipa_5g_2057rev7[] = {
  13603. 0x6f7f0031, 0x6f7f002e, 0x6f7f002c, 0x6f7f002a,
  13604. 0x6f7f0027, 0x6e7f002e, 0x6e7f002c, 0x6e7f002a,
  13605. 0x6d7f0030, 0x6d7f002d, 0x6d7f002a, 0x6d7f0028,
  13606. 0x6c7f0030, 0x6c7f002d, 0x6c7f002b, 0x6b7f002e,
  13607. 0x6b7f002c, 0x6b7f002a, 0x6b7f0027, 0x6a7f002e,
  13608. 0x6a7f002c, 0x6a7f002a, 0x697f0030, 0x697f002e,
  13609. 0x697f002b, 0x697f0029, 0x687f002f, 0x687f002d,
  13610. 0x687f002a, 0x687f0027, 0x677f002f, 0x677f002d,
  13611. 0x677f002a, 0x667f0031, 0x667f002e, 0x667f002c,
  13612. 0x667f002a, 0x657f0030, 0x657f002e, 0x657f002b,
  13613. 0x657f0029, 0x647f0030, 0x647f002d, 0x647f002b,
  13614. 0x647f0029, 0x637f002f, 0x637f002d, 0x637f002a,
  13615. 0x627f0030, 0x627f002d, 0x627f002b, 0x627f0029,
  13616. 0x617f0030, 0x617f002e, 0x617f002b, 0x617f0029,
  13617. 0x607f002f, 0x607f002d, 0x607f002a, 0x607f0027,
  13618. 0x607f0026, 0x607f0023, 0x607f0021, 0x607f0020,
  13619. 0x607f001e, 0x607f001c, 0x607f001a, 0x607f0019,
  13620. 0x607f0018, 0x607f0016, 0x607f0015, 0x607f0014,
  13621. 0x607f0012, 0x607f0012, 0x607f0011, 0x607f000f,
  13622. 0x607f000f, 0x607f000e, 0x607f000d, 0x607f000c,
  13623. 0x607f000c, 0x607f000b, 0x607f000b, 0x607f000a,
  13624. 0x607f0009, 0x607f0009, 0x607f0008, 0x607f0008,
  13625. 0x607f0008, 0x607f0007, 0x607f0007, 0x607f0006,
  13626. 0x607f0006, 0x607f0005, 0x607f0005, 0x607f0005,
  13627. 0x607f0005, 0x607f0005, 0x607f0004, 0x607f0004,
  13628. 0x607f0004, 0x607f0004, 0x607f0003, 0x607f0003,
  13629. 0x607f0003, 0x607f0003, 0x607f0002, 0x607f0002,
  13630. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13631. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13632. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13633. 0x607f0002, 0x607f0001, 0x607f0001, 0x607f0001,
  13634. 0x607f0001, 0x607f0001, 0x607f0001, 0x607f0001
  13635. };
  13636. static s8 nphy_papd_pga_gain_delta_ipa_2g[] = {
  13637. -114, -108, -98, -91, -84, -78, -70, -62,
  13638. -54, -46, -39, -31, -23, -15, -8, 0
  13639. };
  13640. static s8 nphy_papd_pga_gain_delta_ipa_5g[] = {
  13641. -100, -95, -89, -83, -77, -70, -63, -56,
  13642. -48, -41, -33, -25, -19, -12, -6, 0
  13643. };
  13644. static s16 nphy_papd_padgain_dlt_2g_2057rev3n4[] = {
  13645. -159, -113, -86, -72, -62, -54, -48, -43,
  13646. -39, -35, -31, -28, -25, -23, -20, -18,
  13647. -17, -15, -13, -11, -10, -8, -7, -6,
  13648. -5, -4, -3, -3, -2, -1, -1, 0
  13649. };
  13650. static s16 nphy_papd_padgain_dlt_2g_2057rev5[] = {
  13651. -109, -109, -82, -68, -58, -50, -44, -39,
  13652. -35, -31, -28, -26, -23, -21, -19, -17,
  13653. -16, -14, -13, -11, -10, -9, -8, -7,
  13654. -5, -5, -4, -3, -2, -1, -1, 0
  13655. };
  13656. static s16 nphy_papd_padgain_dlt_2g_2057rev7[] = {
  13657. -122, -122, -95, -80, -69, -61, -54, -49,
  13658. -43, -39, -35, -32, -28, -26, -23, -21,
  13659. -18, -16, -15, -13, -11, -10, -8, -7,
  13660. -6, -5, -4, -3, -2, -1, -1, 0
  13661. };
  13662. static s8 nphy_papd_pgagain_dlt_5g_2057[] = {
  13663. -107, -101, -92, -85, -78, -71, -62, -55,
  13664. -47, -39, -32, -24, -19, -12, -6, 0
  13665. };
  13666. static s8 nphy_papd_pgagain_dlt_5g_2057rev7[] = {
  13667. -110, -104, -95, -88, -81, -74, -66, -58,
  13668. -50, -44, -36, -28, -23, -15, -8, 0
  13669. };
  13670. static u8 pad_gain_codes_used_2057rev5[] = {
  13671. 20, 19, 18, 17, 16, 15, 14, 13, 12, 11,
  13672. 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
  13673. };
  13674. static u8 pad_gain_codes_used_2057rev7[] = {
  13675. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6,
  13676. 5, 4, 3, 2, 1
  13677. };
  13678. static u8 pad_all_gain_codes_2057[] = {
  13679. 31, 30, 29, 28, 27, 26, 25, 24, 23, 22,
  13680. 21, 20, 19, 18, 17, 16, 15, 14, 13, 12,
  13681. 11, 10, 9, 8, 7, 6, 5, 4, 3, 2,
  13682. 1, 0
  13683. };
  13684. static u8 pga_all_gain_codes_2057[] = {
  13685. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
  13686. };
  13687. static u32 nphy_papd_scaltbl[] = {
  13688. 0x0ae2002f, 0x0a3b0032, 0x09a70035, 0x09220038,
  13689. 0x0887003c, 0x081f003f, 0x07a20043, 0x07340047,
  13690. 0x06d2004b, 0x067a004f, 0x06170054, 0x05bf0059,
  13691. 0x0571005e, 0x051e0064, 0x04d3006a, 0x04910070,
  13692. 0x044c0077, 0x040f007e, 0x03d90085, 0x03a1008d,
  13693. 0x036f0095, 0x033d009e, 0x030b00a8, 0x02e000b2,
  13694. 0x02b900bc, 0x029200c7, 0x026d00d3, 0x024900e0,
  13695. 0x022900ed, 0x020a00fb, 0x01ec010a, 0x01d0011a,
  13696. 0x01b7012a, 0x019e013c, 0x0187014f, 0x01720162,
  13697. 0x015d0177, 0x0149018e, 0x013701a5, 0x012601be,
  13698. 0x011501d9, 0x010501f5, 0x00f70212, 0x00e90232,
  13699. 0x00dc0253, 0x00d00276, 0x00c4029c, 0x00b902c3,
  13700. 0x00af02ed, 0x00a5031a, 0x009c0349, 0x0093037a,
  13701. 0x008b03af, 0x008303e7, 0x007c0422, 0x00750461,
  13702. 0x006e04a3, 0x006804ea, 0x00620534, 0x005d0583,
  13703. 0x005805d7, 0x0053062f, 0x004e068d, 0x004a06f1
  13704. };
  13705. static u32 nphy_tpc_txgain_rev3[] = {
  13706. 0x1f410044, 0x1f410042, 0x1f410040, 0x1f41003e,
  13707. 0x1f41003c, 0x1f41003b, 0x1f410039, 0x1f410037,
  13708. 0x1e410044, 0x1e410042, 0x1e410040, 0x1e41003e,
  13709. 0x1e41003c, 0x1e41003b, 0x1e410039, 0x1e410037,
  13710. 0x1d410044, 0x1d410042, 0x1d410040, 0x1d41003e,
  13711. 0x1d41003c, 0x1d41003b, 0x1d410039, 0x1d410037,
  13712. 0x1c410044, 0x1c410042, 0x1c410040, 0x1c41003e,
  13713. 0x1c41003c, 0x1c41003b, 0x1c410039, 0x1c410037,
  13714. 0x1b410044, 0x1b410042, 0x1b410040, 0x1b41003e,
  13715. 0x1b41003c, 0x1b41003b, 0x1b410039, 0x1b410037,
  13716. 0x1a410044, 0x1a410042, 0x1a410040, 0x1a41003e,
  13717. 0x1a41003c, 0x1a41003b, 0x1a410039, 0x1a410037,
  13718. 0x19410044, 0x19410042, 0x19410040, 0x1941003e,
  13719. 0x1941003c, 0x1941003b, 0x19410039, 0x19410037,
  13720. 0x18410044, 0x18410042, 0x18410040, 0x1841003e,
  13721. 0x1841003c, 0x1841003b, 0x18410039, 0x18410037,
  13722. 0x17410044, 0x17410042, 0x17410040, 0x1741003e,
  13723. 0x1741003c, 0x1741003b, 0x17410039, 0x17410037,
  13724. 0x16410044, 0x16410042, 0x16410040, 0x1641003e,
  13725. 0x1641003c, 0x1641003b, 0x16410039, 0x16410037,
  13726. 0x15410044, 0x15410042, 0x15410040, 0x1541003e,
  13727. 0x1541003c, 0x1541003b, 0x15410039, 0x15410037,
  13728. 0x14410044, 0x14410042, 0x14410040, 0x1441003e,
  13729. 0x1441003c, 0x1441003b, 0x14410039, 0x14410037,
  13730. 0x13410044, 0x13410042, 0x13410040, 0x1341003e,
  13731. 0x1341003c, 0x1341003b, 0x13410039, 0x13410037,
  13732. 0x12410044, 0x12410042, 0x12410040, 0x1241003e,
  13733. 0x1241003c, 0x1241003b, 0x12410039, 0x12410037,
  13734. 0x11410044, 0x11410042, 0x11410040, 0x1141003e,
  13735. 0x1141003c, 0x1141003b, 0x11410039, 0x11410037,
  13736. 0x10410044, 0x10410042, 0x10410040, 0x1041003e,
  13737. 0x1041003c, 0x1041003b, 0x10410039, 0x10410037
  13738. };
  13739. static u32 nphy_tpc_txgain_HiPwrEPA[] = {
  13740. 0x0f410044, 0x0f410042, 0x0f410040, 0x0f41003e,
  13741. 0x0f41003c, 0x0f41003b, 0x0f410039, 0x0f410037,
  13742. 0x0e410044, 0x0e410042, 0x0e410040, 0x0e41003e,
  13743. 0x0e41003c, 0x0e41003b, 0x0e410039, 0x0e410037,
  13744. 0x0d410044, 0x0d410042, 0x0d410040, 0x0d41003e,
  13745. 0x0d41003c, 0x0d41003b, 0x0d410039, 0x0d410037,
  13746. 0x0c410044, 0x0c410042, 0x0c410040, 0x0c41003e,
  13747. 0x0c41003c, 0x0c41003b, 0x0c410039, 0x0c410037,
  13748. 0x0b410044, 0x0b410042, 0x0b410040, 0x0b41003e,
  13749. 0x0b41003c, 0x0b41003b, 0x0b410039, 0x0b410037,
  13750. 0x0a410044, 0x0a410042, 0x0a410040, 0x0a41003e,
  13751. 0x0a41003c, 0x0a41003b, 0x0a410039, 0x0a410037,
  13752. 0x09410044, 0x09410042, 0x09410040, 0x0941003e,
  13753. 0x0941003c, 0x0941003b, 0x09410039, 0x09410037,
  13754. 0x08410044, 0x08410042, 0x08410040, 0x0841003e,
  13755. 0x0841003c, 0x0841003b, 0x08410039, 0x08410037,
  13756. 0x07410044, 0x07410042, 0x07410040, 0x0741003e,
  13757. 0x0741003c, 0x0741003b, 0x07410039, 0x07410037,
  13758. 0x06410044, 0x06410042, 0x06410040, 0x0641003e,
  13759. 0x0641003c, 0x0641003b, 0x06410039, 0x06410037,
  13760. 0x05410044, 0x05410042, 0x05410040, 0x0541003e,
  13761. 0x0541003c, 0x0541003b, 0x05410039, 0x05410037,
  13762. 0x04410044, 0x04410042, 0x04410040, 0x0441003e,
  13763. 0x0441003c, 0x0441003b, 0x04410039, 0x04410037,
  13764. 0x03410044, 0x03410042, 0x03410040, 0x0341003e,
  13765. 0x0341003c, 0x0341003b, 0x03410039, 0x03410037,
  13766. 0x02410044, 0x02410042, 0x02410040, 0x0241003e,
  13767. 0x0241003c, 0x0241003b, 0x02410039, 0x02410037,
  13768. 0x01410044, 0x01410042, 0x01410040, 0x0141003e,
  13769. 0x0141003c, 0x0141003b, 0x01410039, 0x01410037,
  13770. 0x00410044, 0x00410042, 0x00410040, 0x0041003e,
  13771. 0x0041003c, 0x0041003b, 0x00410039, 0x00410037
  13772. };
  13773. static u32 nphy_tpc_txgain_epa_2057rev3[] = {
  13774. 0x80f90040, 0x80e10040, 0x80e1003c, 0x80c9003d,
  13775. 0x80b9003c, 0x80a9003d, 0x80a1003c, 0x8099003b,
  13776. 0x8091003b, 0x8089003a, 0x8081003a, 0x80790039,
  13777. 0x80710039, 0x8069003a, 0x8061003b, 0x8059003d,
  13778. 0x8051003f, 0x80490042, 0x8049003e, 0x8049003b,
  13779. 0x8041003e, 0x8041003b, 0x8039003e, 0x8039003b,
  13780. 0x80390038, 0x80390035, 0x8031003a, 0x80310036,
  13781. 0x80310033, 0x8029003a, 0x80290037, 0x80290034,
  13782. 0x80290031, 0x80210039, 0x80210036, 0x80210033,
  13783. 0x80210030, 0x8019003c, 0x80190039, 0x80190036,
  13784. 0x80190033, 0x80190030, 0x8019002d, 0x8019002b,
  13785. 0x80190028, 0x8011003a, 0x80110036, 0x80110033,
  13786. 0x80110030, 0x8011002e, 0x8011002b, 0x80110029,
  13787. 0x80110027, 0x80110024, 0x80110022, 0x80110020,
  13788. 0x8011001f, 0x8011001d, 0x8009003a, 0x80090037,
  13789. 0x80090034, 0x80090031, 0x8009002e, 0x8009002c,
  13790. 0x80090029, 0x80090027, 0x80090025, 0x80090023,
  13791. 0x80090021, 0x8009001f, 0x8009001d, 0x8009011d,
  13792. 0x8009021d, 0x8009031d, 0x8009041d, 0x8009051d,
  13793. 0x8009061d, 0x8009071d, 0x8009071d, 0x8009071d,
  13794. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13795. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13796. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13797. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13798. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13799. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13800. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13801. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13802. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13803. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13804. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13805. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d
  13806. };
  13807. static u32 nphy_tpc_txgain_epa_2057rev5[] = {
  13808. 0x10f90040, 0x10e10040, 0x10e1003c, 0x10c9003d,
  13809. 0x10b9003c, 0x10a9003d, 0x10a1003c, 0x1099003b,
  13810. 0x1091003b, 0x1089003a, 0x1081003a, 0x10790039,
  13811. 0x10710039, 0x1069003a, 0x1061003b, 0x1059003d,
  13812. 0x1051003f, 0x10490042, 0x1049003e, 0x1049003b,
  13813. 0x1041003e, 0x1041003b, 0x1039003e, 0x1039003b,
  13814. 0x10390038, 0x10390035, 0x1031003a, 0x10310036,
  13815. 0x10310033, 0x1029003a, 0x10290037, 0x10290034,
  13816. 0x10290031, 0x10210039, 0x10210036, 0x10210033,
  13817. 0x10210030, 0x1019003c, 0x10190039, 0x10190036,
  13818. 0x10190033, 0x10190030, 0x1019002d, 0x1019002b,
  13819. 0x10190028, 0x1011003a, 0x10110036, 0x10110033,
  13820. 0x10110030, 0x1011002e, 0x1011002b, 0x10110029,
  13821. 0x10110027, 0x10110024, 0x10110022, 0x10110020,
  13822. 0x1011001f, 0x1011001d, 0x1009003a, 0x10090037,
  13823. 0x10090034, 0x10090031, 0x1009002e, 0x1009002c,
  13824. 0x10090029, 0x10090027, 0x10090025, 0x10090023,
  13825. 0x10090021, 0x1009001f, 0x1009001d, 0x1009001b,
  13826. 0x1009001a, 0x10090018, 0x10090017, 0x10090016,
  13827. 0x10090015, 0x10090013, 0x10090012, 0x10090011,
  13828. 0x10090010, 0x1009000f, 0x1009000f, 0x1009000e,
  13829. 0x1009000d, 0x1009000c, 0x1009000c, 0x1009000b,
  13830. 0x1009000a, 0x1009000a, 0x10090009, 0x10090009,
  13831. 0x10090008, 0x10090008, 0x10090007, 0x10090007,
  13832. 0x10090007, 0x10090006, 0x10090006, 0x10090005,
  13833. 0x10090005, 0x10090005, 0x10090005, 0x10090004,
  13834. 0x10090004, 0x10090004, 0x10090004, 0x10090003,
  13835. 0x10090003, 0x10090003, 0x10090003, 0x10090003,
  13836. 0x10090003, 0x10090002, 0x10090002, 0x10090002,
  13837. 0x10090002, 0x10090002, 0x10090002, 0x10090002,
  13838. 0x10090002, 0x10090002, 0x10090001, 0x10090001,
  13839. 0x10090001, 0x10090001, 0x10090001, 0x10090001
  13840. };
  13841. static u32 nphy_tpc_5GHz_txgain_rev3[] = {
  13842. 0xcff70044, 0xcff70042, 0xcff70040, 0xcff7003e,
  13843. 0xcff7003c, 0xcff7003b, 0xcff70039, 0xcff70037,
  13844. 0xcef70044, 0xcef70042, 0xcef70040, 0xcef7003e,
  13845. 0xcef7003c, 0xcef7003b, 0xcef70039, 0xcef70037,
  13846. 0xcdf70044, 0xcdf70042, 0xcdf70040, 0xcdf7003e,
  13847. 0xcdf7003c, 0xcdf7003b, 0xcdf70039, 0xcdf70037,
  13848. 0xccf70044, 0xccf70042, 0xccf70040, 0xccf7003e,
  13849. 0xccf7003c, 0xccf7003b, 0xccf70039, 0xccf70037,
  13850. 0xcbf70044, 0xcbf70042, 0xcbf70040, 0xcbf7003e,
  13851. 0xcbf7003c, 0xcbf7003b, 0xcbf70039, 0xcbf70037,
  13852. 0xcaf70044, 0xcaf70042, 0xcaf70040, 0xcaf7003e,
  13853. 0xcaf7003c, 0xcaf7003b, 0xcaf70039, 0xcaf70037,
  13854. 0xc9f70044, 0xc9f70042, 0xc9f70040, 0xc9f7003e,
  13855. 0xc9f7003c, 0xc9f7003b, 0xc9f70039, 0xc9f70037,
  13856. 0xc8f70044, 0xc8f70042, 0xc8f70040, 0xc8f7003e,
  13857. 0xc8f7003c, 0xc8f7003b, 0xc8f70039, 0xc8f70037,
  13858. 0xc7f70044, 0xc7f70042, 0xc7f70040, 0xc7f7003e,
  13859. 0xc7f7003c, 0xc7f7003b, 0xc7f70039, 0xc7f70037,
  13860. 0xc6f70044, 0xc6f70042, 0xc6f70040, 0xc6f7003e,
  13861. 0xc6f7003c, 0xc6f7003b, 0xc6f70039, 0xc6f70037,
  13862. 0xc5f70044, 0xc5f70042, 0xc5f70040, 0xc5f7003e,
  13863. 0xc5f7003c, 0xc5f7003b, 0xc5f70039, 0xc5f70037,
  13864. 0xc4f70044, 0xc4f70042, 0xc4f70040, 0xc4f7003e,
  13865. 0xc4f7003c, 0xc4f7003b, 0xc4f70039, 0xc4f70037,
  13866. 0xc3f70044, 0xc3f70042, 0xc3f70040, 0xc3f7003e,
  13867. 0xc3f7003c, 0xc3f7003b, 0xc3f70039, 0xc3f70037,
  13868. 0xc2f70044, 0xc2f70042, 0xc2f70040, 0xc2f7003e,
  13869. 0xc2f7003c, 0xc2f7003b, 0xc2f70039, 0xc2f70037,
  13870. 0xc1f70044, 0xc1f70042, 0xc1f70040, 0xc1f7003e,
  13871. 0xc1f7003c, 0xc1f7003b, 0xc1f70039, 0xc1f70037,
  13872. 0xc0f70044, 0xc0f70042, 0xc0f70040, 0xc0f7003e,
  13873. 0xc0f7003c, 0xc0f7003b, 0xc0f70039, 0xc0f70037
  13874. };
  13875. static u32 nphy_tpc_5GHz_txgain_rev4[] = {
  13876. 0x2ff20044, 0x2ff20042, 0x2ff20040, 0x2ff2003e,
  13877. 0x2ff2003c, 0x2ff2003b, 0x2ff20039, 0x2ff20037,
  13878. 0x2ef20044, 0x2ef20042, 0x2ef20040, 0x2ef2003e,
  13879. 0x2ef2003c, 0x2ef2003b, 0x2ef20039, 0x2ef20037,
  13880. 0x2df20044, 0x2df20042, 0x2df20040, 0x2df2003e,
  13881. 0x2df2003c, 0x2df2003b, 0x2df20039, 0x2df20037,
  13882. 0x2cf20044, 0x2cf20042, 0x2cf20040, 0x2cf2003e,
  13883. 0x2cf2003c, 0x2cf2003b, 0x2cf20039, 0x2cf20037,
  13884. 0x2bf20044, 0x2bf20042, 0x2bf20040, 0x2bf2003e,
  13885. 0x2bf2003c, 0x2bf2003b, 0x2bf20039, 0x2bf20037,
  13886. 0x2af20044, 0x2af20042, 0x2af20040, 0x2af2003e,
  13887. 0x2af2003c, 0x2af2003b, 0x2af20039, 0x2af20037,
  13888. 0x29f20044, 0x29f20042, 0x29f20040, 0x29f2003e,
  13889. 0x29f2003c, 0x29f2003b, 0x29f20039, 0x29f20037,
  13890. 0x28f20044, 0x28f20042, 0x28f20040, 0x28f2003e,
  13891. 0x28f2003c, 0x28f2003b, 0x28f20039, 0x28f20037,
  13892. 0x27f20044, 0x27f20042, 0x27f20040, 0x27f2003e,
  13893. 0x27f2003c, 0x27f2003b, 0x27f20039, 0x27f20037,
  13894. 0x26f20044, 0x26f20042, 0x26f20040, 0x26f2003e,
  13895. 0x26f2003c, 0x26f2003b, 0x26f20039, 0x26f20037,
  13896. 0x25f20044, 0x25f20042, 0x25f20040, 0x25f2003e,
  13897. 0x25f2003c, 0x25f2003b, 0x25f20039, 0x25f20037,
  13898. 0x24f20044, 0x24f20042, 0x24f20040, 0x24f2003e,
  13899. 0x24f2003c, 0x24f2003b, 0x24f20039, 0x24f20038,
  13900. 0x23f20041, 0x23f20040, 0x23f2003f, 0x23f2003e,
  13901. 0x23f2003c, 0x23f2003b, 0x23f20039, 0x23f20037,
  13902. 0x22f20044, 0x22f20042, 0x22f20040, 0x22f2003e,
  13903. 0x22f2003c, 0x22f2003b, 0x22f20039, 0x22f20037,
  13904. 0x21f20044, 0x21f20042, 0x21f20040, 0x21f2003e,
  13905. 0x21f2003c, 0x21f2003b, 0x21f20039, 0x21f20037,
  13906. 0x20d20043, 0x20d20041, 0x20d2003e, 0x20d2003c,
  13907. 0x20d2003a, 0x20d20038, 0x20d20036, 0x20d20034
  13908. };
  13909. static u32 nphy_tpc_5GHz_txgain_rev5[] = {
  13910. 0x0f62004a, 0x0f620048, 0x0f620046, 0x0f620044,
  13911. 0x0f620042, 0x0f620040, 0x0f62003e, 0x0f62003c,
  13912. 0x0e620044, 0x0e620042, 0x0e620040, 0x0e62003e,
  13913. 0x0e62003c, 0x0e62003d, 0x0e62003b, 0x0e62003a,
  13914. 0x0d620043, 0x0d620041, 0x0d620040, 0x0d62003e,
  13915. 0x0d62003d, 0x0d62003c, 0x0d62003b, 0x0d62003a,
  13916. 0x0c620041, 0x0c620040, 0x0c62003f, 0x0c62003e,
  13917. 0x0c62003c, 0x0c62003b, 0x0c620039, 0x0c620037,
  13918. 0x0b620046, 0x0b620044, 0x0b620042, 0x0b620040,
  13919. 0x0b62003e, 0x0b62003c, 0x0b62003b, 0x0b62003a,
  13920. 0x0a620041, 0x0a620040, 0x0a62003e, 0x0a62003c,
  13921. 0x0a62003b, 0x0a62003a, 0x0a620039, 0x0a620038,
  13922. 0x0962003e, 0x0962003d, 0x0962003c, 0x0962003b,
  13923. 0x09620039, 0x09620037, 0x09620035, 0x09620033,
  13924. 0x08620044, 0x08620042, 0x08620040, 0x0862003e,
  13925. 0x0862003c, 0x0862003b, 0x0862003a, 0x08620039,
  13926. 0x07620043, 0x07620042, 0x07620040, 0x0762003f,
  13927. 0x0762003d, 0x0762003b, 0x0762003a, 0x07620039,
  13928. 0x0662003e, 0x0662003d, 0x0662003c, 0x0662003b,
  13929. 0x06620039, 0x06620037, 0x06620035, 0x06620033,
  13930. 0x05620046, 0x05620044, 0x05620042, 0x05620040,
  13931. 0x0562003e, 0x0562003c, 0x0562003b, 0x05620039,
  13932. 0x04620044, 0x04620042, 0x04620040, 0x0462003e,
  13933. 0x0462003c, 0x0462003b, 0x04620039, 0x04620038,
  13934. 0x0362003c, 0x0362003b, 0x0362003a, 0x03620039,
  13935. 0x03620038, 0x03620037, 0x03620035, 0x03620033,
  13936. 0x0262004c, 0x0262004a, 0x02620048, 0x02620047,
  13937. 0x02620046, 0x02620044, 0x02620043, 0x02620042,
  13938. 0x0162004a, 0x01620048, 0x01620046, 0x01620044,
  13939. 0x01620043, 0x01620042, 0x01620041, 0x01620040,
  13940. 0x00620042, 0x00620040, 0x0062003e, 0x0062003c,
  13941. 0x0062003b, 0x00620039, 0x00620037, 0x00620035
  13942. };
  13943. static u32 nphy_tpc_5GHz_txgain_HiPwrEPA[] = {
  13944. 0x2ff10044, 0x2ff10042, 0x2ff10040, 0x2ff1003e,
  13945. 0x2ff1003c, 0x2ff1003b, 0x2ff10039, 0x2ff10037,
  13946. 0x2ef10044, 0x2ef10042, 0x2ef10040, 0x2ef1003e,
  13947. 0x2ef1003c, 0x2ef1003b, 0x2ef10039, 0x2ef10037,
  13948. 0x2df10044, 0x2df10042, 0x2df10040, 0x2df1003e,
  13949. 0x2df1003c, 0x2df1003b, 0x2df10039, 0x2df10037,
  13950. 0x2cf10044, 0x2cf10042, 0x2cf10040, 0x2cf1003e,
  13951. 0x2cf1003c, 0x2cf1003b, 0x2cf10039, 0x2cf10037,
  13952. 0x2bf10044, 0x2bf10042, 0x2bf10040, 0x2bf1003e,
  13953. 0x2bf1003c, 0x2bf1003b, 0x2bf10039, 0x2bf10037,
  13954. 0x2af10044, 0x2af10042, 0x2af10040, 0x2af1003e,
  13955. 0x2af1003c, 0x2af1003b, 0x2af10039, 0x2af10037,
  13956. 0x29f10044, 0x29f10042, 0x29f10040, 0x29f1003e,
  13957. 0x29f1003c, 0x29f1003b, 0x29f10039, 0x29f10037,
  13958. 0x28f10044, 0x28f10042, 0x28f10040, 0x28f1003e,
  13959. 0x28f1003c, 0x28f1003b, 0x28f10039, 0x28f10037,
  13960. 0x27f10044, 0x27f10042, 0x27f10040, 0x27f1003e,
  13961. 0x27f1003c, 0x27f1003b, 0x27f10039, 0x27f10037,
  13962. 0x26f10044, 0x26f10042, 0x26f10040, 0x26f1003e,
  13963. 0x26f1003c, 0x26f1003b, 0x26f10039, 0x26f10037,
  13964. 0x25f10044, 0x25f10042, 0x25f10040, 0x25f1003e,
  13965. 0x25f1003c, 0x25f1003b, 0x25f10039, 0x25f10037,
  13966. 0x24f10044, 0x24f10042, 0x24f10040, 0x24f1003e,
  13967. 0x24f1003c, 0x24f1003b, 0x24f10039, 0x24f10038,
  13968. 0x23f10041, 0x23f10040, 0x23f1003f, 0x23f1003e,
  13969. 0x23f1003c, 0x23f1003b, 0x23f10039, 0x23f10037,
  13970. 0x22f10044, 0x22f10042, 0x22f10040, 0x22f1003e,
  13971. 0x22f1003c, 0x22f1003b, 0x22f10039, 0x22f10037,
  13972. 0x21f10044, 0x21f10042, 0x21f10040, 0x21f1003e,
  13973. 0x21f1003c, 0x21f1003b, 0x21f10039, 0x21f10037,
  13974. 0x20d10043, 0x20d10041, 0x20d1003e, 0x20d1003c,
  13975. 0x20d1003a, 0x20d10038, 0x20d10036, 0x20d10034
  13976. };
  13977. static u8 ant_sw_ctrl_tbl_rev8_2o3[] = { 0x14, 0x18 };
  13978. static u8 ant_sw_ctrl_tbl_rev8[] = { 0x4, 0x8, 0x4, 0x8, 0x11, 0x12 };
  13979. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core0[] = {
  13980. 0x09, 0x0a, 0x15, 0x16, 0x09, 0x0a
  13981. };
  13982. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core1[] = {
  13983. 0x09, 0x0a, 0x09, 0x0a, 0x15, 0x16
  13984. };
  13985. bool wlc_phy_bist_check_phy(struct brcms_phy_pub *pih)
  13986. {
  13987. struct brcms_phy *pi = (struct brcms_phy *) pih;
  13988. u32 phybist0, phybist1, phybist2, phybist3, phybist4;
  13989. if (NREV_GE(pi->pubpi.phy_rev, 16))
  13990. return true;
  13991. phybist0 = read_phy_reg(pi, 0x0e);
  13992. phybist1 = read_phy_reg(pi, 0x0f);
  13993. phybist2 = read_phy_reg(pi, 0xea);
  13994. phybist3 = read_phy_reg(pi, 0xeb);
  13995. phybist4 = read_phy_reg(pi, 0x156);
  13996. if ((phybist0 == 0) && (phybist1 == 0x4000) && (phybist2 == 0x1fe0) &&
  13997. (phybist3 == 0) && (phybist4 == 0))
  13998. return true;
  13999. return false;
  14000. }
  14001. static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi)
  14002. {
  14003. u16 addr, val;
  14004. val = 0x1e1f;
  14005. for (addr = (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT);
  14006. addr <= (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT_END); addr++) {
  14007. write_phy_reg(pi, addr, val);
  14008. if (addr == (NPHY_TO_BPHY_OFF + 0x97))
  14009. val = 0x3e3f;
  14010. else
  14011. val -= 0x0202;
  14012. }
  14013. write_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_STEP, 0x668);
  14014. }
  14015. void
  14016. wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14017. u32 width, const void *data)
  14018. {
  14019. struct phytbl_info tbl;
  14020. tbl.tbl_id = id;
  14021. tbl.tbl_len = len;
  14022. tbl.tbl_offset = offset;
  14023. tbl.tbl_width = width;
  14024. tbl.tbl_ptr = data;
  14025. wlc_phy_write_table_nphy(pi, &tbl);
  14026. }
  14027. void
  14028. wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14029. u32 width, void *data)
  14030. {
  14031. struct phytbl_info tbl;
  14032. tbl.tbl_id = id;
  14033. tbl.tbl_len = len;
  14034. tbl.tbl_offset = offset;
  14035. tbl.tbl_width = width;
  14036. tbl.tbl_ptr = data;
  14037. wlc_phy_read_table_nphy(pi, &tbl);
  14038. }
  14039. static void
  14040. wlc_phy_static_table_download_nphy(struct brcms_phy *pi)
  14041. {
  14042. uint idx;
  14043. if (NREV_GE(pi->pubpi.phy_rev, 16)) {
  14044. for (idx = 0; idx < mimophytbl_info_sz_rev16; idx++)
  14045. wlc_phy_write_table_nphy(pi,
  14046. &mimophytbl_info_rev16[idx]);
  14047. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14048. for (idx = 0; idx < mimophytbl_info_sz_rev7; idx++)
  14049. wlc_phy_write_table_nphy(pi,
  14050. &mimophytbl_info_rev7[idx]);
  14051. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14052. for (idx = 0; idx < mimophytbl_info_sz_rev3; idx++)
  14053. wlc_phy_write_table_nphy(pi,
  14054. &mimophytbl_info_rev3[idx]);
  14055. } else {
  14056. for (idx = 0; idx < mimophytbl_info_sz_rev0; idx++)
  14057. wlc_phy_write_table_nphy(pi,
  14058. &mimophytbl_info_rev0[idx]);
  14059. }
  14060. }
  14061. static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi)
  14062. {
  14063. uint idx = 0;
  14064. u8 antswctrllut;
  14065. if (pi->phy_init_por)
  14066. wlc_phy_static_table_download_nphy(pi);
  14067. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14068. antswctrllut = CHSPEC_IS2G(pi->radio_chanspec) ?
  14069. pi->srom_fem2g.antswctrllut : pi->srom_fem5g.
  14070. antswctrllut;
  14071. switch (antswctrllut) {
  14072. case 0:
  14073. break;
  14074. case 1:
  14075. if (pi->aa2g == 7)
  14076. wlc_phy_table_write_nphy(
  14077. pi,
  14078. NPHY_TBL_ID_ANTSWCTRLLUT,
  14079. 2, 0x21, 8,
  14080. &ant_sw_ctrl_tbl_rev8_2o3[0]);
  14081. else
  14082. wlc_phy_table_write_nphy(
  14083. pi,
  14084. NPHY_TBL_ID_ANTSWCTRLLUT,
  14085. 2, 0x21, 8,
  14086. &ant_sw_ctrl_tbl_rev8
  14087. [0]);
  14088. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14089. 2, 0x25, 8,
  14090. &ant_sw_ctrl_tbl_rev8[2]);
  14091. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14092. 2, 0x29, 8,
  14093. &ant_sw_ctrl_tbl_rev8[4]);
  14094. break;
  14095. case 2:
  14096. wlc_phy_table_write_nphy(
  14097. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14098. 2, 0x1, 8,
  14099. &ant_sw_ctrl_tbl_rev8_2057v7_core0[0]);
  14100. wlc_phy_table_write_nphy(
  14101. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14102. 2, 0x5, 8,
  14103. &ant_sw_ctrl_tbl_rev8_2057v7_core0[2]);
  14104. wlc_phy_table_write_nphy(
  14105. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14106. 2, 0x9, 8,
  14107. &ant_sw_ctrl_tbl_rev8_2057v7_core0[4]);
  14108. wlc_phy_table_write_nphy(
  14109. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14110. 2, 0x21, 8,
  14111. &ant_sw_ctrl_tbl_rev8_2057v7_core1[0]);
  14112. wlc_phy_table_write_nphy(
  14113. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14114. 2, 0x25, 8,
  14115. &ant_sw_ctrl_tbl_rev8_2057v7_core1[2]);
  14116. wlc_phy_table_write_nphy(
  14117. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14118. 2, 0x29, 8,
  14119. &ant_sw_ctrl_tbl_rev8_2057v7_core1[4]);
  14120. break;
  14121. default:
  14122. break;
  14123. }
  14124. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14125. for (idx = 0; idx < mimophytbl_info_sz_rev3_volatile; idx++) {
  14126. if (idx == ANT_SWCTRL_TBL_REV3_IDX) {
  14127. antswctrllut =
  14128. CHSPEC_IS2G(pi->radio_chanspec) ?
  14129. pi->srom_fem2g.antswctrllut :
  14130. pi->srom_fem5g.antswctrllut;
  14131. switch (antswctrllut) {
  14132. case 0:
  14133. wlc_phy_write_table_nphy(
  14134. pi,
  14135. &mimophytbl_info_rev3_volatile
  14136. [idx]);
  14137. break;
  14138. case 1:
  14139. wlc_phy_write_table_nphy(
  14140. pi,
  14141. &mimophytbl_info_rev3_volatile1
  14142. [idx]);
  14143. break;
  14144. case 2:
  14145. wlc_phy_write_table_nphy(
  14146. pi,
  14147. &mimophytbl_info_rev3_volatile2
  14148. [idx]);
  14149. break;
  14150. case 3:
  14151. wlc_phy_write_table_nphy(
  14152. pi,
  14153. &mimophytbl_info_rev3_volatile3
  14154. [idx]);
  14155. break;
  14156. default:
  14157. break;
  14158. }
  14159. } else {
  14160. wlc_phy_write_table_nphy(
  14161. pi,
  14162. &mimophytbl_info_rev3_volatile[idx]);
  14163. }
  14164. }
  14165. } else {
  14166. for (idx = 0; idx < mimophytbl_info_sz_rev0_volatile; idx++)
  14167. wlc_phy_write_table_nphy(pi,
  14168. &mimophytbl_info_rev0_volatile
  14169. [idx]);
  14170. }
  14171. }
  14172. static void
  14173. wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay)
  14174. {
  14175. write_phy_reg(pi, 0x77, holdoff);
  14176. write_phy_reg(pi, 0xb4, delay);
  14177. }
  14178. void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs)
  14179. {
  14180. u16 holdoff, delay;
  14181. if (rifs) {
  14182. holdoff = 0x10;
  14183. delay = 0x258;
  14184. } else {
  14185. holdoff = 0x15;
  14186. delay = 0x320;
  14187. }
  14188. wlc_phy_write_txmacreg_nphy(pi, holdoff, delay);
  14189. if (pi && pi->sh && (pi->sh->_rifs_phy != rifs))
  14190. pi->sh->_rifs_phy = rifs;
  14191. }
  14192. static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi)
  14193. {
  14194. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14195. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14196. pi->phy_5g_pwrgain = true;
  14197. return;
  14198. }
  14199. pi->nphy_txpwrctrl = PHY_TPC_HW_OFF;
  14200. pi->phy_5g_pwrgain = false;
  14201. if ((pi->sh->boardflags2 & BFL2_TXPWRCTRL_EN) &&
  14202. NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4))
  14203. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14204. else if ((pi->sh->sromrev >= 4)
  14205. && (pi->sh->boardflags2 & BFL2_5G_PWRGAIN))
  14206. pi->phy_5g_pwrgain = true;
  14207. }
  14208. static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi)
  14209. {
  14210. u16 bw40po, cddpo, stbcpo, bwduppo;
  14211. uint band_num;
  14212. struct phy_shim_info *shim = pi->sh->physhim;
  14213. if (pi->sh->sromrev >= 9)
  14214. return;
  14215. bw40po = (u16) wlapi_getintvar(shim, BRCMS_SROM_BW40PO);
  14216. pi->bw402gpo = bw40po & 0xf;
  14217. pi->bw405gpo = (bw40po & 0xf0) >> 4;
  14218. pi->bw405glpo = (bw40po & 0xf00) >> 8;
  14219. pi->bw405ghpo = (bw40po & 0xf000) >> 12;
  14220. cddpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_CDDPO);
  14221. pi->cdd2gpo = cddpo & 0xf;
  14222. pi->cdd5gpo = (cddpo & 0xf0) >> 4;
  14223. pi->cdd5glpo = (cddpo & 0xf00) >> 8;
  14224. pi->cdd5ghpo = (cddpo & 0xf000) >> 12;
  14225. stbcpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_STBCPO);
  14226. pi->stbc2gpo = stbcpo & 0xf;
  14227. pi->stbc5gpo = (stbcpo & 0xf0) >> 4;
  14228. pi->stbc5glpo = (stbcpo & 0xf00) >> 8;
  14229. pi->stbc5ghpo = (stbcpo & 0xf000) >> 12;
  14230. bwduppo = (u16) wlapi_getintvar(shim, BRCMS_SROM_BWDUPPO);
  14231. pi->bwdup2gpo = bwduppo & 0xf;
  14232. pi->bwdup5gpo = (bwduppo & 0xf0) >> 4;
  14233. pi->bwdup5glpo = (bwduppo & 0xf00) >> 8;
  14234. pi->bwdup5ghpo = (bwduppo & 0xf000) >> 12;
  14235. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  14236. band_num++) {
  14237. switch (band_num) {
  14238. case 0:
  14239. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_2g =
  14240. (s8) wlapi_getintvar(shim,
  14241. BRCMS_SROM_MAXP2GA0);
  14242. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_2g =
  14243. (s8) wlapi_getintvar(shim,
  14244. BRCMS_SROM_MAXP2GA1);
  14245. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_a1 =
  14246. (s16) wlapi_getintvar(shim,
  14247. BRCMS_SROM_PA2GW0A0);
  14248. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_a1 =
  14249. (s16) wlapi_getintvar(shim,
  14250. BRCMS_SROM_PA2GW0A1);
  14251. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b0 =
  14252. (s16) wlapi_getintvar(shim,
  14253. BRCMS_SROM_PA2GW1A0);
  14254. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b0 =
  14255. (s16) wlapi_getintvar(shim,
  14256. BRCMS_SROM_PA2GW1A1);
  14257. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b1 =
  14258. (s16) wlapi_getintvar(shim,
  14259. BRCMS_SROM_PA2GW2A0);
  14260. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b1 =
  14261. (s16) wlapi_getintvar(shim,
  14262. BRCMS_SROM_PA2GW2A1);
  14263. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_2g =
  14264. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA0);
  14265. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_2g =
  14266. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA1);
  14267. pi->cck2gpo = (u16) wlapi_getintvar(shim,
  14268. BRCMS_SROM_CCK2GPO);
  14269. pi->ofdm2gpo =
  14270. (u32) wlapi_getintvar(shim,
  14271. BRCMS_SROM_OFDM2GPO);
  14272. pi->mcs2gpo[0] =
  14273. (u16) wlapi_getintvar(shim,
  14274. BRCMS_SROM_MCS2GPO0);
  14275. pi->mcs2gpo[1] =
  14276. (u16) wlapi_getintvar(shim,
  14277. BRCMS_SROM_MCS2GPO1);
  14278. pi->mcs2gpo[2] =
  14279. (u16) wlapi_getintvar(shim,
  14280. BRCMS_SROM_MCS2GPO2);
  14281. pi->mcs2gpo[3] =
  14282. (u16) wlapi_getintvar(shim,
  14283. BRCMS_SROM_MCS2GPO3);
  14284. pi->mcs2gpo[4] =
  14285. (u16) wlapi_getintvar(shim,
  14286. BRCMS_SROM_MCS2GPO4);
  14287. pi->mcs2gpo[5] =
  14288. (u16) wlapi_getintvar(shim,
  14289. BRCMS_SROM_MCS2GPO5);
  14290. pi->mcs2gpo[6] =
  14291. (u16) wlapi_getintvar(shim,
  14292. BRCMS_SROM_MCS2GPO6);
  14293. pi->mcs2gpo[7] =
  14294. (u16) wlapi_getintvar(shim,
  14295. BRCMS_SROM_MCS2GPO7);
  14296. break;
  14297. case 1:
  14298. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_5gm =
  14299. (s8) wlapi_getintvar(shim, BRCMS_SROM_MAXP5GA0);
  14300. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_5gm =
  14301. (s8) wlapi_getintvar(shim,
  14302. BRCMS_SROM_MAXP5GA1);
  14303. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_a1 =
  14304. (s16) wlapi_getintvar(shim,
  14305. BRCMS_SROM_PA5GW0A0);
  14306. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_a1 =
  14307. (s16) wlapi_getintvar(shim,
  14308. BRCMS_SROM_PA5GW0A1);
  14309. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b0 =
  14310. (s16) wlapi_getintvar(shim,
  14311. BRCMS_SROM_PA5GW1A0);
  14312. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b0 =
  14313. (s16) wlapi_getintvar(shim,
  14314. BRCMS_SROM_PA5GW1A1);
  14315. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b1 =
  14316. (s16) wlapi_getintvar(shim,
  14317. BRCMS_SROM_PA5GW2A0);
  14318. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b1 =
  14319. (s16) wlapi_getintvar(shim,
  14320. BRCMS_SROM_PA5GW2A1);
  14321. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_5gm =
  14322. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA0);
  14323. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_5gm =
  14324. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA1);
  14325. pi->ofdm5gpo =
  14326. (u32) wlapi_getintvar(shim,
  14327. BRCMS_SROM_OFDM5GPO);
  14328. pi->mcs5gpo[0] =
  14329. (u16) wlapi_getintvar(shim,
  14330. BRCMS_SROM_MCS5GPO0);
  14331. pi->mcs5gpo[1] =
  14332. (u16) wlapi_getintvar(shim,
  14333. BRCMS_SROM_MCS5GPO1);
  14334. pi->mcs5gpo[2] =
  14335. (u16) wlapi_getintvar(shim,
  14336. BRCMS_SROM_MCS5GPO2);
  14337. pi->mcs5gpo[3] =
  14338. (u16) wlapi_getintvar(shim,
  14339. BRCMS_SROM_MCS5GPO3);
  14340. pi->mcs5gpo[4] =
  14341. (u16) wlapi_getintvar(shim,
  14342. BRCMS_SROM_MCS5GPO4);
  14343. pi->mcs5gpo[5] =
  14344. (u16) wlapi_getintvar(shim,
  14345. BRCMS_SROM_MCS5GPO5);
  14346. pi->mcs5gpo[6] =
  14347. (u16) wlapi_getintvar(shim,
  14348. BRCMS_SROM_MCS5GPO6);
  14349. pi->mcs5gpo[7] =
  14350. (u16) wlapi_getintvar(shim,
  14351. BRCMS_SROM_MCS5GPO7);
  14352. break;
  14353. case 2:
  14354. pi->nphy_pwrctrl_info[0].max_pwr_5gl =
  14355. (s8) wlapi_getintvar(shim,
  14356. BRCMS_SROM_MAXP5GLA0);
  14357. pi->nphy_pwrctrl_info[1].max_pwr_5gl =
  14358. (s8) wlapi_getintvar(shim,
  14359. BRCMS_SROM_MAXP5GLA1);
  14360. pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1 =
  14361. (s16) wlapi_getintvar(shim,
  14362. BRCMS_SROM_PA5GLW0A0);
  14363. pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1 =
  14364. (s16) wlapi_getintvar(shim,
  14365. BRCMS_SROM_PA5GLW0A1);
  14366. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0 =
  14367. (s16) wlapi_getintvar(shim,
  14368. BRCMS_SROM_PA5GLW1A0);
  14369. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0 =
  14370. (s16) wlapi_getintvar(shim,
  14371. BRCMS_SROM_PA5GLW1A1);
  14372. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1 =
  14373. (s16) wlapi_getintvar(shim,
  14374. BRCMS_SROM_PA5GLW2A0);
  14375. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1 =
  14376. (s16) wlapi_getintvar(shim,
  14377. BRCMS_SROM_PA5GLW2A1);
  14378. pi->nphy_pwrctrl_info[0].idle_targ_5gl = 0;
  14379. pi->nphy_pwrctrl_info[1].idle_targ_5gl = 0;
  14380. pi->ofdm5glpo =
  14381. (u32) wlapi_getintvar(shim,
  14382. BRCMS_SROM_OFDM5GLPO);
  14383. pi->mcs5glpo[0] =
  14384. (u16) wlapi_getintvar(shim,
  14385. BRCMS_SROM_MCS5GLPO0);
  14386. pi->mcs5glpo[1] =
  14387. (u16) wlapi_getintvar(shim,
  14388. BRCMS_SROM_MCS5GLPO1);
  14389. pi->mcs5glpo[2] =
  14390. (u16) wlapi_getintvar(shim,
  14391. BRCMS_SROM_MCS5GLPO2);
  14392. pi->mcs5glpo[3] =
  14393. (u16) wlapi_getintvar(shim,
  14394. BRCMS_SROM_MCS5GLPO3);
  14395. pi->mcs5glpo[4] =
  14396. (u16) wlapi_getintvar(shim,
  14397. BRCMS_SROM_MCS5GLPO4);
  14398. pi->mcs5glpo[5] =
  14399. (u16) wlapi_getintvar(shim,
  14400. BRCMS_SROM_MCS5GLPO5);
  14401. pi->mcs5glpo[6] =
  14402. (u16) wlapi_getintvar(shim,
  14403. BRCMS_SROM_MCS5GLPO6);
  14404. pi->mcs5glpo[7] =
  14405. (u16) wlapi_getintvar(shim,
  14406. BRCMS_SROM_MCS5GLPO7);
  14407. break;
  14408. case 3:
  14409. pi->nphy_pwrctrl_info[0].max_pwr_5gh =
  14410. (s8) wlapi_getintvar(shim,
  14411. BRCMS_SROM_MAXP5GHA0);
  14412. pi->nphy_pwrctrl_info[1].max_pwr_5gh =
  14413. (s8) wlapi_getintvar(shim,
  14414. BRCMS_SROM_MAXP5GHA1);
  14415. pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1 =
  14416. (s16) wlapi_getintvar(shim,
  14417. BRCMS_SROM_PA5GHW0A0);
  14418. pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1 =
  14419. (s16) wlapi_getintvar(shim,
  14420. BRCMS_SROM_PA5GHW0A1);
  14421. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0 =
  14422. (s16) wlapi_getintvar(shim,
  14423. BRCMS_SROM_PA5GHW1A0);
  14424. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0 =
  14425. (s16) wlapi_getintvar(shim,
  14426. BRCMS_SROM_PA5GHW1A1);
  14427. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1 =
  14428. (s16) wlapi_getintvar(shim,
  14429. BRCMS_SROM_PA5GHW2A0);
  14430. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1 =
  14431. (s16) wlapi_getintvar(shim,
  14432. BRCMS_SROM_PA5GHW2A1);
  14433. pi->nphy_pwrctrl_info[0].idle_targ_5gh = 0;
  14434. pi->nphy_pwrctrl_info[1].idle_targ_5gh = 0;
  14435. pi->ofdm5ghpo =
  14436. (u32) wlapi_getintvar(shim,
  14437. BRCMS_SROM_OFDM5GHPO);
  14438. pi->mcs5ghpo[0] =
  14439. (u16) wlapi_getintvar(shim,
  14440. BRCMS_SROM_MCS5GHPO0);
  14441. pi->mcs5ghpo[1] =
  14442. (u16) wlapi_getintvar(shim,
  14443. BRCMS_SROM_MCS5GHPO1);
  14444. pi->mcs5ghpo[2] =
  14445. (u16) wlapi_getintvar(shim,
  14446. BRCMS_SROM_MCS5GHPO2);
  14447. pi->mcs5ghpo[3] =
  14448. (u16) wlapi_getintvar(shim,
  14449. BRCMS_SROM_MCS5GHPO3);
  14450. pi->mcs5ghpo[4] =
  14451. (u16) wlapi_getintvar(shim,
  14452. BRCMS_SROM_MCS5GHPO4);
  14453. pi->mcs5ghpo[5] =
  14454. (u16) wlapi_getintvar(shim,
  14455. BRCMS_SROM_MCS5GHPO5);
  14456. pi->mcs5ghpo[6] =
  14457. (u16) wlapi_getintvar(shim,
  14458. BRCMS_SROM_MCS5GHPO6);
  14459. pi->mcs5ghpo[7] =
  14460. (u16) wlapi_getintvar(shim,
  14461. BRCMS_SROM_MCS5GHPO7);
  14462. break;
  14463. }
  14464. }
  14465. wlc_phy_txpwr_apply_nphy(pi);
  14466. }
  14467. static bool wlc_phy_txpwr_srom_read_nphy(struct brcms_phy *pi)
  14468. {
  14469. struct phy_shim_info *shim = pi->sh->physhim;
  14470. pi->antswitch = (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWITCH);
  14471. pi->aa2g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA2G);
  14472. pi->aa5g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA5G);
  14473. pi->srom_fem2g.tssipos = (u8) wlapi_getintvar(shim,
  14474. BRCMS_SROM_TSSIPOS2G);
  14475. pi->srom_fem2g.extpagain = (u8) wlapi_getintvar(shim,
  14476. BRCMS_SROM_EXTPAGAIN2G);
  14477. pi->srom_fem2g.pdetrange = (u8) wlapi_getintvar(shim,
  14478. BRCMS_SROM_PDETRANGE2G);
  14479. pi->srom_fem2g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO2G);
  14480. pi->srom_fem2g.antswctrllut =
  14481. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14482. pi->srom_fem5g.tssipos = (u8) wlapi_getintvar(shim,
  14483. BRCMS_SROM_TSSIPOS5G);
  14484. pi->srom_fem5g.extpagain = (u8) wlapi_getintvar(shim,
  14485. BRCMS_SROM_EXTPAGAIN5G);
  14486. pi->srom_fem5g.pdetrange = (u8) wlapi_getintvar(shim,
  14487. BRCMS_SROM_PDETRANGE5G);
  14488. pi->srom_fem5g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO5G);
  14489. if (wlapi_getvar(shim, BRCMS_SROM_ANTSWCTL5G))
  14490. pi->srom_fem5g.antswctrllut =
  14491. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL5G);
  14492. else
  14493. pi->srom_fem5g.antswctrllut =
  14494. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14495. wlc_phy_txpower_ipa_upd(pi);
  14496. pi->phy_txcore_disable_temp =
  14497. (s16) wlapi_getintvar(shim, BRCMS_SROM_TEMPTHRESH);
  14498. if (pi->phy_txcore_disable_temp == 0)
  14499. pi->phy_txcore_disable_temp = PHY_CHAIN_TX_DISABLE_TEMP;
  14500. pi->phy_tempsense_offset = (s8) wlapi_getintvar(shim,
  14501. BRCMS_SROM_TEMPOFFSET);
  14502. if (pi->phy_tempsense_offset != 0) {
  14503. if (pi->phy_tempsense_offset >
  14504. (NPHY_SROM_TEMPSHIFT + NPHY_SROM_MAXTEMPOFFSET))
  14505. pi->phy_tempsense_offset = NPHY_SROM_MAXTEMPOFFSET;
  14506. else if (pi->phy_tempsense_offset < (NPHY_SROM_TEMPSHIFT +
  14507. NPHY_SROM_MINTEMPOFFSET))
  14508. pi->phy_tempsense_offset = NPHY_SROM_MINTEMPOFFSET;
  14509. else
  14510. pi->phy_tempsense_offset -= NPHY_SROM_TEMPSHIFT;
  14511. }
  14512. pi->phy_txcore_enable_temp =
  14513. pi->phy_txcore_disable_temp - PHY_HYSTERESIS_DELTATEMP;
  14514. pi->phycal_tempdelta =
  14515. (u8) wlapi_getintvar(shim, BRCMS_SROM_PHYCAL_TEMPDELTA);
  14516. if (pi->phycal_tempdelta > NPHY_CAL_MAXTEMPDELTA)
  14517. pi->phycal_tempdelta = 0;
  14518. wlc_phy_txpwr_srom_read_ppr_nphy(pi);
  14519. return true;
  14520. }
  14521. bool wlc_phy_attach_nphy(struct brcms_phy *pi)
  14522. {
  14523. uint i;
  14524. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 6))
  14525. pi->phyhang_avoid = true;
  14526. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14527. pi->nphy_gband_spurwar_en = true;
  14528. if (pi->sh->boardflags2 & BFL2_SPUR_WAR)
  14529. pi->nphy_aband_spurwar_en = true;
  14530. }
  14531. if (NREV_GE(pi->pubpi.phy_rev, 6) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14532. if (pi->sh->boardflags2 & BFL2_2G_SPUR_WAR)
  14533. pi->nphy_gband_spurwar2_en = true;
  14534. }
  14535. pi->n_preamble_override = AUTO;
  14536. if (NREV_IS(pi->pubpi.phy_rev, 3) || NREV_IS(pi->pubpi.phy_rev, 4))
  14537. pi->n_preamble_override = BRCMS_N_PREAMBLE_MIXEDMODE;
  14538. pi->nphy_txrx_chain = AUTO;
  14539. pi->phy_scraminit = AUTO;
  14540. pi->nphy_rxcalparams = 0x010100B5;
  14541. pi->nphy_perical = PHY_PERICAL_MPHASE;
  14542. pi->mphase_cal_phase_id = MPHASE_CAL_STATE_IDLE;
  14543. pi->mphase_txcal_numcmds = MPHASE_TXCAL_NUMCMDS;
  14544. pi->nphy_gain_boost = true;
  14545. pi->nphy_elna_gain_config = false;
  14546. pi->radio_is_on = false;
  14547. for (i = 0; i < pi->pubpi.phy_corenum; i++)
  14548. pi->nphy_txpwrindex[i].index = AUTO;
  14549. wlc_phy_txpwrctrl_config_nphy(pi);
  14550. if (pi->nphy_txpwrctrl == PHY_TPC_HW_ON)
  14551. pi->hwpwrctrl_capable = true;
  14552. pi->pi_fptr.init = wlc_phy_init_nphy;
  14553. pi->pi_fptr.calinit = wlc_phy_cal_init_nphy;
  14554. pi->pi_fptr.chanset = wlc_phy_chanspec_set_nphy;
  14555. pi->pi_fptr.txpwrrecalc = wlc_phy_txpower_recalc_target_nphy;
  14556. if (!wlc_phy_txpwr_srom_read_nphy(pi))
  14557. return false;
  14558. return true;
  14559. }
  14560. static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn)
  14561. {
  14562. s32 rfpwr_offset = 0;
  14563. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  14564. if ((pi->pubpi.radiorev == 3) ||
  14565. (pi->pubpi.radiorev == 4) ||
  14566. (pi->pubpi.radiorev == 6))
  14567. rfpwr_offset = (s16)
  14568. nphy_papd_padgain_dlt_2g_2057rev3n4
  14569. [pad_gn];
  14570. else if (pi->pubpi.radiorev == 5)
  14571. rfpwr_offset = (s16)
  14572. nphy_papd_padgain_dlt_2g_2057rev5
  14573. [pad_gn];
  14574. else if ((pi->pubpi.radiorev == 7)
  14575. || (pi->pubpi.radiorev ==
  14576. 8))
  14577. rfpwr_offset = (s16)
  14578. nphy_papd_padgain_dlt_2g_2057rev7
  14579. [pad_gn];
  14580. } else {
  14581. if ((pi->pubpi.radiorev == 3) ||
  14582. (pi->pubpi.radiorev == 4) ||
  14583. (pi->pubpi.radiorev == 6))
  14584. rfpwr_offset = (s16)
  14585. nphy_papd_pgagain_dlt_5g_2057
  14586. [pga_gn];
  14587. else if ((pi->pubpi.radiorev == 7)
  14588. || (pi->pubpi.radiorev ==
  14589. 8))
  14590. rfpwr_offset = (s16)
  14591. nphy_papd_pgagain_dlt_5g_2057rev7
  14592. [pga_gn];
  14593. }
  14594. return rfpwr_offset;
  14595. }
  14596. static void wlc_phy_update_mimoconfig_nphy(struct brcms_phy *pi, s32 preamble)
  14597. {
  14598. bool gf_preamble = false;
  14599. u16 val;
  14600. if (preamble == BRCMS_N_PREAMBLE_GF)
  14601. gf_preamble = true;
  14602. val = read_phy_reg(pi, 0xed);
  14603. val |= RX_GF_MM_AUTO;
  14604. val &= ~RX_GF_OR_MM;
  14605. if (gf_preamble)
  14606. val |= RX_GF_OR_MM;
  14607. write_phy_reg(pi, 0xed, val);
  14608. }
  14609. static void wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  14610. {
  14611. int j, type;
  14612. u16 addr_offset[] = { 0x186, 0x195, 0x2c5};
  14613. for (type = 0; type < 3; type++) {
  14614. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14615. write_phy_reg(pi, addr_offset[type] + j,
  14616. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  14617. }
  14618. if (pi->bw == WL_CHANSPEC_BW_40) {
  14619. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14620. write_phy_reg(pi, 0x186 + j,
  14621. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14622. } else {
  14623. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  14624. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14625. write_phy_reg(pi, 0x186 + j,
  14626. NPHY_IPA_REV4_txdigi_filtcoeffs[5][j]);
  14627. }
  14628. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  14629. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14630. write_phy_reg(pi, 0x2c5 + j,
  14631. NPHY_IPA_REV4_txdigi_filtcoeffs[6][j]);
  14632. }
  14633. }
  14634. }
  14635. static void wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy *pi)
  14636. {
  14637. int j;
  14638. if (pi->bw == WL_CHANSPEC_BW_40) {
  14639. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14640. write_phy_reg(pi, 0x195 + j,
  14641. NPHY_IPA_REV4_txdigi_filtcoeffs[4][j]);
  14642. } else {
  14643. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14644. write_phy_reg(pi, 0x186 + j,
  14645. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14646. }
  14647. }
  14648. static void
  14649. wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, u8 *events, u8 *dlys,
  14650. u8 len)
  14651. {
  14652. u32 t1_offset, t2_offset;
  14653. u8 ctr;
  14654. u8 end_event =
  14655. NREV_GE(pi->pubpi.phy_rev,
  14656. 3) ? NPHY_REV3_RFSEQ_CMD_END : NPHY_RFSEQ_CMD_END;
  14657. u8 end_dly = 1;
  14658. if (pi->phyhang_avoid)
  14659. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14660. t1_offset = cmd << 4;
  14661. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t1_offset, 8,
  14662. events);
  14663. t2_offset = t1_offset + 0x080;
  14664. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t2_offset, 8,
  14665. dlys);
  14666. for (ctr = len; ctr < 16; ctr++) {
  14667. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14668. t1_offset + ctr, 8, &end_event);
  14669. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14670. t2_offset + ctr, 8, &end_dly);
  14671. }
  14672. if (pi->phyhang_avoid)
  14673. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  14674. }
  14675. static u16 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy *pi, u16 offset)
  14676. {
  14677. u16 lpf_bw_ctl_val = 0;
  14678. u16 rx2tx_lpf_rc_lut_offset = 0;
  14679. if (offset == 0) {
  14680. if (CHSPEC_IS40(pi->radio_chanspec))
  14681. rx2tx_lpf_rc_lut_offset = 0x159;
  14682. else
  14683. rx2tx_lpf_rc_lut_offset = 0x154;
  14684. } else {
  14685. rx2tx_lpf_rc_lut_offset = offset;
  14686. }
  14687. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14688. (u32) rx2tx_lpf_rc_lut_offset, 16,
  14689. &lpf_bw_ctl_val);
  14690. lpf_bw_ctl_val = lpf_bw_ctl_val & 0x7;
  14691. return lpf_bw_ctl_val;
  14692. }
  14693. static void
  14694. wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value,
  14695. u8 core_mask, u8 off, u8 override_id)
  14696. {
  14697. u8 core_num;
  14698. u16 addr = 0, en_addr = 0, val_addr = 0, en_mask = 0, val_mask = 0;
  14699. u8 val_shift = 0;
  14700. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14701. en_mask = field;
  14702. for (core_num = 0; core_num < 2; core_num++) {
  14703. if (override_id == NPHY_REV7_RFCTRLOVERRIDE_ID0) {
  14704. switch (field) {
  14705. case (0x1 << 2):
  14706. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14707. val_addr = (core_num == 0) ? 0x7a :
  14708. 0x7d;
  14709. val_mask = (0x1 << 1);
  14710. val_shift = 1;
  14711. break;
  14712. case (0x1 << 3):
  14713. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14714. val_addr = (core_num == 0) ? 0x7a :
  14715. 0x7d;
  14716. val_mask = (0x1 << 2);
  14717. val_shift = 2;
  14718. break;
  14719. case (0x1 << 4):
  14720. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14721. val_addr = (core_num == 0) ? 0x7a :
  14722. 0x7d;
  14723. val_mask = (0x1 << 4);
  14724. val_shift = 4;
  14725. break;
  14726. case (0x1 << 5):
  14727. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14728. val_addr = (core_num == 0) ? 0x7a :
  14729. 0x7d;
  14730. val_mask = (0x1 << 5);
  14731. val_shift = 5;
  14732. break;
  14733. case (0x1 << 6):
  14734. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14735. val_addr = (core_num == 0) ? 0x7a :
  14736. 0x7d;
  14737. val_mask = (0x1 << 6);
  14738. val_shift = 6;
  14739. break;
  14740. case (0x1 << 7):
  14741. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14742. val_addr = (core_num == 0) ? 0x7a :
  14743. 0x7d;
  14744. val_mask = (0x1 << 7);
  14745. val_shift = 7;
  14746. break;
  14747. case (0x1 << 10):
  14748. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14749. val_addr = (core_num == 0) ? 0xf8 :
  14750. 0xfa;
  14751. val_mask = (0x7 << 4);
  14752. val_shift = 4;
  14753. break;
  14754. case (0x1 << 11):
  14755. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14756. val_addr = (core_num == 0) ? 0x7b :
  14757. 0x7e;
  14758. val_mask = (0xffff << 0);
  14759. val_shift = 0;
  14760. break;
  14761. case (0x1 << 12):
  14762. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14763. val_addr = (core_num == 0) ? 0x7c :
  14764. 0x7f;
  14765. val_mask = (0xffff << 0);
  14766. val_shift = 0;
  14767. break;
  14768. case (0x3 << 13):
  14769. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14770. val_addr = (core_num == 0) ? 0x348 :
  14771. 0x349;
  14772. val_mask = (0xff << 0);
  14773. val_shift = 0;
  14774. break;
  14775. case (0x1 << 13):
  14776. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14777. val_addr = (core_num == 0) ? 0x348 :
  14778. 0x349;
  14779. val_mask = (0xf << 0);
  14780. val_shift = 0;
  14781. break;
  14782. default:
  14783. addr = 0xffff;
  14784. break;
  14785. }
  14786. } else if (override_id ==
  14787. NPHY_REV7_RFCTRLOVERRIDE_ID1) {
  14788. switch (field) {
  14789. case (0x1 << 1):
  14790. en_addr = (core_num == 0) ? 0x342 :
  14791. 0x343;
  14792. val_addr = (core_num == 0) ? 0x340 :
  14793. 0x341;
  14794. val_mask = (0x1 << 1);
  14795. val_shift = 1;
  14796. break;
  14797. case (0x1 << 3):
  14798. en_addr = (core_num == 0) ? 0x342 :
  14799. 0x343;
  14800. val_addr = (core_num == 0) ? 0x340 :
  14801. 0x341;
  14802. val_mask = (0x1 << 3);
  14803. val_shift = 3;
  14804. break;
  14805. case (0x1 << 5):
  14806. en_addr = (core_num == 0) ? 0x342 :
  14807. 0x343;
  14808. val_addr = (core_num == 0) ? 0x340 :
  14809. 0x341;
  14810. val_mask = (0x1 << 5);
  14811. val_shift = 5;
  14812. break;
  14813. case (0x1 << 4):
  14814. en_addr = (core_num == 0) ? 0x342 :
  14815. 0x343;
  14816. val_addr = (core_num == 0) ? 0x340 :
  14817. 0x341;
  14818. val_mask = (0x1 << 4);
  14819. val_shift = 4;
  14820. break;
  14821. case (0x1 << 2):
  14822. en_addr = (core_num == 0) ? 0x342 :
  14823. 0x343;
  14824. val_addr = (core_num == 0) ? 0x340 :
  14825. 0x341;
  14826. val_mask = (0x1 << 2);
  14827. val_shift = 2;
  14828. break;
  14829. case (0x1 << 7):
  14830. en_addr = (core_num == 0) ? 0x342 :
  14831. 0x343;
  14832. val_addr = (core_num == 0) ? 0x340 :
  14833. 0x341;
  14834. val_mask = (0x7 << 8);
  14835. val_shift = 8;
  14836. break;
  14837. case (0x1 << 11):
  14838. en_addr = (core_num == 0) ? 0x342 :
  14839. 0x343;
  14840. val_addr = (core_num == 0) ? 0x340 :
  14841. 0x341;
  14842. val_mask = (0x1 << 14);
  14843. val_shift = 14;
  14844. break;
  14845. case (0x1 << 10):
  14846. en_addr = (core_num == 0) ? 0x342 :
  14847. 0x343;
  14848. val_addr = (core_num == 0) ? 0x340 :
  14849. 0x341;
  14850. val_mask = (0x1 << 13);
  14851. val_shift = 13;
  14852. break;
  14853. case (0x1 << 9):
  14854. en_addr = (core_num == 0) ? 0x342 :
  14855. 0x343;
  14856. val_addr = (core_num == 0) ? 0x340 :
  14857. 0x341;
  14858. val_mask = (0x1 << 12);
  14859. val_shift = 12;
  14860. break;
  14861. case (0x1 << 8):
  14862. en_addr = (core_num == 0) ? 0x342 :
  14863. 0x343;
  14864. val_addr = (core_num == 0) ? 0x340 :
  14865. 0x341;
  14866. val_mask = (0x1 << 11);
  14867. val_shift = 11;
  14868. break;
  14869. case (0x1 << 6):
  14870. en_addr = (core_num == 0) ? 0x342 :
  14871. 0x343;
  14872. val_addr = (core_num == 0) ? 0x340 :
  14873. 0x341;
  14874. val_mask = (0x1 << 6);
  14875. val_shift = 6;
  14876. break;
  14877. case (0x1 << 0):
  14878. en_addr = (core_num == 0) ? 0x342 :
  14879. 0x343;
  14880. val_addr = (core_num == 0) ? 0x340 :
  14881. 0x341;
  14882. val_mask = (0x1 << 0);
  14883. val_shift = 0;
  14884. break;
  14885. default:
  14886. addr = 0xffff;
  14887. break;
  14888. }
  14889. } else if (override_id ==
  14890. NPHY_REV7_RFCTRLOVERRIDE_ID2) {
  14891. switch (field) {
  14892. case (0x1 << 3):
  14893. en_addr = (core_num == 0) ? 0x346 :
  14894. 0x347;
  14895. val_addr = (core_num == 0) ? 0x344 :
  14896. 0x345;
  14897. val_mask = (0x1 << 3);
  14898. val_shift = 3;
  14899. break;
  14900. case (0x1 << 1):
  14901. en_addr = (core_num == 0) ? 0x346 :
  14902. 0x347;
  14903. val_addr = (core_num == 0) ? 0x344 :
  14904. 0x345;
  14905. val_mask = (0x1 << 1);
  14906. val_shift = 1;
  14907. break;
  14908. case (0x1 << 0):
  14909. en_addr = (core_num == 0) ? 0x346 :
  14910. 0x347;
  14911. val_addr = (core_num == 0) ? 0x344 :
  14912. 0x345;
  14913. val_mask = (0x1 << 0);
  14914. val_shift = 0;
  14915. break;
  14916. case (0x1 << 2):
  14917. en_addr = (core_num == 0) ? 0x346 :
  14918. 0x347;
  14919. val_addr = (core_num == 0) ? 0x344 :
  14920. 0x345;
  14921. val_mask = (0x1 << 2);
  14922. val_shift = 2;
  14923. break;
  14924. case (0x1 << 4):
  14925. en_addr = (core_num == 0) ? 0x346 :
  14926. 0x347;
  14927. val_addr = (core_num == 0) ? 0x344 :
  14928. 0x345;
  14929. val_mask = (0x1 << 4);
  14930. val_shift = 4;
  14931. break;
  14932. default:
  14933. addr = 0xffff;
  14934. break;
  14935. }
  14936. }
  14937. if (off) {
  14938. and_phy_reg(pi, en_addr, ~en_mask);
  14939. and_phy_reg(pi, val_addr, ~val_mask);
  14940. } else {
  14941. if ((core_mask == 0)
  14942. || (core_mask & (1 << core_num))) {
  14943. or_phy_reg(pi, en_addr, en_mask);
  14944. if (addr != 0xffff)
  14945. mod_phy_reg(pi, val_addr,
  14946. val_mask,
  14947. (value <<
  14948. val_shift));
  14949. }
  14950. }
  14951. }
  14952. }
  14953. }
  14954. static void wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy *pi)
  14955. {
  14956. uint core;
  14957. int ctr;
  14958. s16 gain_delta[2];
  14959. u8 curr_channel;
  14960. u16 minmax_gain[2];
  14961. u16 regval[4];
  14962. if (pi->phyhang_avoid)
  14963. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14964. if (pi->nphy_gain_boost) {
  14965. if ((CHSPEC_IS2G(pi->radio_chanspec))) {
  14966. gain_delta[0] = 6;
  14967. gain_delta[1] = 6;
  14968. } else {
  14969. curr_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  14970. gain_delta[0] =
  14971. (s16)
  14972. PHY_HW_ROUND(((nphy_lnagain_est0[0] *
  14973. curr_channel) +
  14974. nphy_lnagain_est0[1]), 13);
  14975. gain_delta[1] =
  14976. (s16)
  14977. PHY_HW_ROUND(((nphy_lnagain_est1[0] *
  14978. curr_channel) +
  14979. nphy_lnagain_est1[1]), 13);
  14980. }
  14981. } else {
  14982. gain_delta[0] = 0;
  14983. gain_delta[1] = 0;
  14984. }
  14985. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  14986. if (pi->nphy_elna_gain_config) {
  14987. regval[0] = nphy_def_lnagains[2] + gain_delta[core];
  14988. regval[1] = nphy_def_lnagains[3] + gain_delta[core];
  14989. regval[2] = nphy_def_lnagains[3] + gain_delta[core];
  14990. regval[3] = nphy_def_lnagains[3] + gain_delta[core];
  14991. } else {
  14992. for (ctr = 0; ctr < 4; ctr++)
  14993. regval[ctr] =
  14994. nphy_def_lnagains[ctr] +
  14995. gain_delta[core];
  14996. }
  14997. wlc_phy_table_write_nphy(pi, core, 4, 8, 16, regval);
  14998. minmax_gain[core] =
  14999. (u16) (nphy_def_lnagains[2] + gain_delta[core] + 4);
  15000. }
  15001. mod_phy_reg(pi, 0x1e, (0xff << 0), (minmax_gain[0] << 0));
  15002. mod_phy_reg(pi, 0x34, (0xff << 0), (minmax_gain[1] << 0));
  15003. if (pi->phyhang_avoid)
  15004. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  15005. }
  15006. static void
  15007. wlc_phy_war_force_trsw_to_R_cliplo_nphy(struct brcms_phy *pi, u8 core)
  15008. {
  15009. if (core == PHY_CORE_0) {
  15010. write_phy_reg(pi, 0x38, 0x4);
  15011. if (CHSPEC_IS2G(pi->radio_chanspec))
  15012. write_phy_reg(pi, 0x37, 0x0060);
  15013. else
  15014. write_phy_reg(pi, 0x37, 0x1080);
  15015. } else if (core == PHY_CORE_1) {
  15016. write_phy_reg(pi, 0x2ae, 0x4);
  15017. if (CHSPEC_IS2G(pi->radio_chanspec))
  15018. write_phy_reg(pi, 0x2ad, 0x0060);
  15019. else
  15020. write_phy_reg(pi, 0x2ad, 0x1080);
  15021. }
  15022. }
  15023. static void wlc_phy_war_txchain_upd_nphy(struct brcms_phy *pi, u8 txchain)
  15024. {
  15025. u8 txchain0, txchain1;
  15026. txchain0 = txchain & 0x1;
  15027. txchain1 = (txchain & 0x2) >> 1;
  15028. if (!txchain0)
  15029. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  15030. if (!txchain1)
  15031. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  15032. }
  15033. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy *pi)
  15034. {
  15035. s8 lna1_gain_db[] = { 8, 13, 17, 22 };
  15036. s8 lna2_gain_db[] = { -2, 7, 11, 15 };
  15037. s8 tia_gain_db[] = { -4, -1, 2, 5, 5, 5, 5, 5, 5, 5 };
  15038. s8 tia_gainbits[] = {
  15039. 0x0, 0x01, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15040. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15041. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15042. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15043. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3c << 0));
  15044. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3c << 0));
  15045. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x8, 8,
  15046. lna1_gain_db);
  15047. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x8, 8,
  15048. lna1_gain_db);
  15049. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10, 8,
  15050. lna2_gain_db);
  15051. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10, 8,
  15052. lna2_gain_db);
  15053. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15054. tia_gain_db);
  15055. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15056. tia_gain_db);
  15057. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15058. tia_gainbits);
  15059. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15060. tia_gainbits);
  15061. write_phy_reg(pi, 0x37, 0x74);
  15062. write_phy_reg(pi, 0x2ad, 0x74);
  15063. write_phy_reg(pi, 0x38, 0x18);
  15064. write_phy_reg(pi, 0x2ae, 0x18);
  15065. write_phy_reg(pi, 0x2b, 0xe8);
  15066. write_phy_reg(pi, 0x41, 0xe8);
  15067. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15068. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x12 << 0));
  15069. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x12 << 0));
  15070. } else {
  15071. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x10 << 0));
  15072. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x10 << 0));
  15073. }
  15074. }
  15075. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy *pi)
  15076. {
  15077. u16 currband;
  15078. s8 lna1G_gain_db_rev7[] = { 9, 14, 19, 24 };
  15079. s8 *lna1_gain_db = NULL;
  15080. s8 *lna1_gain_db_2 = NULL;
  15081. s8 *lna2_gain_db = NULL;
  15082. s8 tiaA_gain_db_rev7[] = { -9, -6, -3, 0, 3, 3, 3, 3, 3, 3 };
  15083. s8 *tia_gain_db;
  15084. s8 tiaA_gainbits_rev7[] = { 0, 1, 2, 3, 4, 4, 4, 4, 4, 4 };
  15085. s8 *tia_gainbits;
  15086. u16 rfseqA_init_gain_rev7[] = { 0x624f, 0x624f };
  15087. u16 *rfseq_init_gain;
  15088. u16 init_gaincode;
  15089. u16 clip1hi_gaincode;
  15090. u16 clip1md_gaincode = 0;
  15091. u16 clip1md_gaincode_B;
  15092. u16 clip1lo_gaincode;
  15093. u16 clip1lo_gaincode_B;
  15094. u8 crsminl_th = 0;
  15095. u8 crsminu_th;
  15096. u16 nbclip_th = 0;
  15097. u8 w1clip_th;
  15098. u16 freq;
  15099. s8 nvar_baseline_offset0 = 0, nvar_baseline_offset1 = 0;
  15100. u8 chg_nbclip_th = 0;
  15101. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15102. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15103. currband = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15104. if (currband == 0) {
  15105. lna1_gain_db = lna1G_gain_db_rev7;
  15106. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15107. lna1_gain_db);
  15108. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15109. lna1_gain_db);
  15110. mod_phy_reg(pi, 0x283, (0xff << 0), (0x40 << 0));
  15111. if (CHSPEC_IS40(pi->radio_chanspec)) {
  15112. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3e << 0));
  15113. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3e << 0));
  15114. }
  15115. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15116. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15117. mod_phy_reg(pi, 0x300, (0x3f << 0), (13 << 0));
  15118. mod_phy_reg(pi, 0x301, (0x3f << 0), (13 << 0));
  15119. }
  15120. } else {
  15121. init_gaincode = 0x9e;
  15122. clip1hi_gaincode = 0x9e;
  15123. clip1md_gaincode_B = 0x24;
  15124. clip1lo_gaincode = 0x8a;
  15125. clip1lo_gaincode_B = 8;
  15126. rfseq_init_gain = rfseqA_init_gain_rev7;
  15127. tia_gain_db = tiaA_gain_db_rev7;
  15128. tia_gainbits = tiaA_gainbits_rev7;
  15129. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  15130. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15131. w1clip_th = 25;
  15132. clip1md_gaincode = 0x82;
  15133. if ((freq <= 5080) || (freq == 5825)) {
  15134. s8 lna1A_gain_db_rev7[] = { 11, 16, 20, 24 };
  15135. s8 lna1A_gain_db_2_rev7[] = {
  15136. 11, 17, 22, 25};
  15137. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15138. crsminu_th = 0x3e;
  15139. lna1_gain_db = lna1A_gain_db_rev7;
  15140. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15141. lna2_gain_db = lna2A_gain_db_rev7;
  15142. } else if ((freq >= 5500) && (freq <= 5700)) {
  15143. s8 lna1A_gain_db_rev7[] = { 11, 17, 21, 25 };
  15144. s8 lna1A_gain_db_2_rev7[] = {
  15145. 12, 18, 22, 26};
  15146. s8 lna2A_gain_db_rev7[] = { 1, 8, 12, 16 };
  15147. crsminu_th = 0x45;
  15148. clip1md_gaincode_B = 0x14;
  15149. nbclip_th = 0xff;
  15150. chg_nbclip_th = 1;
  15151. lna1_gain_db = lna1A_gain_db_rev7;
  15152. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15153. lna2_gain_db = lna2A_gain_db_rev7;
  15154. } else {
  15155. s8 lna1A_gain_db_rev7[] = { 12, 18, 22, 26 };
  15156. s8 lna1A_gain_db_2_rev7[] = {
  15157. 12, 18, 22, 26};
  15158. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15159. crsminu_th = 0x41;
  15160. lna1_gain_db = lna1A_gain_db_rev7;
  15161. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15162. lna2_gain_db = lna2A_gain_db_rev7;
  15163. }
  15164. if (freq <= 4920) {
  15165. nvar_baseline_offset0 = 5;
  15166. nvar_baseline_offset1 = 5;
  15167. } else if ((freq > 4920) && (freq <= 5320)) {
  15168. nvar_baseline_offset0 = 3;
  15169. nvar_baseline_offset1 = 5;
  15170. } else if ((freq > 5320) && (freq <= 5700)) {
  15171. nvar_baseline_offset0 = 3;
  15172. nvar_baseline_offset1 = 2;
  15173. } else {
  15174. nvar_baseline_offset0 = 4;
  15175. nvar_baseline_offset1 = 0;
  15176. }
  15177. } else {
  15178. crsminu_th = 0x3a;
  15179. crsminl_th = 0x3a;
  15180. w1clip_th = 20;
  15181. if ((freq >= 4920) && (freq <= 5320)) {
  15182. nvar_baseline_offset0 = 4;
  15183. nvar_baseline_offset1 = 5;
  15184. } else if ((freq > 5320) && (freq <= 5550)) {
  15185. nvar_baseline_offset0 = 4;
  15186. nvar_baseline_offset1 = 2;
  15187. } else {
  15188. nvar_baseline_offset0 = 5;
  15189. nvar_baseline_offset1 = 3;
  15190. }
  15191. }
  15192. write_phy_reg(pi, 0x20, init_gaincode);
  15193. write_phy_reg(pi, 0x2a7, init_gaincode);
  15194. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15195. pi->pubpi.phy_corenum, 0x106, 16,
  15196. rfseq_init_gain);
  15197. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15198. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15199. write_phy_reg(pi, 0x36, clip1md_gaincode_B);
  15200. write_phy_reg(pi, 0x2ac, clip1md_gaincode_B);
  15201. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15202. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15203. write_phy_reg(pi, 0x38, clip1lo_gaincode_B);
  15204. write_phy_reg(pi, 0x2ae, clip1lo_gaincode_B);
  15205. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15206. tia_gain_db);
  15207. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15208. tia_gain_db);
  15209. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15210. tia_gainbits);
  15211. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15212. tia_gainbits);
  15213. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15214. if (chg_nbclip_th == 1) {
  15215. write_phy_reg(pi, 0x2b, nbclip_th);
  15216. write_phy_reg(pi, 0x41, nbclip_th);
  15217. }
  15218. mod_phy_reg(pi, 0x300, (0x3f << 0), (w1clip_th << 0));
  15219. mod_phy_reg(pi, 0x301, (0x3f << 0), (w1clip_th << 0));
  15220. mod_phy_reg(pi, 0x2e4,
  15221. (0x3f << 0), (nvar_baseline_offset0 << 0));
  15222. mod_phy_reg(pi, 0x2e4,
  15223. (0x3f << 6), (nvar_baseline_offset1 << 6));
  15224. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15225. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15226. lna1_gain_db);
  15227. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15228. lna1_gain_db_2);
  15229. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15230. 8, lna2_gain_db);
  15231. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15232. 8, lna2_gain_db);
  15233. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15234. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15235. } else {
  15236. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15237. }
  15238. }
  15239. }
  15240. static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi)
  15241. {
  15242. u16 w1th, hpf_code, currband;
  15243. int ctr;
  15244. u8 rfseq_updategainu_events[] = {
  15245. NPHY_RFSEQ_CMD_RX_GAIN,
  15246. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15247. NPHY_RFSEQ_CMD_SET_HPF_BW
  15248. };
  15249. u8 rfseq_updategainu_dlys[] = { 10, 30, 1 };
  15250. s8 lna1G_gain_db[] = { 7, 11, 16, 23 };
  15251. s8 lna1G_gain_db_rev4[] = { 8, 12, 17, 25 };
  15252. s8 lna1G_gain_db_rev5[] = { 9, 13, 18, 26 };
  15253. s8 lna1G_gain_db_rev6[] = { 8, 13, 18, 25 };
  15254. s8 lna1G_gain_db_rev6_224B0[] = { 10, 14, 19, 27 };
  15255. s8 lna1A_gain_db[] = { 7, 11, 17, 23 };
  15256. s8 lna1A_gain_db_rev4[] = { 8, 12, 18, 23 };
  15257. s8 lna1A_gain_db_rev5[] = { 6, 10, 16, 21 };
  15258. s8 lna1A_gain_db_rev6[] = { 6, 10, 16, 21 };
  15259. s8 *lna1_gain_db = NULL;
  15260. s8 lna2G_gain_db[] = { -5, 6, 10, 14 };
  15261. s8 lna2G_gain_db_rev5[] = { -3, 7, 11, 16 };
  15262. s8 lna2G_gain_db_rev6[] = { -5, 6, 10, 14 };
  15263. s8 lna2G_gain_db_rev6_224B0[] = { -5, 6, 10, 15 };
  15264. s8 lna2A_gain_db[] = { -6, 2, 6, 10 };
  15265. s8 lna2A_gain_db_rev4[] = { -5, 2, 6, 10 };
  15266. s8 lna2A_gain_db_rev5[] = { -7, 0, 4, 8 };
  15267. s8 lna2A_gain_db_rev6[] = { -7, 0, 4, 8 };
  15268. s8 *lna2_gain_db = NULL;
  15269. s8 tiaG_gain_db[] = {
  15270. 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A };
  15271. s8 tiaA_gain_db[] = {
  15272. 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13 };
  15273. s8 tiaA_gain_db_rev4[] = {
  15274. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15275. s8 tiaA_gain_db_rev5[] = {
  15276. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15277. s8 tiaA_gain_db_rev6[] = {
  15278. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15279. s8 *tia_gain_db;
  15280. s8 tiaG_gainbits[] = {
  15281. 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15282. s8 tiaA_gainbits[] = {
  15283. 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06 };
  15284. s8 tiaA_gainbits_rev4[] = {
  15285. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15286. s8 tiaA_gainbits_rev5[] = {
  15287. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15288. s8 tiaA_gainbits_rev6[] = {
  15289. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15290. s8 *tia_gainbits;
  15291. s8 lpf_gain_db[] = { 0x00, 0x06, 0x0c, 0x12, 0x12, 0x12 };
  15292. s8 lpf_gainbits[] = { 0x00, 0x01, 0x02, 0x03, 0x03, 0x03 };
  15293. u16 rfseqG_init_gain[] = { 0x613f, 0x613f, 0x613f, 0x613f };
  15294. u16 rfseqG_init_gain_rev4[] = { 0x513f, 0x513f, 0x513f, 0x513f };
  15295. u16 rfseqG_init_gain_rev5[] = { 0x413f, 0x413f, 0x413f, 0x413f };
  15296. u16 rfseqG_init_gain_rev5_elna[] = {
  15297. 0x013f, 0x013f, 0x013f, 0x013f };
  15298. u16 rfseqG_init_gain_rev6[] = { 0x513f, 0x513f };
  15299. u16 rfseqG_init_gain_rev6_224B0[] = { 0x413f, 0x413f };
  15300. u16 rfseqG_init_gain_rev6_elna[] = { 0x113f, 0x113f };
  15301. u16 rfseqA_init_gain[] = { 0x516f, 0x516f, 0x516f, 0x516f };
  15302. u16 rfseqA_init_gain_rev4[] = { 0x614f, 0x614f, 0x614f, 0x614f };
  15303. u16 rfseqA_init_gain_rev4_elna[] = {
  15304. 0x314f, 0x314f, 0x314f, 0x314f };
  15305. u16 rfseqA_init_gain_rev5[] = { 0x714f, 0x714f, 0x714f, 0x714f };
  15306. u16 rfseqA_init_gain_rev6[] = { 0x714f, 0x714f };
  15307. u16 *rfseq_init_gain;
  15308. u16 initG_gaincode = 0x627e;
  15309. u16 initG_gaincode_rev4 = 0x527e;
  15310. u16 initG_gaincode_rev5 = 0x427e;
  15311. u16 initG_gaincode_rev5_elna = 0x027e;
  15312. u16 initG_gaincode_rev6 = 0x527e;
  15313. u16 initG_gaincode_rev6_224B0 = 0x427e;
  15314. u16 initG_gaincode_rev6_elna = 0x127e;
  15315. u16 initA_gaincode = 0x52de;
  15316. u16 initA_gaincode_rev4 = 0x629e;
  15317. u16 initA_gaincode_rev4_elna = 0x329e;
  15318. u16 initA_gaincode_rev5 = 0x729e;
  15319. u16 initA_gaincode_rev6 = 0x729e;
  15320. u16 init_gaincode;
  15321. u16 clip1hiG_gaincode = 0x107e;
  15322. u16 clip1hiG_gaincode_rev4 = 0x007e;
  15323. u16 clip1hiG_gaincode_rev5 = 0x1076;
  15324. u16 clip1hiG_gaincode_rev6 = 0x007e;
  15325. u16 clip1hiA_gaincode = 0x00de;
  15326. u16 clip1hiA_gaincode_rev4 = 0x029e;
  15327. u16 clip1hiA_gaincode_rev5 = 0x029e;
  15328. u16 clip1hiA_gaincode_rev6 = 0x029e;
  15329. u16 clip1hi_gaincode;
  15330. u16 clip1mdG_gaincode = 0x0066;
  15331. u16 clip1mdA_gaincode = 0x00ca;
  15332. u16 clip1mdA_gaincode_rev4 = 0x1084;
  15333. u16 clip1mdA_gaincode_rev5 = 0x2084;
  15334. u16 clip1mdA_gaincode_rev6 = 0x2084;
  15335. u16 clip1md_gaincode = 0;
  15336. u16 clip1loG_gaincode = 0x0074;
  15337. u16 clip1loG_gaincode_rev5[] = {
  15338. 0x0062, 0x0064, 0x006a, 0x106a, 0x106c, 0x1074, 0x107c, 0x207c
  15339. };
  15340. u16 clip1loG_gaincode_rev6[] = {
  15341. 0x106a, 0x106c, 0x1074, 0x107c, 0x007e, 0x107e, 0x207e, 0x307e
  15342. };
  15343. u16 clip1loG_gaincode_rev6_224B0 = 0x1074;
  15344. u16 clip1loA_gaincode = 0x00cc;
  15345. u16 clip1loA_gaincode_rev4 = 0x0086;
  15346. u16 clip1loA_gaincode_rev5 = 0x2086;
  15347. u16 clip1loA_gaincode_rev6 = 0x2086;
  15348. u16 clip1lo_gaincode;
  15349. u8 crsminG_th = 0x18;
  15350. u8 crsminG_th_rev5 = 0x18;
  15351. u8 crsminG_th_rev6 = 0x18;
  15352. u8 crsminA_th = 0x1e;
  15353. u8 crsminA_th_rev4 = 0x24;
  15354. u8 crsminA_th_rev5 = 0x24;
  15355. u8 crsminA_th_rev6 = 0x24;
  15356. u8 crsmin_th;
  15357. u8 crsminlG_th = 0x18;
  15358. u8 crsminlG_th_rev5 = 0x18;
  15359. u8 crsminlG_th_rev6 = 0x18;
  15360. u8 crsminlA_th = 0x1e;
  15361. u8 crsminlA_th_rev4 = 0x24;
  15362. u8 crsminlA_th_rev5 = 0x24;
  15363. u8 crsminlA_th_rev6 = 0x24;
  15364. u8 crsminl_th = 0;
  15365. u8 crsminuG_th = 0x18;
  15366. u8 crsminuG_th_rev5 = 0x18;
  15367. u8 crsminuG_th_rev6 = 0x18;
  15368. u8 crsminuA_th = 0x1e;
  15369. u8 crsminuA_th_rev4 = 0x24;
  15370. u8 crsminuA_th_rev5 = 0x24;
  15371. u8 crsminuA_th_rev6 = 0x24;
  15372. u8 crsminuA_th_rev6_224B0 = 0x2d;
  15373. u8 crsminu_th;
  15374. u16 nbclipG_th = 0x20d;
  15375. u16 nbclipG_th_rev4 = 0x1a1;
  15376. u16 nbclipG_th_rev5 = 0x1d0;
  15377. u16 nbclipG_th_rev6 = 0x1d0;
  15378. u16 nbclipA_th = 0x1a1;
  15379. u16 nbclipA_th_rev4 = 0x107;
  15380. u16 nbclipA_th_rev5 = 0x0a9;
  15381. u16 nbclipA_th_rev6 = 0x0f0;
  15382. u16 nbclip_th = 0;
  15383. u8 w1clipG_th = 5;
  15384. u8 w1clipG_th_rev5 = 9;
  15385. u8 w1clipG_th_rev6 = 5;
  15386. u8 w1clipA_th = 25, w1clip_th;
  15387. u8 rssi_gain_default = 0x50;
  15388. u8 rssiG_gain_rev6_224B0 = 0x50;
  15389. u8 rssiA_gain_rev5 = 0x90;
  15390. u8 rssiA_gain_rev6 = 0x90;
  15391. u8 rssi_gain;
  15392. u16 regval[21];
  15393. u8 triso;
  15394. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.triso :
  15395. pi->srom_fem2g.triso;
  15396. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15397. if (pi->pubpi.radiorev == 5) {
  15398. wlc_phy_workarounds_nphy_gainctrl_2057_rev5(pi);
  15399. } else if (pi->pubpi.radiorev == 7) {
  15400. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15401. mod_phy_reg(pi, 0x283, (0xff << 0), (0x44 << 0));
  15402. mod_phy_reg(pi, 0x280, (0xff << 0), (0x44 << 0));
  15403. } else if ((pi->pubpi.radiorev == 3)
  15404. || (pi->pubpi.radiorev == 8)) {
  15405. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15406. if (pi->pubpi.radiorev == 8) {
  15407. mod_phy_reg(pi, 0x283,
  15408. (0xff << 0), (0x44 << 0));
  15409. mod_phy_reg(pi, 0x280,
  15410. (0xff << 0), (0x44 << 0));
  15411. }
  15412. } else {
  15413. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15414. }
  15415. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  15416. mod_phy_reg(pi, 0xa0, (0x1 << 6), (1 << 6));
  15417. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15418. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15419. currband =
  15420. read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15421. if (currband == 0) {
  15422. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15423. if (pi->pubpi.radiorev == 11) {
  15424. lna1_gain_db = lna1G_gain_db_rev6_224B0;
  15425. lna2_gain_db = lna2G_gain_db_rev6_224B0;
  15426. rfseq_init_gain =
  15427. rfseqG_init_gain_rev6_224B0;
  15428. init_gaincode =
  15429. initG_gaincode_rev6_224B0;
  15430. clip1hi_gaincode =
  15431. clip1hiG_gaincode_rev6;
  15432. clip1lo_gaincode =
  15433. clip1loG_gaincode_rev6_224B0;
  15434. nbclip_th = nbclipG_th_rev6;
  15435. w1clip_th = w1clipG_th_rev6;
  15436. crsmin_th = crsminG_th_rev6;
  15437. crsminl_th = crsminlG_th_rev6;
  15438. crsminu_th = crsminuG_th_rev6;
  15439. rssi_gain = rssiG_gain_rev6_224B0;
  15440. } else {
  15441. lna1_gain_db = lna1G_gain_db_rev6;
  15442. lna2_gain_db = lna2G_gain_db_rev6;
  15443. if (pi->sh->boardflags & BFL_EXTLNA) {
  15444. rfseq_init_gain =
  15445. rfseqG_init_gain_rev6_elna;
  15446. init_gaincode =
  15447. initG_gaincode_rev6_elna;
  15448. } else {
  15449. rfseq_init_gain =
  15450. rfseqG_init_gain_rev6;
  15451. init_gaincode =
  15452. initG_gaincode_rev6;
  15453. }
  15454. clip1hi_gaincode =
  15455. clip1hiG_gaincode_rev6;
  15456. switch (triso) {
  15457. case 0:
  15458. clip1lo_gaincode =
  15459. clip1loG_gaincode_rev6
  15460. [0];
  15461. break;
  15462. case 1:
  15463. clip1lo_gaincode =
  15464. clip1loG_gaincode_rev6
  15465. [1];
  15466. break;
  15467. case 2:
  15468. clip1lo_gaincode =
  15469. clip1loG_gaincode_rev6
  15470. [2];
  15471. break;
  15472. case 3:
  15473. default:
  15474. clip1lo_gaincode =
  15475. clip1loG_gaincode_rev6
  15476. [3];
  15477. break;
  15478. case 4:
  15479. clip1lo_gaincode =
  15480. clip1loG_gaincode_rev6
  15481. [4];
  15482. break;
  15483. case 5:
  15484. clip1lo_gaincode =
  15485. clip1loG_gaincode_rev6
  15486. [5];
  15487. break;
  15488. case 6:
  15489. clip1lo_gaincode =
  15490. clip1loG_gaincode_rev6
  15491. [6];
  15492. break;
  15493. case 7:
  15494. clip1lo_gaincode =
  15495. clip1loG_gaincode_rev6
  15496. [7];
  15497. break;
  15498. }
  15499. nbclip_th = nbclipG_th_rev6;
  15500. w1clip_th = w1clipG_th_rev6;
  15501. crsmin_th = crsminG_th_rev6;
  15502. crsminl_th = crsminlG_th_rev6;
  15503. crsminu_th = crsminuG_th_rev6;
  15504. rssi_gain = rssi_gain_default;
  15505. }
  15506. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15507. lna1_gain_db = lna1G_gain_db_rev5;
  15508. lna2_gain_db = lna2G_gain_db_rev5;
  15509. if (pi->sh->boardflags & BFL_EXTLNA) {
  15510. rfseq_init_gain =
  15511. rfseqG_init_gain_rev5_elna;
  15512. init_gaincode =
  15513. initG_gaincode_rev5_elna;
  15514. } else {
  15515. rfseq_init_gain = rfseqG_init_gain_rev5;
  15516. init_gaincode = initG_gaincode_rev5;
  15517. }
  15518. clip1hi_gaincode = clip1hiG_gaincode_rev5;
  15519. switch (triso) {
  15520. case 0:
  15521. clip1lo_gaincode =
  15522. clip1loG_gaincode_rev5[0];
  15523. break;
  15524. case 1:
  15525. clip1lo_gaincode =
  15526. clip1loG_gaincode_rev5[1];
  15527. break;
  15528. case 2:
  15529. clip1lo_gaincode =
  15530. clip1loG_gaincode_rev5[2];
  15531. break;
  15532. case 3:
  15533. clip1lo_gaincode =
  15534. clip1loG_gaincode_rev5[3];
  15535. break;
  15536. case 4:
  15537. clip1lo_gaincode =
  15538. clip1loG_gaincode_rev5[4];
  15539. break;
  15540. case 5:
  15541. clip1lo_gaincode =
  15542. clip1loG_gaincode_rev5[5];
  15543. break;
  15544. case 6:
  15545. clip1lo_gaincode =
  15546. clip1loG_gaincode_rev5[6];
  15547. break;
  15548. case 7:
  15549. clip1lo_gaincode =
  15550. clip1loG_gaincode_rev5[7];
  15551. break;
  15552. default:
  15553. clip1lo_gaincode =
  15554. clip1loG_gaincode_rev5[3];
  15555. break;
  15556. }
  15557. nbclip_th = nbclipG_th_rev5;
  15558. w1clip_th = w1clipG_th_rev5;
  15559. crsmin_th = crsminG_th_rev5;
  15560. crsminl_th = crsminlG_th_rev5;
  15561. crsminu_th = crsminuG_th_rev5;
  15562. rssi_gain = rssi_gain_default;
  15563. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15564. lna1_gain_db = lna1G_gain_db_rev4;
  15565. lna2_gain_db = lna2G_gain_db;
  15566. rfseq_init_gain = rfseqG_init_gain_rev4;
  15567. init_gaincode = initG_gaincode_rev4;
  15568. clip1hi_gaincode = clip1hiG_gaincode_rev4;
  15569. clip1lo_gaincode = clip1loG_gaincode;
  15570. nbclip_th = nbclipG_th_rev4;
  15571. w1clip_th = w1clipG_th;
  15572. crsmin_th = crsminG_th;
  15573. crsminl_th = crsminlG_th;
  15574. crsminu_th = crsminuG_th;
  15575. rssi_gain = rssi_gain_default;
  15576. } else {
  15577. lna1_gain_db = lna1G_gain_db;
  15578. lna2_gain_db = lna2G_gain_db;
  15579. rfseq_init_gain = rfseqG_init_gain;
  15580. init_gaincode = initG_gaincode;
  15581. clip1hi_gaincode = clip1hiG_gaincode;
  15582. clip1lo_gaincode = clip1loG_gaincode;
  15583. nbclip_th = nbclipG_th;
  15584. w1clip_th = w1clipG_th;
  15585. crsmin_th = crsminG_th;
  15586. crsminl_th = crsminlG_th;
  15587. crsminu_th = crsminuG_th;
  15588. rssi_gain = rssi_gain_default;
  15589. }
  15590. tia_gain_db = tiaG_gain_db;
  15591. tia_gainbits = tiaG_gainbits;
  15592. clip1md_gaincode = clip1mdG_gaincode;
  15593. } else {
  15594. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15595. lna1_gain_db = lna1A_gain_db_rev6;
  15596. lna2_gain_db = lna2A_gain_db_rev6;
  15597. tia_gain_db = tiaA_gain_db_rev6;
  15598. tia_gainbits = tiaA_gainbits_rev6;
  15599. rfseq_init_gain = rfseqA_init_gain_rev6;
  15600. init_gaincode = initA_gaincode_rev6;
  15601. clip1hi_gaincode = clip1hiA_gaincode_rev6;
  15602. clip1md_gaincode = clip1mdA_gaincode_rev6;
  15603. clip1lo_gaincode = clip1loA_gaincode_rev6;
  15604. crsmin_th = crsminA_th_rev6;
  15605. crsminl_th = crsminlA_th_rev6;
  15606. if ((pi->pubpi.radiorev == 11) &&
  15607. (CHSPEC_IS40(pi->radio_chanspec) == 0))
  15608. crsminu_th = crsminuA_th_rev6_224B0;
  15609. else
  15610. crsminu_th = crsminuA_th_rev6;
  15611. nbclip_th = nbclipA_th_rev6;
  15612. rssi_gain = rssiA_gain_rev6;
  15613. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15614. lna1_gain_db = lna1A_gain_db_rev5;
  15615. lna2_gain_db = lna2A_gain_db_rev5;
  15616. tia_gain_db = tiaA_gain_db_rev5;
  15617. tia_gainbits = tiaA_gainbits_rev5;
  15618. rfseq_init_gain = rfseqA_init_gain_rev5;
  15619. init_gaincode = initA_gaincode_rev5;
  15620. clip1hi_gaincode = clip1hiA_gaincode_rev5;
  15621. clip1md_gaincode = clip1mdA_gaincode_rev5;
  15622. clip1lo_gaincode = clip1loA_gaincode_rev5;
  15623. crsmin_th = crsminA_th_rev5;
  15624. crsminl_th = crsminlA_th_rev5;
  15625. crsminu_th = crsminuA_th_rev5;
  15626. nbclip_th = nbclipA_th_rev5;
  15627. rssi_gain = rssiA_gain_rev5;
  15628. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15629. lna1_gain_db = lna1A_gain_db_rev4;
  15630. lna2_gain_db = lna2A_gain_db_rev4;
  15631. tia_gain_db = tiaA_gain_db_rev4;
  15632. tia_gainbits = tiaA_gainbits_rev4;
  15633. if (pi->sh->boardflags & BFL_EXTLNA_5GHz) {
  15634. rfseq_init_gain =
  15635. rfseqA_init_gain_rev4_elna;
  15636. init_gaincode =
  15637. initA_gaincode_rev4_elna;
  15638. } else {
  15639. rfseq_init_gain = rfseqA_init_gain_rev4;
  15640. init_gaincode = initA_gaincode_rev4;
  15641. }
  15642. clip1hi_gaincode = clip1hiA_gaincode_rev4;
  15643. clip1md_gaincode = clip1mdA_gaincode_rev4;
  15644. clip1lo_gaincode = clip1loA_gaincode_rev4;
  15645. crsmin_th = crsminA_th_rev4;
  15646. crsminl_th = crsminlA_th_rev4;
  15647. crsminu_th = crsminuA_th_rev4;
  15648. nbclip_th = nbclipA_th_rev4;
  15649. rssi_gain = rssi_gain_default;
  15650. } else {
  15651. lna1_gain_db = lna1A_gain_db;
  15652. lna2_gain_db = lna2A_gain_db;
  15653. tia_gain_db = tiaA_gain_db;
  15654. tia_gainbits = tiaA_gainbits;
  15655. rfseq_init_gain = rfseqA_init_gain;
  15656. init_gaincode = initA_gaincode;
  15657. clip1hi_gaincode = clip1hiA_gaincode;
  15658. clip1md_gaincode = clip1mdA_gaincode;
  15659. clip1lo_gaincode = clip1loA_gaincode;
  15660. crsmin_th = crsminA_th;
  15661. crsminl_th = crsminlA_th;
  15662. crsminu_th = crsminuA_th;
  15663. nbclip_th = nbclipA_th;
  15664. rssi_gain = rssi_gain_default;
  15665. }
  15666. w1clip_th = w1clipA_th;
  15667. }
  15668. write_radio_reg(pi,
  15669. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15670. RADIO_2056_RX0), 0x17);
  15671. write_radio_reg(pi,
  15672. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15673. RADIO_2056_RX1), 0x17);
  15674. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX0),
  15675. 0xf0);
  15676. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX1),
  15677. 0xf0);
  15678. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX0),
  15679. 0x0);
  15680. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX1),
  15681. 0x0);
  15682. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX0),
  15683. rssi_gain);
  15684. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX1),
  15685. rssi_gain);
  15686. write_radio_reg(pi,
  15687. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15688. RADIO_2056_RX0), 0x17);
  15689. write_radio_reg(pi,
  15690. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15691. RADIO_2056_RX1), 0x17);
  15692. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX0),
  15693. 0xFF);
  15694. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX1),
  15695. 0xFF);
  15696. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8,
  15697. 8, lna1_gain_db);
  15698. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8,
  15699. 8, lna1_gain_db);
  15700. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15701. 8, lna2_gain_db);
  15702. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15703. 8, lna2_gain_db);
  15704. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20,
  15705. 8, tia_gain_db);
  15706. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20,
  15707. 8, tia_gain_db);
  15708. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20,
  15709. 8, tia_gainbits);
  15710. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20,
  15711. 8, tia_gainbits);
  15712. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 6, 0x40,
  15713. 8, &lpf_gain_db);
  15714. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 6, 0x40,
  15715. 8, &lpf_gain_db);
  15716. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 6, 0x40,
  15717. 8, &lpf_gainbits);
  15718. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 6, 0x40,
  15719. 8, &lpf_gainbits);
  15720. write_phy_reg(pi, 0x20, init_gaincode);
  15721. write_phy_reg(pi, 0x2a7, init_gaincode);
  15722. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15723. pi->pubpi.phy_corenum, 0x106, 16,
  15724. rfseq_init_gain);
  15725. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15726. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15727. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15728. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15729. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15730. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15731. mod_phy_reg(pi, 0x27d, (0xff << 0), (crsmin_th << 0));
  15732. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15733. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15734. write_phy_reg(pi, 0x2b, nbclip_th);
  15735. write_phy_reg(pi, 0x41, nbclip_th);
  15736. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1clip_th << 0));
  15737. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1clip_th << 0));
  15738. write_phy_reg(pi, 0x150, 0x809c);
  15739. } else {
  15740. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15741. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15742. write_phy_reg(pi, 0x2b, 0x84);
  15743. write_phy_reg(pi, 0x41, 0x84);
  15744. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15745. write_phy_reg(pi, 0x6b, 0x2b);
  15746. write_phy_reg(pi, 0x6c, 0x2b);
  15747. write_phy_reg(pi, 0x6d, 0x9);
  15748. write_phy_reg(pi, 0x6e, 0x9);
  15749. }
  15750. w1th = NPHY_RSSICAL_W1_TARGET - 4;
  15751. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1th << 0));
  15752. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1th << 0));
  15753. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15754. mod_phy_reg(pi, 0x1c, (0x1f << 0), (0x1 << 0));
  15755. mod_phy_reg(pi, 0x32, (0x1f << 0), (0x1 << 0));
  15756. mod_phy_reg(pi, 0x1d, (0x1f << 0), (0x1 << 0));
  15757. mod_phy_reg(pi, 0x33, (0x1f << 0), (0x1 << 0));
  15758. }
  15759. write_phy_reg(pi, 0x150, 0x809c);
  15760. if (pi->nphy_gain_boost)
  15761. if ((CHSPEC_IS2G(pi->radio_chanspec)) &&
  15762. (CHSPEC_IS40(pi->radio_chanspec)))
  15763. hpf_code = 4;
  15764. else
  15765. hpf_code = 5;
  15766. else if (CHSPEC_IS40(pi->radio_chanspec))
  15767. hpf_code = 6;
  15768. else
  15769. hpf_code = 7;
  15770. mod_phy_reg(pi, 0x20, (0x1f << 7), (hpf_code << 7));
  15771. mod_phy_reg(pi, 0x36, (0x1f << 7), (hpf_code << 7));
  15772. for (ctr = 0; ctr < 4; ctr++)
  15773. regval[ctr] = (hpf_code << 8) | 0x7c;
  15774. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15775. wlc_phy_adjust_lnagaintbl_nphy(pi);
  15776. if (pi->nphy_elna_gain_config) {
  15777. regval[0] = 0;
  15778. regval[1] = 1;
  15779. regval[2] = 1;
  15780. regval[3] = 1;
  15781. wlc_phy_table_write_nphy(pi, 2, 4, 8, 16, regval);
  15782. wlc_phy_table_write_nphy(pi, 3, 4, 8, 16, regval);
  15783. for (ctr = 0; ctr < 4; ctr++)
  15784. regval[ctr] = (hpf_code << 8) | 0x74;
  15785. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15786. }
  15787. if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  15788. for (ctr = 0; ctr < 21; ctr++)
  15789. regval[ctr] = 3 * ctr;
  15790. wlc_phy_table_write_nphy(pi, 0, 21, 32, 16, regval);
  15791. wlc_phy_table_write_nphy(pi, 1, 21, 32, 16, regval);
  15792. for (ctr = 0; ctr < 21; ctr++)
  15793. regval[ctr] = (u16) ctr;
  15794. wlc_phy_table_write_nphy(pi, 2, 21, 32, 16, regval);
  15795. wlc_phy_table_write_nphy(pi, 3, 21, 32, 16, regval);
  15796. }
  15797. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_UPDATEGAINU,
  15798. rfseq_updategainu_events,
  15799. rfseq_updategainu_dlys,
  15800. sizeof(rfseq_updategainu_events) /
  15801. sizeof(rfseq_updategainu_events[0]));
  15802. mod_phy_reg(pi, 0x153, (0xff << 8), (90 << 8));
  15803. if (CHSPEC_IS2G(pi->radio_chanspec))
  15804. mod_phy_reg(pi,
  15805. (NPHY_TO_BPHY_OFF + BPHY_OPTIONAL_MODES),
  15806. 0x7f, 0x4);
  15807. }
  15808. }
  15809. static void wlc_phy_workarounds_nphy(struct brcms_phy *pi)
  15810. {
  15811. u8 rfseq_rx2tx_events[] = {
  15812. NPHY_RFSEQ_CMD_NOP,
  15813. NPHY_RFSEQ_CMD_RXG_FBW,
  15814. NPHY_RFSEQ_CMD_TR_SWITCH,
  15815. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15816. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15817. NPHY_RFSEQ_CMD_TX_GAIN,
  15818. NPHY_RFSEQ_CMD_EXT_PA
  15819. };
  15820. u8 rfseq_rx2tx_dlys[] = { 8, 6, 6, 2, 4, 60, 1 };
  15821. u8 rfseq_tx2rx_events[] = {
  15822. NPHY_RFSEQ_CMD_NOP,
  15823. NPHY_RFSEQ_CMD_EXT_PA,
  15824. NPHY_RFSEQ_CMD_TX_GAIN,
  15825. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15826. NPHY_RFSEQ_CMD_TR_SWITCH,
  15827. NPHY_RFSEQ_CMD_RXG_FBW,
  15828. NPHY_RFSEQ_CMD_CLR_HIQ_DIS
  15829. };
  15830. u8 rfseq_tx2rx_dlys[] = { 8, 6, 2, 4, 4, 6, 1 };
  15831. u8 rfseq_tx2rx_events_rev3[] = {
  15832. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15833. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15834. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15835. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15836. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15837. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15838. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15839. NPHY_REV3_RFSEQ_CMD_END
  15840. };
  15841. u8 rfseq_tx2rx_dlys_rev3[] = { 8, 4, 2, 2, 4, 4, 6, 1 };
  15842. u8 rfseq_rx2tx_events_rev3[] = {
  15843. NPHY_REV3_RFSEQ_CMD_NOP,
  15844. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15845. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15846. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15847. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15848. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15849. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15850. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15851. NPHY_REV3_RFSEQ_CMD_END
  15852. };
  15853. u8 rfseq_rx2tx_dlys_rev3[] = { 8, 6, 6, 4, 4, 18, 42, 1, 1 };
  15854. u8 rfseq_rx2tx_events_rev3_ipa[] = {
  15855. NPHY_REV3_RFSEQ_CMD_NOP,
  15856. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15857. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15858. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15859. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15860. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15861. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  15862. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15863. NPHY_REV3_RFSEQ_CMD_END
  15864. };
  15865. u8 rfseq_rx2tx_dlys_rev3_ipa[] = { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  15866. u16 rfseq_rx2tx_dacbufpu_rev7[] = { 0x10f, 0x10f };
  15867. s16 alpha0, alpha1, alpha2;
  15868. s16 beta0, beta1, beta2;
  15869. u32 leg_data_weights, ht_data_weights, nss1_data_weights,
  15870. stbc_data_weights;
  15871. u8 chan_freq_range = 0;
  15872. u16 dac_control = 0x0002;
  15873. u16 aux_adc_vmid_rev7_core0[] = { 0x8e, 0x96, 0x96, 0x96 };
  15874. u16 aux_adc_vmid_rev7_core1[] = { 0x8f, 0x9f, 0x9f, 0x96 };
  15875. u16 aux_adc_vmid_rev4[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15876. u16 aux_adc_vmid_rev3[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15877. u16 *aux_adc_vmid;
  15878. u16 aux_adc_gain_rev7[] = { 0x02, 0x02, 0x02, 0x02 };
  15879. u16 aux_adc_gain_rev4[] = { 0x02, 0x02, 0x02, 0x00 };
  15880. u16 aux_adc_gain_rev3[] = { 0x02, 0x02, 0x02, 0x00 };
  15881. u16 *aux_adc_gain;
  15882. u16 sk_adc_vmid[] = { 0xb4, 0xb4, 0xb4, 0x24 };
  15883. u16 sk_adc_gain[] = { 0x02, 0x02, 0x02, 0x02 };
  15884. s32 min_nvar_val = 0x18d;
  15885. s32 min_nvar_offset_6mbps = 20;
  15886. u8 pdetrange;
  15887. u8 triso;
  15888. u16 regval;
  15889. u16 afectrl_adc_ctrl1_rev7 = 0x20;
  15890. u16 afectrl_adc_ctrl2_rev7 = 0x0;
  15891. u16 rfseq_rx2tx_lpf_h_hpc_rev7 = 0x77;
  15892. u16 rfseq_tx2rx_lpf_h_hpc_rev7 = 0x77;
  15893. u16 rfseq_pktgn_lpf_h_hpc_rev7 = 0x77;
  15894. u16 rfseq_htpktgn_lpf_hpc_rev7[] = { 0x77, 0x11, 0x11 };
  15895. u16 rfseq_pktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15896. u16 rfseq_cckpktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15897. u16 ipalvlshift_3p3_war_en = 0;
  15898. u16 rccal_bcap_val, rccal_scap_val;
  15899. u16 rccal_tx20_11b_bcap = 0;
  15900. u16 rccal_tx20_11b_scap = 0;
  15901. u16 rccal_tx20_11n_bcap = 0;
  15902. u16 rccal_tx20_11n_scap = 0;
  15903. u16 rccal_tx40_11n_bcap = 0;
  15904. u16 rccal_tx40_11n_scap = 0;
  15905. u16 rx2tx_lpf_rc_lut_tx20_11b = 0;
  15906. u16 rx2tx_lpf_rc_lut_tx20_11n = 0;
  15907. u16 rx2tx_lpf_rc_lut_tx40_11n = 0;
  15908. u16 tx_lpf_bw_ofdm_20mhz = 0;
  15909. u16 tx_lpf_bw_ofdm_40mhz = 0;
  15910. u16 tx_lpf_bw_11b = 0;
  15911. u16 ipa2g_mainbias, ipa2g_casconv, ipa2g_biasfilt;
  15912. u16 txgm_idac_bleed = 0;
  15913. bool rccal_ovrd = false;
  15914. u16 freq;
  15915. int coreNum;
  15916. if (CHSPEC_IS5G(pi->radio_chanspec))
  15917. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 0);
  15918. else
  15919. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 1);
  15920. if (pi->phyhang_avoid)
  15921. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  15922. or_phy_reg(pi, 0xb1, NPHY_IQFlip_ADC1 | NPHY_IQFlip_ADC2);
  15923. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15924. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  15925. mod_phy_reg(pi, 0x221, (0x1 << 4), (1 << 4));
  15926. mod_phy_reg(pi, 0x160, (0x7f << 0), (32 << 0));
  15927. mod_phy_reg(pi, 0x160, (0x7f << 8), (39 << 8));
  15928. mod_phy_reg(pi, 0x161, (0x7f << 0), (46 << 0));
  15929. mod_phy_reg(pi, 0x161, (0x7f << 8), (51 << 8));
  15930. mod_phy_reg(pi, 0x162, (0x7f << 0), (55 << 0));
  15931. mod_phy_reg(pi, 0x162, (0x7f << 8), (58 << 8));
  15932. mod_phy_reg(pi, 0x163, (0x7f << 0), (60 << 0));
  15933. mod_phy_reg(pi, 0x163, (0x7f << 8), (62 << 8));
  15934. mod_phy_reg(pi, 0x164, (0x7f << 0), (62 << 0));
  15935. mod_phy_reg(pi, 0x164, (0x7f << 8), (63 << 8));
  15936. mod_phy_reg(pi, 0x165, (0x7f << 0), (63 << 0));
  15937. mod_phy_reg(pi, 0x165, (0x7f << 8), (64 << 8));
  15938. mod_phy_reg(pi, 0x166, (0x7f << 0), (64 << 0));
  15939. mod_phy_reg(pi, 0x166, (0x7f << 8), (64 << 8));
  15940. mod_phy_reg(pi, 0x167, (0x7f << 0), (64 << 0));
  15941. mod_phy_reg(pi, 0x167, (0x7f << 8), (64 << 8));
  15942. }
  15943. if (NREV_LE(pi->pubpi.phy_rev, 8)) {
  15944. write_phy_reg(pi, 0x23f, 0x1b0);
  15945. write_phy_reg(pi, 0x240, 0x1b0);
  15946. }
  15947. if (NREV_GE(pi->pubpi.phy_rev, 8))
  15948. mod_phy_reg(pi, 0xbd, (0xff << 0), (114 << 0));
  15949. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  15950. &dac_control);
  15951. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  15952. &dac_control);
  15953. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15954. 1, 0, 32, &leg_data_weights);
  15955. leg_data_weights = leg_data_weights & 0xffffff;
  15956. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15957. 1, 0, 32, &leg_data_weights);
  15958. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15959. 2, 0x15e, 16,
  15960. rfseq_rx2tx_dacbufpu_rev7);
  15961. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x16e, 16,
  15962. rfseq_rx2tx_dacbufpu_rev7);
  15963. if (PHY_IPA(pi))
  15964. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  15965. rfseq_rx2tx_events_rev3_ipa,
  15966. rfseq_rx2tx_dlys_rev3_ipa,
  15967. sizeof
  15968. (rfseq_rx2tx_events_rev3_ipa) /
  15969. sizeof
  15970. (rfseq_rx2tx_events_rev3_ipa
  15971. [0]));
  15972. mod_phy_reg(pi, 0x299, (0x3 << 14), (0x1 << 14));
  15973. mod_phy_reg(pi, 0x29d, (0x3 << 14), (0x1 << 14));
  15974. tx_lpf_bw_ofdm_20mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x154);
  15975. tx_lpf_bw_ofdm_40mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x159);
  15976. tx_lpf_bw_11b = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x152);
  15977. if (PHY_IPA(pi)) {
  15978. if (((pi->pubpi.radiorev == 5)
  15979. && (CHSPEC_IS40(pi->radio_chanspec) == 1))
  15980. || (pi->pubpi.radiorev == 7)
  15981. || (pi->pubpi.radiorev == 8)) {
  15982. rccal_bcap_val =
  15983. read_radio_reg(
  15984. pi,
  15985. RADIO_2057_RCCAL_BCAP_VAL);
  15986. rccal_scap_val =
  15987. read_radio_reg(
  15988. pi,
  15989. RADIO_2057_RCCAL_SCAP_VAL);
  15990. rccal_tx20_11b_bcap = rccal_bcap_val;
  15991. rccal_tx20_11b_scap = rccal_scap_val;
  15992. if ((pi->pubpi.radiorev == 5) &&
  15993. (CHSPEC_IS40(pi->radio_chanspec) == 1)) {
  15994. rccal_tx20_11n_bcap = rccal_bcap_val;
  15995. rccal_tx20_11n_scap = rccal_scap_val;
  15996. rccal_tx40_11n_bcap = 0xc;
  15997. rccal_tx40_11n_scap = 0xc;
  15998. rccal_ovrd = true;
  15999. } else if ((pi->pubpi.radiorev == 7)
  16000. || (pi->pubpi.radiorev == 8)) {
  16001. tx_lpf_bw_ofdm_20mhz = 4;
  16002. tx_lpf_bw_11b = 1;
  16003. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16004. rccal_tx20_11n_bcap = 0xc;
  16005. rccal_tx20_11n_scap = 0xc;
  16006. rccal_tx40_11n_bcap = 0xa;
  16007. rccal_tx40_11n_scap = 0xa;
  16008. } else {
  16009. rccal_tx20_11n_bcap = 0x14;
  16010. rccal_tx20_11n_scap = 0x14;
  16011. rccal_tx40_11n_bcap = 0xf;
  16012. rccal_tx40_11n_scap = 0xf;
  16013. }
  16014. rccal_ovrd = true;
  16015. }
  16016. }
  16017. } else {
  16018. if (pi->pubpi.radiorev == 5) {
  16019. tx_lpf_bw_ofdm_20mhz = 1;
  16020. tx_lpf_bw_ofdm_40mhz = 3;
  16021. rccal_bcap_val =
  16022. read_radio_reg(
  16023. pi,
  16024. RADIO_2057_RCCAL_BCAP_VAL);
  16025. rccal_scap_val =
  16026. read_radio_reg(
  16027. pi,
  16028. RADIO_2057_RCCAL_SCAP_VAL);
  16029. rccal_tx20_11b_bcap = rccal_bcap_val;
  16030. rccal_tx20_11b_scap = rccal_scap_val;
  16031. rccal_tx20_11n_bcap = 0x13;
  16032. rccal_tx20_11n_scap = 0x11;
  16033. rccal_tx40_11n_bcap = 0x13;
  16034. rccal_tx40_11n_scap = 0x11;
  16035. rccal_ovrd = true;
  16036. }
  16037. }
  16038. if (rccal_ovrd) {
  16039. rx2tx_lpf_rc_lut_tx20_11b =
  16040. (rccal_tx20_11b_bcap << 8) |
  16041. (rccal_tx20_11b_scap << 3) |
  16042. tx_lpf_bw_11b;
  16043. rx2tx_lpf_rc_lut_tx20_11n =
  16044. (rccal_tx20_11n_bcap << 8) |
  16045. (rccal_tx20_11n_scap << 3) |
  16046. tx_lpf_bw_ofdm_20mhz;
  16047. rx2tx_lpf_rc_lut_tx40_11n =
  16048. (rccal_tx40_11n_bcap << 8) |
  16049. (rccal_tx40_11n_scap << 3) |
  16050. tx_lpf_bw_ofdm_40mhz;
  16051. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16052. wlc_phy_table_write_nphy(
  16053. pi, NPHY_TBL_ID_RFSEQ,
  16054. 1,
  16055. 0x152 + coreNum * 0x10,
  16056. 16,
  16057. &rx2tx_lpf_rc_lut_tx20_11b);
  16058. wlc_phy_table_write_nphy(
  16059. pi, NPHY_TBL_ID_RFSEQ,
  16060. 1,
  16061. 0x153 + coreNum * 0x10,
  16062. 16,
  16063. &rx2tx_lpf_rc_lut_tx20_11n);
  16064. wlc_phy_table_write_nphy(
  16065. pi, NPHY_TBL_ID_RFSEQ,
  16066. 1,
  16067. 0x154 + coreNum * 0x10,
  16068. 16,
  16069. &rx2tx_lpf_rc_lut_tx20_11n);
  16070. wlc_phy_table_write_nphy(
  16071. pi, NPHY_TBL_ID_RFSEQ,
  16072. 1,
  16073. 0x155 + coreNum * 0x10,
  16074. 16,
  16075. &rx2tx_lpf_rc_lut_tx40_11n);
  16076. wlc_phy_table_write_nphy(
  16077. pi, NPHY_TBL_ID_RFSEQ,
  16078. 1,
  16079. 0x156 + coreNum * 0x10,
  16080. 16,
  16081. &rx2tx_lpf_rc_lut_tx40_11n);
  16082. wlc_phy_table_write_nphy(
  16083. pi, NPHY_TBL_ID_RFSEQ,
  16084. 1,
  16085. 0x157 + coreNum * 0x10,
  16086. 16,
  16087. &rx2tx_lpf_rc_lut_tx40_11n);
  16088. wlc_phy_table_write_nphy(
  16089. pi, NPHY_TBL_ID_RFSEQ,
  16090. 1,
  16091. 0x158 + coreNum * 0x10,
  16092. 16,
  16093. &rx2tx_lpf_rc_lut_tx40_11n);
  16094. wlc_phy_table_write_nphy(
  16095. pi, NPHY_TBL_ID_RFSEQ,
  16096. 1,
  16097. 0x159 + coreNum * 0x10,
  16098. 16,
  16099. &rx2tx_lpf_rc_lut_tx40_11n);
  16100. }
  16101. wlc_phy_rfctrl_override_nphy_rev7(
  16102. pi, (0x1 << 4),
  16103. 1, 0x3, 0,
  16104. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  16105. }
  16106. write_phy_reg(pi, 0x32f, 0x3);
  16107. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  16108. wlc_phy_rfctrl_override_nphy_rev7(
  16109. pi, (0x1 << 2),
  16110. 1, 0x3, 0,
  16111. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16112. if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) ||
  16113. (pi->pubpi.radiorev == 6)) {
  16114. if ((pi->sh->sromrev >= 8)
  16115. && (pi->sh->boardflags2 & BFL2_IPALVLSHIFT_3P3))
  16116. ipalvlshift_3p3_war_en = 1;
  16117. if (ipalvlshift_3p3_war_en) {
  16118. write_radio_reg(pi, RADIO_2057_GPAIO_CONFIG,
  16119. 0x5);
  16120. write_radio_reg(pi, RADIO_2057_GPAIO_SEL1,
  16121. 0x30);
  16122. write_radio_reg(pi, RADIO_2057_GPAIO_SEL0, 0x0);
  16123. or_radio_reg(pi,
  16124. RADIO_2057_RXTXBIAS_CONFIG_CORE0,
  16125. 0x1);
  16126. or_radio_reg(pi,
  16127. RADIO_2057_RXTXBIAS_CONFIG_CORE1,
  16128. 0x1);
  16129. ipa2g_mainbias = 0x1f;
  16130. ipa2g_casconv = 0x6f;
  16131. ipa2g_biasfilt = 0xaa;
  16132. } else {
  16133. ipa2g_mainbias = 0x2b;
  16134. ipa2g_casconv = 0x7f;
  16135. ipa2g_biasfilt = 0xee;
  16136. }
  16137. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16138. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16139. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16140. coreNum, IPA2G_IMAIN,
  16141. ipa2g_mainbias);
  16142. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16143. coreNum, IPA2G_CASCONV,
  16144. ipa2g_casconv);
  16145. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16146. coreNum,
  16147. IPA2G_BIAS_FILTER,
  16148. ipa2g_biasfilt);
  16149. }
  16150. }
  16151. }
  16152. if (PHY_IPA(pi)) {
  16153. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16154. if ((pi->pubpi.radiorev == 3)
  16155. || (pi->pubpi.radiorev == 4)
  16156. || (pi->pubpi.radiorev == 6))
  16157. txgm_idac_bleed = 0x7f;
  16158. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16159. if (txgm_idac_bleed != 0)
  16160. WRITE_RADIO_REG4(
  16161. pi, RADIO_2057,
  16162. CORE, coreNum,
  16163. TXGM_IDAC_BLEED,
  16164. txgm_idac_bleed);
  16165. }
  16166. if (pi->pubpi.radiorev == 5) {
  16167. for (coreNum = 0; coreNum <= 1;
  16168. coreNum++) {
  16169. WRITE_RADIO_REG4(pi, RADIO_2057,
  16170. CORE, coreNum,
  16171. IPA2G_CASCONV,
  16172. 0x13);
  16173. WRITE_RADIO_REG4(pi, RADIO_2057,
  16174. CORE, coreNum,
  16175. IPA2G_IMAIN,
  16176. 0x1f);
  16177. WRITE_RADIO_REG4(
  16178. pi, RADIO_2057,
  16179. CORE, coreNum,
  16180. IPA2G_BIAS_FILTER,
  16181. 0xee);
  16182. WRITE_RADIO_REG4(pi, RADIO_2057,
  16183. CORE, coreNum,
  16184. PAD2G_IDACS,
  16185. 0x8a);
  16186. WRITE_RADIO_REG4(
  16187. pi, RADIO_2057,
  16188. CORE, coreNum,
  16189. PAD_BIAS_FILTER_BWS,
  16190. 0x3e);
  16191. }
  16192. } else if ((pi->pubpi.radiorev == 7)
  16193. || (pi->pubpi.radiorev == 8)) {
  16194. if (CHSPEC_IS40(pi->radio_chanspec) ==
  16195. 0) {
  16196. WRITE_RADIO_REG4(pi, RADIO_2057,
  16197. CORE, 0,
  16198. IPA2G_IMAIN,
  16199. 0x14);
  16200. WRITE_RADIO_REG4(pi, RADIO_2057,
  16201. CORE, 1,
  16202. IPA2G_IMAIN,
  16203. 0x12);
  16204. } else {
  16205. WRITE_RADIO_REG4(pi, RADIO_2057,
  16206. CORE, 0,
  16207. IPA2G_IMAIN,
  16208. 0x16);
  16209. WRITE_RADIO_REG4(pi, RADIO_2057,
  16210. CORE, 1,
  16211. IPA2G_IMAIN,
  16212. 0x16);
  16213. }
  16214. }
  16215. } else {
  16216. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(
  16217. pi->radio_chanspec));
  16218. if (((freq >= 5180) && (freq <= 5230))
  16219. || ((freq >= 5745) && (freq <= 5805))) {
  16220. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16221. 0, IPA5G_BIAS_FILTER,
  16222. 0xff);
  16223. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16224. 1, IPA5G_BIAS_FILTER,
  16225. 0xff);
  16226. }
  16227. }
  16228. } else {
  16229. if (pi->pubpi.radiorev != 5) {
  16230. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16231. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16232. coreNum,
  16233. TXMIX2G_TUNE_BOOST_PU,
  16234. 0x61);
  16235. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16236. coreNum,
  16237. TXGM_IDAC_BLEED, 0x70);
  16238. }
  16239. }
  16240. }
  16241. if (pi->pubpi.radiorev == 4) {
  16242. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16243. 0x05, 16,
  16244. &afectrl_adc_ctrl1_rev7);
  16245. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16246. 0x15, 16,
  16247. &afectrl_adc_ctrl1_rev7);
  16248. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16249. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16250. AFE_VCM_CAL_MASTER, 0x0);
  16251. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16252. AFE_SET_VCM_I, 0x3f);
  16253. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16254. AFE_SET_VCM_Q, 0x3f);
  16255. }
  16256. } else {
  16257. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  16258. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  16259. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  16260. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  16261. mod_phy_reg(pi, 0xa6, (0x1 << 0), 0);
  16262. mod_phy_reg(pi, 0x8f, (0x1 << 0), (0x1 << 0));
  16263. mod_phy_reg(pi, 0xa7, (0x1 << 0), 0);
  16264. mod_phy_reg(pi, 0xa5, (0x1 << 0), (0x1 << 0));
  16265. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16266. 0x05, 16,
  16267. &afectrl_adc_ctrl2_rev7);
  16268. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16269. 0x15, 16,
  16270. &afectrl_adc_ctrl2_rev7);
  16271. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  16272. mod_phy_reg(pi, 0x8f, (0x1 << 2), 0);
  16273. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  16274. mod_phy_reg(pi, 0xa5, (0x1 << 2), 0);
  16275. }
  16276. write_phy_reg(pi, 0x6a, 0x2);
  16277. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 256, 32,
  16278. &min_nvar_offset_6mbps);
  16279. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x138, 16,
  16280. &rfseq_pktgn_lpf_hpc_rev7);
  16281. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x141, 16,
  16282. &rfseq_pktgn_lpf_h_hpc_rev7);
  16283. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 3, 0x133, 16,
  16284. &rfseq_htpktgn_lpf_hpc_rev7);
  16285. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x146, 16,
  16286. &rfseq_cckpktgn_lpf_hpc_rev7);
  16287. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x123, 16,
  16288. &rfseq_tx2rx_lpf_h_hpc_rev7);
  16289. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x12A, 16,
  16290. &rfseq_rx2tx_lpf_h_hpc_rev7);
  16291. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16292. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16293. 32, &min_nvar_val);
  16294. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16295. 127, 32, &min_nvar_val);
  16296. } else {
  16297. min_nvar_val = noise_var_tbl_rev7[3];
  16298. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16299. 32, &min_nvar_val);
  16300. min_nvar_val = noise_var_tbl_rev7[127];
  16301. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16302. 127, 32, &min_nvar_val);
  16303. }
  16304. wlc_phy_workarounds_nphy_gainctrl(pi);
  16305. pdetrange =
  16306. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16307. pdetrange : pi->srom_fem2g.pdetrange;
  16308. if (pdetrange == 0) {
  16309. chan_freq_range =
  16310. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16311. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16312. aux_adc_vmid_rev7_core0[3] = 0x70;
  16313. aux_adc_vmid_rev7_core1[3] = 0x70;
  16314. aux_adc_gain_rev7[3] = 2;
  16315. } else {
  16316. aux_adc_vmid_rev7_core0[3] = 0x80;
  16317. aux_adc_vmid_rev7_core1[3] = 0x80;
  16318. aux_adc_gain_rev7[3] = 3;
  16319. }
  16320. } else if (pdetrange == 1) {
  16321. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16322. aux_adc_vmid_rev7_core0[3] = 0x7c;
  16323. aux_adc_vmid_rev7_core1[3] = 0x7c;
  16324. aux_adc_gain_rev7[3] = 2;
  16325. } else {
  16326. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16327. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16328. aux_adc_gain_rev7[3] = 1;
  16329. }
  16330. } else if (pdetrange == 2) {
  16331. if (pi->pubpi.radioid == BCM2057_ID) {
  16332. if ((pi->pubpi.radiorev == 5)
  16333. || (pi->pubpi.radiorev == 7)
  16334. || (pi->pubpi.radiorev == 8)) {
  16335. if (chan_freq_range ==
  16336. WL_CHAN_FREQ_RANGE_2G) {
  16337. aux_adc_vmid_rev7_core0[3] =
  16338. 0x8c;
  16339. aux_adc_vmid_rev7_core1[3] =
  16340. 0x8c;
  16341. aux_adc_gain_rev7[3] = 0;
  16342. } else {
  16343. aux_adc_vmid_rev7_core0[3] =
  16344. 0x96;
  16345. aux_adc_vmid_rev7_core1[3] =
  16346. 0x96;
  16347. aux_adc_gain_rev7[3] = 0;
  16348. }
  16349. }
  16350. }
  16351. } else if (pdetrange == 3) {
  16352. if (chan_freq_range == WL_CHAN_FREQ_RANGE_2G) {
  16353. aux_adc_vmid_rev7_core0[3] = 0x89;
  16354. aux_adc_vmid_rev7_core1[3] = 0x89;
  16355. aux_adc_gain_rev7[3] = 0;
  16356. }
  16357. } else if (pdetrange == 5) {
  16358. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16359. aux_adc_vmid_rev7_core0[3] = 0x80;
  16360. aux_adc_vmid_rev7_core1[3] = 0x80;
  16361. aux_adc_gain_rev7[3] = 3;
  16362. } else {
  16363. aux_adc_vmid_rev7_core0[3] = 0x70;
  16364. aux_adc_vmid_rev7_core1[3] = 0x70;
  16365. aux_adc_gain_rev7[3] = 2;
  16366. }
  16367. }
  16368. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x08, 16,
  16369. &aux_adc_vmid_rev7_core0);
  16370. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x18, 16,
  16371. &aux_adc_vmid_rev7_core1);
  16372. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x0c, 16,
  16373. &aux_adc_gain_rev7);
  16374. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x1c, 16,
  16375. &aux_adc_gain_rev7);
  16376. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16377. write_phy_reg(pi, 0x23f, 0x1f8);
  16378. write_phy_reg(pi, 0x240, 0x1f8);
  16379. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16380. 1, 0, 32, &leg_data_weights);
  16381. leg_data_weights = leg_data_weights & 0xffffff;
  16382. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16383. 1, 0, 32, &leg_data_weights);
  16384. alpha0 = 293;
  16385. alpha1 = 435;
  16386. alpha2 = 261;
  16387. beta0 = 366;
  16388. beta1 = 205;
  16389. beta2 = 32;
  16390. write_phy_reg(pi, 0x145, alpha0);
  16391. write_phy_reg(pi, 0x146, alpha1);
  16392. write_phy_reg(pi, 0x147, alpha2);
  16393. write_phy_reg(pi, 0x148, beta0);
  16394. write_phy_reg(pi, 0x149, beta1);
  16395. write_phy_reg(pi, 0x14a, beta2);
  16396. write_phy_reg(pi, 0x38, 0xC);
  16397. write_phy_reg(pi, 0x2ae, 0xC);
  16398. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX,
  16399. rfseq_tx2rx_events_rev3,
  16400. rfseq_tx2rx_dlys_rev3,
  16401. sizeof(rfseq_tx2rx_events_rev3) /
  16402. sizeof(rfseq_tx2rx_events_rev3[0]));
  16403. if (PHY_IPA(pi))
  16404. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16405. rfseq_rx2tx_events_rev3_ipa,
  16406. rfseq_rx2tx_dlys_rev3_ipa,
  16407. sizeof
  16408. (rfseq_rx2tx_events_rev3_ipa) /
  16409. sizeof
  16410. (rfseq_rx2tx_events_rev3_ipa
  16411. [0]));
  16412. if ((pi->sh->hw_phyrxchain != 0x3) &&
  16413. (pi->sh->hw_phyrxchain != pi->sh->hw_phytxchain)) {
  16414. if (PHY_IPA(pi)) {
  16415. rfseq_rx2tx_dlys_rev3[5] = 59;
  16416. rfseq_rx2tx_dlys_rev3[6] = 1;
  16417. rfseq_rx2tx_events_rev3[7] =
  16418. NPHY_REV3_RFSEQ_CMD_END;
  16419. }
  16420. wlc_phy_set_rfseq_nphy(
  16421. pi, NPHY_RFSEQ_RX2TX,
  16422. rfseq_rx2tx_events_rev3,
  16423. rfseq_rx2tx_dlys_rev3,
  16424. sizeof(rfseq_rx2tx_events_rev3) /
  16425. sizeof(rfseq_rx2tx_events_rev3[0]));
  16426. }
  16427. if (CHSPEC_IS2G(pi->radio_chanspec))
  16428. write_phy_reg(pi, 0x6a, 0x2);
  16429. else
  16430. write_phy_reg(pi, 0x6a, 0x9c40);
  16431. mod_phy_reg(pi, 0x294, (0xf << 8), (7 << 8));
  16432. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16433. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16434. 32, &min_nvar_val);
  16435. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16436. 127, 32, &min_nvar_val);
  16437. } else {
  16438. min_nvar_val = noise_var_tbl_rev3[3];
  16439. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16440. 32, &min_nvar_val);
  16441. min_nvar_val = noise_var_tbl_rev3[127];
  16442. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16443. 127, 32, &min_nvar_val);
  16444. }
  16445. wlc_phy_workarounds_nphy_gainctrl(pi);
  16446. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  16447. &dac_control);
  16448. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  16449. &dac_control);
  16450. pdetrange =
  16451. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16452. pdetrange : pi->srom_fem2g.pdetrange;
  16453. if (pdetrange == 0) {
  16454. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  16455. aux_adc_vmid = aux_adc_vmid_rev4;
  16456. aux_adc_gain = aux_adc_gain_rev4;
  16457. } else {
  16458. aux_adc_vmid = aux_adc_vmid_rev3;
  16459. aux_adc_gain = aux_adc_gain_rev3;
  16460. }
  16461. chan_freq_range =
  16462. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16463. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16464. switch (chan_freq_range) {
  16465. case WL_CHAN_FREQ_RANGE_5GL:
  16466. aux_adc_vmid[3] = 0x89;
  16467. aux_adc_gain[3] = 0;
  16468. break;
  16469. case WL_CHAN_FREQ_RANGE_5GM:
  16470. aux_adc_vmid[3] = 0x89;
  16471. aux_adc_gain[3] = 0;
  16472. break;
  16473. case WL_CHAN_FREQ_RANGE_5GH:
  16474. aux_adc_vmid[3] = 0x89;
  16475. aux_adc_gain[3] = 0;
  16476. break;
  16477. default:
  16478. break;
  16479. }
  16480. }
  16481. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16482. 0x08, 16, aux_adc_vmid);
  16483. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16484. 0x18, 16, aux_adc_vmid);
  16485. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16486. 0x0c, 16, aux_adc_gain);
  16487. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16488. 0x1c, 16, aux_adc_gain);
  16489. } else if (pdetrange == 1) {
  16490. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16491. 0x08, 16, sk_adc_vmid);
  16492. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16493. 0x18, 16, sk_adc_vmid);
  16494. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16495. 0x0c, 16, sk_adc_gain);
  16496. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16497. 0x1c, 16, sk_adc_gain);
  16498. } else if (pdetrange == 2) {
  16499. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x74 };
  16500. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x04 };
  16501. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16502. chan_freq_range =
  16503. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16504. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16505. bcm_adc_vmid[3] = 0x8e;
  16506. bcm_adc_gain[3] = 0x03;
  16507. } else {
  16508. bcm_adc_vmid[3] = 0x94;
  16509. bcm_adc_gain[3] = 0x03;
  16510. }
  16511. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  16512. bcm_adc_vmid[3] = 0x84;
  16513. bcm_adc_gain[3] = 0x02;
  16514. }
  16515. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16516. 0x08, 16, bcm_adc_vmid);
  16517. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16518. 0x18, 16, bcm_adc_vmid);
  16519. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16520. 0x0c, 16, bcm_adc_gain);
  16521. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16522. 0x1c, 16, bcm_adc_gain);
  16523. } else if (pdetrange == 3) {
  16524. chan_freq_range =
  16525. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16526. if ((NREV_GE(pi->pubpi.phy_rev, 4))
  16527. && (chan_freq_range == WL_CHAN_FREQ_RANGE_2G)) {
  16528. u16 auxadc_vmid[] = {
  16529. 0xa2, 0xb4, 0xb4, 0x270
  16530. };
  16531. u16 auxadc_gain[] = {
  16532. 0x02, 0x02, 0x02, 0x00
  16533. };
  16534. wlc_phy_table_write_nphy(pi,
  16535. NPHY_TBL_ID_AFECTRL, 4,
  16536. 0x08, 16, auxadc_vmid);
  16537. wlc_phy_table_write_nphy(pi,
  16538. NPHY_TBL_ID_AFECTRL, 4,
  16539. 0x18, 16, auxadc_vmid);
  16540. wlc_phy_table_write_nphy(pi,
  16541. NPHY_TBL_ID_AFECTRL, 4,
  16542. 0x0c, 16, auxadc_gain);
  16543. wlc_phy_table_write_nphy(pi,
  16544. NPHY_TBL_ID_AFECTRL, 4,
  16545. 0x1c, 16, auxadc_gain);
  16546. }
  16547. } else if ((pdetrange == 4) || (pdetrange == 5)) {
  16548. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x0 };
  16549. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x0 };
  16550. u16 Vmid[2], Av[2];
  16551. chan_freq_range =
  16552. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16553. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16554. Vmid[0] = (pdetrange == 4) ? 0x8e : 0x89;
  16555. Vmid[1] = (pdetrange == 4) ? 0x96 : 0x89;
  16556. Av[0] = (pdetrange == 4) ? 2 : 0;
  16557. Av[1] = (pdetrange == 4) ? 2 : 0;
  16558. } else {
  16559. Vmid[0] = (pdetrange == 4) ? 0x89 : 0x74;
  16560. Vmid[1] = (pdetrange == 4) ? 0x8b : 0x70;
  16561. Av[0] = (pdetrange == 4) ? 2 : 0;
  16562. Av[1] = (pdetrange == 4) ? 2 : 0;
  16563. }
  16564. bcm_adc_vmid[3] = Vmid[0];
  16565. bcm_adc_gain[3] = Av[0];
  16566. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16567. 0x08, 16, bcm_adc_vmid);
  16568. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16569. 0x0c, 16, bcm_adc_gain);
  16570. bcm_adc_vmid[3] = Vmid[1];
  16571. bcm_adc_gain[3] = Av[1];
  16572. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16573. 0x18, 16, bcm_adc_vmid);
  16574. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16575. 0x1c, 16, bcm_adc_gain);
  16576. }
  16577. write_radio_reg(pi,
  16578. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX0),
  16579. 0x0);
  16580. write_radio_reg(pi,
  16581. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX1),
  16582. 0x0);
  16583. write_radio_reg(pi,
  16584. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX0),
  16585. 0x6);
  16586. write_radio_reg(pi,
  16587. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX1),
  16588. 0x6);
  16589. write_radio_reg(pi,
  16590. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX0),
  16591. 0x7);
  16592. write_radio_reg(pi,
  16593. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX1),
  16594. 0x7);
  16595. write_radio_reg(pi,
  16596. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX0),
  16597. 0x88);
  16598. write_radio_reg(pi,
  16599. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX1),
  16600. 0x88);
  16601. write_radio_reg(pi,
  16602. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX0),
  16603. 0x0);
  16604. write_radio_reg(pi,
  16605. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX1),
  16606. 0x0);
  16607. write_radio_reg(pi,
  16608. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX0),
  16609. 0x0);
  16610. write_radio_reg(pi,
  16611. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX1),
  16612. 0x0);
  16613. triso =
  16614. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16615. triso : pi->srom_fem2g.triso;
  16616. if (triso == 7) {
  16617. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  16618. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  16619. }
  16620. wlc_phy_war_txchain_upd_nphy(pi, pi->sh->hw_phytxchain);
  16621. if (((pi->sh->boardflags2 & BFL2_APLL_WAR) &&
  16622. (CHSPEC_IS5G(pi->radio_chanspec))) ||
  16623. (((pi->sh->boardflags2 & BFL2_GPLL_WAR) ||
  16624. (pi->sh->boardflags2 & BFL2_GPLL_WAR2)) &&
  16625. (CHSPEC_IS2G(pi->radio_chanspec)))) {
  16626. nss1_data_weights = 0x00088888;
  16627. ht_data_weights = 0x00088888;
  16628. stbc_data_weights = 0x00088888;
  16629. } else {
  16630. nss1_data_weights = 0x88888888;
  16631. ht_data_weights = 0x88888888;
  16632. stbc_data_weights = 0x88888888;
  16633. }
  16634. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16635. 1, 1, 32, &nss1_data_weights);
  16636. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16637. 1, 2, 32, &ht_data_weights);
  16638. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16639. 1, 3, 32, &stbc_data_weights);
  16640. if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  16641. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  16642. write_radio_reg(pi,
  16643. RADIO_2056_TX_GMBB_IDAC |
  16644. RADIO_2056_TX0, 0x70);
  16645. write_radio_reg(pi,
  16646. RADIO_2056_TX_GMBB_IDAC |
  16647. RADIO_2056_TX1, 0x70);
  16648. }
  16649. }
  16650. if (!pi->edcrs_threshold_lock) {
  16651. write_phy_reg(pi, 0x224, 0x3eb);
  16652. write_phy_reg(pi, 0x225, 0x3eb);
  16653. write_phy_reg(pi, 0x226, 0x341);
  16654. write_phy_reg(pi, 0x227, 0x341);
  16655. write_phy_reg(pi, 0x228, 0x42b);
  16656. write_phy_reg(pi, 0x229, 0x42b);
  16657. write_phy_reg(pi, 0x22a, 0x381);
  16658. write_phy_reg(pi, 0x22b, 0x381);
  16659. write_phy_reg(pi, 0x22c, 0x42b);
  16660. write_phy_reg(pi, 0x22d, 0x42b);
  16661. write_phy_reg(pi, 0x22e, 0x381);
  16662. write_phy_reg(pi, 0x22f, 0x381);
  16663. }
  16664. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16665. if (pi->sh->boardflags2 & BFL2_SINGLEANT_CCK)
  16666. wlapi_bmac_mhf(pi->sh->physhim, MHF4,
  16667. MHF4_BPHY_TXCORE0,
  16668. MHF4_BPHY_TXCORE0, BRCM_BAND_ALL);
  16669. }
  16670. } else {
  16671. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD ||
  16672. (pi->sh->boardtype == 0x8b)) {
  16673. uint i;
  16674. u8 war_dlys[] = { 1, 6, 6, 2, 4, 20, 1 };
  16675. for (i = 0; i < ARRAY_SIZE(rfseq_rx2tx_dlys); i++)
  16676. rfseq_rx2tx_dlys[i] = war_dlys[i];
  16677. }
  16678. if (CHSPEC_IS5G(pi->radio_chanspec) && pi->phy_5g_pwrgain) {
  16679. and_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0xf7);
  16680. and_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0xf7);
  16681. } else {
  16682. or_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0x8);
  16683. or_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0x8);
  16684. }
  16685. regval = 0x000a;
  16686. wlc_phy_table_write_nphy(pi, 8, 1, 0, 16, &regval);
  16687. wlc_phy_table_write_nphy(pi, 8, 1, 0x10, 16, &regval);
  16688. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16689. regval = 0xcdaa;
  16690. wlc_phy_table_write_nphy(pi, 8, 1, 0x02, 16, &regval);
  16691. wlc_phy_table_write_nphy(pi, 8, 1, 0x12, 16, &regval);
  16692. }
  16693. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16694. regval = 0x0000;
  16695. wlc_phy_table_write_nphy(pi, 8, 1, 0x08, 16, &regval);
  16696. wlc_phy_table_write_nphy(pi, 8, 1, 0x18, 16, &regval);
  16697. regval = 0x7aab;
  16698. wlc_phy_table_write_nphy(pi, 8, 1, 0x07, 16, &regval);
  16699. wlc_phy_table_write_nphy(pi, 8, 1, 0x17, 16, &regval);
  16700. regval = 0x0800;
  16701. wlc_phy_table_write_nphy(pi, 8, 1, 0x06, 16, &regval);
  16702. wlc_phy_table_write_nphy(pi, 8, 1, 0x16, 16, &regval);
  16703. }
  16704. write_phy_reg(pi, 0xf8, 0x02d8);
  16705. write_phy_reg(pi, 0xf9, 0x0301);
  16706. write_phy_reg(pi, 0xfa, 0x02d8);
  16707. write_phy_reg(pi, 0xfb, 0x0301);
  16708. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX, rfseq_rx2tx_events,
  16709. rfseq_rx2tx_dlys,
  16710. sizeof(rfseq_rx2tx_events) /
  16711. sizeof(rfseq_rx2tx_events[0]));
  16712. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX, rfseq_tx2rx_events,
  16713. rfseq_tx2rx_dlys,
  16714. sizeof(rfseq_tx2rx_events) /
  16715. sizeof(rfseq_tx2rx_events[0]));
  16716. wlc_phy_workarounds_nphy_gainctrl(pi);
  16717. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16718. if (read_phy_reg(pi, 0xa0) & NPHY_MLenable)
  16719. wlapi_bmac_mhf(pi->sh->physhim, MHF3,
  16720. MHF3_NPHY_MLADV_WAR,
  16721. MHF3_NPHY_MLADV_WAR,
  16722. BRCM_BAND_ALL);
  16723. } else if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  16724. write_phy_reg(pi, 0x1e3, 0x0);
  16725. write_phy_reg(pi, 0x1e4, 0x0);
  16726. }
  16727. if (NREV_LT(pi->pubpi.phy_rev, 2))
  16728. mod_phy_reg(pi, 0x90, (0x1 << 7), 0);
  16729. alpha0 = 293;
  16730. alpha1 = 435;
  16731. alpha2 = 261;
  16732. beta0 = 366;
  16733. beta1 = 205;
  16734. beta2 = 32;
  16735. write_phy_reg(pi, 0x145, alpha0);
  16736. write_phy_reg(pi, 0x146, alpha1);
  16737. write_phy_reg(pi, 0x147, alpha2);
  16738. write_phy_reg(pi, 0x148, beta0);
  16739. write_phy_reg(pi, 0x149, beta1);
  16740. write_phy_reg(pi, 0x14a, beta2);
  16741. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16742. mod_phy_reg(pi, 0x142, (0xf << 12), 0);
  16743. write_phy_reg(pi, 0x192, 0xb5);
  16744. write_phy_reg(pi, 0x193, 0xa4);
  16745. write_phy_reg(pi, 0x194, 0x0);
  16746. }
  16747. if (NREV_IS(pi->pubpi.phy_rev, 2))
  16748. mod_phy_reg(pi, 0x221,
  16749. NPHY_FORCESIG_DECODEGATEDCLKS,
  16750. NPHY_FORCESIG_DECODEGATEDCLKS);
  16751. }
  16752. if (pi->phyhang_avoid)
  16753. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  16754. }
  16755. static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  16756. {
  16757. int j, type = 2;
  16758. u16 addr_offset = 0x2c5;
  16759. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  16760. write_phy_reg(pi, addr_offset + j,
  16761. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  16762. }
  16763. static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals)
  16764. {
  16765. if (write == 0) {
  16766. vals[0] = read_phy_reg(pi, 0x2c);
  16767. vals[1] = read_phy_reg(pi, 0x42);
  16768. } else {
  16769. write_phy_reg(pi, 0x2c, vals[0]);
  16770. write_phy_reg(pi, 0x42, vals[1]);
  16771. }
  16772. }
  16773. static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi)
  16774. {
  16775. u8 core;
  16776. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  16777. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16778. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16779. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16780. TX_SSI_MASTER, 0x5);
  16781. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16782. TX_SSI_MUX, 0xe);
  16783. if (pi->pubpi.radiorev != 5)
  16784. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16785. core, TSSIA, 0);
  16786. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16787. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16788. core, TSSIG, 0x1);
  16789. else
  16790. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16791. core, TSSIG, 0x31);
  16792. } else {
  16793. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16794. TX_SSI_MASTER, 0x9);
  16795. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16796. TX_SSI_MUX, 0xc);
  16797. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16798. TSSIG, 0);
  16799. if (pi->pubpi.radiorev != 5) {
  16800. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16801. WRITE_RADIO_REG3(pi, RADIO_2057,
  16802. TX, core,
  16803. TSSIA, 0x1);
  16804. else
  16805. WRITE_RADIO_REG3(pi, RADIO_2057,
  16806. TX, core,
  16807. TSSIA, 0x31);
  16808. }
  16809. }
  16810. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  16811. 0);
  16812. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  16813. 0);
  16814. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  16815. 0x3);
  16816. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  16817. 0x0);
  16818. }
  16819. } else {
  16820. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR31,
  16821. (CHSPEC_IS2G(pi->radio_chanspec)) ? 0x128 :
  16822. 0x80);
  16823. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR30, 0x0);
  16824. WRITE_RADIO_SYN(pi, RADIO_2056, GPIO_MASTER1, 0x29);
  16825. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16826. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_VCM_HG,
  16827. 0x0);
  16828. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_IDAC,
  16829. 0x0);
  16830. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_VCM,
  16831. 0x3);
  16832. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TX_AMP_DET,
  16833. 0x0);
  16834. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC1,
  16835. 0x8);
  16836. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC2,
  16837. 0x0);
  16838. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC3,
  16839. 0x0);
  16840. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16841. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16842. TX_SSI_MASTER, 0x5);
  16843. if (pi->pubpi.radiorev != 5)
  16844. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16845. core, TSSIA, 0x0);
  16846. if (NREV_GE(pi->pubpi.phy_rev, 5))
  16847. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16848. core, TSSIG, 0x31);
  16849. else
  16850. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16851. core, TSSIG, 0x11);
  16852. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16853. TX_SSI_MUX, 0xe);
  16854. } else {
  16855. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16856. TX_SSI_MASTER, 0x9);
  16857. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16858. TSSIA, 0x31);
  16859. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16860. TSSIG, 0x0);
  16861. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16862. TX_SSI_MUX, 0xc);
  16863. }
  16864. }
  16865. }
  16866. }
  16867. static void
  16868. wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value,
  16869. u8 core_mask, u8 off)
  16870. {
  16871. u8 core_num;
  16872. u16 addr = 0, mask = 0, en_addr = 0, val_addr = 0, en_mask =
  16873. 0, val_mask = 0;
  16874. u8 shift = 0, val_shift = 0;
  16875. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  16876. en_mask = field;
  16877. for (core_num = 0; core_num < 2; core_num++) {
  16878. switch (field) {
  16879. case (0x1 << 1):
  16880. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16881. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16882. val_mask = (0x1 << 0);
  16883. val_shift = 0;
  16884. break;
  16885. case (0x1 << 2):
  16886. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16887. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16888. val_mask = (0x1 << 1);
  16889. val_shift = 1;
  16890. break;
  16891. case (0x1 << 3):
  16892. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16893. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16894. val_mask = (0x1 << 2);
  16895. val_shift = 2;
  16896. break;
  16897. case (0x1 << 4):
  16898. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16899. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16900. val_mask = (0x1 << 4);
  16901. val_shift = 4;
  16902. break;
  16903. case (0x1 << 5):
  16904. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16905. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16906. val_mask = (0x1 << 5);
  16907. val_shift = 5;
  16908. break;
  16909. case (0x1 << 6):
  16910. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16911. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16912. val_mask = (0x1 << 6);
  16913. val_shift = 6;
  16914. break;
  16915. case (0x1 << 7):
  16916. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16917. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16918. val_mask = (0x1 << 7);
  16919. val_shift = 7;
  16920. break;
  16921. case (0x1 << 8):
  16922. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16923. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16924. val_mask = (0x7 << 8);
  16925. val_shift = 8;
  16926. break;
  16927. case (0x1 << 11):
  16928. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16929. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16930. val_mask = (0x7 << 13);
  16931. val_shift = 13;
  16932. break;
  16933. case (0x1 << 9):
  16934. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16935. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16936. val_mask = (0x7 << 0);
  16937. val_shift = 0;
  16938. break;
  16939. case (0x1 << 10):
  16940. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16941. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16942. val_mask = (0x7 << 4);
  16943. val_shift = 4;
  16944. break;
  16945. case (0x1 << 12):
  16946. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16947. val_addr = (core_num == 0) ? 0x7b : 0x7e;
  16948. val_mask = (0xffff << 0);
  16949. val_shift = 0;
  16950. break;
  16951. case (0x1 << 13):
  16952. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16953. val_addr = (core_num == 0) ? 0x7c : 0x7f;
  16954. val_mask = (0xffff << 0);
  16955. val_shift = 0;
  16956. break;
  16957. case (0x1 << 14):
  16958. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16959. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16960. val_mask = (0x3 << 6);
  16961. val_shift = 6;
  16962. break;
  16963. case (0x1 << 0):
  16964. en_addr = (core_num == 0) ? 0xe5 : 0xe6;
  16965. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16966. val_mask = (0x1 << 15);
  16967. val_shift = 15;
  16968. break;
  16969. default:
  16970. addr = 0xffff;
  16971. break;
  16972. }
  16973. if (off) {
  16974. and_phy_reg(pi, en_addr, ~en_mask);
  16975. and_phy_reg(pi, val_addr, ~val_mask);
  16976. } else {
  16977. if ((core_mask == 0)
  16978. || (core_mask & (1 << core_num))) {
  16979. or_phy_reg(pi, en_addr, en_mask);
  16980. if (addr != 0xffff)
  16981. mod_phy_reg(pi, val_addr,
  16982. val_mask,
  16983. (value <<
  16984. val_shift));
  16985. }
  16986. }
  16987. }
  16988. } else {
  16989. if (off) {
  16990. and_phy_reg(pi, 0xec, ~field);
  16991. value = 0x0;
  16992. } else {
  16993. or_phy_reg(pi, 0xec, field);
  16994. }
  16995. for (core_num = 0; core_num < 2; core_num++) {
  16996. switch (field) {
  16997. case (0x1 << 1):
  16998. case (0x1 << 9):
  16999. case (0x1 << 12):
  17000. case (0x1 << 13):
  17001. case (0x1 << 14):
  17002. addr = 0x78;
  17003. core_mask = 0x1;
  17004. break;
  17005. case (0x1 << 2):
  17006. case (0x1 << 3):
  17007. case (0x1 << 4):
  17008. case (0x1 << 5):
  17009. case (0x1 << 6):
  17010. case (0x1 << 7):
  17011. case (0x1 << 8):
  17012. addr = (core_num == 0) ? 0x7a : 0x7d;
  17013. break;
  17014. case (0x1 << 10):
  17015. addr = (core_num == 0) ? 0x7b : 0x7e;
  17016. break;
  17017. case (0x1 << 11):
  17018. addr = (core_num == 0) ? 0x7c : 0x7f;
  17019. break;
  17020. default:
  17021. addr = 0xffff;
  17022. }
  17023. switch (field) {
  17024. case (0x1 << 1):
  17025. mask = (0x7 << 3);
  17026. shift = 3;
  17027. break;
  17028. case (0x1 << 9):
  17029. mask = (0x1 << 2);
  17030. shift = 2;
  17031. break;
  17032. case (0x1 << 12):
  17033. mask = (0x1 << 8);
  17034. shift = 8;
  17035. break;
  17036. case (0x1 << 13):
  17037. mask = (0x1 << 9);
  17038. shift = 9;
  17039. break;
  17040. case (0x1 << 14):
  17041. mask = (0xf << 12);
  17042. shift = 12;
  17043. break;
  17044. case (0x1 << 2):
  17045. mask = (0x1 << 0);
  17046. shift = 0;
  17047. break;
  17048. case (0x1 << 3):
  17049. mask = (0x1 << 1);
  17050. shift = 1;
  17051. break;
  17052. case (0x1 << 4):
  17053. mask = (0x1 << 2);
  17054. shift = 2;
  17055. break;
  17056. case (0x1 << 5):
  17057. mask = (0x3 << 4);
  17058. shift = 4;
  17059. break;
  17060. case (0x1 << 6):
  17061. mask = (0x3 << 6);
  17062. shift = 6;
  17063. break;
  17064. case (0x1 << 7):
  17065. mask = (0x1 << 8);
  17066. shift = 8;
  17067. break;
  17068. case (0x1 << 8):
  17069. mask = (0x1 << 9);
  17070. shift = 9;
  17071. break;
  17072. case (0x1 << 10):
  17073. mask = 0x1fff;
  17074. shift = 0x0;
  17075. break;
  17076. case (0x1 << 11):
  17077. mask = 0x1fff;
  17078. shift = 0x0;
  17079. break;
  17080. default:
  17081. mask = 0x0;
  17082. shift = 0x0;
  17083. break;
  17084. }
  17085. if ((addr != 0xffff) && (core_mask & (1 << core_num)))
  17086. mod_phy_reg(pi, addr, mask, (value << shift));
  17087. }
  17088. or_phy_reg(pi, 0xec, (0x1 << 0));
  17089. or_phy_reg(pi, 0x78, (0x1 << 0));
  17090. udelay(1);
  17091. and_phy_reg(pi, 0xec, ~(0x1 << 0));
  17092. }
  17093. }
  17094. static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi)
  17095. {
  17096. s32 rssi_buf[4];
  17097. s32 int_val;
  17098. if (SCAN_RM_IN_PROGRESS(pi) || PLT_INPROG_PHY(pi) || PHY_MUTED(pi))
  17099. return;
  17100. if (PHY_IPA(pi))
  17101. wlc_phy_ipa_internal_tssi_setup_nphy(pi);
  17102. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17103. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17104. 0, 0x3, 0,
  17105. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17106. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17107. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 0);
  17108. wlc_phy_stopplayback_nphy(pi);
  17109. wlc_phy_tx_tone_nphy(pi, 4000, 0, 0, 0, false);
  17110. udelay(20);
  17111. int_val =
  17112. wlc_phy_poll_rssi_nphy(pi, (u8) NPHY_RSSI_SEL_TSSI_2G, rssi_buf,
  17113. 1);
  17114. wlc_phy_stopplayback_nphy(pi);
  17115. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, 0);
  17116. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17117. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17118. 0, 0x3, 1,
  17119. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17120. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17121. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 1);
  17122. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17123. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17124. (u8) ((int_val >> 24) & 0xff);
  17125. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17126. (u8) ((int_val >> 24) & 0xff);
  17127. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17128. (u8) ((int_val >> 8) & 0xff);
  17129. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17130. (u8) ((int_val >> 8) & 0xff);
  17131. } else {
  17132. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17133. (u8) ((int_val >> 24) & 0xff);
  17134. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17135. (u8) ((int_val >> 8) & 0xff);
  17136. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17137. (u8) ((int_val >> 16) & 0xff);
  17138. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17139. (u8) ((int_val) & 0xff);
  17140. }
  17141. }
  17142. static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi)
  17143. {
  17144. u8 idx, idx2, i, delta_ind;
  17145. for (idx = TXP_FIRST_CCK; idx <= TXP_LAST_CCK; idx++)
  17146. pi->adj_pwr_tbl_nphy[idx] = pi->tx_power_offset[idx];
  17147. for (i = 0; i < 4; i++) {
  17148. idx2 = 0;
  17149. delta_ind = 0;
  17150. switch (i) {
  17151. case 0:
  17152. if (CHSPEC_IS40(pi->radio_chanspec)
  17153. && NPHY_IS_SROM_REINTERPRET) {
  17154. idx = TXP_FIRST_MCS_40_SISO;
  17155. } else {
  17156. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17157. TXP_FIRST_OFDM_40_SISO : TXP_FIRST_OFDM;
  17158. delta_ind = 1;
  17159. }
  17160. break;
  17161. case 1:
  17162. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17163. TXP_FIRST_MCS_40_CDD : TXP_FIRST_MCS_20_CDD;
  17164. break;
  17165. case 2:
  17166. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17167. TXP_FIRST_MCS_40_STBC : TXP_FIRST_MCS_20_STBC;
  17168. break;
  17169. case 3:
  17170. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17171. TXP_FIRST_MCS_40_SDM : TXP_FIRST_MCS_20_SDM;
  17172. break;
  17173. }
  17174. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17175. pi->tx_power_offset[idx];
  17176. idx = idx + delta_ind;
  17177. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17178. pi->tx_power_offset[idx];
  17179. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17180. pi->tx_power_offset[idx];
  17181. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17182. pi->tx_power_offset[idx++];
  17183. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17184. pi->tx_power_offset[idx++];
  17185. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17186. pi->tx_power_offset[idx];
  17187. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17188. pi->tx_power_offset[idx];
  17189. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17190. pi->tx_power_offset[idx++];
  17191. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17192. pi->tx_power_offset[idx++];
  17193. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17194. pi->tx_power_offset[idx];
  17195. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17196. pi->tx_power_offset[idx];
  17197. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17198. pi->tx_power_offset[idx++];
  17199. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17200. pi->tx_power_offset[idx];
  17201. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17202. pi->tx_power_offset[idx++];
  17203. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17204. pi->tx_power_offset[idx];
  17205. idx = idx + 1 - delta_ind;
  17206. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17207. pi->tx_power_offset[idx];
  17208. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17209. pi->tx_power_offset[idx];
  17210. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17211. pi->tx_power_offset[idx];
  17212. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17213. pi->tx_power_offset[idx];
  17214. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17215. pi->tx_power_offset[idx];
  17216. }
  17217. }
  17218. static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi)
  17219. {
  17220. u32 idx;
  17221. s16 a1[2], b0[2], b1[2];
  17222. s8 target_pwr_qtrdbm[2];
  17223. s32 num, den, pwr_est;
  17224. u8 chan_freq_range;
  17225. u8 idle_tssi[2];
  17226. u32 tbl_id, tbl_len, tbl_offset;
  17227. u32 regval[64];
  17228. u8 core;
  17229. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17230. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17231. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17232. udelay(1);
  17233. }
  17234. if (pi->phyhang_avoid)
  17235. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17236. or_phy_reg(pi, 0x122, (0x1 << 0));
  17237. if (NREV_GE(pi->pubpi.phy_rev, 3))
  17238. and_phy_reg(pi, 0x1e7, (u16) (~(0x1 << 15)));
  17239. else
  17240. or_phy_reg(pi, 0x1e7, (0x1 << 15));
  17241. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17242. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17243. if (pi->sh->sromrev < 4) {
  17244. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17245. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17246. a1[0] = -424;
  17247. a1[1] = -424;
  17248. b0[0] = 5612;
  17249. b0[1] = 5612;
  17250. b1[1] = -1393;
  17251. b1[0] = -1393;
  17252. } else {
  17253. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  17254. switch (chan_freq_range) {
  17255. case WL_CHAN_FREQ_RANGE_2G:
  17256. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17257. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17258. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_a1;
  17259. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_a1;
  17260. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b0;
  17261. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b0;
  17262. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b1;
  17263. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b1;
  17264. break;
  17265. case WL_CHAN_FREQ_RANGE_5GL:
  17266. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17267. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17268. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1;
  17269. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1;
  17270. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0;
  17271. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0;
  17272. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1;
  17273. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1;
  17274. break;
  17275. case WL_CHAN_FREQ_RANGE_5GM:
  17276. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17277. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17278. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_a1;
  17279. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_a1;
  17280. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b0;
  17281. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b0;
  17282. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b1;
  17283. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b1;
  17284. break;
  17285. case WL_CHAN_FREQ_RANGE_5GH:
  17286. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17287. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17288. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1;
  17289. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1;
  17290. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0;
  17291. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0;
  17292. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1;
  17293. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1;
  17294. break;
  17295. default:
  17296. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17297. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17298. a1[0] = -424;
  17299. a1[1] = -424;
  17300. b0[0] = 5612;
  17301. b0[1] = 5612;
  17302. b1[1] = -1393;
  17303. b1[0] = -1393;
  17304. break;
  17305. }
  17306. }
  17307. /* use the provided transmit power */
  17308. target_pwr_qtrdbm[0] = (s8) pi->tx_power_max;
  17309. target_pwr_qtrdbm[1] = (s8) pi->tx_power_max;
  17310. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17311. if (pi->srom_fem2g.tssipos)
  17312. or_phy_reg(pi, 0x1e9, (0x1 << 14));
  17313. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17314. for (core = 0; core <= 1; core++) {
  17315. if (PHY_IPA(pi)) {
  17316. if (CHSPEC_IS2G(pi->radio_chanspec))
  17317. WRITE_RADIO_REG3(pi, RADIO_2057,
  17318. TX, core,
  17319. TX_SSI_MUX,
  17320. 0xe);
  17321. else
  17322. WRITE_RADIO_REG3(pi, RADIO_2057,
  17323. TX, core,
  17324. TX_SSI_MUX,
  17325. 0xc);
  17326. }
  17327. }
  17328. } else {
  17329. if (PHY_IPA(pi)) {
  17330. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17331. RADIO_2056_TX0,
  17332. (CHSPEC_IS5G
  17333. (pi->radio_chanspec)) ?
  17334. 0xc : 0xe);
  17335. write_radio_reg(pi,
  17336. RADIO_2056_TX_TX_SSI_MUX |
  17337. RADIO_2056_TX1,
  17338. (CHSPEC_IS5G
  17339. (pi->radio_chanspec)) ?
  17340. 0xc : 0xe);
  17341. } else {
  17342. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17343. RADIO_2056_TX0, 0x11);
  17344. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17345. RADIO_2056_TX1, 0x11);
  17346. }
  17347. }
  17348. }
  17349. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17350. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17351. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17352. udelay(1);
  17353. }
  17354. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17355. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17356. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17357. else
  17358. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17359. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17360. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17361. mod_phy_reg(pi, 0x222, (0xff << 0),
  17362. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17363. else if (NREV_GT(pi->pubpi.phy_rev, 1))
  17364. mod_phy_reg(pi, 0x222, (0xff << 0),
  17365. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17366. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17367. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17368. write_phy_reg(pi, 0x1e8, (0x3 << 8) | (240 << 0));
  17369. write_phy_reg(pi, 0x1e9,
  17370. (1 << 15) | (idle_tssi[0] << 0) | (idle_tssi[1] << 8));
  17371. write_phy_reg(pi, 0x1ea,
  17372. (target_pwr_qtrdbm[0] << 0) |
  17373. (target_pwr_qtrdbm[1] << 8));
  17374. tbl_len = 64;
  17375. tbl_offset = 0;
  17376. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  17377. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  17378. for (idx = 0; idx < tbl_len; idx++) {
  17379. num = 8 *
  17380. (16 * b0[tbl_id - 26] + b1[tbl_id - 26] * idx);
  17381. den = 32768 + a1[tbl_id - 26] * idx;
  17382. pwr_est = max(((4 * num + den / 2) / den), -8);
  17383. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  17384. if (idx <=
  17385. (uint) (31 - idle_tssi[tbl_id - 26] + 1))
  17386. pwr_est =
  17387. max(pwr_est,
  17388. target_pwr_qtrdbm
  17389. [tbl_id - 26] + 1);
  17390. }
  17391. regval[idx] = (u32) pwr_est;
  17392. }
  17393. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  17394. regval);
  17395. }
  17396. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  17397. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64, 8,
  17398. pi->adj_pwr_tbl_nphy);
  17399. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64, 8,
  17400. pi->adj_pwr_tbl_nphy);
  17401. if (pi->phyhang_avoid)
  17402. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17403. }
  17404. static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi)
  17405. {
  17406. u32 *tx_pwrctrl_tbl = NULL;
  17407. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17408. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17409. if ((pi->pubpi.radiorev == 4)
  17410. || (pi->pubpi.radiorev == 6))
  17411. tx_pwrctrl_tbl =
  17412. nphy_tpc_txgain_ipa_2g_2057rev4n6;
  17413. else if (pi->pubpi.radiorev == 3)
  17414. tx_pwrctrl_tbl =
  17415. nphy_tpc_txgain_ipa_2g_2057rev3;
  17416. else if (pi->pubpi.radiorev == 5)
  17417. tx_pwrctrl_tbl =
  17418. nphy_tpc_txgain_ipa_2g_2057rev5;
  17419. else if ((pi->pubpi.radiorev == 7)
  17420. || (pi->pubpi.radiorev == 8))
  17421. tx_pwrctrl_tbl =
  17422. nphy_tpc_txgain_ipa_2g_2057rev7;
  17423. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17424. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev6;
  17425. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17426. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17427. } else {
  17428. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa;
  17429. }
  17430. } else {
  17431. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17432. if ((pi->pubpi.radiorev == 3) ||
  17433. (pi->pubpi.radiorev == 4) ||
  17434. (pi->pubpi.radiorev == 6))
  17435. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g_2057;
  17436. else if ((pi->pubpi.radiorev == 7)
  17437. || (pi->pubpi.radiorev == 8))
  17438. tx_pwrctrl_tbl =
  17439. nphy_tpc_txgain_ipa_5g_2057rev7;
  17440. } else {
  17441. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g;
  17442. }
  17443. }
  17444. return tx_pwrctrl_tbl;
  17445. }
  17446. static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi)
  17447. {
  17448. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17449. if (pi->nphy_rssical_chanspec_2G == 0)
  17450. return;
  17451. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17452. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17453. RADIO_2057_VCM_MASK,
  17454. pi->rssical_cache.
  17455. rssical_radio_regs_2G[0]);
  17456. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17457. RADIO_2057_VCM_MASK,
  17458. pi->rssical_cache.
  17459. rssical_radio_regs_2G[1]);
  17460. } else {
  17461. mod_radio_reg(pi,
  17462. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17463. RADIO_2056_VCM_MASK,
  17464. pi->rssical_cache.
  17465. rssical_radio_regs_2G[0]);
  17466. mod_radio_reg(pi,
  17467. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17468. RADIO_2056_VCM_MASK,
  17469. pi->rssical_cache.
  17470. rssical_radio_regs_2G[1]);
  17471. }
  17472. write_phy_reg(pi, 0x1a6,
  17473. pi->rssical_cache.rssical_phyregs_2G[0]);
  17474. write_phy_reg(pi, 0x1ac,
  17475. pi->rssical_cache.rssical_phyregs_2G[1]);
  17476. write_phy_reg(pi, 0x1b2,
  17477. pi->rssical_cache.rssical_phyregs_2G[2]);
  17478. write_phy_reg(pi, 0x1b8,
  17479. pi->rssical_cache.rssical_phyregs_2G[3]);
  17480. write_phy_reg(pi, 0x1a4,
  17481. pi->rssical_cache.rssical_phyregs_2G[4]);
  17482. write_phy_reg(pi, 0x1aa,
  17483. pi->rssical_cache.rssical_phyregs_2G[5]);
  17484. write_phy_reg(pi, 0x1b0,
  17485. pi->rssical_cache.rssical_phyregs_2G[6]);
  17486. write_phy_reg(pi, 0x1b6,
  17487. pi->rssical_cache.rssical_phyregs_2G[7]);
  17488. write_phy_reg(pi, 0x1a5,
  17489. pi->rssical_cache.rssical_phyregs_2G[8]);
  17490. write_phy_reg(pi, 0x1ab,
  17491. pi->rssical_cache.rssical_phyregs_2G[9]);
  17492. write_phy_reg(pi, 0x1b1,
  17493. pi->rssical_cache.rssical_phyregs_2G[10]);
  17494. write_phy_reg(pi, 0x1b7,
  17495. pi->rssical_cache.rssical_phyregs_2G[11]);
  17496. } else {
  17497. if (pi->nphy_rssical_chanspec_5G == 0)
  17498. return;
  17499. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17500. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17501. RADIO_2057_VCM_MASK,
  17502. pi->rssical_cache.
  17503. rssical_radio_regs_5G[0]);
  17504. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17505. RADIO_2057_VCM_MASK,
  17506. pi->rssical_cache.
  17507. rssical_radio_regs_5G[1]);
  17508. } else {
  17509. mod_radio_reg(pi,
  17510. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17511. RADIO_2056_VCM_MASK,
  17512. pi->rssical_cache.
  17513. rssical_radio_regs_5G[0]);
  17514. mod_radio_reg(pi,
  17515. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17516. RADIO_2056_VCM_MASK,
  17517. pi->rssical_cache.
  17518. rssical_radio_regs_5G[1]);
  17519. }
  17520. write_phy_reg(pi, 0x1a6,
  17521. pi->rssical_cache.rssical_phyregs_5G[0]);
  17522. write_phy_reg(pi, 0x1ac,
  17523. pi->rssical_cache.rssical_phyregs_5G[1]);
  17524. write_phy_reg(pi, 0x1b2,
  17525. pi->rssical_cache.rssical_phyregs_5G[2]);
  17526. write_phy_reg(pi, 0x1b8,
  17527. pi->rssical_cache.rssical_phyregs_5G[3]);
  17528. write_phy_reg(pi, 0x1a4,
  17529. pi->rssical_cache.rssical_phyregs_5G[4]);
  17530. write_phy_reg(pi, 0x1aa,
  17531. pi->rssical_cache.rssical_phyregs_5G[5]);
  17532. write_phy_reg(pi, 0x1b0,
  17533. pi->rssical_cache.rssical_phyregs_5G[6]);
  17534. write_phy_reg(pi, 0x1b6,
  17535. pi->rssical_cache.rssical_phyregs_5G[7]);
  17536. write_phy_reg(pi, 0x1a5,
  17537. pi->rssical_cache.rssical_phyregs_5G[8]);
  17538. write_phy_reg(pi, 0x1ab,
  17539. pi->rssical_cache.rssical_phyregs_5G[9]);
  17540. write_phy_reg(pi, 0x1b1,
  17541. pi->rssical_cache.rssical_phyregs_5G[10]);
  17542. write_phy_reg(pi, 0x1b7,
  17543. pi->rssical_cache.rssical_phyregs_5G[11]);
  17544. }
  17545. }
  17546. static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi)
  17547. {
  17548. u16 txcal_gain[2];
  17549. pi->nphy_txcal_pwr_idx[0] = pi->nphy_cal_orig_pwr_idx[0];
  17550. pi->nphy_txcal_pwr_idx[1] = pi->nphy_cal_orig_pwr_idx[0];
  17551. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17552. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17553. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17554. txcal_gain);
  17555. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17556. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F40;
  17557. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F40;
  17558. } else {
  17559. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F60;
  17560. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F60;
  17561. }
  17562. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17563. txcal_gain);
  17564. }
  17565. static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi)
  17566. {
  17567. bool save_bbmult = false;
  17568. u8 txcal_index_2057_rev5n7 = 0;
  17569. u8 txcal_index_2057_rev3n4n6 = 10;
  17570. if (pi->use_int_tx_iqlo_cal_nphy) {
  17571. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17572. if ((pi->pubpi.radiorev == 3) ||
  17573. (pi->pubpi.radiorev == 4) ||
  17574. (pi->pubpi.radiorev == 6)) {
  17575. pi->nphy_txcal_pwr_idx[0] =
  17576. txcal_index_2057_rev3n4n6;
  17577. pi->nphy_txcal_pwr_idx[1] =
  17578. txcal_index_2057_rev3n4n6;
  17579. wlc_phy_txpwr_index_nphy(
  17580. pi, 3,
  17581. txcal_index_2057_rev3n4n6,
  17582. false);
  17583. } else {
  17584. pi->nphy_txcal_pwr_idx[0] =
  17585. txcal_index_2057_rev5n7;
  17586. pi->nphy_txcal_pwr_idx[1] =
  17587. txcal_index_2057_rev5n7;
  17588. wlc_phy_txpwr_index_nphy(
  17589. pi, 3,
  17590. txcal_index_2057_rev5n7,
  17591. false);
  17592. }
  17593. save_bbmult = true;
  17594. } else if (NREV_LT(pi->pubpi.phy_rev, 5)) {
  17595. wlc_phy_cal_txgainctrl_nphy(pi, 11, false);
  17596. if (pi->sh->hw_phytxchain != 3) {
  17597. pi->nphy_txcal_pwr_idx[1] =
  17598. pi->nphy_txcal_pwr_idx[0];
  17599. wlc_phy_txpwr_index_nphy(pi, 3,
  17600. pi->
  17601. nphy_txcal_pwr_idx[0],
  17602. true);
  17603. save_bbmult = true;
  17604. }
  17605. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17606. if (PHY_IPA(pi)) {
  17607. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17608. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17609. false);
  17610. } else {
  17611. pi->nphy_txcal_pwr_idx[0] = 80;
  17612. pi->nphy_txcal_pwr_idx[1] = 80;
  17613. wlc_phy_txpwr_index_nphy(pi, 3, 80,
  17614. false);
  17615. save_bbmult = true;
  17616. }
  17617. } else {
  17618. wlc_phy_internal_cal_txgain_nphy(pi);
  17619. save_bbmult = true;
  17620. }
  17621. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17622. if (PHY_IPA(pi)) {
  17623. if (CHSPEC_IS2G(pi->radio_chanspec))
  17624. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17625. false);
  17626. else
  17627. wlc_phy_cal_txgainctrl_nphy(pi, 14,
  17628. false);
  17629. } else {
  17630. wlc_phy_internal_cal_txgain_nphy(pi);
  17631. save_bbmult = true;
  17632. }
  17633. }
  17634. } else {
  17635. wlc_phy_cal_txgainctrl_nphy(pi, 10, false);
  17636. }
  17637. if (save_bbmult)
  17638. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  17639. &pi->nphy_txcal_bbmult);
  17640. }
  17641. static void
  17642. wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value,
  17643. u8 core_code)
  17644. {
  17645. u16 mask;
  17646. u16 val;
  17647. u8 core;
  17648. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17649. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17650. if (core_code == RADIO_MIMO_CORESEL_CORE1
  17651. && core == PHY_CORE_1)
  17652. continue;
  17653. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  17654. && core == PHY_CORE_0)
  17655. continue;
  17656. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  17657. mask = (0x1 << 10);
  17658. val = 1 << 10;
  17659. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17660. 0x92, mask, val);
  17661. }
  17662. if (field == NPHY_RfctrlIntc_override_OFF) {
  17663. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17664. 0x92, 0);
  17665. wlc_phy_force_rfseq_nphy(pi,
  17666. NPHY_RFSEQ_RESET2RX);
  17667. } else if (field == NPHY_RfctrlIntc_override_TRSW) {
  17668. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17669. mask = (0x1 << 6) | (0x1 << 7);
  17670. val = value << 6;
  17671. mod_phy_reg(pi,
  17672. (core ==
  17673. PHY_CORE_0) ? 0x91 : 0x92,
  17674. mask, val);
  17675. or_phy_reg(pi,
  17676. (core ==
  17677. PHY_CORE_0) ? 0x91 : 0x92,
  17678. (0x1 << 10));
  17679. and_phy_reg(pi, 0x2ff, (u16)
  17680. ~(0x3 << 14));
  17681. or_phy_reg(pi, 0x2ff, (0x1 << 13));
  17682. or_phy_reg(pi, 0x2ff, (0x1 << 0));
  17683. } else {
  17684. mask = (0x1 << 6) |
  17685. (0x1 << 7) |
  17686. (0x1 << 8) | (0x1 << 9);
  17687. val = value << 6;
  17688. mod_phy_reg(pi,
  17689. (core ==
  17690. PHY_CORE_0) ? 0x91 : 0x92,
  17691. mask, val);
  17692. mask = (0x1 << 0);
  17693. val = 1 << 0;
  17694. mod_phy_reg(pi,
  17695. (core ==
  17696. PHY_CORE_0) ? 0xe7 : 0xec,
  17697. mask, val);
  17698. mask = (core == PHY_CORE_0) ?
  17699. (0x1 << 0) : (0x1 << 1);
  17700. val = 1 << ((core == PHY_CORE_0) ?
  17701. 0 : 1);
  17702. mod_phy_reg(pi, 0x78, mask, val);
  17703. SPINWAIT(((read_phy_reg(pi, 0x78) & val)
  17704. != 0), 10000);
  17705. if (WARN(read_phy_reg(pi, 0x78) & val,
  17706. "HW error: override failed"))
  17707. return;
  17708. mask = (0x1 << 0);
  17709. val = 0 << 0;
  17710. mod_phy_reg(pi,
  17711. (core ==
  17712. PHY_CORE_0) ? 0xe7 : 0xec,
  17713. mask, val);
  17714. }
  17715. } else if (field == NPHY_RfctrlIntc_override_PA) {
  17716. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17717. mask = (0x1 << 4) | (0x1 << 5);
  17718. if (CHSPEC_IS5G(pi->radio_chanspec))
  17719. val = value << 5;
  17720. else
  17721. val = value << 4;
  17722. mod_phy_reg(pi,
  17723. (core ==
  17724. PHY_CORE_0) ? 0x91 : 0x92,
  17725. mask, val);
  17726. or_phy_reg(pi,
  17727. (core ==
  17728. PHY_CORE_0) ? 0x91 : 0x92,
  17729. (0x1 << 12));
  17730. } else {
  17731. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17732. mask = (0x1 << 5);
  17733. val = value << 5;
  17734. } else {
  17735. mask = (0x1 << 4);
  17736. val = value << 4;
  17737. }
  17738. mod_phy_reg(pi,
  17739. (core ==
  17740. PHY_CORE_0) ? 0x91 : 0x92,
  17741. mask, val);
  17742. }
  17743. } else if (field ==
  17744. NPHY_RfctrlIntc_override_EXT_LNA_PU) {
  17745. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17746. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17747. mask = (0x1 << 0);
  17748. val = value << 0;
  17749. mod_phy_reg(pi,
  17750. (core ==
  17751. PHY_CORE_0) ? 0x91
  17752. : 0x92, mask, val);
  17753. mask = (0x1 << 2);
  17754. mod_phy_reg(pi,
  17755. (core ==
  17756. PHY_CORE_0) ? 0x91
  17757. : 0x92, mask, 0);
  17758. } else {
  17759. mask = (0x1 << 2);
  17760. val = value << 2;
  17761. mod_phy_reg(pi,
  17762. (core ==
  17763. PHY_CORE_0) ? 0x91
  17764. : 0x92, mask, val);
  17765. mask = (0x1 << 0);
  17766. mod_phy_reg(pi,
  17767. (core ==
  17768. PHY_CORE_0) ? 0x91
  17769. : 0x92, mask, 0);
  17770. }
  17771. mask = (0x1 << 11);
  17772. val = 1 << 11;
  17773. mod_phy_reg(pi,
  17774. (core ==
  17775. PHY_CORE_0) ? 0x91 : 0x92,
  17776. mask, val);
  17777. } else {
  17778. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17779. mask = (0x1 << 0);
  17780. val = value << 0;
  17781. } else {
  17782. mask = (0x1 << 2);
  17783. val = value << 2;
  17784. }
  17785. mod_phy_reg(pi,
  17786. (core ==
  17787. PHY_CORE_0) ? 0x91 : 0x92,
  17788. mask, val);
  17789. }
  17790. } else if (field ==
  17791. NPHY_RfctrlIntc_override_EXT_LNA_GAIN) {
  17792. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17793. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17794. mask = (0x1 << 1);
  17795. val = value << 1;
  17796. mod_phy_reg(pi,
  17797. (core ==
  17798. PHY_CORE_0) ? 0x91
  17799. : 0x92, mask, val);
  17800. mask = (0x1 << 3);
  17801. mod_phy_reg(pi,
  17802. (core ==
  17803. PHY_CORE_0) ? 0x91
  17804. : 0x92, mask, 0);
  17805. } else {
  17806. mask = (0x1 << 3);
  17807. val = value << 3;
  17808. mod_phy_reg(pi,
  17809. (core ==
  17810. PHY_CORE_0) ? 0x91
  17811. : 0x92, mask, val);
  17812. mask = (0x1 << 1);
  17813. mod_phy_reg(pi,
  17814. (core ==
  17815. PHY_CORE_0) ? 0x91
  17816. : 0x92, mask, 0);
  17817. }
  17818. mask = (0x1 << 11);
  17819. val = 1 << 11;
  17820. mod_phy_reg(pi,
  17821. (core ==
  17822. PHY_CORE_0) ? 0x91 : 0x92,
  17823. mask, val);
  17824. } else {
  17825. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17826. mask = (0x1 << 1);
  17827. val = value << 1;
  17828. } else {
  17829. mask = (0x1 << 3);
  17830. val = value << 3;
  17831. }
  17832. mod_phy_reg(pi,
  17833. (core ==
  17834. PHY_CORE_0) ? 0x91 : 0x92,
  17835. mask, val);
  17836. }
  17837. }
  17838. }
  17839. }
  17840. }
  17841. void
  17842. wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower,
  17843. bool debug)
  17844. {
  17845. int gainctrl_loopidx;
  17846. uint core;
  17847. u16 m0m1, curr_m0m1;
  17848. s32 delta_power;
  17849. s32 txpwrindex;
  17850. s32 qdBm_power[2];
  17851. u16 orig_BBConfig;
  17852. u16 phy_saveregs[4];
  17853. u32 freq_test;
  17854. u16 ampl_test = 250;
  17855. uint stepsize;
  17856. bool phyhang_avoid_state = false;
  17857. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17858. stepsize = 2;
  17859. else
  17860. stepsize = 1;
  17861. if (CHSPEC_IS40(pi->radio_chanspec))
  17862. freq_test = 5000;
  17863. else
  17864. freq_test = 2500;
  17865. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17866. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17867. if (pi->phyhang_avoid)
  17868. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17869. phyhang_avoid_state = pi->phyhang_avoid;
  17870. pi->phyhang_avoid = false;
  17871. phy_saveregs[0] = read_phy_reg(pi, 0x91);
  17872. phy_saveregs[1] = read_phy_reg(pi, 0x92);
  17873. phy_saveregs[2] = read_phy_reg(pi, 0xe7);
  17874. phy_saveregs[3] = read_phy_reg(pi, 0xec);
  17875. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 1,
  17876. RADIO_MIMO_CORESEL_CORE1 |
  17877. RADIO_MIMO_CORESEL_CORE2);
  17878. if (!debug) {
  17879. wlc_phy_rfctrlintc_override_nphy(pi,
  17880. NPHY_RfctrlIntc_override_TRSW,
  17881. 0x2, RADIO_MIMO_CORESEL_CORE1);
  17882. wlc_phy_rfctrlintc_override_nphy(pi,
  17883. NPHY_RfctrlIntc_override_TRSW,
  17884. 0x8, RADIO_MIMO_CORESEL_CORE2);
  17885. } else {
  17886. wlc_phy_rfctrlintc_override_nphy(pi,
  17887. NPHY_RfctrlIntc_override_TRSW,
  17888. 0x1, RADIO_MIMO_CORESEL_CORE1);
  17889. wlc_phy_rfctrlintc_override_nphy(pi,
  17890. NPHY_RfctrlIntc_override_TRSW,
  17891. 0x7, RADIO_MIMO_CORESEL_CORE2);
  17892. }
  17893. orig_BBConfig = read_phy_reg(pi, 0x01);
  17894. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  17895. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  17896. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17897. txpwrindex = (s32) pi->nphy_cal_orig_pwr_idx[core];
  17898. for (gainctrl_loopidx = 0; gainctrl_loopidx < 2;
  17899. gainctrl_loopidx++) {
  17900. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17901. false);
  17902. if (core == PHY_CORE_0)
  17903. curr_m0m1 = m0m1 & 0xff00;
  17904. else
  17905. curr_m0m1 = m0m1 & 0x00ff;
  17906. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &curr_m0m1);
  17907. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &curr_m0m1);
  17908. udelay(50);
  17909. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17910. NPHY_CAL_TSSISAMPS);
  17911. pi->nphy_bb_mult_save = 0;
  17912. wlc_phy_stopplayback_nphy(pi);
  17913. delta_power = (dBm_targetpower * 4) - qdBm_power[core];
  17914. txpwrindex -= stepsize * delta_power;
  17915. if (txpwrindex < 0)
  17916. txpwrindex = 0;
  17917. else if (txpwrindex > 127)
  17918. txpwrindex = 127;
  17919. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17920. if (NREV_IS(pi->pubpi.phy_rev, 4) &&
  17921. (pi->srom_fem5g.extpagain == 3)) {
  17922. if (txpwrindex < 30)
  17923. txpwrindex = 30;
  17924. }
  17925. } else {
  17926. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  17927. (pi->srom_fem2g.extpagain == 3)) {
  17928. if (txpwrindex < 50)
  17929. txpwrindex = 50;
  17930. }
  17931. }
  17932. wlc_phy_txpwr_index_nphy(pi, (1 << core),
  17933. (u8) txpwrindex, true);
  17934. }
  17935. pi->nphy_txcal_pwr_idx[core] = (u8) txpwrindex;
  17936. if (debug) {
  17937. u16 radio_gain;
  17938. u16 dbg_m0m1;
  17939. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17940. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17941. false);
  17942. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17943. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &dbg_m0m1);
  17944. udelay(100);
  17945. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17946. NPHY_CAL_TSSISAMPS);
  17947. wlc_phy_table_read_nphy(pi, 7, 1, (0x110 + core), 16,
  17948. &radio_gain);
  17949. mdelay(4000);
  17950. pi->nphy_bb_mult_save = 0;
  17951. wlc_phy_stopplayback_nphy(pi);
  17952. }
  17953. }
  17954. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_txcal_pwr_idx[0], true);
  17955. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_txcal_pwr_idx[1], true);
  17956. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &pi->nphy_txcal_bbmult);
  17957. write_phy_reg(pi, 0x01, orig_BBConfig);
  17958. write_phy_reg(pi, 0x91, phy_saveregs[0]);
  17959. write_phy_reg(pi, 0x92, phy_saveregs[1]);
  17960. write_phy_reg(pi, 0xe7, phy_saveregs[2]);
  17961. write_phy_reg(pi, 0xec, phy_saveregs[3]);
  17962. pi->phyhang_avoid = phyhang_avoid_state;
  17963. if (pi->phyhang_avoid)
  17964. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17965. }
  17966. static void wlc_phy_savecal_nphy(struct brcms_phy *pi)
  17967. {
  17968. void *tbl_ptr;
  17969. int coreNum;
  17970. u16 *txcal_radio_regs = NULL;
  17971. if (pi->phyhang_avoid)
  17972. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17973. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17974. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17975. &pi->calibration_cache.
  17976. rxcal_coeffs_2G);
  17977. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17978. txcal_radio_regs =
  17979. pi->calibration_cache.txcal_radio_regs_2G;
  17980. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17981. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17982. read_radio_reg(pi,
  17983. RADIO_2056_TX_LOFT_FINE_I |
  17984. RADIO_2056_TX0);
  17985. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17986. read_radio_reg(pi,
  17987. RADIO_2056_TX_LOFT_FINE_Q |
  17988. RADIO_2056_TX0);
  17989. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17990. read_radio_reg(pi,
  17991. RADIO_2056_TX_LOFT_FINE_I |
  17992. RADIO_2056_TX1);
  17993. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17994. read_radio_reg(pi,
  17995. RADIO_2056_TX_LOFT_FINE_Q |
  17996. RADIO_2056_TX1);
  17997. pi->calibration_cache.txcal_radio_regs_2G[4] =
  17998. read_radio_reg(pi,
  17999. RADIO_2056_TX_LOFT_COARSE_I |
  18000. RADIO_2056_TX0);
  18001. pi->calibration_cache.txcal_radio_regs_2G[5] =
  18002. read_radio_reg(pi,
  18003. RADIO_2056_TX_LOFT_COARSE_Q |
  18004. RADIO_2056_TX0);
  18005. pi->calibration_cache.txcal_radio_regs_2G[6] =
  18006. read_radio_reg(pi,
  18007. RADIO_2056_TX_LOFT_COARSE_I |
  18008. RADIO_2056_TX1);
  18009. pi->calibration_cache.txcal_radio_regs_2G[7] =
  18010. read_radio_reg(pi,
  18011. RADIO_2056_TX_LOFT_COARSE_Q |
  18012. RADIO_2056_TX1);
  18013. } else {
  18014. pi->calibration_cache.txcal_radio_regs_2G[0] =
  18015. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18016. pi->calibration_cache.txcal_radio_regs_2G[1] =
  18017. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18018. pi->calibration_cache.txcal_radio_regs_2G[2] =
  18019. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18020. pi->calibration_cache.txcal_radio_regs_2G[3] =
  18021. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18022. }
  18023. pi->nphy_iqcal_chanspec_2G = pi->radio_chanspec;
  18024. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18025. } else {
  18026. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  18027. &pi->calibration_cache.
  18028. rxcal_coeffs_5G);
  18029. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18030. txcal_radio_regs =
  18031. pi->calibration_cache.txcal_radio_regs_5G;
  18032. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18033. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18034. read_radio_reg(pi,
  18035. RADIO_2056_TX_LOFT_FINE_I |
  18036. RADIO_2056_TX0);
  18037. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18038. read_radio_reg(pi,
  18039. RADIO_2056_TX_LOFT_FINE_Q |
  18040. RADIO_2056_TX0);
  18041. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18042. read_radio_reg(pi,
  18043. RADIO_2056_TX_LOFT_FINE_I |
  18044. RADIO_2056_TX1);
  18045. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18046. read_radio_reg(pi,
  18047. RADIO_2056_TX_LOFT_FINE_Q |
  18048. RADIO_2056_TX1);
  18049. pi->calibration_cache.txcal_radio_regs_5G[4] =
  18050. read_radio_reg(pi,
  18051. RADIO_2056_TX_LOFT_COARSE_I |
  18052. RADIO_2056_TX0);
  18053. pi->calibration_cache.txcal_radio_regs_5G[5] =
  18054. read_radio_reg(pi,
  18055. RADIO_2056_TX_LOFT_COARSE_Q |
  18056. RADIO_2056_TX0);
  18057. pi->calibration_cache.txcal_radio_regs_5G[6] =
  18058. read_radio_reg(pi,
  18059. RADIO_2056_TX_LOFT_COARSE_I |
  18060. RADIO_2056_TX1);
  18061. pi->calibration_cache.txcal_radio_regs_5G[7] =
  18062. read_radio_reg(pi,
  18063. RADIO_2056_TX_LOFT_COARSE_Q |
  18064. RADIO_2056_TX1);
  18065. } else {
  18066. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18067. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18068. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18069. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18070. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18071. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18072. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18073. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18074. }
  18075. pi->nphy_iqcal_chanspec_5G = pi->radio_chanspec;
  18076. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18077. }
  18078. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18079. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18080. txcal_radio_regs[2 * coreNum] =
  18081. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18082. LOFT_FINE_I);
  18083. txcal_radio_regs[2 * coreNum + 1] =
  18084. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18085. LOFT_FINE_Q);
  18086. txcal_radio_regs[2 * coreNum + 4] =
  18087. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18088. LOFT_COARSE_I);
  18089. txcal_radio_regs[2 * coreNum + 5] =
  18090. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18091. LOFT_COARSE_Q);
  18092. }
  18093. }
  18094. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 8, 80, 16, tbl_ptr);
  18095. if (pi->phyhang_avoid)
  18096. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18097. }
  18098. static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi)
  18099. {
  18100. struct nphy_iq_comp tx_comp;
  18101. wlc_phy_table_read_nphy(pi, 15, 4, 0x50, 16, &tx_comp);
  18102. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0);
  18103. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0);
  18104. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 4, tx_comp.a1);
  18105. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 6, tx_comp.b1);
  18106. }
  18107. static void wlc_phy_restorecal_nphy(struct brcms_phy *pi)
  18108. {
  18109. u16 *loft_comp;
  18110. u16 txcal_coeffs_bphy[4];
  18111. u16 *tbl_ptr;
  18112. int coreNum;
  18113. u16 *txcal_radio_regs = NULL;
  18114. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18115. if (pi->nphy_iqcal_chanspec_2G == 0)
  18116. return;
  18117. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18118. loft_comp = &pi->calibration_cache.txcal_coeffs_2G[5];
  18119. } else {
  18120. if (pi->nphy_iqcal_chanspec_5G == 0)
  18121. return;
  18122. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18123. loft_comp = &pi->calibration_cache.txcal_coeffs_5G[5];
  18124. }
  18125. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80, 16, tbl_ptr);
  18126. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18127. txcal_coeffs_bphy[0] = tbl_ptr[0];
  18128. txcal_coeffs_bphy[1] = tbl_ptr[1];
  18129. txcal_coeffs_bphy[2] = tbl_ptr[2];
  18130. txcal_coeffs_bphy[3] = tbl_ptr[3];
  18131. } else {
  18132. txcal_coeffs_bphy[0] = 0;
  18133. txcal_coeffs_bphy[1] = 0;
  18134. txcal_coeffs_bphy[2] = 0;
  18135. txcal_coeffs_bphy[3] = 0;
  18136. }
  18137. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88, 16,
  18138. txcal_coeffs_bphy);
  18139. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85, 16, loft_comp);
  18140. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93, 16, loft_comp);
  18141. if (NREV_LT(pi->pubpi.phy_rev, 2))
  18142. wlc_phy_tx_iq_war_nphy(pi);
  18143. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18144. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18145. txcal_radio_regs =
  18146. pi->calibration_cache.txcal_radio_regs_2G;
  18147. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18148. write_radio_reg(pi,
  18149. RADIO_2056_TX_LOFT_FINE_I |
  18150. RADIO_2056_TX0,
  18151. pi->calibration_cache.
  18152. txcal_radio_regs_2G[0]);
  18153. write_radio_reg(pi,
  18154. RADIO_2056_TX_LOFT_FINE_Q |
  18155. RADIO_2056_TX0,
  18156. pi->calibration_cache.
  18157. txcal_radio_regs_2G[1]);
  18158. write_radio_reg(pi,
  18159. RADIO_2056_TX_LOFT_FINE_I |
  18160. RADIO_2056_TX1,
  18161. pi->calibration_cache.
  18162. txcal_radio_regs_2G[2]);
  18163. write_radio_reg(pi,
  18164. RADIO_2056_TX_LOFT_FINE_Q |
  18165. RADIO_2056_TX1,
  18166. pi->calibration_cache.
  18167. txcal_radio_regs_2G[3]);
  18168. write_radio_reg(pi,
  18169. RADIO_2056_TX_LOFT_COARSE_I |
  18170. RADIO_2056_TX0,
  18171. pi->calibration_cache.
  18172. txcal_radio_regs_2G[4]);
  18173. write_radio_reg(pi,
  18174. RADIO_2056_TX_LOFT_COARSE_Q |
  18175. RADIO_2056_TX0,
  18176. pi->calibration_cache.
  18177. txcal_radio_regs_2G[5]);
  18178. write_radio_reg(pi,
  18179. RADIO_2056_TX_LOFT_COARSE_I |
  18180. RADIO_2056_TX1,
  18181. pi->calibration_cache.
  18182. txcal_radio_regs_2G[6]);
  18183. write_radio_reg(pi,
  18184. RADIO_2056_TX_LOFT_COARSE_Q |
  18185. RADIO_2056_TX1,
  18186. pi->calibration_cache.
  18187. txcal_radio_regs_2G[7]);
  18188. } else {
  18189. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18190. pi->calibration_cache.
  18191. txcal_radio_regs_2G[0]);
  18192. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18193. pi->calibration_cache.
  18194. txcal_radio_regs_2G[1]);
  18195. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18196. pi->calibration_cache.
  18197. txcal_radio_regs_2G[2]);
  18198. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18199. pi->calibration_cache.
  18200. txcal_radio_regs_2G[3]);
  18201. }
  18202. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18203. &pi->calibration_cache.
  18204. rxcal_coeffs_2G);
  18205. } else {
  18206. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18207. txcal_radio_regs =
  18208. pi->calibration_cache.txcal_radio_regs_5G;
  18209. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18210. write_radio_reg(pi,
  18211. RADIO_2056_TX_LOFT_FINE_I |
  18212. RADIO_2056_TX0,
  18213. pi->calibration_cache.
  18214. txcal_radio_regs_5G[0]);
  18215. write_radio_reg(pi,
  18216. RADIO_2056_TX_LOFT_FINE_Q |
  18217. RADIO_2056_TX0,
  18218. pi->calibration_cache.
  18219. txcal_radio_regs_5G[1]);
  18220. write_radio_reg(pi,
  18221. RADIO_2056_TX_LOFT_FINE_I |
  18222. RADIO_2056_TX1,
  18223. pi->calibration_cache.
  18224. txcal_radio_regs_5G[2]);
  18225. write_radio_reg(pi,
  18226. RADIO_2056_TX_LOFT_FINE_Q |
  18227. RADIO_2056_TX1,
  18228. pi->calibration_cache.
  18229. txcal_radio_regs_5G[3]);
  18230. write_radio_reg(pi,
  18231. RADIO_2056_TX_LOFT_COARSE_I |
  18232. RADIO_2056_TX0,
  18233. pi->calibration_cache.
  18234. txcal_radio_regs_5G[4]);
  18235. write_radio_reg(pi,
  18236. RADIO_2056_TX_LOFT_COARSE_Q |
  18237. RADIO_2056_TX0,
  18238. pi->calibration_cache.
  18239. txcal_radio_regs_5G[5]);
  18240. write_radio_reg(pi,
  18241. RADIO_2056_TX_LOFT_COARSE_I |
  18242. RADIO_2056_TX1,
  18243. pi->calibration_cache.
  18244. txcal_radio_regs_5G[6]);
  18245. write_radio_reg(pi,
  18246. RADIO_2056_TX_LOFT_COARSE_Q |
  18247. RADIO_2056_TX1,
  18248. pi->calibration_cache.
  18249. txcal_radio_regs_5G[7]);
  18250. } else {
  18251. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18252. pi->calibration_cache.
  18253. txcal_radio_regs_5G[0]);
  18254. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18255. pi->calibration_cache.
  18256. txcal_radio_regs_5G[1]);
  18257. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18258. pi->calibration_cache.
  18259. txcal_radio_regs_5G[2]);
  18260. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18261. pi->calibration_cache.
  18262. txcal_radio_regs_5G[3]);
  18263. }
  18264. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18265. &pi->calibration_cache.
  18266. rxcal_coeffs_5G);
  18267. }
  18268. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18269. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18270. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18271. LOFT_FINE_I,
  18272. txcal_radio_regs[2 * coreNum]);
  18273. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18274. LOFT_FINE_Q,
  18275. txcal_radio_regs[2 * coreNum + 1]);
  18276. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18277. LOFT_COARSE_I,
  18278. txcal_radio_regs[2 * coreNum + 4]);
  18279. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18280. LOFT_COARSE_Q,
  18281. txcal_radio_regs[2 * coreNum + 5]);
  18282. }
  18283. }
  18284. }
  18285. static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi)
  18286. {
  18287. u32 idx;
  18288. u16 iqloCalbuf[7];
  18289. u32 iqcomp, locomp, curr_locomp;
  18290. s8 locomp_i, locomp_q;
  18291. s8 curr_locomp_i, curr_locomp_q;
  18292. u32 tbl_id, tbl_len, tbl_offset;
  18293. u32 regval[128];
  18294. if (pi->phyhang_avoid)
  18295. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18296. wlc_phy_table_read_nphy(pi, 15, 7, 80, 16, iqloCalbuf);
  18297. tbl_len = 128;
  18298. tbl_offset = 320;
  18299. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18300. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18301. iqcomp =
  18302. (tbl_id ==
  18303. 26) ? (((u32) (iqloCalbuf[0] & 0x3ff)) << 10) |
  18304. (iqloCalbuf[1] & 0x3ff)
  18305. : (((u32) (iqloCalbuf[2] & 0x3ff)) << 10) |
  18306. (iqloCalbuf[3] & 0x3ff);
  18307. for (idx = 0; idx < tbl_len; idx++)
  18308. regval[idx] = iqcomp;
  18309. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18310. regval);
  18311. }
  18312. tbl_offset = 448;
  18313. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18314. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18315. locomp =
  18316. (u32) ((tbl_id == 26) ? iqloCalbuf[5] : iqloCalbuf[6]);
  18317. locomp_i = (s8) ((locomp >> 8) & 0xff);
  18318. locomp_q = (s8) ((locomp) & 0xff);
  18319. for (idx = 0; idx < tbl_len; idx++) {
  18320. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18321. curr_locomp_i = locomp_i;
  18322. curr_locomp_q = locomp_q;
  18323. } else {
  18324. curr_locomp_i = (s8) ((locomp_i *
  18325. nphy_tpc_loscale[idx] +
  18326. 128) >> 8);
  18327. curr_locomp_q =
  18328. (s8) ((locomp_q *
  18329. nphy_tpc_loscale[idx] +
  18330. 128) >> 8);
  18331. }
  18332. curr_locomp = (u32) ((curr_locomp_i & 0xff) << 8);
  18333. curr_locomp |= (u32) (curr_locomp_q & 0xff);
  18334. regval[idx] = curr_locomp;
  18335. }
  18336. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18337. regval);
  18338. }
  18339. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18340. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX1, 0xFFFF);
  18341. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX2, 0xFFFF);
  18342. }
  18343. if (pi->phyhang_avoid)
  18344. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18345. }
  18346. static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi)
  18347. {
  18348. u8 tx_lpf_bw = 0;
  18349. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18350. if (CHSPEC_IS40(pi->radio_chanspec))
  18351. tx_lpf_bw = 3;
  18352. else
  18353. tx_lpf_bw = 1;
  18354. if (PHY_IPA(pi)) {
  18355. if (CHSPEC_IS40(pi->radio_chanspec))
  18356. tx_lpf_bw = 5;
  18357. else
  18358. tx_lpf_bw = 4;
  18359. }
  18360. write_phy_reg(pi, 0xe8,
  18361. (tx_lpf_bw << 0) |
  18362. (tx_lpf_bw << 3) |
  18363. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18364. if (PHY_IPA(pi)) {
  18365. if (CHSPEC_IS40(pi->radio_chanspec))
  18366. tx_lpf_bw = 4;
  18367. else
  18368. tx_lpf_bw = 1;
  18369. write_phy_reg(pi, 0xe9,
  18370. (tx_lpf_bw << 0) |
  18371. (tx_lpf_bw << 3) |
  18372. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18373. }
  18374. }
  18375. }
  18376. static void
  18377. wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr)
  18378. {
  18379. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18380. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18381. CHSPEC_IS40(pi->radio_chanspec)) {
  18382. if (!pi->nphy_anarxlpf_adjusted) {
  18383. write_radio_reg(pi,
  18384. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18385. RADIO_2056_RX0),
  18386. ((pi->nphy_rccal_value +
  18387. reduction_factr) | 0x80));
  18388. pi->nphy_anarxlpf_adjusted = true;
  18389. }
  18390. } else {
  18391. if (pi->nphy_anarxlpf_adjusted) {
  18392. write_radio_reg(pi,
  18393. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18394. RADIO_2056_RX0),
  18395. (pi->nphy_rccal_value | 0x80));
  18396. pi->nphy_anarxlpf_adjusted = false;
  18397. }
  18398. }
  18399. }
  18400. }
  18401. static void
  18402. wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones,
  18403. int *tone_id_buf, u32 *noise_var_buf)
  18404. {
  18405. int i;
  18406. u32 offset;
  18407. int tone_id;
  18408. int tbllen =
  18409. CHSPEC_IS40(pi->radio_chanspec) ?
  18410. NPHY_NOISEVAR_TBLLEN40 : NPHY_NOISEVAR_TBLLEN20;
  18411. if (pi->nphy_noisevars_adjusted) {
  18412. for (i = 0; i < pi->nphy_saved_noisevars.bufcount; i++) {
  18413. tone_id = pi->nphy_saved_noisevars.tone_id[i];
  18414. offset = (tone_id >= 0) ?
  18415. ((tone_id *
  18416. 2) + 1) : (tbllen + (tone_id * 2) + 1);
  18417. wlc_phy_table_write_nphy(
  18418. pi, NPHY_TBL_ID_NOISEVAR, 1,
  18419. offset, 32,
  18420. &pi->nphy_saved_noisevars.min_noise_vars[i]);
  18421. }
  18422. pi->nphy_saved_noisevars.bufcount = 0;
  18423. pi->nphy_noisevars_adjusted = false;
  18424. }
  18425. if ((noise_var_buf != NULL) && (tone_id_buf != NULL)) {
  18426. pi->nphy_saved_noisevars.bufcount = 0;
  18427. for (i = 0; i < ntones; i++) {
  18428. tone_id = tone_id_buf[i];
  18429. offset = (tone_id >= 0) ?
  18430. ((tone_id * 2) + 1) :
  18431. (tbllen + (tone_id * 2) + 1);
  18432. pi->nphy_saved_noisevars.tone_id[i] = tone_id;
  18433. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18434. offset, 32,
  18435. &pi->nphy_saved_noisevars.
  18436. min_noise_vars[i]);
  18437. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18438. offset, 32, &noise_var_buf[i]);
  18439. pi->nphy_saved_noisevars.bufcount++;
  18440. }
  18441. pi->nphy_noisevars_adjusted = true;
  18442. }
  18443. }
  18444. static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr)
  18445. {
  18446. u16 regval;
  18447. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18448. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18449. CHSPEC_IS40(pi->radio_chanspec)) {
  18450. if (!pi->nphy_crsminpwr_adjusted) {
  18451. regval = read_phy_reg(pi, 0x27d);
  18452. pi->nphy_crsminpwr[0] = regval & 0xff;
  18453. regval &= 0xff00;
  18454. regval |= (u16) minpwr;
  18455. write_phy_reg(pi, 0x27d, regval);
  18456. regval = read_phy_reg(pi, 0x280);
  18457. pi->nphy_crsminpwr[1] = regval & 0xff;
  18458. regval &= 0xff00;
  18459. regval |= (u16) minpwr;
  18460. write_phy_reg(pi, 0x280, regval);
  18461. regval = read_phy_reg(pi, 0x283);
  18462. pi->nphy_crsminpwr[2] = regval & 0xff;
  18463. regval &= 0xff00;
  18464. regval |= (u16) minpwr;
  18465. write_phy_reg(pi, 0x283, regval);
  18466. pi->nphy_crsminpwr_adjusted = true;
  18467. }
  18468. } else {
  18469. if (pi->nphy_crsminpwr_adjusted) {
  18470. regval = read_phy_reg(pi, 0x27d);
  18471. regval &= 0xff00;
  18472. regval |= pi->nphy_crsminpwr[0];
  18473. write_phy_reg(pi, 0x27d, regval);
  18474. regval = read_phy_reg(pi, 0x280);
  18475. regval &= 0xff00;
  18476. regval |= pi->nphy_crsminpwr[1];
  18477. write_phy_reg(pi, 0x280, regval);
  18478. regval = read_phy_reg(pi, 0x283);
  18479. regval &= 0xff00;
  18480. regval |= pi->nphy_crsminpwr[2];
  18481. write_phy_reg(pi, 0x283, regval);
  18482. pi->nphy_crsminpwr_adjusted = false;
  18483. }
  18484. }
  18485. }
  18486. }
  18487. static void wlc_phy_spurwar_nphy(struct brcms_phy *pi)
  18488. {
  18489. u16 cur_channel = 0;
  18490. int nphy_adj_tone_id_buf[] = { 57, 58 };
  18491. u32 nphy_adj_noise_var_buf[] = { 0x3ff, 0x3ff };
  18492. bool isAdjustNoiseVar = false;
  18493. uint numTonesAdjust = 0;
  18494. u32 tempval = 0;
  18495. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18496. if (pi->phyhang_avoid)
  18497. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18498. cur_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  18499. if (pi->nphy_gband_spurwar_en) {
  18500. wlc_phy_adjust_rx_analpfbw_nphy(
  18501. pi,
  18502. NPHY_ANARXLPFBW_REDUCTIONFACT);
  18503. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18504. if ((cur_channel == 11)
  18505. && CHSPEC_IS40(pi->radio_chanspec))
  18506. wlc_phy_adjust_min_noisevar_nphy(
  18507. pi, 2,
  18508. nphy_adj_tone_id_buf,
  18509. nphy_adj_noise_var_buf);
  18510. else
  18511. wlc_phy_adjust_min_noisevar_nphy(pi, 0,
  18512. NULL,
  18513. NULL);
  18514. }
  18515. wlc_phy_adjust_crsminpwr_nphy(pi,
  18516. NPHY_ADJUSTED_MINCRSPOWER);
  18517. }
  18518. if ((pi->nphy_gband_spurwar2_en)
  18519. && CHSPEC_IS2G(pi->radio_chanspec)) {
  18520. if (CHSPEC_IS40(pi->radio_chanspec)) {
  18521. switch (cur_channel) {
  18522. case 3:
  18523. nphy_adj_tone_id_buf[0] = 57;
  18524. nphy_adj_tone_id_buf[1] = 58;
  18525. nphy_adj_noise_var_buf[0] = 0x22f;
  18526. nphy_adj_noise_var_buf[1] = 0x25f;
  18527. isAdjustNoiseVar = true;
  18528. break;
  18529. case 4:
  18530. nphy_adj_tone_id_buf[0] = 41;
  18531. nphy_adj_tone_id_buf[1] = 42;
  18532. nphy_adj_noise_var_buf[0] = 0x22f;
  18533. nphy_adj_noise_var_buf[1] = 0x25f;
  18534. isAdjustNoiseVar = true;
  18535. break;
  18536. case 5:
  18537. nphy_adj_tone_id_buf[0] = 25;
  18538. nphy_adj_tone_id_buf[1] = 26;
  18539. nphy_adj_noise_var_buf[0] = 0x24f;
  18540. nphy_adj_noise_var_buf[1] = 0x25f;
  18541. isAdjustNoiseVar = true;
  18542. break;
  18543. case 6:
  18544. nphy_adj_tone_id_buf[0] = 9;
  18545. nphy_adj_tone_id_buf[1] = 10;
  18546. nphy_adj_noise_var_buf[0] = 0x22f;
  18547. nphy_adj_noise_var_buf[1] = 0x24f;
  18548. isAdjustNoiseVar = true;
  18549. break;
  18550. case 7:
  18551. nphy_adj_tone_id_buf[0] = 121;
  18552. nphy_adj_tone_id_buf[1] = 122;
  18553. nphy_adj_noise_var_buf[0] = 0x18f;
  18554. nphy_adj_noise_var_buf[1] = 0x24f;
  18555. isAdjustNoiseVar = true;
  18556. break;
  18557. case 8:
  18558. nphy_adj_tone_id_buf[0] = 105;
  18559. nphy_adj_tone_id_buf[1] = 106;
  18560. nphy_adj_noise_var_buf[0] = 0x22f;
  18561. nphy_adj_noise_var_buf[1] = 0x25f;
  18562. isAdjustNoiseVar = true;
  18563. break;
  18564. case 9:
  18565. nphy_adj_tone_id_buf[0] = 89;
  18566. nphy_adj_tone_id_buf[1] = 90;
  18567. nphy_adj_noise_var_buf[0] = 0x22f;
  18568. nphy_adj_noise_var_buf[1] = 0x24f;
  18569. isAdjustNoiseVar = true;
  18570. break;
  18571. case 10:
  18572. nphy_adj_tone_id_buf[0] = 73;
  18573. nphy_adj_tone_id_buf[1] = 74;
  18574. nphy_adj_noise_var_buf[0] = 0x22f;
  18575. nphy_adj_noise_var_buf[1] = 0x24f;
  18576. isAdjustNoiseVar = true;
  18577. break;
  18578. default:
  18579. isAdjustNoiseVar = false;
  18580. break;
  18581. }
  18582. }
  18583. if (isAdjustNoiseVar) {
  18584. numTonesAdjust = sizeof(nphy_adj_tone_id_buf) /
  18585. sizeof(nphy_adj_tone_id_buf[0]);
  18586. wlc_phy_adjust_min_noisevar_nphy(
  18587. pi,
  18588. numTonesAdjust,
  18589. nphy_adj_tone_id_buf,
  18590. nphy_adj_noise_var_buf);
  18591. tempval = 0;
  18592. } else {
  18593. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18594. NULL);
  18595. }
  18596. }
  18597. if ((pi->nphy_aband_spurwar_en) &&
  18598. (CHSPEC_IS5G(pi->radio_chanspec))) {
  18599. switch (cur_channel) {
  18600. case 54:
  18601. nphy_adj_tone_id_buf[0] = 32;
  18602. nphy_adj_noise_var_buf[0] = 0x25f;
  18603. break;
  18604. case 38:
  18605. case 102:
  18606. case 118:
  18607. nphy_adj_tone_id_buf[0] = 0;
  18608. nphy_adj_noise_var_buf[0] = 0x0;
  18609. break;
  18610. case 134:
  18611. nphy_adj_tone_id_buf[0] = 32;
  18612. nphy_adj_noise_var_buf[0] = 0x21f;
  18613. break;
  18614. case 151:
  18615. nphy_adj_tone_id_buf[0] = 16;
  18616. nphy_adj_noise_var_buf[0] = 0x23f;
  18617. break;
  18618. case 153:
  18619. case 161:
  18620. nphy_adj_tone_id_buf[0] = 48;
  18621. nphy_adj_noise_var_buf[0] = 0x23f;
  18622. break;
  18623. default:
  18624. nphy_adj_tone_id_buf[0] = 0;
  18625. nphy_adj_noise_var_buf[0] = 0x0;
  18626. break;
  18627. }
  18628. if (nphy_adj_tone_id_buf[0]
  18629. && nphy_adj_noise_var_buf[0])
  18630. wlc_phy_adjust_min_noisevar_nphy(
  18631. pi, 1,
  18632. nphy_adj_tone_id_buf,
  18633. nphy_adj_noise_var_buf);
  18634. else
  18635. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18636. NULL);
  18637. }
  18638. if (pi->phyhang_avoid)
  18639. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18640. }
  18641. }
  18642. void wlc_phy_init_nphy(struct brcms_phy *pi)
  18643. {
  18644. u16 val;
  18645. u16 clip1_ths[2];
  18646. struct nphy_txgains target_gain;
  18647. u8 tx_pwr_ctrl_state;
  18648. bool do_nphy_cal = false;
  18649. uint core;
  18650. u32 d11_clk_ctl_st;
  18651. bool do_rssi_cal = false;
  18652. core = 0;
  18653. if (!(pi->measure_hold & PHY_HOLD_FOR_SCAN))
  18654. pi->measure_hold |= PHY_HOLD_FOR_NOT_ASSOC;
  18655. if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) &&
  18656. ((pi->sh->chippkg == BCM4717_PKG_ID) ||
  18657. (pi->sh->chippkg == BCM4718_PKG_ID))) {
  18658. if ((pi->sh->boardflags & BFL_EXTLNA) &&
  18659. (CHSPEC_IS2G(pi->radio_chanspec)))
  18660. ai_cc_reg(pi->sh->sih,
  18661. offsetof(struct chipcregs, chipcontrol),
  18662. 0x40, 0x40);
  18663. }
  18664. if ((pi->nphy_gband_spurwar2_en) && CHSPEC_IS2G(pi->radio_chanspec) &&
  18665. CHSPEC_IS40(pi->radio_chanspec)) {
  18666. d11_clk_ctl_st = bcma_read32(pi->d11core,
  18667. D11REGOFFS(clk_ctl_st));
  18668. bcma_mask32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18669. ~(CCS_FORCEHT | CCS_HTAREQ));
  18670. bcma_write32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18671. d11_clk_ctl_st);
  18672. }
  18673. pi->use_int_tx_iqlo_cal_nphy =
  18674. (PHY_IPA(pi) ||
  18675. (NREV_GE(pi->pubpi.phy_rev, 7) ||
  18676. (NREV_GE(pi->pubpi.phy_rev, 5)
  18677. && pi->sh->boardflags2 & BFL2_INTERNDET_TXIQCAL)));
  18678. pi->internal_tx_iqlo_cal_tapoff_intpa_nphy = false;
  18679. pi->nphy_deaf_count = 0;
  18680. wlc_phy_tbl_init_nphy(pi);
  18681. pi->nphy_crsminpwr_adjusted = false;
  18682. pi->nphy_noisevars_adjusted = false;
  18683. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18684. write_phy_reg(pi, 0xe7, 0);
  18685. write_phy_reg(pi, 0xec, 0);
  18686. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18687. write_phy_reg(pi, 0x342, 0);
  18688. write_phy_reg(pi, 0x343, 0);
  18689. write_phy_reg(pi, 0x346, 0);
  18690. write_phy_reg(pi, 0x347, 0);
  18691. }
  18692. write_phy_reg(pi, 0xe5, 0);
  18693. write_phy_reg(pi, 0xe6, 0);
  18694. } else {
  18695. write_phy_reg(pi, 0xec, 0);
  18696. }
  18697. write_phy_reg(pi, 0x91, 0);
  18698. write_phy_reg(pi, 0x92, 0);
  18699. if (NREV_LT(pi->pubpi.phy_rev, 6)) {
  18700. write_phy_reg(pi, 0x93, 0);
  18701. write_phy_reg(pi, 0x94, 0);
  18702. }
  18703. and_phy_reg(pi, 0xa1, ~3);
  18704. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18705. write_phy_reg(pi, 0x8f, 0);
  18706. write_phy_reg(pi, 0xa5, 0);
  18707. } else {
  18708. write_phy_reg(pi, 0xa5, 0);
  18709. }
  18710. if (NREV_IS(pi->pubpi.phy_rev, 2))
  18711. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  18712. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  18713. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  18714. write_phy_reg(pi, 0x203, 32);
  18715. write_phy_reg(pi, 0x201, 32);
  18716. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD)
  18717. write_phy_reg(pi, 0x20d, 160);
  18718. else
  18719. write_phy_reg(pi, 0x20d, 184);
  18720. write_phy_reg(pi, 0x13a, 200);
  18721. write_phy_reg(pi, 0x70, 80);
  18722. write_phy_reg(pi, 0x1ff, 48);
  18723. if (NREV_LT(pi->pubpi.phy_rev, 8))
  18724. wlc_phy_update_mimoconfig_nphy(pi, pi->n_preamble_override);
  18725. wlc_phy_stf_chain_upd_nphy(pi);
  18726. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18727. write_phy_reg(pi, 0x180, 0xaa8);
  18728. write_phy_reg(pi, 0x181, 0x9a4);
  18729. }
  18730. if (PHY_IPA(pi)) {
  18731. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  18732. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  18733. 0x29b, (0x1 << 0), (1) << 0);
  18734. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x298 :
  18735. 0x29c, (0x1ff << 7),
  18736. (pi->nphy_papd_epsilon_offset[core]) << 7);
  18737. }
  18738. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  18739. } else if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  18740. wlc_phy_extpa_set_tx_digi_filts_nphy(pi);
  18741. }
  18742. wlc_phy_workarounds_nphy(pi);
  18743. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18744. val = read_phy_reg(pi, 0x01);
  18745. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18746. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18747. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18748. wlapi_bmac_macphyclk_set(pi->sh->physhim, ON);
  18749. wlc_phy_pa_override_nphy(pi, OFF);
  18750. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  18751. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18752. wlc_phy_pa_override_nphy(pi, ON);
  18753. wlc_phy_classifier_nphy(pi, 0, 0);
  18754. wlc_phy_clip_det_nphy(pi, 0, clip1_ths);
  18755. if (CHSPEC_IS2G(pi->radio_chanspec))
  18756. wlc_phy_bphy_init_nphy(pi);
  18757. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  18758. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  18759. wlc_phy_txpwr_fixpower_nphy(pi);
  18760. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  18761. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  18762. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18763. u32 *tx_pwrctrl_tbl = NULL;
  18764. u16 idx;
  18765. s16 pga_gn = 0;
  18766. s16 pad_gn = 0;
  18767. s32 rfpwr_offset;
  18768. if (PHY_IPA(pi)) {
  18769. tx_pwrctrl_tbl = wlc_phy_get_ipa_gaintbl_nphy(pi);
  18770. } else {
  18771. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  18772. if (NREV_IS(pi->pubpi.phy_rev, 3))
  18773. tx_pwrctrl_tbl =
  18774. nphy_tpc_5GHz_txgain_rev3;
  18775. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  18776. tx_pwrctrl_tbl =
  18777. (pi->srom_fem5g.extpagain ==
  18778. 3) ?
  18779. nphy_tpc_5GHz_txgain_HiPwrEPA :
  18780. nphy_tpc_5GHz_txgain_rev4;
  18781. else
  18782. tx_pwrctrl_tbl =
  18783. nphy_tpc_5GHz_txgain_rev5;
  18784. } else {
  18785. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18786. if (pi->pubpi.radiorev == 5)
  18787. tx_pwrctrl_tbl =
  18788. nphy_tpc_txgain_epa_2057rev5;
  18789. else if (pi->pubpi.radiorev == 3)
  18790. tx_pwrctrl_tbl =
  18791. nphy_tpc_txgain_epa_2057rev3;
  18792. } else {
  18793. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  18794. (pi->srom_fem2g.extpagain == 3))
  18795. tx_pwrctrl_tbl =
  18796. nphy_tpc_txgain_HiPwrEPA;
  18797. else
  18798. tx_pwrctrl_tbl =
  18799. nphy_tpc_txgain_rev3;
  18800. }
  18801. }
  18802. }
  18803. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18804. 192, 32, tx_pwrctrl_tbl);
  18805. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18806. 192, 32, tx_pwrctrl_tbl);
  18807. pi->nphy_gmval = (u16) ((*tx_pwrctrl_tbl >> 16) & 0x7000);
  18808. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18809. for (idx = 0; idx < 128; idx++) {
  18810. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18811. pad_gn = (tx_pwrctrl_tbl[idx] >> 19) & 0x1f;
  18812. rfpwr_offset = get_rf_pwr_offset(pi, pga_gn,
  18813. pad_gn);
  18814. wlc_phy_table_write_nphy(
  18815. pi,
  18816. NPHY_TBL_ID_CORE1TXPWRCTL,
  18817. 1, 576 + idx, 32,
  18818. &rfpwr_offset);
  18819. wlc_phy_table_write_nphy(
  18820. pi,
  18821. NPHY_TBL_ID_CORE2TXPWRCTL,
  18822. 1, 576 + idx, 32,
  18823. &rfpwr_offset);
  18824. }
  18825. } else {
  18826. for (idx = 0; idx < 128; idx++) {
  18827. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18828. if (CHSPEC_IS2G(pi->radio_chanspec))
  18829. rfpwr_offset = (s16)
  18830. nphy_papd_pga_gain_delta_ipa_2g
  18831. [pga_gn];
  18832. else
  18833. rfpwr_offset = (s16)
  18834. nphy_papd_pga_gain_delta_ipa_5g
  18835. [pga_gn];
  18836. wlc_phy_table_write_nphy(
  18837. pi,
  18838. NPHY_TBL_ID_CORE1TXPWRCTL,
  18839. 1, 576 + idx, 32,
  18840. &rfpwr_offset);
  18841. wlc_phy_table_write_nphy(
  18842. pi,
  18843. NPHY_TBL_ID_CORE2TXPWRCTL,
  18844. 1, 576 + idx, 32,
  18845. &rfpwr_offset);
  18846. }
  18847. }
  18848. } else {
  18849. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18850. 192, 32, nphy_tpc_txgain);
  18851. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18852. 192, 32, nphy_tpc_txgain);
  18853. }
  18854. if (pi->sh->phyrxchain != 0x3)
  18855. wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
  18856. pi->sh->phyrxchain);
  18857. if (PHY_PERICAL_MPHASE_PENDING(pi))
  18858. wlc_phy_cal_perical_mphase_restart(pi);
  18859. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18860. do_rssi_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18861. (pi->nphy_rssical_chanspec_2G == 0) :
  18862. (pi->nphy_rssical_chanspec_5G == 0);
  18863. if (do_rssi_cal)
  18864. wlc_phy_rssi_cal_nphy(pi);
  18865. else
  18866. wlc_phy_restore_rssical_nphy(pi);
  18867. } else {
  18868. wlc_phy_rssi_cal_nphy(pi);
  18869. }
  18870. if (!SCAN_RM_IN_PROGRESS(pi))
  18871. do_nphy_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18872. (pi->nphy_iqcal_chanspec_2G == 0) :
  18873. (pi->nphy_iqcal_chanspec_5G == 0);
  18874. if (!pi->do_initcal)
  18875. do_nphy_cal = false;
  18876. if (do_nphy_cal) {
  18877. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  18878. if (pi->antsel_type == ANTSEL_2x3)
  18879. wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
  18880. true);
  18881. if (pi->nphy_perical != PHY_PERICAL_MPHASE) {
  18882. wlc_phy_rssi_cal_nphy(pi);
  18883. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18884. pi->nphy_cal_orig_pwr_idx[0] =
  18885. pi->nphy_txpwrindex[PHY_CORE_0]
  18886. .
  18887. index_internal;
  18888. pi->nphy_cal_orig_pwr_idx[1] =
  18889. pi->nphy_txpwrindex[PHY_CORE_1]
  18890. .
  18891. index_internal;
  18892. wlc_phy_precal_txgain_nphy(pi);
  18893. target_gain =
  18894. wlc_phy_get_tx_gain_nphy(pi);
  18895. }
  18896. if (wlc_phy_cal_txiqlo_nphy
  18897. (pi, target_gain, true,
  18898. false) == 0) {
  18899. if (wlc_phy_cal_rxiq_nphy
  18900. (pi, target_gain, 2,
  18901. false) == 0)
  18902. wlc_phy_savecal_nphy(pi);
  18903. }
  18904. } else if (pi->mphase_cal_phase_id ==
  18905. MPHASE_CAL_STATE_IDLE) {
  18906. wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
  18907. PHY_PERICAL_PHYINIT);
  18908. }
  18909. } else {
  18910. wlc_phy_restorecal_nphy(pi);
  18911. }
  18912. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  18913. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  18914. wlc_phy_nphy_tkip_rifs_war(pi, pi->sh->_rifs_phy);
  18915. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6))
  18916. write_phy_reg(pi, 0x70, 50);
  18917. wlc_phy_txlpfbw_nphy(pi);
  18918. wlc_phy_spurwar_nphy(pi);
  18919. }
  18920. static void wlc_phy_resetcca_nphy(struct brcms_phy *pi)
  18921. {
  18922. u16 val;
  18923. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18924. val = read_phy_reg(pi, 0x01);
  18925. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18926. udelay(1);
  18927. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18928. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18929. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18930. }
  18931. void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en)
  18932. {
  18933. u16 rfctrlintc_override_val;
  18934. if (!en) {
  18935. pi->rfctrlIntc1_save = read_phy_reg(pi, 0x91);
  18936. pi->rfctrlIntc2_save = read_phy_reg(pi, 0x92);
  18937. if (NREV_GE(pi->pubpi.phy_rev, 7))
  18938. rfctrlintc_override_val = 0x1480;
  18939. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  18940. rfctrlintc_override_val =
  18941. CHSPEC_IS5G(pi->radio_chanspec) ? 0x600 : 0x480;
  18942. else
  18943. rfctrlintc_override_val =
  18944. CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  18945. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  18946. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  18947. } else {
  18948. write_phy_reg(pi, 0x91, pi->rfctrlIntc1_save);
  18949. write_phy_reg(pi, 0x92, pi->rfctrlIntc2_save);
  18950. }
  18951. }
  18952. void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi)
  18953. {
  18954. u16 txrx_chain =
  18955. (NPHY_RfseqCoreActv_TxRxChain0 | NPHY_RfseqCoreActv_TxRxChain1);
  18956. bool CoreActv_override = false;
  18957. if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN0) {
  18958. txrx_chain = NPHY_RfseqCoreActv_TxRxChain0;
  18959. CoreActv_override = true;
  18960. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18961. and_phy_reg(pi, 0xa0, ~0x20);
  18962. } else if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN1) {
  18963. txrx_chain = NPHY_RfseqCoreActv_TxRxChain1;
  18964. CoreActv_override = true;
  18965. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18966. or_phy_reg(pi, 0xa0, 0x20);
  18967. }
  18968. mod_phy_reg(pi, 0xa2, ((0xf << 0) | (0xf << 4)), txrx_chain);
  18969. if (CoreActv_override) {
  18970. pi->nphy_perical = PHY_PERICAL_DISABLE;
  18971. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  18972. } else {
  18973. pi->nphy_perical = PHY_PERICAL_MPHASE;
  18974. and_phy_reg(pi, 0xa1, ~NPHY_RfseqMode_CoreActv_override);
  18975. }
  18976. }
  18977. void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
  18978. {
  18979. u16 regval;
  18980. u16 tbl_buf[16];
  18981. uint i;
  18982. struct brcms_phy *pi = (struct brcms_phy *) pih;
  18983. u16 tbl_opcode;
  18984. bool suspend;
  18985. pi->sh->phyrxchain = rxcore_bitmask;
  18986. if (!pi->sh->clk)
  18987. return;
  18988. suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  18989. MCTL_EN_MAC));
  18990. if (!suspend)
  18991. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  18992. if (pi->phyhang_avoid)
  18993. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18994. regval = read_phy_reg(pi, 0xa2);
  18995. regval &= ~(0xf << 4);
  18996. regval |= ((u16) (rxcore_bitmask & 0x3)) << 4;
  18997. write_phy_reg(pi, 0xa2, regval);
  18998. if ((rxcore_bitmask & 0x3) != 0x3) {
  18999. write_phy_reg(pi, 0x20e, 1);
  19000. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19001. if (pi->rx2tx_biasentry == -1) {
  19002. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19003. ARRAY_SIZE(tbl_buf), 80,
  19004. 16, tbl_buf);
  19005. for (i = 0; i < ARRAY_SIZE(tbl_buf); i++) {
  19006. if (tbl_buf[i] ==
  19007. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS) {
  19008. pi->rx2tx_biasentry = (u8) i;
  19009. tbl_opcode =
  19010. NPHY_REV3_RFSEQ_CMD_NOP;
  19011. wlc_phy_table_write_nphy(
  19012. pi,
  19013. NPHY_TBL_ID_RFSEQ,
  19014. 1, i,
  19015. 16,
  19016. &tbl_opcode);
  19017. break;
  19018. } else if (tbl_buf[i] ==
  19019. NPHY_REV3_RFSEQ_CMD_END)
  19020. break;
  19021. }
  19022. }
  19023. }
  19024. } else {
  19025. write_phy_reg(pi, 0x20e, 30);
  19026. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19027. if (pi->rx2tx_biasentry != -1) {
  19028. tbl_opcode = NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS;
  19029. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19030. 1, pi->rx2tx_biasentry,
  19031. 16, &tbl_opcode);
  19032. pi->rx2tx_biasentry = -1;
  19033. }
  19034. }
  19035. }
  19036. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  19037. if (pi->phyhang_avoid)
  19038. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  19039. if (!suspend)
  19040. wlapi_enable_mac(pi->sh->physhim);
  19041. }
  19042. u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
  19043. {
  19044. u16 regval, rxen_bits;
  19045. struct brcms_phy *pi = (struct brcms_phy *) pih;
  19046. regval = read_phy_reg(pi, 0xa2);
  19047. rxen_bits = (regval >> 4) & 0xf;
  19048. return (u8) rxen_bits;
  19049. }
  19050. bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi)
  19051. {
  19052. return PHY_IPA(pi);
  19053. }
  19054. void wlc_phy_cal_init_nphy(struct brcms_phy *pi)
  19055. {
  19056. }
  19057. static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi)
  19058. {
  19059. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19060. and_phy_reg(pi, 0x78, RFCC_OE_POR_FORCE);
  19061. or_phy_reg(pi, 0x78, ~RFCC_OE_POR_FORCE);
  19062. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU);
  19063. }
  19064. static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
  19065. {
  19066. struct radio_20xx_regs *regs_2057_ptr = NULL;
  19067. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19068. regs_2057_ptr = regs_2057_rev4;
  19069. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19070. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19071. switch (pi->pubpi.radiorev) {
  19072. case 5:
  19073. if (NREV_IS(pi->pubpi.phy_rev, 8))
  19074. regs_2057_ptr = regs_2057_rev5;
  19075. else if (NREV_IS(pi->pubpi.phy_rev, 9))
  19076. regs_2057_ptr = regs_2057_rev5v1;
  19077. break;
  19078. case 7:
  19079. regs_2057_ptr = regs_2057_rev7;
  19080. break;
  19081. case 8:
  19082. regs_2057_ptr = regs_2057_rev8;
  19083. break;
  19084. default:
  19085. break;
  19086. }
  19087. }
  19088. wlc_phy_init_radio_regs_allbands(pi, regs_2057_ptr);
  19089. }
  19090. static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi)
  19091. {
  19092. u16 rcal_reg = 0;
  19093. int i;
  19094. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19095. if (pi->pubpi.radiorev == 5) {
  19096. and_phy_reg(pi, 0x342, ~(0x1 << 1));
  19097. udelay(10);
  19098. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x1);
  19099. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19100. 0x1);
  19101. }
  19102. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x1);
  19103. udelay(10);
  19104. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x3, 0x3);
  19105. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19106. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS);
  19107. if (rcal_reg & 0x1)
  19108. break;
  19109. udelay(100);
  19110. }
  19111. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19112. "HW error: radio calib2"))
  19113. return 0;
  19114. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x2, 0x0);
  19115. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS) & 0x3e;
  19116. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x0);
  19117. if (pi->pubpi.radiorev == 5) {
  19118. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x0);
  19119. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19120. 0x0);
  19121. }
  19122. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19123. mod_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x3c,
  19124. rcal_reg);
  19125. mod_radio_reg(pi, RADIO_2057_BANDGAP_RCAL_TRIM, 0xf0,
  19126. rcal_reg << 2);
  19127. }
  19128. } else if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19129. u16 savereg;
  19130. savereg =
  19131. read_radio_reg(
  19132. pi,
  19133. RADIO_2056_SYN_PLL_MAST2 |
  19134. RADIO_2056_SYN);
  19135. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19136. savereg | 0x7);
  19137. udelay(10);
  19138. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19139. 0x1);
  19140. udelay(10);
  19141. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19142. 0x9);
  19143. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19144. rcal_reg = read_radio_reg(
  19145. pi,
  19146. RADIO_2056_SYN_RCAL_CODE_OUT |
  19147. RADIO_2056_SYN);
  19148. if (rcal_reg & 0x80)
  19149. break;
  19150. udelay(100);
  19151. }
  19152. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19153. "HW error: radio calib3"))
  19154. return 0;
  19155. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19156. 0x1);
  19157. rcal_reg =
  19158. read_radio_reg(pi,
  19159. RADIO_2056_SYN_RCAL_CODE_OUT |
  19160. RADIO_2056_SYN);
  19161. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19162. 0x0);
  19163. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19164. savereg);
  19165. return rcal_reg & 0x1f;
  19166. }
  19167. return rcal_reg & 0x3e;
  19168. }
  19169. static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi)
  19170. {
  19171. u16 rccal_valid;
  19172. int i;
  19173. bool chip43226_6362A0;
  19174. chip43226_6362A0 = ((pi->pubpi.radiorev == 3)
  19175. || (pi->pubpi.radiorev == 4)
  19176. || (pi->pubpi.radiorev == 6));
  19177. rccal_valid = 0;
  19178. if (chip43226_6362A0) {
  19179. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x61);
  19180. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xc0);
  19181. } else {
  19182. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x61);
  19183. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xe9);
  19184. }
  19185. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19186. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19187. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19188. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19189. if (rccal_valid & 0x2)
  19190. break;
  19191. udelay(500);
  19192. }
  19193. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19194. rccal_valid = 0;
  19195. if (chip43226_6362A0) {
  19196. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x69);
  19197. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19198. } else {
  19199. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x69);
  19200. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xd5);
  19201. }
  19202. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19203. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19204. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19205. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19206. if (rccal_valid & 0x2)
  19207. break;
  19208. udelay(500);
  19209. }
  19210. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19211. rccal_valid = 0;
  19212. if (chip43226_6362A0) {
  19213. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x73);
  19214. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x28);
  19215. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19216. } else {
  19217. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x73);
  19218. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19219. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0x99);
  19220. }
  19221. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19222. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19223. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19224. if (rccal_valid & 0x2)
  19225. break;
  19226. udelay(500);
  19227. }
  19228. if (WARN(!(rccal_valid & 0x2), "HW error: radio calib4"))
  19229. return 0;
  19230. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19231. return rccal_valid;
  19232. }
  19233. static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi)
  19234. {
  19235. mod_radio_reg(pi, RADIO_2057_XTALPUOVR_PINCTRL, 0x1, 0x1);
  19236. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x78);
  19237. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x80);
  19238. mdelay(2);
  19239. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x0);
  19240. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x0);
  19241. if (pi->phy_init_por) {
  19242. wlc_phy_radio205x_rcal(pi);
  19243. wlc_phy_radio2057_rccal(pi);
  19244. }
  19245. mod_radio_reg(pi, RADIO_2057_RFPLL_MASTER, 0x8, 0x0);
  19246. }
  19247. static void wlc_phy_radio_init_2056(struct brcms_phy *pi)
  19248. {
  19249. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19250. const struct radio_regs *regs_TX_2056_ptr = NULL;
  19251. const struct radio_regs *regs_RX_2056_ptr = NULL;
  19252. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19253. regs_SYN_2056_ptr = regs_SYN_2056;
  19254. regs_TX_2056_ptr = regs_TX_2056;
  19255. regs_RX_2056_ptr = regs_RX_2056;
  19256. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19257. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19258. regs_TX_2056_ptr = regs_TX_2056_A1;
  19259. regs_RX_2056_ptr = regs_RX_2056_A1;
  19260. } else {
  19261. switch (pi->pubpi.radiorev) {
  19262. case 5:
  19263. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19264. regs_TX_2056_ptr = regs_TX_2056_rev5;
  19265. regs_RX_2056_ptr = regs_RX_2056_rev5;
  19266. break;
  19267. case 6:
  19268. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19269. regs_TX_2056_ptr = regs_TX_2056_rev6;
  19270. regs_RX_2056_ptr = regs_RX_2056_rev6;
  19271. break;
  19272. case 7:
  19273. case 9:
  19274. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19275. regs_TX_2056_ptr = regs_TX_2056_rev7;
  19276. regs_RX_2056_ptr = regs_RX_2056_rev7;
  19277. break;
  19278. case 8:
  19279. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19280. regs_TX_2056_ptr = regs_TX_2056_rev8;
  19281. regs_RX_2056_ptr = regs_RX_2056_rev8;
  19282. break;
  19283. case 11:
  19284. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19285. regs_TX_2056_ptr = regs_TX_2056_rev11;
  19286. regs_RX_2056_ptr = regs_RX_2056_rev11;
  19287. break;
  19288. default:
  19289. break;
  19290. }
  19291. }
  19292. wlc_phy_init_radio_regs(pi, regs_SYN_2056_ptr, (u16) RADIO_2056_SYN);
  19293. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX0);
  19294. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX1);
  19295. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX0);
  19296. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX1);
  19297. }
  19298. static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi)
  19299. {
  19300. mod_radio_reg(pi, RADIO_2056_SYN_COM_CTRL, 0xb, 0xb);
  19301. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x2);
  19302. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x2);
  19303. udelay(1000);
  19304. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x0);
  19305. if ((pi->sh->boardflags2 & BFL2_LEGACY)
  19306. || (pi->sh->boardflags2 & BFL2_XTALBUFOUTEN))
  19307. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xf4, 0x0);
  19308. else
  19309. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xfc, 0x0);
  19310. mod_radio_reg(pi, RADIO_2056_SYN_RCCAL_CTRL0, 0x1, 0x0);
  19311. if (pi->phy_init_por)
  19312. wlc_phy_radio205x_rcal(pi);
  19313. }
  19314. static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi)
  19315. {
  19316. and_phy_reg(pi, 0x78, ~RFCC_POR_FORCE);
  19317. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU | RFCC_OE_POR_FORCE);
  19318. or_phy_reg(pi, 0x78, RFCC_POR_FORCE);
  19319. }
  19320. static void wlc_phy_radio_init_2055(struct brcms_phy *pi)
  19321. {
  19322. wlc_phy_init_radio_regs(pi, regs_2055, RADIO_DEFAULT_CORE);
  19323. }
  19324. static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi)
  19325. {
  19326. and_radio_reg(pi, RADIO_2055_MASTER_CNTRL1,
  19327. ~(RADIO_2055_JTAGCTRL_MASK | RADIO_2055_JTAGSYNC_MASK));
  19328. if (((pi->sh->sromrev >= 4)
  19329. && !(pi->sh->boardflags2 & BFL2_RXBB_INT_REG_DIS))
  19330. || ((pi->sh->sromrev < 4))) {
  19331. and_radio_reg(pi, RADIO_2055_CORE1_RXBB_REGULATOR, 0x7F);
  19332. and_radio_reg(pi, RADIO_2055_CORE2_RXBB_REGULATOR, 0x7F);
  19333. }
  19334. mod_radio_reg(pi, RADIO_2055_RRCCAL_N_OPT_SEL, 0x3F, 0x2C);
  19335. write_radio_reg(pi, RADIO_2055_CAL_MISC, 0x3C);
  19336. and_radio_reg(pi, RADIO_2055_CAL_MISC,
  19337. ~(RADIO_2055_RRCAL_START | RADIO_2055_RRCAL_RST_N));
  19338. or_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL, RADIO_2055_CAL_LPO_ENABLE);
  19339. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_RST_N);
  19340. udelay(1000);
  19341. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_START);
  19342. SPINWAIT(((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19343. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE), 2000);
  19344. if (WARN((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19345. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE,
  19346. "HW error: radio calibration1\n"))
  19347. return;
  19348. and_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL,
  19349. ~(RADIO_2055_CAL_LPO_ENABLE));
  19350. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
  19351. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_LPF, 9);
  19352. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_LPF, 9);
  19353. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_MIDAC_HIPAS, 0x83);
  19354. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_MIDAC_HIPAS, 0x83);
  19355. mod_radio_reg(pi, RADIO_2055_CORE1_LNA_GAINBST,
  19356. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19357. mod_radio_reg(pi, RADIO_2055_CORE2_LNA_GAINBST,
  19358. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19359. if (pi->nphy_gain_boost) {
  19360. and_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19361. ~(RADIO_2055_GAINBST_DISABLE));
  19362. and_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19363. ~(RADIO_2055_GAINBST_DISABLE));
  19364. } else {
  19365. or_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19366. RADIO_2055_GAINBST_DISABLE);
  19367. or_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19368. RADIO_2055_GAINBST_DISABLE);
  19369. }
  19370. udelay(2);
  19371. }
  19372. void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
  19373. {
  19374. if (on) {
  19375. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19376. if (!pi->radio_is_on) {
  19377. wlc_phy_radio_preinit_205x(pi);
  19378. wlc_phy_radio_init_2057(pi);
  19379. wlc_phy_radio_postinit_2057(pi);
  19380. }
  19381. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19382. pi->radio_chanspec);
  19383. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19384. wlc_phy_radio_preinit_205x(pi);
  19385. wlc_phy_radio_init_2056(pi);
  19386. wlc_phy_radio_postinit_2056(pi);
  19387. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19388. pi->radio_chanspec);
  19389. } else {
  19390. wlc_phy_radio_preinit_2055(pi);
  19391. wlc_phy_radio_init_2055(pi);
  19392. wlc_phy_radio_postinit_2055(pi);
  19393. }
  19394. pi->radio_is_on = true;
  19395. } else {
  19396. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19397. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  19398. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19399. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x0);
  19400. write_radio_reg(pi,
  19401. RADIO_2056_TX_PADA_BOOST_TUNE |
  19402. RADIO_2056_TX0, 0);
  19403. write_radio_reg(pi,
  19404. RADIO_2056_TX_PADG_BOOST_TUNE |
  19405. RADIO_2056_TX0, 0);
  19406. write_radio_reg(pi,
  19407. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19408. RADIO_2056_TX0, 0);
  19409. write_radio_reg(pi,
  19410. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19411. RADIO_2056_TX0, 0);
  19412. mod_radio_reg(pi,
  19413. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19414. RADIO_2056_TX0, 0xf0, 0);
  19415. write_radio_reg(pi,
  19416. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19417. RADIO_2056_TX0, 0);
  19418. write_radio_reg(pi,
  19419. RADIO_2056_TX_PADA_BOOST_TUNE |
  19420. RADIO_2056_TX1, 0);
  19421. write_radio_reg(pi,
  19422. RADIO_2056_TX_PADG_BOOST_TUNE |
  19423. RADIO_2056_TX1, 0);
  19424. write_radio_reg(pi,
  19425. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19426. RADIO_2056_TX1, 0);
  19427. write_radio_reg(pi,
  19428. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19429. RADIO_2056_TX1, 0);
  19430. mod_radio_reg(pi,
  19431. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19432. RADIO_2056_TX1, 0xf0, 0);
  19433. write_radio_reg(pi,
  19434. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19435. RADIO_2056_TX1, 0);
  19436. pi->radio_is_on = false;
  19437. }
  19438. if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  19439. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19440. pi->radio_is_on = false;
  19441. }
  19442. }
  19443. }
  19444. static bool
  19445. wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f,
  19446. const struct chan_info_nphy_radio2057 **t0,
  19447. const struct chan_info_nphy_radio205x **t1,
  19448. const struct chan_info_nphy_radio2057_rev5 **t2,
  19449. const struct chan_info_nphy_2055 **t3)
  19450. {
  19451. uint i;
  19452. const struct chan_info_nphy_radio2057 *chan_info_tbl_p_0 = NULL;
  19453. const struct chan_info_nphy_radio205x *chan_info_tbl_p_1 = NULL;
  19454. const struct chan_info_nphy_radio2057_rev5 *chan_info_tbl_p_2 = NULL;
  19455. u32 tbl_len = 0;
  19456. int freq = 0;
  19457. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19458. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19459. chan_info_tbl_p_0 = chan_info_nphyrev7_2057_rev4;
  19460. tbl_len = ARRAY_SIZE(chan_info_nphyrev7_2057_rev4);
  19461. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19462. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19463. switch (pi->pubpi.radiorev) {
  19464. case 5:
  19465. if (pi->pubpi.radiover == 0x0) {
  19466. chan_info_tbl_p_2 =
  19467. chan_info_nphyrev8_2057_rev5;
  19468. tbl_len = ARRAY_SIZE(
  19469. chan_info_nphyrev8_2057_rev5);
  19470. } else if (pi->pubpi.radiover == 0x1) {
  19471. chan_info_tbl_p_2 =
  19472. chan_info_nphyrev9_2057_rev5v1;
  19473. tbl_len = ARRAY_SIZE(
  19474. chan_info_nphyrev9_2057_rev5v1);
  19475. }
  19476. break;
  19477. case 7:
  19478. chan_info_tbl_p_0 =
  19479. chan_info_nphyrev8_2057_rev7;
  19480. tbl_len = ARRAY_SIZE(
  19481. chan_info_nphyrev8_2057_rev7);
  19482. break;
  19483. case 8:
  19484. chan_info_tbl_p_0 =
  19485. chan_info_nphyrev8_2057_rev8;
  19486. tbl_len = ARRAY_SIZE(
  19487. chan_info_nphyrev8_2057_rev8);
  19488. break;
  19489. default:
  19490. break;
  19491. }
  19492. } else if (NREV_IS(pi->pubpi.phy_rev, 16)) {
  19493. chan_info_tbl_p_0 = chan_info_nphyrev8_2057_rev8;
  19494. tbl_len = ARRAY_SIZE(chan_info_nphyrev8_2057_rev8);
  19495. } else {
  19496. goto fail;
  19497. }
  19498. for (i = 0; i < tbl_len; i++) {
  19499. if (pi->pubpi.radiorev == 5) {
  19500. if (chan_info_tbl_p_2[i].chan == channel)
  19501. break;
  19502. } else {
  19503. if (chan_info_tbl_p_0[i].chan == channel)
  19504. break;
  19505. }
  19506. }
  19507. if (i >= tbl_len)
  19508. goto fail;
  19509. if (pi->pubpi.radiorev == 5) {
  19510. *t2 = &chan_info_tbl_p_2[i];
  19511. freq = chan_info_tbl_p_2[i].freq;
  19512. } else {
  19513. *t0 = &chan_info_tbl_p_0[i];
  19514. freq = chan_info_tbl_p_0[i].freq;
  19515. }
  19516. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19517. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19518. chan_info_tbl_p_1 = chan_info_nphyrev3_2056;
  19519. tbl_len = ARRAY_SIZE(chan_info_nphyrev3_2056);
  19520. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19521. chan_info_tbl_p_1 = chan_info_nphyrev4_2056_A1;
  19522. tbl_len = ARRAY_SIZE(chan_info_nphyrev4_2056_A1);
  19523. } else if (NREV_IS(pi->pubpi.phy_rev, 5)
  19524. || NREV_IS(pi->pubpi.phy_rev, 6)) {
  19525. switch (pi->pubpi.radiorev) {
  19526. case 5:
  19527. chan_info_tbl_p_1 = chan_info_nphyrev5_2056v5;
  19528. tbl_len = ARRAY_SIZE(chan_info_nphyrev5_2056v5);
  19529. break;
  19530. case 6:
  19531. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v6;
  19532. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v6);
  19533. break;
  19534. case 7:
  19535. case 9:
  19536. chan_info_tbl_p_1 = chan_info_nphyrev5n6_2056v7;
  19537. tbl_len =
  19538. ARRAY_SIZE(chan_info_nphyrev5n6_2056v7);
  19539. break;
  19540. case 8:
  19541. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v8;
  19542. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v8);
  19543. break;
  19544. case 11:
  19545. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v11;
  19546. tbl_len = ARRAY_SIZE(
  19547. chan_info_nphyrev6_2056v11);
  19548. break;
  19549. default:
  19550. break;
  19551. }
  19552. }
  19553. for (i = 0; i < tbl_len; i++) {
  19554. if (chan_info_tbl_p_1[i].chan == channel)
  19555. break;
  19556. }
  19557. if (i >= tbl_len)
  19558. goto fail;
  19559. *t1 = &chan_info_tbl_p_1[i];
  19560. freq = chan_info_tbl_p_1[i].freq;
  19561. } else {
  19562. for (i = 0; i < ARRAY_SIZE(chan_info_nphy_2055); i++)
  19563. if (chan_info_nphy_2055[i].chan == channel)
  19564. break;
  19565. if (i >= ARRAY_SIZE(chan_info_nphy_2055))
  19566. goto fail;
  19567. *t3 = &chan_info_nphy_2055[i];
  19568. freq = chan_info_nphy_2055[i].freq;
  19569. }
  19570. *f = freq;
  19571. return true;
  19572. fail:
  19573. *f = WL_CHAN_FREQ_RANGE_2G;
  19574. return false;
  19575. }
  19576. u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel)
  19577. {
  19578. int freq;
  19579. const struct chan_info_nphy_radio2057 *t0 = NULL;
  19580. const struct chan_info_nphy_radio205x *t1 = NULL;
  19581. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  19582. const struct chan_info_nphy_2055 *t3 = NULL;
  19583. if (channel == 0)
  19584. channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  19585. wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
  19586. if (CHSPEC_IS2G(pi->radio_chanspec))
  19587. return WL_CHAN_FREQ_RANGE_2G;
  19588. if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
  19589. return WL_CHAN_FREQ_RANGE_5GL;
  19590. else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
  19591. return WL_CHAN_FREQ_RANGE_5GM;
  19592. else
  19593. return WL_CHAN_FREQ_RANGE_5GH;
  19594. }
  19595. static void
  19596. wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi,
  19597. const struct chan_info_nphy_2055 *ci)
  19598. {
  19599. write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref);
  19600. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0);
  19601. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1);
  19602. write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail);
  19603. BRCMS_PHY_WAR_PR51571(pi);
  19604. write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1);
  19605. write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2);
  19606. write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1);
  19607. write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1);
  19608. BRCMS_PHY_WAR_PR51571(pi);
  19609. write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2);
  19610. write_radio_reg(pi, RADIO_2055_LGBUF_CEN_BUF, ci->RF_lgbuf_cen_buf);
  19611. write_radio_reg(pi, RADIO_2055_LGEN_TUNE1, ci->RF_lgen_tune1);
  19612. write_radio_reg(pi, RADIO_2055_LGEN_TUNE2, ci->RF_lgen_tune2);
  19613. BRCMS_PHY_WAR_PR51571(pi);
  19614. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_A_TUNE,
  19615. ci->RF_core1_lgbuf_a_tune);
  19616. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_G_TUNE,
  19617. ci->RF_core1_lgbuf_g_tune);
  19618. write_radio_reg(pi, RADIO_2055_CORE1_RXRF_REG1, ci->RF_core1_rxrf_reg1);
  19619. write_radio_reg(pi, RADIO_2055_CORE1_TX_PGA_PAD_TN,
  19620. ci->RF_core1_tx_pga_pad_tn);
  19621. BRCMS_PHY_WAR_PR51571(pi);
  19622. write_radio_reg(pi, RADIO_2055_CORE1_TX_MX_BGTRIM,
  19623. ci->RF_core1_tx_mx_bgtrim);
  19624. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_A_TUNE,
  19625. ci->RF_core2_lgbuf_a_tune);
  19626. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_G_TUNE,
  19627. ci->RF_core2_lgbuf_g_tune);
  19628. write_radio_reg(pi, RADIO_2055_CORE2_RXRF_REG1, ci->RF_core2_rxrf_reg1);
  19629. BRCMS_PHY_WAR_PR51571(pi);
  19630. write_radio_reg(pi, RADIO_2055_CORE2_TX_PGA_PAD_TN,
  19631. ci->RF_core2_tx_pga_pad_tn);
  19632. write_radio_reg(pi, RADIO_2055_CORE2_TX_MX_BGTRIM,
  19633. ci->RF_core2_tx_mx_bgtrim);
  19634. udelay(50);
  19635. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x05);
  19636. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x45);
  19637. BRCMS_PHY_WAR_PR51571(pi);
  19638. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x65);
  19639. udelay(300);
  19640. }
  19641. static void
  19642. wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi,
  19643. const struct chan_info_nphy_radio205x *ci)
  19644. {
  19645. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19646. write_radio_reg(pi,
  19647. RADIO_2056_SYN_PLL_VCOCAL1 | RADIO_2056_SYN,
  19648. ci->RF_SYN_pll_vcocal1);
  19649. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL2 | RADIO_2056_SYN,
  19650. ci->RF_SYN_pll_vcocal2);
  19651. write_radio_reg(pi, RADIO_2056_SYN_PLL_REFDIV | RADIO_2056_SYN,
  19652. ci->RF_SYN_pll_refdiv);
  19653. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD2 | RADIO_2056_SYN,
  19654. ci->RF_SYN_pll_mmd2);
  19655. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD1 | RADIO_2056_SYN,
  19656. ci->RF_SYN_pll_mmd1);
  19657. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19658. ci->RF_SYN_pll_loopfilter1);
  19659. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19660. ci->RF_SYN_pll_loopfilter2);
  19661. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER3 | RADIO_2056_SYN,
  19662. ci->RF_SYN_pll_loopfilter3);
  19663. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19664. ci->RF_SYN_pll_loopfilter4);
  19665. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER5 | RADIO_2056_SYN,
  19666. ci->RF_SYN_pll_loopfilter5);
  19667. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR27 | RADIO_2056_SYN,
  19668. ci->RF_SYN_reserved_addr27);
  19669. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR28 | RADIO_2056_SYN,
  19670. ci->RF_SYN_reserved_addr28);
  19671. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR29 | RADIO_2056_SYN,
  19672. ci->RF_SYN_reserved_addr29);
  19673. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_VCOBUF1 | RADIO_2056_SYN,
  19674. ci->RF_SYN_logen_VCOBUF1);
  19675. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_MIXER2 | RADIO_2056_SYN,
  19676. ci->RF_SYN_logen_MIXER2);
  19677. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF3 | RADIO_2056_SYN,
  19678. ci->RF_SYN_logen_BUF3);
  19679. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF4 | RADIO_2056_SYN,
  19680. ci->RF_SYN_logen_BUF4);
  19681. write_radio_reg(pi,
  19682. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX0,
  19683. ci->RF_RX0_lnaa_tune);
  19684. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX0,
  19685. ci->RF_RX0_lnag_tune);
  19686. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX0,
  19687. ci->RF_TX0_intpaa_boost_tune);
  19688. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX0,
  19689. ci->RF_TX0_intpag_boost_tune);
  19690. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX0,
  19691. ci->RF_TX0_pada_boost_tune);
  19692. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX0,
  19693. ci->RF_TX0_padg_boost_tune);
  19694. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX0,
  19695. ci->RF_TX0_pgaa_boost_tune);
  19696. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX0,
  19697. ci->RF_TX0_pgag_boost_tune);
  19698. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX0,
  19699. ci->RF_TX0_mixa_boost_tune);
  19700. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX0,
  19701. ci->RF_TX0_mixg_boost_tune);
  19702. write_radio_reg(pi,
  19703. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX1,
  19704. ci->RF_RX1_lnaa_tune);
  19705. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX1,
  19706. ci->RF_RX1_lnag_tune);
  19707. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX1,
  19708. ci->RF_TX1_intpaa_boost_tune);
  19709. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX1,
  19710. ci->RF_TX1_intpag_boost_tune);
  19711. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX1,
  19712. ci->RF_TX1_pada_boost_tune);
  19713. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX1,
  19714. ci->RF_TX1_padg_boost_tune);
  19715. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX1,
  19716. ci->RF_TX1_pgaa_boost_tune);
  19717. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX1,
  19718. ci->RF_TX1_pgag_boost_tune);
  19719. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX1,
  19720. ci->RF_TX1_mixa_boost_tune);
  19721. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX1,
  19722. ci->RF_TX1_mixg_boost_tune);
  19723. if (NREV_IS(pi->pubpi.phy_rev, 3))
  19724. regs_SYN_2056_ptr = regs_SYN_2056;
  19725. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  19726. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19727. else {
  19728. switch (pi->pubpi.radiorev) {
  19729. case 5:
  19730. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19731. break;
  19732. case 6:
  19733. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19734. break;
  19735. case 7:
  19736. case 9:
  19737. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19738. break;
  19739. case 8:
  19740. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19741. break;
  19742. case 11:
  19743. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19744. break;
  19745. }
  19746. }
  19747. if (CHSPEC_IS2G(pi->radio_chanspec))
  19748. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19749. RADIO_2056_SYN,
  19750. (u16) regs_SYN_2056_ptr[0x49 - 2].init_g);
  19751. else
  19752. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19753. RADIO_2056_SYN,
  19754. (u16) regs_SYN_2056_ptr[0x49 - 2].init_a);
  19755. if (pi->sh->boardflags2 & BFL2_GPLL_WAR) {
  19756. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19757. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19758. RADIO_2056_SYN, 0x1f);
  19759. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19760. RADIO_2056_SYN, 0x1f);
  19761. write_radio_reg(pi,
  19762. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19763. RADIO_2056_SYN, 0xb);
  19764. write_radio_reg(pi,
  19765. RADIO_2056_SYN_PLL_CP2 |
  19766. RADIO_2056_SYN, 0x14);
  19767. }
  19768. }
  19769. if ((pi->sh->boardflags2 & BFL2_GPLL_WAR2) &&
  19770. (CHSPEC_IS2G(pi->radio_chanspec))) {
  19771. write_radio_reg(pi,
  19772. RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19773. 0x1f);
  19774. write_radio_reg(pi,
  19775. RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19776. 0x1f);
  19777. write_radio_reg(pi,
  19778. RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19779. 0xb);
  19780. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 | RADIO_2056_SYN,
  19781. 0x20);
  19782. }
  19783. if (pi->sh->boardflags2 & BFL2_APLL_WAR) {
  19784. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  19785. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19786. RADIO_2056_SYN, 0x1f);
  19787. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19788. RADIO_2056_SYN, 0x1f);
  19789. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19790. RADIO_2056_SYN, 0x5);
  19791. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19792. RADIO_2056_SYN, 0xc);
  19793. }
  19794. }
  19795. if (PHY_IPA(pi) && CHSPEC_IS2G(pi->radio_chanspec)) {
  19796. u16 pag_boost_tune;
  19797. u16 padg_boost_tune;
  19798. u16 pgag_boost_tune;
  19799. u16 mixg_boost_tune;
  19800. u16 bias, cascbias;
  19801. uint core;
  19802. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19803. if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  19804. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19805. PADG_IDAC, 0xcc);
  19806. bias = 0x25;
  19807. cascbias = 0x20;
  19808. if ((pi->sh->chip ==
  19809. BCM43224_CHIP_ID)
  19810. || (pi->sh->chip ==
  19811. BCM43225_CHIP_ID)) {
  19812. if (pi->sh->chippkg ==
  19813. BCM43224_FAB_SMIC) {
  19814. bias = 0x2a;
  19815. cascbias = 0x38;
  19816. }
  19817. }
  19818. pag_boost_tune = 0x4;
  19819. pgag_boost_tune = 0x03;
  19820. padg_boost_tune = 0x77;
  19821. mixg_boost_tune = 0x65;
  19822. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19823. INTPAG_IMAIN_STAT, bias);
  19824. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19825. INTPAG_IAUX_STAT, bias);
  19826. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19827. INTPAG_CASCBIAS, cascbias);
  19828. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19829. INTPAG_BOOST_TUNE,
  19830. pag_boost_tune);
  19831. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19832. PGAG_BOOST_TUNE,
  19833. pgag_boost_tune);
  19834. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19835. PADG_BOOST_TUNE,
  19836. padg_boost_tune);
  19837. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19838. MIXG_BOOST_TUNE,
  19839. mixg_boost_tune);
  19840. } else {
  19841. bias = (pi->bw == WL_CHANSPEC_BW_40) ?
  19842. 0x40 : 0x20;
  19843. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19844. INTPAG_IMAIN_STAT, bias);
  19845. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19846. INTPAG_IAUX_STAT, bias);
  19847. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19848. INTPAG_CASCBIAS, 0x30);
  19849. }
  19850. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, PA_SPARE1,
  19851. 0xee);
  19852. }
  19853. }
  19854. if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6)
  19855. && CHSPEC_IS5G(pi->radio_chanspec)) {
  19856. u16 paa_boost_tune;
  19857. u16 pada_boost_tune;
  19858. u16 pgaa_boost_tune;
  19859. u16 mixa_boost_tune;
  19860. u16 freq, pabias, cascbias;
  19861. uint core;
  19862. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  19863. if (freq < 5150) {
  19864. paa_boost_tune = 0xa;
  19865. pada_boost_tune = 0x77;
  19866. pgaa_boost_tune = 0xf;
  19867. mixa_boost_tune = 0xf;
  19868. } else if (freq < 5340) {
  19869. paa_boost_tune = 0x8;
  19870. pada_boost_tune = 0x77;
  19871. pgaa_boost_tune = 0xfb;
  19872. mixa_boost_tune = 0xf;
  19873. } else if (freq < 5650) {
  19874. paa_boost_tune = 0x0;
  19875. pada_boost_tune = 0x77;
  19876. pgaa_boost_tune = 0xb;
  19877. mixa_boost_tune = 0xf;
  19878. } else {
  19879. paa_boost_tune = 0x0;
  19880. pada_boost_tune = 0x77;
  19881. if (freq != 5825)
  19882. pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
  19883. else
  19884. pgaa_boost_tune = 6;
  19885. mixa_boost_tune = 0xf;
  19886. }
  19887. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19888. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19889. INTPAA_BOOST_TUNE, paa_boost_tune);
  19890. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19891. PADA_BOOST_TUNE, pada_boost_tune);
  19892. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19893. PGAA_BOOST_TUNE, pgaa_boost_tune);
  19894. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19895. MIXA_BOOST_TUNE, mixa_boost_tune);
  19896. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19897. TXSPARE1, 0x30);
  19898. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19899. PA_SPARE2, 0xee);
  19900. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19901. PADA_CASCBIAS, 0x3);
  19902. cascbias = 0x30;
  19903. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  19904. (pi->sh->chip == BCM43225_CHIP_ID)) {
  19905. if (pi->sh->chippkg == BCM43224_FAB_SMIC)
  19906. cascbias = 0x35;
  19907. }
  19908. pabias = (pi->phy_pabias == 0) ? 0x30 : pi->phy_pabias;
  19909. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19910. INTPAA_IAUX_STAT, pabias);
  19911. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19912. INTPAA_IMAIN_STAT, pabias);
  19913. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19914. INTPAA_CASCBIAS, cascbias);
  19915. }
  19916. }
  19917. udelay(50);
  19918. wlc_phy_radio205x_vcocal_nphy(pi);
  19919. }
  19920. void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi)
  19921. {
  19922. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19923. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x0);
  19924. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04, 0x0);
  19925. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04,
  19926. (1 << 2));
  19927. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x01);
  19928. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19929. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL12, 0x0);
  19930. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19931. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x18);
  19932. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19933. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x39);
  19934. }
  19935. udelay(300);
  19936. }
  19937. static void
  19938. wlc_phy_chanspec_radio2057_setup(
  19939. struct brcms_phy *pi,
  19940. const struct chan_info_nphy_radio2057 *ci,
  19941. const struct chan_info_nphy_radio2057_rev5 *
  19942. ci2)
  19943. {
  19944. int coreNum;
  19945. u16 txmix2g_tune_boost_pu = 0;
  19946. u16 pad2g_tune_pus = 0;
  19947. if (pi->pubpi.radiorev == 5) {
  19948. write_radio_reg(pi,
  19949. RADIO_2057_VCOCAL_COUNTVAL0,
  19950. ci2->RF_vcocal_countval0);
  19951. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19952. ci2->RF_vcocal_countval1);
  19953. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19954. ci2->RF_rfpll_refmaster_sparextalsize);
  19955. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19956. ci2->RF_rfpll_loopfilter_r1);
  19957. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19958. ci2->RF_rfpll_loopfilter_c2);
  19959. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19960. ci2->RF_rfpll_loopfilter_c1);
  19961. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC,
  19962. ci2->RF_cp_kpd_idac);
  19963. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci2->RF_rfpll_mmd0);
  19964. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci2->RF_rfpll_mmd1);
  19965. write_radio_reg(pi,
  19966. RADIO_2057_VCOBUF_TUNE, ci2->RF_vcobuf_tune);
  19967. write_radio_reg(pi,
  19968. RADIO_2057_LOGEN_MX2G_TUNE,
  19969. ci2->RF_logen_mx2g_tune);
  19970. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19971. ci2->RF_logen_indbuf2g_tune);
  19972. write_radio_reg(pi,
  19973. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19974. ci2->RF_txmix2g_tune_boost_pu_core0);
  19975. write_radio_reg(pi,
  19976. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19977. ci2->RF_pad2g_tune_pus_core0);
  19978. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19979. ci2->RF_lna2g_tune_core0);
  19980. write_radio_reg(pi,
  19981. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19982. ci2->RF_txmix2g_tune_boost_pu_core1);
  19983. write_radio_reg(pi,
  19984. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19985. ci2->RF_pad2g_tune_pus_core1);
  19986. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19987. ci2->RF_lna2g_tune_core1);
  19988. } else {
  19989. write_radio_reg(pi,
  19990. RADIO_2057_VCOCAL_COUNTVAL0,
  19991. ci->RF_vcocal_countval0);
  19992. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19993. ci->RF_vcocal_countval1);
  19994. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19995. ci->RF_rfpll_refmaster_sparextalsize);
  19996. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19997. ci->RF_rfpll_loopfilter_r1);
  19998. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19999. ci->RF_rfpll_loopfilter_c2);
  20000. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20001. ci->RF_rfpll_loopfilter_c1);
  20002. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, ci->RF_cp_kpd_idac);
  20003. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci->RF_rfpll_mmd0);
  20004. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci->RF_rfpll_mmd1);
  20005. write_radio_reg(pi, RADIO_2057_VCOBUF_TUNE, ci->RF_vcobuf_tune);
  20006. write_radio_reg(pi,
  20007. RADIO_2057_LOGEN_MX2G_TUNE,
  20008. ci->RF_logen_mx2g_tune);
  20009. write_radio_reg(pi, RADIO_2057_LOGEN_MX5G_TUNE,
  20010. ci->RF_logen_mx5g_tune);
  20011. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  20012. ci->RF_logen_indbuf2g_tune);
  20013. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF5G_TUNE,
  20014. ci->RF_logen_indbuf5g_tune);
  20015. write_radio_reg(pi,
  20016. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  20017. ci->RF_txmix2g_tune_boost_pu_core0);
  20018. write_radio_reg(pi,
  20019. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  20020. ci->RF_pad2g_tune_pus_core0);
  20021. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE0,
  20022. ci->RF_pga_boost_tune_core0);
  20023. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE0,
  20024. ci->RF_txmix5g_boost_tune_core0);
  20025. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE0,
  20026. ci->RF_pad5g_tune_misc_pus_core0);
  20027. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  20028. ci->RF_lna2g_tune_core0);
  20029. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE0,
  20030. ci->RF_lna5g_tune_core0);
  20031. write_radio_reg(pi,
  20032. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  20033. ci->RF_txmix2g_tune_boost_pu_core1);
  20034. write_radio_reg(pi,
  20035. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  20036. ci->RF_pad2g_tune_pus_core1);
  20037. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE1,
  20038. ci->RF_pga_boost_tune_core1);
  20039. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE1,
  20040. ci->RF_txmix5g_boost_tune_core1);
  20041. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE1,
  20042. ci->RF_pad5g_tune_misc_pus_core1);
  20043. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  20044. ci->RF_lna2g_tune_core1);
  20045. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE1,
  20046. ci->RF_lna5g_tune_core1);
  20047. }
  20048. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  20049. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20050. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20051. 0x3f);
  20052. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20053. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20054. 0x8);
  20055. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20056. 0x8);
  20057. } else {
  20058. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20059. 0x1f);
  20060. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20061. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20062. 0x8);
  20063. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20064. 0x8);
  20065. }
  20066. } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) ||
  20067. (pi->pubpi.radiorev == 8)) {
  20068. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20069. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20070. 0x1b);
  20071. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x30);
  20072. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20073. 0xa);
  20074. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20075. 0xa);
  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. }
  20086. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20087. if (PHY_IPA(pi)) {
  20088. if (pi->pubpi.radiorev == 3)
  20089. txmix2g_tune_boost_pu = 0x6b;
  20090. if (pi->pubpi.radiorev == 5)
  20091. pad2g_tune_pus = 0x73;
  20092. } else {
  20093. if (pi->pubpi.radiorev != 5) {
  20094. pad2g_tune_pus = 0x3;
  20095. txmix2g_tune_boost_pu = 0x61;
  20096. }
  20097. }
  20098. for (coreNum = 0; coreNum <= 1; coreNum++) {
  20099. if (txmix2g_tune_boost_pu != 0)
  20100. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20101. TXMIX2G_TUNE_BOOST_PU,
  20102. txmix2g_tune_boost_pu);
  20103. if (pad2g_tune_pus != 0)
  20104. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20105. PAD2G_TUNE_PUS,
  20106. pad2g_tune_pus);
  20107. }
  20108. }
  20109. udelay(50);
  20110. wlc_phy_radio205x_vcocal_nphy(pi);
  20111. }
  20112. static void
  20113. wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec,
  20114. const struct nphy_sfo_cfg *ci)
  20115. {
  20116. u16 val;
  20117. val = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  20118. if (CHSPEC_IS5G(chanspec) && !val) {
  20119. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20120. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20121. (val | MAC_PHY_FORCE_CLK));
  20122. or_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20123. (BBCFG_RESETCCA | BBCFG_RESETRX));
  20124. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20125. or_phy_reg(pi, 0x09, NPHY_BandControl_currentBand);
  20126. } else if (!CHSPEC_IS5G(chanspec) && val) {
  20127. and_phy_reg(pi, 0x09, ~NPHY_BandControl_currentBand);
  20128. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20129. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20130. (val | MAC_PHY_FORCE_CLK));
  20131. and_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20132. (u16) (~(BBCFG_RESETCCA | BBCFG_RESETRX)));
  20133. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20134. }
  20135. write_phy_reg(pi, 0x1ce, ci->PHY_BW1a);
  20136. write_phy_reg(pi, 0x1cf, ci->PHY_BW2);
  20137. write_phy_reg(pi, 0x1d0, ci->PHY_BW3);
  20138. write_phy_reg(pi, 0x1d1, ci->PHY_BW4);
  20139. write_phy_reg(pi, 0x1d2, ci->PHY_BW5);
  20140. write_phy_reg(pi, 0x1d3, ci->PHY_BW6);
  20141. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  20142. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en, 0);
  20143. or_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, 0x800);
  20144. } else {
  20145. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en,
  20146. NPHY_ClassifierCtrl_ofdm_en);
  20147. if (CHSPEC_IS2G(chanspec))
  20148. and_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, ~0x840);
  20149. }
  20150. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF)
  20151. wlc_phy_txpwr_fixpower_nphy(pi);
  20152. if (NREV_LT(pi->pubpi.phy_rev, 3))
  20153. wlc_phy_adjust_lnagaintbl_nphy(pi);
  20154. wlc_phy_txlpfbw_nphy(pi);
  20155. if (NREV_GE(pi->pubpi.phy_rev, 3)
  20156. && (pi->phy_spuravoid != SPURAVOID_DISABLE)) {
  20157. u8 spuravoid = 0;
  20158. val = CHSPEC_CHANNEL(chanspec);
  20159. if (!CHSPEC_IS40(pi->radio_chanspec)) {
  20160. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20161. if ((val == 13) || (val == 14) || (val == 153))
  20162. spuravoid = 1;
  20163. } else if (((val >= 5) && (val <= 8)) || (val == 13)
  20164. || (val == 14)) {
  20165. spuravoid = 1;
  20166. }
  20167. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20168. if (val == 54)
  20169. spuravoid = 1;
  20170. } else {
  20171. if (pi->nphy_aband_spurwar_en &&
  20172. ((val == 38) || (val == 102)
  20173. || (val == 118)))
  20174. spuravoid = 1;
  20175. }
  20176. if (pi->phy_spuravoid == SPURAVOID_FORCEON)
  20177. spuravoid = 1;
  20178. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, false);
  20179. si_pmu_spuravoid_pllupdate(pi->sh->sih, spuravoid);
  20180. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, true);
  20181. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  20182. (pi->sh->chip == BCM43225_CHIP_ID)) {
  20183. if (spuravoid == 1) {
  20184. bcma_write16(pi->d11core,
  20185. D11REGOFFS(tsf_clk_frac_l),
  20186. 0x5341);
  20187. bcma_write16(pi->d11core,
  20188. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20189. } else {
  20190. bcma_write16(pi->d11core,
  20191. D11REGOFFS(tsf_clk_frac_l),
  20192. 0x8889);
  20193. bcma_write16(pi->d11core,
  20194. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20195. }
  20196. }
  20197. wlapi_bmac_core_phypll_reset(pi->sh->physhim);
  20198. mod_phy_reg(pi, 0x01, (0x1 << 15),
  20199. ((spuravoid > 0) ? (0x1 << 15) : 0));
  20200. wlc_phy_resetcca_nphy(pi);
  20201. pi->phy_isspuravoid = (spuravoid > 0);
  20202. }
  20203. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20204. write_phy_reg(pi, 0x17e, 0x3830);
  20205. wlc_phy_spurwar_nphy(pi);
  20206. }
  20207. void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec)
  20208. {
  20209. int freq;
  20210. const struct chan_info_nphy_radio2057 *t0 = NULL;
  20211. const struct chan_info_nphy_radio205x *t1 = NULL;
  20212. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  20213. const struct chan_info_nphy_2055 *t3 = NULL;
  20214. if (!wlc_phy_chan2freq_nphy
  20215. (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
  20216. return;
  20217. wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
  20218. if (CHSPEC_BW(chanspec) != pi->bw)
  20219. wlapi_bmac_bw_set(pi->sh->physhim, CHSPEC_BW(chanspec));
  20220. if (CHSPEC_IS40(chanspec)) {
  20221. if (CHSPEC_SB_UPPER(chanspec)) {
  20222. or_phy_reg(pi, 0xa0, BPHY_BAND_SEL_UP20);
  20223. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20224. or_phy_reg(pi, 0x310, PRIM_SEL_UP20);
  20225. } else {
  20226. and_phy_reg(pi, 0xa0, ~BPHY_BAND_SEL_UP20);
  20227. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20228. and_phy_reg(pi, 0x310,
  20229. (~PRIM_SEL_UP20 & 0xffff));
  20230. }
  20231. }
  20232. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20233. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20234. if ((pi->pubpi.radiorev <= 4)
  20235. || (pi->pubpi.radiorev == 6)) {
  20236. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE0,
  20237. 0x2,
  20238. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20239. : 0));
  20240. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE1,
  20241. 0x2,
  20242. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20243. : 0));
  20244. }
  20245. wlc_phy_chanspec_radio2057_setup(pi, t0, t2);
  20246. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20247. (pi->pubpi.radiorev == 5) ?
  20248. (const struct nphy_sfo_cfg *)&(t2->PHY_BW1a) :
  20249. (const struct nphy_sfo_cfg *)&(t0->PHY_BW1a));
  20250. } else {
  20251. mod_radio_reg(pi,
  20252. RADIO_2056_SYN_COM_CTRL | RADIO_2056_SYN,
  20253. 0x4,
  20254. (CHSPEC_IS5G(chanspec) ? (0x1 << 2) : 0));
  20255. wlc_phy_chanspec_radio2056_setup(pi, t1);
  20256. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20257. (const struct nphy_sfo_cfg *) &(t1->PHY_BW1a));
  20258. }
  20259. } else {
  20260. mod_radio_reg(pi, RADIO_2055_MASTER_CNTRL1, 0x70,
  20261. (CHSPEC_IS5G(chanspec) ? (0x02 << 4)
  20262. : (0x05 << 4)));
  20263. wlc_phy_chanspec_radio2055_setup(pi, t3);
  20264. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20265. (const struct nphy_sfo_cfg *)
  20266. &(t3->PHY_BW1a));
  20267. }
  20268. }
  20269. void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
  20270. {
  20271. struct brcms_phy *pi = (struct brcms_phy *) ppi;
  20272. u16 mask = 0xfc00;
  20273. u32 mc = 0;
  20274. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20275. return;
  20276. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20277. u16 v0 = 0x211, v1 = 0x222, v2 = 0x144, v3 = 0x188;
  20278. if (!lut_init)
  20279. return;
  20280. if (pi->srom_fem2g.antswctrllut == 0) {
  20281. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20282. 1, 0x02, 16, &v0);
  20283. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20284. 1, 0x03, 16, &v1);
  20285. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20286. 1, 0x08, 16, &v2);
  20287. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20288. 1, 0x0C, 16, &v3);
  20289. }
  20290. if (pi->srom_fem5g.antswctrllut == 0) {
  20291. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20292. 1, 0x12, 16, &v0);
  20293. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20294. 1, 0x13, 16, &v1);
  20295. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20296. 1, 0x18, 16, &v2);
  20297. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20298. 1, 0x1C, 16, &v3);
  20299. }
  20300. } else {
  20301. write_phy_reg(pi, 0xc8, 0x0);
  20302. write_phy_reg(pi, 0xc9, 0x0);
  20303. ai_gpiocontrol(pi->sh->sih, mask, mask, GPIO_DRV_PRIORITY);
  20304. mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  20305. mc &= ~MCTL_GPOUT_SEL_MASK;
  20306. bcma_write32(pi->d11core, D11REGOFFS(maccontrol), mc);
  20307. bcma_set16(pi->d11core, D11REGOFFS(psm_gpio_oe), mask);
  20308. bcma_mask16(pi->d11core, D11REGOFFS(psm_gpio_out), ~mask);
  20309. if (lut_init) {
  20310. write_phy_reg(pi, 0xf8, 0x02d8);
  20311. write_phy_reg(pi, 0xf9, 0x0301);
  20312. write_phy_reg(pi, 0xfa, 0x02d8);
  20313. write_phy_reg(pi, 0xfb, 0x0301);
  20314. }
  20315. }
  20316. }
  20317. u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val)
  20318. {
  20319. u16 curr_ctl, new_ctl;
  20320. bool suspended = false;
  20321. if (D11REV_IS(pi->sh->corerev, 16)) {
  20322. suspended = (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  20323. MCTL_EN_MAC) ? false : true;
  20324. if (!suspended)
  20325. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  20326. }
  20327. curr_ctl = read_phy_reg(pi, 0xb0) & (0x7 << 0);
  20328. new_ctl = (curr_ctl & (~mask)) | (val & mask);
  20329. mod_phy_reg(pi, 0xb0, (0x7 << 0), new_ctl);
  20330. if (D11REV_IS(pi->sh->corerev, 16) && !suspended)
  20331. wlapi_enable_mac(pi->sh->physhim);
  20332. return new_ctl;
  20333. }
  20334. void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd)
  20335. {
  20336. u16 trigger_mask, status_mask;
  20337. u16 orig_RfseqCoreActv;
  20338. switch (cmd) {
  20339. case NPHY_RFSEQ_RX2TX:
  20340. trigger_mask = NPHY_RfseqTrigger_rx2tx;
  20341. status_mask = NPHY_RfseqStatus_rx2tx;
  20342. break;
  20343. case NPHY_RFSEQ_TX2RX:
  20344. trigger_mask = NPHY_RfseqTrigger_tx2rx;
  20345. status_mask = NPHY_RfseqStatus_tx2rx;
  20346. break;
  20347. case NPHY_RFSEQ_RESET2RX:
  20348. trigger_mask = NPHY_RfseqTrigger_reset2rx;
  20349. status_mask = NPHY_RfseqStatus_reset2rx;
  20350. break;
  20351. case NPHY_RFSEQ_UPDATEGAINH:
  20352. trigger_mask = NPHY_RfseqTrigger_updategainh;
  20353. status_mask = NPHY_RfseqStatus_updategainh;
  20354. break;
  20355. case NPHY_RFSEQ_UPDATEGAINL:
  20356. trigger_mask = NPHY_RfseqTrigger_updategainl;
  20357. status_mask = NPHY_RfseqStatus_updategainl;
  20358. break;
  20359. case NPHY_RFSEQ_UPDATEGAINU:
  20360. trigger_mask = NPHY_RfseqTrigger_updategainu;
  20361. status_mask = NPHY_RfseqStatus_updategainu;
  20362. break;
  20363. default:
  20364. return;
  20365. }
  20366. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  20367. or_phy_reg(pi, 0xa1,
  20368. (NPHY_RfseqMode_CoreActv_override |
  20369. NPHY_RfseqMode_Trigger_override));
  20370. or_phy_reg(pi, 0xa3, trigger_mask);
  20371. SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000);
  20372. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  20373. WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf");
  20374. }
  20375. static void
  20376. wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value,
  20377. u8 core_mask, u8 off)
  20378. {
  20379. u16 rfmxgain = 0, lpfgain = 0;
  20380. u16 tgain = 0;
  20381. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20382. switch (cmd) {
  20383. case NPHY_REV7_RfctrlOverride_cmd_rxrf_pu:
  20384. wlc_phy_rfctrl_override_nphy_rev7(
  20385. pi, (0x1 << 5),
  20386. value, core_mask, off,
  20387. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20388. wlc_phy_rfctrl_override_nphy_rev7(
  20389. pi, (0x1 << 4), value,
  20390. core_mask, off,
  20391. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20392. wlc_phy_rfctrl_override_nphy_rev7(
  20393. pi, (0x1 << 3), value,
  20394. core_mask, off,
  20395. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20396. break;
  20397. case NPHY_REV7_RfctrlOverride_cmd_rx_pu:
  20398. wlc_phy_rfctrl_override_nphy_rev7(
  20399. pi, (0x1 << 2),
  20400. value, core_mask, off,
  20401. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20402. wlc_phy_rfctrl_override_nphy_rev7(
  20403. pi, (0x1 << 1), value,
  20404. core_mask, off,
  20405. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20406. wlc_phy_rfctrl_override_nphy_rev7(
  20407. pi, (0x1 << 0), value,
  20408. core_mask, off,
  20409. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20410. wlc_phy_rfctrl_override_nphy_rev7(
  20411. pi, (0x1 << 1), value,
  20412. core_mask, off,
  20413. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20414. wlc_phy_rfctrl_override_nphy_rev7(
  20415. pi, (0x1 << 11), 0,
  20416. core_mask, off,
  20417. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20418. break;
  20419. case NPHY_REV7_RfctrlOverride_cmd_tx_pu:
  20420. wlc_phy_rfctrl_override_nphy_rev7(
  20421. pi, (0x1 << 2),
  20422. value, core_mask, off,
  20423. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20424. wlc_phy_rfctrl_override_nphy_rev7(
  20425. pi, (0x1 << 1), value,
  20426. core_mask, off,
  20427. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20428. wlc_phy_rfctrl_override_nphy_rev7(
  20429. pi, (0x1 << 0), value,
  20430. core_mask, off,
  20431. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20432. wlc_phy_rfctrl_override_nphy_rev7(
  20433. pi, (0x1 << 2), value,
  20434. core_mask, off,
  20435. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20436. wlc_phy_rfctrl_override_nphy_rev7(
  20437. pi, (0x1 << 11), 1,
  20438. core_mask, off,
  20439. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20440. break;
  20441. case NPHY_REV7_RfctrlOverride_cmd_rxgain:
  20442. rfmxgain = value & 0x000ff;
  20443. lpfgain = value & 0x0ff00;
  20444. lpfgain = lpfgain >> 8;
  20445. wlc_phy_rfctrl_override_nphy_rev7(
  20446. pi, (0x1 << 11),
  20447. rfmxgain, core_mask,
  20448. off,
  20449. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20450. wlc_phy_rfctrl_override_nphy_rev7(
  20451. pi, (0x3 << 13),
  20452. lpfgain, core_mask,
  20453. off,
  20454. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20455. break;
  20456. case NPHY_REV7_RfctrlOverride_cmd_txgain:
  20457. tgain = value & 0x7fff;
  20458. lpfgain = value & 0x8000;
  20459. lpfgain = lpfgain >> 14;
  20460. wlc_phy_rfctrl_override_nphy_rev7(
  20461. pi, (0x1 << 12),
  20462. tgain, core_mask, off,
  20463. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20464. wlc_phy_rfctrl_override_nphy_rev7(
  20465. pi, (0x1 << 13),
  20466. lpfgain, core_mask,
  20467. off,
  20468. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20469. break;
  20470. }
  20471. }
  20472. }
  20473. static void
  20474. wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset,
  20475. u8 coresel, u8 rail, u8 rssi_type)
  20476. {
  20477. u16 valuetostuff;
  20478. offset = (offset > NPHY_RSSICAL_MAXREAD) ?
  20479. NPHY_RSSICAL_MAXREAD : offset;
  20480. offset = (offset < (-NPHY_RSSICAL_MAXREAD - 1)) ?
  20481. -NPHY_RSSICAL_MAXREAD - 1 : offset;
  20482. valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f);
  20483. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20484. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20485. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20486. write_phy_reg(pi, 0x1a6, valuetostuff);
  20487. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20488. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20489. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20490. write_phy_reg(pi, 0x1ac, valuetostuff);
  20491. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20492. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20493. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20494. write_phy_reg(pi, 0x1b2, valuetostuff);
  20495. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20496. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20497. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20498. write_phy_reg(pi, 0x1b8, valuetostuff);
  20499. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20500. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20501. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20502. write_phy_reg(pi, 0x1a4, valuetostuff);
  20503. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20504. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20505. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20506. write_phy_reg(pi, 0x1aa, valuetostuff);
  20507. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20508. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20509. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20510. write_phy_reg(pi, 0x1b0, valuetostuff);
  20511. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20512. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20513. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20514. write_phy_reg(pi, 0x1b6, valuetostuff);
  20515. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20516. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20517. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20518. write_phy_reg(pi, 0x1a5, valuetostuff);
  20519. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20520. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20521. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20522. write_phy_reg(pi, 0x1ab, valuetostuff);
  20523. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20524. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20525. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20526. write_phy_reg(pi, 0x1b1, valuetostuff);
  20527. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20528. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20529. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20530. write_phy_reg(pi, 0x1b7, valuetostuff);
  20531. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20532. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20533. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20534. write_phy_reg(pi, 0x1a7, valuetostuff);
  20535. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20536. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20537. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20538. write_phy_reg(pi, 0x1ad, valuetostuff);
  20539. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20540. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20541. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20542. write_phy_reg(pi, 0x1b3, valuetostuff);
  20543. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20544. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20545. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20546. write_phy_reg(pi, 0x1b9, valuetostuff);
  20547. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20548. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20549. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20550. write_phy_reg(pi, 0x1a8, valuetostuff);
  20551. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20552. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20553. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20554. write_phy_reg(pi, 0x1ae, valuetostuff);
  20555. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20556. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20557. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20558. write_phy_reg(pi, 0x1b4, valuetostuff);
  20559. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20560. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20561. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20562. write_phy_reg(pi, 0x1ba, valuetostuff);
  20563. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20564. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20565. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20566. write_phy_reg(pi, 0x1a9, valuetostuff);
  20567. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20568. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20569. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20570. write_phy_reg(pi, 0x1b5, valuetostuff);
  20571. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20572. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20573. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20574. write_phy_reg(pi, 0x1af, valuetostuff);
  20575. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20576. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20577. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20578. write_phy_reg(pi, 0x1bb, valuetostuff);
  20579. }
  20580. static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core)
  20581. {
  20582. if (PHY_IPA(pi)) {
  20583. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20584. write_radio_reg(pi,
  20585. ((core == PHY_CORE_0) ?
  20586. RADIO_2057_TX0_TX_SSI_MUX :
  20587. RADIO_2057_TX1_TX_SSI_MUX),
  20588. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20589. 0xc : 0xe));
  20590. else
  20591. write_radio_reg(pi,
  20592. RADIO_2056_TX_TX_SSI_MUX |
  20593. ((core == PHY_CORE_0) ?
  20594. RADIO_2056_TX0 : RADIO_2056_TX1),
  20595. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20596. 0xc : 0xe));
  20597. } else {
  20598. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20599. write_radio_reg(pi,
  20600. ((core == PHY_CORE_0) ?
  20601. RADIO_2057_TX0_TX_SSI_MUX :
  20602. RADIO_2057_TX1_TX_SSI_MUX),
  20603. 0x11);
  20604. if (pi->pubpi.radioid == BCM2057_ID)
  20605. write_radio_reg(pi,
  20606. RADIO_2057_IQTEST_SEL_PU, 0x1);
  20607. } else {
  20608. write_radio_reg(pi,
  20609. RADIO_2056_TX_TX_SSI_MUX |
  20610. ((core == PHY_CORE_0) ?
  20611. RADIO_2056_TX0 : RADIO_2056_TX1),
  20612. 0x11);
  20613. }
  20614. }
  20615. }
  20616. void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type)
  20617. {
  20618. u16 mask, val;
  20619. u16 afectrlovr_rssi_val, rfctrlcmd_rxen_val, rfctrlcmd_coresel_val,
  20620. startseq;
  20621. u16 rfctrlovr_rssi_val, rfctrlovr_rxen_val, rfctrlovr_coresel_val,
  20622. rfctrlovr_trigger_val;
  20623. u16 afectrlovr_rssi_mask, rfctrlcmd_mask, rfctrlovr_mask;
  20624. u16 rfctrlcmd_val, rfctrlovr_val;
  20625. u8 core;
  20626. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20627. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20628. mod_phy_reg(pi, 0x8f, (0x1 << 9), 0);
  20629. mod_phy_reg(pi, 0xa5, (0x1 << 9), 0);
  20630. mod_phy_reg(pi, 0xa6, (0x3 << 8), 0);
  20631. mod_phy_reg(pi, 0xa7, (0x3 << 8), 0);
  20632. mod_phy_reg(pi, 0xe5, (0x1 << 5), 0);
  20633. mod_phy_reg(pi, 0xe6, (0x1 << 5), 0);
  20634. mask = (0x1 << 2) |
  20635. (0x1 << 3) | (0x1 << 4) | (0x1 << 5);
  20636. mod_phy_reg(pi, 0xf9, mask, 0);
  20637. mod_phy_reg(pi, 0xfb, mask, 0);
  20638. } else {
  20639. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20640. if (core_code == RADIO_MIMO_CORESEL_CORE1
  20641. && core == PHY_CORE_1)
  20642. continue;
  20643. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  20644. && core == PHY_CORE_0)
  20645. continue;
  20646. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20647. 0x8f : 0xa5, (0x1 << 9), 1 << 9);
  20648. if (rssi_type == NPHY_RSSI_SEL_W1 ||
  20649. rssi_type == NPHY_RSSI_SEL_W2 ||
  20650. rssi_type == NPHY_RSSI_SEL_NB) {
  20651. mod_phy_reg(pi,
  20652. (core ==
  20653. PHY_CORE_0) ? 0xa6 : 0xa7,
  20654. (0x3 << 8), 0);
  20655. mask = (0x1 << 2) |
  20656. (0x1 << 3) |
  20657. (0x1 << 4) | (0x1 << 5);
  20658. mod_phy_reg(pi,
  20659. (core ==
  20660. PHY_CORE_0) ? 0xf9 : 0xfb,
  20661. mask, 0);
  20662. if (rssi_type == NPHY_RSSI_SEL_W1) {
  20663. if (CHSPEC_IS5G(
  20664. pi->radio_chanspec)) {
  20665. mask = (0x1 << 2);
  20666. val = 1 << 2;
  20667. } else {
  20668. mask = (0x1 << 3);
  20669. val = 1 << 3;
  20670. }
  20671. } else if (rssi_type ==
  20672. NPHY_RSSI_SEL_W2) {
  20673. mask = (0x1 << 4);
  20674. val = 1 << 4;
  20675. } else {
  20676. mask = (0x1 << 5);
  20677. val = 1 << 5;
  20678. }
  20679. mod_phy_reg(pi,
  20680. (core ==
  20681. PHY_CORE_0) ? 0xf9 : 0xfb,
  20682. mask, val);
  20683. mask = (0x1 << 5);
  20684. val = 1 << 5;
  20685. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20686. 0xe5 : 0xe6, mask, val);
  20687. } else {
  20688. if (rssi_type == NPHY_RSSI_SEL_TBD) {
  20689. mask = (0x3 << 8);
  20690. val = 1 << 8;
  20691. mod_phy_reg(pi,
  20692. (core ==
  20693. PHY_CORE_0) ? 0xa6
  20694. : 0xa7, mask, val);
  20695. mask = (0x3 << 10);
  20696. val = 1 << 10;
  20697. mod_phy_reg(pi,
  20698. (core ==
  20699. PHY_CORE_0) ? 0xa6
  20700. : 0xa7, mask, val);
  20701. } else if (rssi_type ==
  20702. NPHY_RSSI_SEL_IQ) {
  20703. mask = (0x3 << 8);
  20704. val = 2 << 8;
  20705. mod_phy_reg(pi,
  20706. (core ==
  20707. PHY_CORE_0) ? 0xa6
  20708. : 0xa7, mask, val);
  20709. mask = (0x3 << 10);
  20710. val = 2 << 10;
  20711. mod_phy_reg(pi,
  20712. (core ==
  20713. PHY_CORE_0) ? 0xa6
  20714. : 0xa7, mask, val);
  20715. } else {
  20716. mask = (0x3 << 8);
  20717. val = 3 << 8;
  20718. mod_phy_reg(pi,
  20719. (core ==
  20720. PHY_CORE_0) ? 0xa6
  20721. : 0xa7, mask, val);
  20722. mask = (0x3 << 10);
  20723. val = 3 << 10;
  20724. mod_phy_reg(pi,
  20725. (core ==
  20726. PHY_CORE_0) ? 0xa6
  20727. : 0xa7, mask, val);
  20728. brcms_phy_wr_tx_mux(pi, core);
  20729. afectrlovr_rssi_val = 1 << 9;
  20730. mod_phy_reg(pi,
  20731. (core ==
  20732. PHY_CORE_0) ? 0x8f
  20733. : 0xa5, (0x1 << 9),
  20734. afectrlovr_rssi_val);
  20735. }
  20736. }
  20737. }
  20738. }
  20739. } else {
  20740. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20741. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20742. (rssi_type == NPHY_RSSI_SEL_NB))
  20743. val = 0x0;
  20744. else if (rssi_type == NPHY_RSSI_SEL_TBD)
  20745. val = 0x1;
  20746. else if (rssi_type == NPHY_RSSI_SEL_IQ)
  20747. val = 0x2;
  20748. else
  20749. val = 0x3;
  20750. mask = ((0x3 << 12) | (0x3 << 14));
  20751. val = (val << 12) | (val << 14);
  20752. mod_phy_reg(pi, 0xa6, mask, val);
  20753. mod_phy_reg(pi, 0xa7, mask, val);
  20754. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20755. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20756. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20757. if (rssi_type == NPHY_RSSI_SEL_W1)
  20758. val = 0x1;
  20759. if (rssi_type == NPHY_RSSI_SEL_W2)
  20760. val = 0x2;
  20761. if (rssi_type == NPHY_RSSI_SEL_NB)
  20762. val = 0x3;
  20763. mask = (0x3 << 4);
  20764. val = (val << 4);
  20765. mod_phy_reg(pi, 0x7a, mask, val);
  20766. mod_phy_reg(pi, 0x7d, mask, val);
  20767. }
  20768. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20769. afectrlovr_rssi_val = 0;
  20770. rfctrlcmd_rxen_val = 0;
  20771. rfctrlcmd_coresel_val = 0;
  20772. rfctrlovr_rssi_val = 0;
  20773. rfctrlovr_rxen_val = 0;
  20774. rfctrlovr_coresel_val = 0;
  20775. rfctrlovr_trigger_val = 0;
  20776. startseq = 0;
  20777. } else {
  20778. afectrlovr_rssi_val = 1;
  20779. rfctrlcmd_rxen_val = 1;
  20780. rfctrlcmd_coresel_val = core_code;
  20781. rfctrlovr_rssi_val = 1;
  20782. rfctrlovr_rxen_val = 1;
  20783. rfctrlovr_coresel_val = 1;
  20784. rfctrlovr_trigger_val = 1;
  20785. startseq = 1;
  20786. }
  20787. afectrlovr_rssi_mask = ((0x1 << 12) | (0x1 << 13));
  20788. afectrlovr_rssi_val = (afectrlovr_rssi_val <<
  20789. 12) | (afectrlovr_rssi_val << 13);
  20790. mod_phy_reg(pi, 0xa5, afectrlovr_rssi_mask,
  20791. afectrlovr_rssi_val);
  20792. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20793. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20794. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20795. rfctrlcmd_mask = ((0x1 << 8) | (0x7 << 3));
  20796. rfctrlcmd_val = (rfctrlcmd_rxen_val << 8) |
  20797. (rfctrlcmd_coresel_val << 3);
  20798. rfctrlovr_mask = ((0x1 << 5) |
  20799. (0x1 << 12) |
  20800. (0x1 << 1) | (0x1 << 0));
  20801. rfctrlovr_val = (rfctrlovr_rssi_val <<
  20802. 5) |
  20803. (rfctrlovr_rxen_val << 12) |
  20804. (rfctrlovr_coresel_val << 1) |
  20805. (rfctrlovr_trigger_val << 0);
  20806. mod_phy_reg(pi, 0x78, rfctrlcmd_mask, rfctrlcmd_val);
  20807. mod_phy_reg(pi, 0xec, rfctrlovr_mask, rfctrlovr_val);
  20808. mod_phy_reg(pi, 0x78, (0x1 << 0), (startseq << 0));
  20809. udelay(20);
  20810. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  20811. }
  20812. }
  20813. }
  20814. int
  20815. wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf,
  20816. u8 nsamps)
  20817. {
  20818. s16 rssi0, rssi1;
  20819. u16 afectrlCore1_save = 0;
  20820. u16 afectrlCore2_save = 0;
  20821. u16 afectrlOverride1_save = 0;
  20822. u16 afectrlOverride2_save = 0;
  20823. u16 rfctrlOverrideAux0_save = 0;
  20824. u16 rfctrlOverrideAux1_save = 0;
  20825. u16 rfctrlMiscReg1_save = 0;
  20826. u16 rfctrlMiscReg2_save = 0;
  20827. u16 rfctrlcmd_save = 0;
  20828. u16 rfctrloverride_save = 0;
  20829. u16 rfctrlrssiothers1_save = 0;
  20830. u16 rfctrlrssiothers2_save = 0;
  20831. s8 tmp_buf[4];
  20832. u8 ctr = 0, samp = 0;
  20833. s32 rssi_out_val;
  20834. u16 gpiosel_orig;
  20835. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20836. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20837. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20838. rfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  20839. rfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  20840. afectrlOverride1_save = read_phy_reg(pi, 0x8f);
  20841. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20842. rfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  20843. rfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  20844. } else {
  20845. afectrlOverride1_save = read_phy_reg(pi, 0xa5);
  20846. rfctrlcmd_save = read_phy_reg(pi, 0x78);
  20847. rfctrloverride_save = read_phy_reg(pi, 0xec);
  20848. rfctrlrssiothers1_save = read_phy_reg(pi, 0x7a);
  20849. rfctrlrssiothers2_save = read_phy_reg(pi, 0x7d);
  20850. }
  20851. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  20852. gpiosel_orig = read_phy_reg(pi, 0xca);
  20853. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20854. write_phy_reg(pi, 0xca, 5);
  20855. for (ctr = 0; ctr < 4; ctr++)
  20856. rssi_buf[ctr] = 0;
  20857. for (samp = 0; samp < nsamps; samp++) {
  20858. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  20859. rssi0 = read_phy_reg(pi, 0x1c9);
  20860. rssi1 = read_phy_reg(pi, 0x1ca);
  20861. } else {
  20862. rssi0 = read_phy_reg(pi, 0x219);
  20863. rssi1 = read_phy_reg(pi, 0x21a);
  20864. }
  20865. ctr = 0;
  20866. tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2;
  20867. tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2;
  20868. tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2;
  20869. tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2;
  20870. for (ctr = 0; ctr < 4; ctr++)
  20871. rssi_buf[ctr] += tmp_buf[ctr];
  20872. }
  20873. rssi_out_val = rssi_buf[3] & 0xff;
  20874. rssi_out_val |= (rssi_buf[2] & 0xff) << 8;
  20875. rssi_out_val |= (rssi_buf[1] & 0xff) << 16;
  20876. rssi_out_val |= (rssi_buf[0] & 0xff) << 24;
  20877. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20878. write_phy_reg(pi, 0xca, gpiosel_orig);
  20879. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20880. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20881. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20882. write_phy_reg(pi, 0xf9, rfctrlMiscReg1_save);
  20883. write_phy_reg(pi, 0xfb, rfctrlMiscReg2_save);
  20884. write_phy_reg(pi, 0x8f, afectrlOverride1_save);
  20885. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20886. write_phy_reg(pi, 0xe5, rfctrlOverrideAux0_save);
  20887. write_phy_reg(pi, 0xe6, rfctrlOverrideAux1_save);
  20888. } else {
  20889. write_phy_reg(pi, 0xa5, afectrlOverride1_save);
  20890. write_phy_reg(pi, 0x78, rfctrlcmd_save);
  20891. write_phy_reg(pi, 0xec, rfctrloverride_save);
  20892. write_phy_reg(pi, 0x7a, rfctrlrssiothers1_save);
  20893. write_phy_reg(pi, 0x7d, rfctrlrssiothers2_save);
  20894. }
  20895. return rssi_out_val;
  20896. }
  20897. s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi)
  20898. {
  20899. u16 core1_txrf_iqcal1_save, core1_txrf_iqcal2_save;
  20900. u16 core2_txrf_iqcal1_save, core2_txrf_iqcal2_save;
  20901. u16 pwrdet_rxtx_core1_save;
  20902. u16 pwrdet_rxtx_core2_save;
  20903. u16 afectrlCore1_save;
  20904. u16 afectrlCore2_save;
  20905. u16 afectrlOverride_save;
  20906. u16 afectrlOverride2_save;
  20907. u16 pd_pll_ts_save;
  20908. u16 gpioSel_save;
  20909. s32 radio_temp[4];
  20910. s32 radio_temp2[4];
  20911. u16 syn_tempprocsense_save;
  20912. s16 offset = 0;
  20913. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20914. u16 auxADC_Vmid, auxADC_Av, auxADC_Vmid_save, auxADC_Av_save;
  20915. u16 auxADC_rssi_ctrlL_save, auxADC_rssi_ctrlH_save;
  20916. u16 auxADC_rssi_ctrlL, auxADC_rssi_ctrlH;
  20917. s32 auxADC_Vl;
  20918. u16 RfctrlOverride5_save, RfctrlOverride6_save;
  20919. u16 RfctrlMiscReg5_save, RfctrlMiscReg6_save;
  20920. u16 RSSIMultCoef0QPowerDet_save;
  20921. u16 tempsense_Rcal;
  20922. syn_tempprocsense_save =
  20923. read_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG);
  20924. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20925. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20926. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20927. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20928. RSSIMultCoef0QPowerDet_save = read_phy_reg(pi, 0x1ae);
  20929. RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  20930. RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  20931. RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  20932. RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  20933. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20934. &auxADC_Vmid_save);
  20935. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20936. &auxADC_Av_save);
  20937. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20938. &auxADC_rssi_ctrlL_save);
  20939. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20940. &auxADC_rssi_ctrlH_save);
  20941. write_phy_reg(pi, 0x1ae, 0x0);
  20942. auxADC_rssi_ctrlL = 0x0;
  20943. auxADC_rssi_ctrlH = 0x20;
  20944. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20945. &auxADC_rssi_ctrlL);
  20946. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20947. &auxADC_rssi_ctrlH);
  20948. tempsense_Rcal = syn_tempprocsense_save & 0x1c;
  20949. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20950. tempsense_Rcal | 0x01);
  20951. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  20952. 1, 0, 0,
  20953. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20954. mod_phy_reg(pi, 0xa6, (0x1 << 7), 0);
  20955. mod_phy_reg(pi, 0xa7, (0x1 << 7), 0);
  20956. mod_phy_reg(pi, 0x8f, (0x1 << 7), (0x1 << 7));
  20957. mod_phy_reg(pi, 0xa5, (0x1 << 7), (0x1 << 7));
  20958. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  20959. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  20960. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  20961. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  20962. udelay(5);
  20963. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  20964. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  20965. mod_phy_reg(pi, 0xa6, (0x1 << 3), 0);
  20966. mod_phy_reg(pi, 0xa7, (0x1 << 3), 0);
  20967. mod_phy_reg(pi, 0x8f, (0x1 << 3), (0x1 << 3));
  20968. mod_phy_reg(pi, 0xa5, (0x1 << 3), (0x1 << 3));
  20969. mod_phy_reg(pi, 0xa6, (0x1 << 6), 0);
  20970. mod_phy_reg(pi, 0xa7, (0x1 << 6), 0);
  20971. mod_phy_reg(pi, 0x8f, (0x1 << 6), (0x1 << 6));
  20972. mod_phy_reg(pi, 0xa5, (0x1 << 6), (0x1 << 6));
  20973. auxADC_Vmid = 0xA3;
  20974. auxADC_Av = 0x0;
  20975. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20976. &auxADC_Vmid);
  20977. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20978. &auxADC_Av);
  20979. udelay(3);
  20980. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20981. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20982. tempsense_Rcal | 0x03);
  20983. udelay(5);
  20984. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20985. auxADC_Av = 0x7;
  20986. if (radio_temp[1] + radio_temp2[1] < -30) {
  20987. auxADC_Vmid = 0x45;
  20988. auxADC_Vl = 263;
  20989. } else if (radio_temp[1] + radio_temp2[1] < -9) {
  20990. auxADC_Vmid = 0x200;
  20991. auxADC_Vl = 467;
  20992. } else if (radio_temp[1] + radio_temp2[1] < 11) {
  20993. auxADC_Vmid = 0x266;
  20994. auxADC_Vl = 634;
  20995. } else {
  20996. auxADC_Vmid = 0x2D5;
  20997. auxADC_Vl = 816;
  20998. }
  20999. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21000. &auxADC_Vmid);
  21001. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21002. &auxADC_Av);
  21003. udelay(3);
  21004. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21005. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21006. tempsense_Rcal | 0x01);
  21007. udelay(5);
  21008. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21009. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21010. syn_tempprocsense_save);
  21011. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21012. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21013. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21014. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21015. write_phy_reg(pi, 0x1ae, RSSIMultCoef0QPowerDet_save);
  21016. write_phy_reg(pi, 0x346, RfctrlOverride5_save);
  21017. write_phy_reg(pi, 0x347, RfctrlOverride6_save);
  21018. write_phy_reg(pi, 0x344, RfctrlMiscReg5_save);
  21019. write_phy_reg(pi, 0x345, RfctrlMiscReg5_save);
  21020. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21021. &auxADC_Vmid_save);
  21022. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21023. &auxADC_Av_save);
  21024. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  21025. &auxADC_rssi_ctrlL_save);
  21026. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  21027. &auxADC_rssi_ctrlH_save);
  21028. radio_temp[0] = (179 * (radio_temp[1] + radio_temp2[1])
  21029. + 82 * (auxADC_Vl) - 28861 +
  21030. 128) / 256;
  21031. offset = (s16) pi->phy_tempsense_offset;
  21032. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21033. syn_tempprocsense_save =
  21034. read_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE);
  21035. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21036. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21037. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  21038. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21039. gpioSel_save = read_phy_reg(pi, 0xca);
  21040. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21041. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21042. if (NREV_LT(pi->pubpi.phy_rev, 7))
  21043. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x05);
  21044. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21045. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21046. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x01);
  21047. else
  21048. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21049. radio_temp[0] =
  21050. (126 * (radio_temp[1] + radio_temp2[1]) + 3987) / 64;
  21051. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE,
  21052. syn_tempprocsense_save);
  21053. write_phy_reg(pi, 0xca, gpioSel_save);
  21054. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21055. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21056. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21057. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21058. offset = (s16) pi->phy_tempsense_offset;
  21059. } else {
  21060. pwrdet_rxtx_core1_save =
  21061. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  21062. pwrdet_rxtx_core2_save =
  21063. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  21064. core1_txrf_iqcal1_save =
  21065. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  21066. core1_txrf_iqcal2_save =
  21067. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  21068. core2_txrf_iqcal1_save =
  21069. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  21070. core2_txrf_iqcal2_save =
  21071. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  21072. pd_pll_ts_save = read_radio_reg(pi, RADIO_2055_PD_PLL_TS);
  21073. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21074. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21075. afectrlOverride_save = read_phy_reg(pi, 0xa5);
  21076. gpioSel_save = read_phy_reg(pi, 0xca);
  21077. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x01);
  21078. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x01);
  21079. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x08);
  21080. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x08);
  21081. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  21082. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  21083. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, 0x00);
  21084. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21085. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21086. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21087. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21088. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21089. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21090. radio_temp[0] = (radio_temp[0] + radio_temp2[0]);
  21091. radio_temp[1] = (radio_temp[1] + radio_temp2[1]);
  21092. radio_temp[2] = (radio_temp[2] + radio_temp2[2]);
  21093. radio_temp[3] = (radio_temp[3] + radio_temp2[3]);
  21094. radio_temp[0] =
  21095. (radio_temp[0] + radio_temp[1] + radio_temp[2] +
  21096. radio_temp[3]);
  21097. radio_temp[0] =
  21098. (radio_temp[0] +
  21099. (8 * 32)) * (950 - 350) / 63 + (350 * 8);
  21100. radio_temp[0] = (radio_temp[0] - (8 * 420)) / 38;
  21101. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  21102. pwrdet_rxtx_core1_save);
  21103. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  21104. pwrdet_rxtx_core2_save);
  21105. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  21106. core1_txrf_iqcal1_save);
  21107. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  21108. core2_txrf_iqcal1_save);
  21109. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  21110. core1_txrf_iqcal2_save);
  21111. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  21112. core2_txrf_iqcal2_save);
  21113. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, pd_pll_ts_save);
  21114. write_phy_reg(pi, 0xca, gpioSel_save);
  21115. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21116. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21117. write_phy_reg(pi, 0xa5, afectrlOverride_save);
  21118. }
  21119. return (s16) radio_temp[0] + offset;
  21120. }
  21121. static void
  21122. wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf)
  21123. {
  21124. u8 core;
  21125. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21126. if (rssi_type == NPHY_RSSI_SEL_NB) {
  21127. if (core == PHY_CORE_0) {
  21128. mod_radio_reg(pi,
  21129. RADIO_2055_CORE1_B0_NBRSSI_VCM,
  21130. RADIO_2055_NBRSSI_VCM_I_MASK,
  21131. vcm_buf[2 *
  21132. core] <<
  21133. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21134. mod_radio_reg(pi,
  21135. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21136. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21137. vcm_buf[2 * core +
  21138. 1] <<
  21139. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21140. } else {
  21141. mod_radio_reg(pi,
  21142. RADIO_2055_CORE2_B0_NBRSSI_VCM,
  21143. RADIO_2055_NBRSSI_VCM_I_MASK,
  21144. vcm_buf[2 *
  21145. core] <<
  21146. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21147. mod_radio_reg(pi,
  21148. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21149. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21150. vcm_buf[2 * core +
  21151. 1] <<
  21152. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21153. }
  21154. } else {
  21155. if (core == PHY_CORE_0)
  21156. mod_radio_reg(pi,
  21157. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21158. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21159. vcm_buf[2 *
  21160. core] <<
  21161. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21162. else
  21163. mod_radio_reg(pi,
  21164. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21165. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21166. vcm_buf[2 *
  21167. core] <<
  21168. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21169. }
  21170. }
  21171. }
  21172. static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi)
  21173. {
  21174. u16 classif_state;
  21175. u16 clip_state[2];
  21176. u16 clip_off[] = { 0xffff, 0xffff };
  21177. s32 target_code;
  21178. u8 vcm, min_vcm;
  21179. u8 vcm_final = 0;
  21180. u8 result_idx;
  21181. s32 poll_results[8][4] = {
  21182. {0, 0, 0, 0},
  21183. {0, 0, 0, 0},
  21184. {0, 0, 0, 0},
  21185. {0, 0, 0, 0},
  21186. {0, 0, 0, 0},
  21187. {0, 0, 0, 0},
  21188. {0, 0, 0, 0},
  21189. {0, 0, 0, 0}
  21190. };
  21191. s32 poll_result_core[4] = { 0, 0, 0, 0 };
  21192. s32 min_d = NPHY_RSSICAL_MAXD, curr_d;
  21193. s32 fine_digital_offset[4];
  21194. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21195. s32 min_poll;
  21196. u8 vcm_level_max;
  21197. u8 core;
  21198. u8 wb_cnt;
  21199. u8 rssi_type;
  21200. u16 NPHY_Rfctrlintc1_save, NPHY_Rfctrlintc2_save;
  21201. u16 NPHY_AfectrlOverride1_save, NPHY_AfectrlOverride2_save;
  21202. u16 NPHY_AfectrlCore1_save, NPHY_AfectrlCore2_save;
  21203. u16 NPHY_RfctrlOverride0_save, NPHY_RfctrlOverride1_save;
  21204. u16 NPHY_RfctrlOverrideAux0_save, NPHY_RfctrlOverrideAux1_save;
  21205. u16 NPHY_RfctrlCmd_save;
  21206. u16 NPHY_RfctrlMiscReg1_save, NPHY_RfctrlMiscReg2_save;
  21207. u16 NPHY_RfctrlRSSIOTHERS1_save, NPHY_RfctrlRSSIOTHERS2_save;
  21208. u8 rxcore_state;
  21209. u16 NPHY_REV7_RfctrlOverride3_save, NPHY_REV7_RfctrlOverride4_save;
  21210. u16 NPHY_REV7_RfctrlOverride5_save, NPHY_REV7_RfctrlOverride6_save;
  21211. u16 NPHY_REV7_RfctrlMiscReg3_save, NPHY_REV7_RfctrlMiscReg4_save;
  21212. u16 NPHY_REV7_RfctrlMiscReg5_save, NPHY_REV7_RfctrlMiscReg6_save;
  21213. NPHY_REV7_RfctrlOverride3_save =
  21214. NPHY_REV7_RfctrlOverride4_save =
  21215. NPHY_REV7_RfctrlOverride5_save =
  21216. NPHY_REV7_RfctrlOverride6_save =
  21217. NPHY_REV7_RfctrlMiscReg3_save =
  21218. NPHY_REV7_RfctrlMiscReg4_save =
  21219. NPHY_REV7_RfctrlMiscReg5_save =
  21220. NPHY_REV7_RfctrlMiscReg6_save = 0;
  21221. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21222. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21223. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21224. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21225. NPHY_Rfctrlintc1_save = read_phy_reg(pi, 0x91);
  21226. NPHY_Rfctrlintc2_save = read_phy_reg(pi, 0x92);
  21227. NPHY_AfectrlOverride1_save = read_phy_reg(pi, 0x8f);
  21228. NPHY_AfectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21229. NPHY_AfectrlCore1_save = read_phy_reg(pi, 0xa6);
  21230. NPHY_AfectrlCore2_save = read_phy_reg(pi, 0xa7);
  21231. NPHY_RfctrlOverride0_save = read_phy_reg(pi, 0xe7);
  21232. NPHY_RfctrlOverride1_save = read_phy_reg(pi, 0xec);
  21233. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21234. NPHY_REV7_RfctrlOverride3_save = read_phy_reg(pi, 0x342);
  21235. NPHY_REV7_RfctrlOverride4_save = read_phy_reg(pi, 0x343);
  21236. NPHY_REV7_RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  21237. NPHY_REV7_RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  21238. }
  21239. NPHY_RfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  21240. NPHY_RfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  21241. NPHY_RfctrlCmd_save = read_phy_reg(pi, 0x78);
  21242. NPHY_RfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  21243. NPHY_RfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  21244. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21245. NPHY_REV7_RfctrlMiscReg3_save = read_phy_reg(pi, 0x340);
  21246. NPHY_REV7_RfctrlMiscReg4_save = read_phy_reg(pi, 0x341);
  21247. NPHY_REV7_RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  21248. NPHY_REV7_RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  21249. }
  21250. NPHY_RfctrlRSSIOTHERS1_save = read_phy_reg(pi, 0x7a);
  21251. NPHY_RfctrlRSSIOTHERS2_save = read_phy_reg(pi, 0x7d);
  21252. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_OFF, 0,
  21253. RADIO_MIMO_CORESEL_ALLRXTX);
  21254. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_TRSW, 1,
  21255. RADIO_MIMO_CORESEL_ALLRXTX);
  21256. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21257. wlc_phy_rfctrl_override_1tomany_nphy(
  21258. pi,
  21259. NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,
  21260. 0, 0, 0);
  21261. else
  21262. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0, 0);
  21263. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21264. wlc_phy_rfctrl_override_1tomany_nphy(
  21265. pi,
  21266. NPHY_REV7_RfctrlOverride_cmd_rx_pu,
  21267. 1, 0, 0);
  21268. else
  21269. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0, 0);
  21270. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21271. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  21272. 1, 0, 0,
  21273. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21274. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 6), 1, 0, 0,
  21275. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21276. } else {
  21277. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 7), 1, 0, 0);
  21278. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 6), 1, 0, 0);
  21279. }
  21280. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21281. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21282. wlc_phy_rfctrl_override_nphy_rev7(
  21283. pi, (0x1 << 5),
  21284. 0, 0, 0,
  21285. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21286. wlc_phy_rfctrl_override_nphy_rev7(
  21287. pi, (0x1 << 4), 1, 0,
  21288. 0,
  21289. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21290. } else {
  21291. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 0, 0, 0);
  21292. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 1, 0, 0);
  21293. }
  21294. } else {
  21295. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21296. wlc_phy_rfctrl_override_nphy_rev7(
  21297. pi, (0x1 << 4),
  21298. 0, 0, 0,
  21299. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21300. wlc_phy_rfctrl_override_nphy_rev7(
  21301. pi, (0x1 << 5), 1, 0,
  21302. 0,
  21303. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21304. } else {
  21305. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 0, 0, 0);
  21306. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 1, 0, 0);
  21307. }
  21308. }
  21309. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  21310. (struct brcms_phy_pub *) pi);
  21311. vcm_level_max = 8;
  21312. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21313. if ((rxcore_state & (1 << core)) == 0)
  21314. continue;
  21315. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21316. core ==
  21317. PHY_CORE_0 ?
  21318. RADIO_MIMO_CORESEL_CORE1 :
  21319. RADIO_MIMO_CORESEL_CORE2,
  21320. NPHY_RAIL_I, NPHY_RSSI_SEL_NB);
  21321. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21322. core ==
  21323. PHY_CORE_0 ?
  21324. RADIO_MIMO_CORESEL_CORE1 :
  21325. RADIO_MIMO_CORESEL_CORE2,
  21326. NPHY_RAIL_Q, NPHY_RSSI_SEL_NB);
  21327. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21328. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21329. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21330. RADIO_2057_NB_MASTER_CORE0 :
  21331. RADIO_2057_NB_MASTER_CORE1,
  21332. RADIO_2057_VCM_MASK, vcm);
  21333. else
  21334. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21335. ((core ==
  21336. PHY_CORE_0) ? RADIO_2056_RX0 :
  21337. RADIO_2056_RX1),
  21338. RADIO_2056_VCM_MASK,
  21339. vcm << RADIO_2056_RSSI_VCM_SHIFT);
  21340. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_NB,
  21341. &poll_results[vcm][0],
  21342. NPHY_RSSICAL_NPOLL);
  21343. }
  21344. for (result_idx = 0; result_idx < 4; result_idx++) {
  21345. if ((core == result_idx / 2) &&
  21346. (result_idx % 2 == 0)) {
  21347. min_d = NPHY_RSSICAL_MAXD;
  21348. min_vcm = 0;
  21349. min_poll =
  21350. NPHY_RSSICAL_MAXREAD *
  21351. NPHY_RSSICAL_NPOLL + 1;
  21352. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21353. curr_d =
  21354. poll_results[vcm][result_idx] *
  21355. poll_results[vcm][result_idx] +
  21356. poll_results[vcm][result_idx +
  21357. 1] *
  21358. poll_results[vcm][result_idx +
  21359. 1];
  21360. if (curr_d < min_d) {
  21361. min_d = curr_d;
  21362. min_vcm = vcm;
  21363. }
  21364. if (poll_results[vcm][result_idx] <
  21365. min_poll)
  21366. min_poll =
  21367. poll_results[vcm]
  21368. [result_idx];
  21369. }
  21370. vcm_final = min_vcm;
  21371. poll_results_min[result_idx] = min_poll;
  21372. }
  21373. }
  21374. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21375. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21376. RADIO_2057_NB_MASTER_CORE0 :
  21377. RADIO_2057_NB_MASTER_CORE1,
  21378. RADIO_2057_VCM_MASK, vcm_final);
  21379. else
  21380. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21381. ((core ==
  21382. PHY_CORE_0) ? RADIO_2056_RX0 :
  21383. RADIO_2056_RX1), RADIO_2056_VCM_MASK,
  21384. vcm_final << RADIO_2056_RSSI_VCM_SHIFT);
  21385. for (result_idx = 0; result_idx < 4; result_idx++) {
  21386. if (core == result_idx / 2) {
  21387. fine_digital_offset[result_idx] =
  21388. (NPHY_RSSICAL_NB_TARGET *
  21389. NPHY_RSSICAL_NPOLL) -
  21390. poll_results[vcm_final][result_idx];
  21391. if (fine_digital_offset[result_idx] < 0) {
  21392. fine_digital_offset[result_idx] =
  21393. abs(fine_digital_offset
  21394. [result_idx]);
  21395. fine_digital_offset[result_idx] +=
  21396. (NPHY_RSSICAL_NPOLL / 2);
  21397. fine_digital_offset[result_idx] /=
  21398. NPHY_RSSICAL_NPOLL;
  21399. fine_digital_offset[result_idx] =
  21400. -fine_digital_offset[
  21401. result_idx];
  21402. } else {
  21403. fine_digital_offset[result_idx] +=
  21404. (NPHY_RSSICAL_NPOLL / 2);
  21405. fine_digital_offset[result_idx] /=
  21406. NPHY_RSSICAL_NPOLL;
  21407. }
  21408. if (poll_results_min[result_idx] ==
  21409. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21410. fine_digital_offset[result_idx] =
  21411. (NPHY_RSSICAL_NB_TARGET -
  21412. NPHY_RSSICAL_MAXREAD - 1);
  21413. wlc_phy_scale_offset_rssi_nphy(
  21414. pi, 0x0,
  21415. (s8)
  21416. fine_digital_offset
  21417. [result_idx],
  21418. (result_idx / 2 == 0) ?
  21419. RADIO_MIMO_CORESEL_CORE1 :
  21420. RADIO_MIMO_CORESEL_CORE2,
  21421. (result_idx % 2 == 0) ?
  21422. NPHY_RAIL_I : NPHY_RAIL_Q,
  21423. NPHY_RSSI_SEL_NB);
  21424. }
  21425. }
  21426. }
  21427. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21428. if ((rxcore_state & (1 << core)) == 0)
  21429. continue;
  21430. for (wb_cnt = 0; wb_cnt < 2; wb_cnt++) {
  21431. if (wb_cnt == 0) {
  21432. rssi_type = NPHY_RSSI_SEL_W1;
  21433. target_code = NPHY_RSSICAL_W1_TARGET_REV3;
  21434. } else {
  21435. rssi_type = NPHY_RSSI_SEL_W2;
  21436. target_code = NPHY_RSSICAL_W2_TARGET_REV3;
  21437. }
  21438. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21439. core ==
  21440. PHY_CORE_0 ?
  21441. RADIO_MIMO_CORESEL_CORE1
  21442. :
  21443. RADIO_MIMO_CORESEL_CORE2,
  21444. NPHY_RAIL_I, rssi_type);
  21445. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21446. core ==
  21447. PHY_CORE_0 ?
  21448. RADIO_MIMO_CORESEL_CORE1
  21449. :
  21450. RADIO_MIMO_CORESEL_CORE2,
  21451. NPHY_RAIL_Q, rssi_type);
  21452. wlc_phy_poll_rssi_nphy(pi, rssi_type, poll_result_core,
  21453. NPHY_RSSICAL_NPOLL);
  21454. for (result_idx = 0; result_idx < 4; result_idx++) {
  21455. if (core == result_idx / 2) {
  21456. fine_digital_offset[result_idx] =
  21457. (target_code *
  21458. NPHY_RSSICAL_NPOLL) -
  21459. poll_result_core[result_idx];
  21460. if (fine_digital_offset[result_idx] <
  21461. 0) {
  21462. fine_digital_offset[result_idx]
  21463. = abs(
  21464. fine_digital_offset
  21465. [result_idx]);
  21466. fine_digital_offset[result_idx]
  21467. += (NPHY_RSSICAL_NPOLL
  21468. / 2);
  21469. fine_digital_offset[result_idx]
  21470. /= NPHY_RSSICAL_NPOLL;
  21471. fine_digital_offset[result_idx]
  21472. = -fine_digital_offset
  21473. [result_idx];
  21474. } else {
  21475. fine_digital_offset[result_idx]
  21476. += (NPHY_RSSICAL_NPOLL
  21477. / 2);
  21478. fine_digital_offset[result_idx]
  21479. /= NPHY_RSSICAL_NPOLL;
  21480. }
  21481. wlc_phy_scale_offset_rssi_nphy(
  21482. pi, 0x0,
  21483. (s8)
  21484. fine_digital_offset
  21485. [core *
  21486. 2],
  21487. (core == PHY_CORE_0) ?
  21488. RADIO_MIMO_CORESEL_CORE1 :
  21489. RADIO_MIMO_CORESEL_CORE2,
  21490. (result_idx % 2 == 0) ?
  21491. NPHY_RAIL_I :
  21492. NPHY_RAIL_Q,
  21493. rssi_type);
  21494. }
  21495. }
  21496. }
  21497. }
  21498. write_phy_reg(pi, 0x91, NPHY_Rfctrlintc1_save);
  21499. write_phy_reg(pi, 0x92, NPHY_Rfctrlintc2_save);
  21500. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  21501. mod_phy_reg(pi, 0xe7, (0x1 << 0), 1 << 0);
  21502. mod_phy_reg(pi, 0x78, (0x1 << 0), 1 << 0);
  21503. mod_phy_reg(pi, 0xe7, (0x1 << 0), 0);
  21504. mod_phy_reg(pi, 0xec, (0x1 << 0), 1 << 0);
  21505. mod_phy_reg(pi, 0x78, (0x1 << 1), 1 << 1);
  21506. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  21507. write_phy_reg(pi, 0x8f, NPHY_AfectrlOverride1_save);
  21508. write_phy_reg(pi, 0xa5, NPHY_AfectrlOverride2_save);
  21509. write_phy_reg(pi, 0xa6, NPHY_AfectrlCore1_save);
  21510. write_phy_reg(pi, 0xa7, NPHY_AfectrlCore2_save);
  21511. write_phy_reg(pi, 0xe7, NPHY_RfctrlOverride0_save);
  21512. write_phy_reg(pi, 0xec, NPHY_RfctrlOverride1_save);
  21513. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21514. write_phy_reg(pi, 0x342, NPHY_REV7_RfctrlOverride3_save);
  21515. write_phy_reg(pi, 0x343, NPHY_REV7_RfctrlOverride4_save);
  21516. write_phy_reg(pi, 0x346, NPHY_REV7_RfctrlOverride5_save);
  21517. write_phy_reg(pi, 0x347, NPHY_REV7_RfctrlOverride6_save);
  21518. }
  21519. write_phy_reg(pi, 0xe5, NPHY_RfctrlOverrideAux0_save);
  21520. write_phy_reg(pi, 0xe6, NPHY_RfctrlOverrideAux1_save);
  21521. write_phy_reg(pi, 0x78, NPHY_RfctrlCmd_save);
  21522. write_phy_reg(pi, 0xf9, NPHY_RfctrlMiscReg1_save);
  21523. write_phy_reg(pi, 0xfb, NPHY_RfctrlMiscReg2_save);
  21524. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21525. write_phy_reg(pi, 0x340, NPHY_REV7_RfctrlMiscReg3_save);
  21526. write_phy_reg(pi, 0x341, NPHY_REV7_RfctrlMiscReg4_save);
  21527. write_phy_reg(pi, 0x344, NPHY_REV7_RfctrlMiscReg5_save);
  21528. write_phy_reg(pi, 0x345, NPHY_REV7_RfctrlMiscReg6_save);
  21529. }
  21530. write_phy_reg(pi, 0x7a, NPHY_RfctrlRSSIOTHERS1_save);
  21531. write_phy_reg(pi, 0x7d, NPHY_RfctrlRSSIOTHERS2_save);
  21532. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  21533. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21534. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21535. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21536. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21537. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21538. } else {
  21539. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21540. read_radio_reg(pi,
  21541. RADIO_2056_RX_RSSI_MISC |
  21542. RADIO_2056_RX0);
  21543. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21544. read_radio_reg(pi,
  21545. RADIO_2056_RX_RSSI_MISC |
  21546. RADIO_2056_RX1);
  21547. }
  21548. pi->rssical_cache.rssical_phyregs_2G[0] =
  21549. read_phy_reg(pi, 0x1a6);
  21550. pi->rssical_cache.rssical_phyregs_2G[1] =
  21551. read_phy_reg(pi, 0x1ac);
  21552. pi->rssical_cache.rssical_phyregs_2G[2] =
  21553. read_phy_reg(pi, 0x1b2);
  21554. pi->rssical_cache.rssical_phyregs_2G[3] =
  21555. read_phy_reg(pi, 0x1b8);
  21556. pi->rssical_cache.rssical_phyregs_2G[4] =
  21557. read_phy_reg(pi, 0x1a4);
  21558. pi->rssical_cache.rssical_phyregs_2G[5] =
  21559. read_phy_reg(pi, 0x1aa);
  21560. pi->rssical_cache.rssical_phyregs_2G[6] =
  21561. read_phy_reg(pi, 0x1b0);
  21562. pi->rssical_cache.rssical_phyregs_2G[7] =
  21563. read_phy_reg(pi, 0x1b6);
  21564. pi->rssical_cache.rssical_phyregs_2G[8] =
  21565. read_phy_reg(pi, 0x1a5);
  21566. pi->rssical_cache.rssical_phyregs_2G[9] =
  21567. read_phy_reg(pi, 0x1ab);
  21568. pi->rssical_cache.rssical_phyregs_2G[10] =
  21569. read_phy_reg(pi, 0x1b1);
  21570. pi->rssical_cache.rssical_phyregs_2G[11] =
  21571. read_phy_reg(pi, 0x1b7);
  21572. pi->nphy_rssical_chanspec_2G = pi->radio_chanspec;
  21573. } else {
  21574. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21575. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21576. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21577. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21578. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21579. } else {
  21580. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21581. read_radio_reg(pi,
  21582. RADIO_2056_RX_RSSI_MISC |
  21583. RADIO_2056_RX0);
  21584. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21585. read_radio_reg(pi,
  21586. RADIO_2056_RX_RSSI_MISC |
  21587. RADIO_2056_RX1);
  21588. }
  21589. pi->rssical_cache.rssical_phyregs_5G[0] =
  21590. read_phy_reg(pi, 0x1a6);
  21591. pi->rssical_cache.rssical_phyregs_5G[1] =
  21592. read_phy_reg(pi, 0x1ac);
  21593. pi->rssical_cache.rssical_phyregs_5G[2] =
  21594. read_phy_reg(pi, 0x1b2);
  21595. pi->rssical_cache.rssical_phyregs_5G[3] =
  21596. read_phy_reg(pi, 0x1b8);
  21597. pi->rssical_cache.rssical_phyregs_5G[4] =
  21598. read_phy_reg(pi, 0x1a4);
  21599. pi->rssical_cache.rssical_phyregs_5G[5] =
  21600. read_phy_reg(pi, 0x1aa);
  21601. pi->rssical_cache.rssical_phyregs_5G[6] =
  21602. read_phy_reg(pi, 0x1b0);
  21603. pi->rssical_cache.rssical_phyregs_5G[7] =
  21604. read_phy_reg(pi, 0x1b6);
  21605. pi->rssical_cache.rssical_phyregs_5G[8] =
  21606. read_phy_reg(pi, 0x1a5);
  21607. pi->rssical_cache.rssical_phyregs_5G[9] =
  21608. read_phy_reg(pi, 0x1ab);
  21609. pi->rssical_cache.rssical_phyregs_5G[10] =
  21610. read_phy_reg(pi, 0x1b1);
  21611. pi->rssical_cache.rssical_phyregs_5G[11] =
  21612. read_phy_reg(pi, 0x1b7);
  21613. pi->nphy_rssical_chanspec_5G = pi->radio_chanspec;
  21614. }
  21615. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21616. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21617. }
  21618. static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
  21619. {
  21620. s32 target_code;
  21621. u16 classif_state;
  21622. u16 clip_state[2];
  21623. u16 rssi_ctrl_state[2], pd_state[2];
  21624. u16 rfctrlintc_state[2], rfpdcorerxtx_state[2];
  21625. u16 rfctrlintc_override_val;
  21626. u16 clip_off[] = { 0xffff, 0xffff };
  21627. u16 rf_pd_val, pd_mask, rssi_ctrl_mask;
  21628. u8 vcm, min_vcm, vcm_tmp[4];
  21629. u8 vcm_final[4] = { 0, 0, 0, 0 };
  21630. u8 result_idx, ctr;
  21631. s32 poll_results[4][4] = {
  21632. {0, 0, 0, 0},
  21633. {0, 0, 0, 0},
  21634. {0, 0, 0, 0},
  21635. {0, 0, 0, 0}
  21636. };
  21637. s32 poll_miniq[4][2] = {
  21638. {0, 0},
  21639. {0, 0},
  21640. {0, 0},
  21641. {0, 0}
  21642. };
  21643. s32 min_d, curr_d;
  21644. s32 fine_digital_offset[4];
  21645. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21646. s32 min_poll;
  21647. switch (rssi_type) {
  21648. case NPHY_RSSI_SEL_NB:
  21649. target_code = NPHY_RSSICAL_NB_TARGET;
  21650. break;
  21651. case NPHY_RSSI_SEL_W1:
  21652. target_code = NPHY_RSSICAL_W1_TARGET;
  21653. break;
  21654. case NPHY_RSSI_SEL_W2:
  21655. target_code = NPHY_RSSICAL_W2_TARGET;
  21656. break;
  21657. default:
  21658. return;
  21659. break;
  21660. }
  21661. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21662. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21663. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21664. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21665. rf_pd_val = (rssi_type == NPHY_RSSI_SEL_NB) ? 0x6 : 0x4;
  21666. rfctrlintc_override_val =
  21667. CHSPEC_IS5G(pi->radio_chanspec) ? 0x140 : 0x110;
  21668. rfctrlintc_state[0] = read_phy_reg(pi, 0x91);
  21669. rfpdcorerxtx_state[0] = read_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX);
  21670. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  21671. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rf_pd_val);
  21672. rfctrlintc_state[1] = read_phy_reg(pi, 0x92);
  21673. rfpdcorerxtx_state[1] = read_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX);
  21674. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  21675. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rf_pd_val);
  21676. pd_mask = RADIO_2055_NBRSSI_PD | RADIO_2055_WBRSSI_G1_PD |
  21677. RADIO_2055_WBRSSI_G2_PD;
  21678. pd_state[0] =
  21679. read_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC) & pd_mask;
  21680. pd_state[1] =
  21681. read_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC) & pd_mask;
  21682. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, 0);
  21683. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, 0);
  21684. rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  21685. RADIO_2055_WBRSSI_G2_SEL;
  21686. rssi_ctrl_state[0] =
  21687. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE1) & rssi_ctrl_mask;
  21688. rssi_ctrl_state[1] =
  21689. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE2) & rssi_ctrl_mask;
  21690. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  21691. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21692. NPHY_RAIL_I, rssi_type);
  21693. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21694. NPHY_RAIL_Q, rssi_type);
  21695. for (vcm = 0; vcm < 4; vcm++) {
  21696. vcm_tmp[0] = vcm_tmp[1] = vcm_tmp[2] = vcm_tmp[3] = vcm;
  21697. if (rssi_type != NPHY_RSSI_SEL_W2)
  21698. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_tmp);
  21699. wlc_phy_poll_rssi_nphy(pi, rssi_type, &poll_results[vcm][0],
  21700. NPHY_RSSICAL_NPOLL);
  21701. if ((rssi_type == NPHY_RSSI_SEL_W1)
  21702. || (rssi_type == NPHY_RSSI_SEL_W2)) {
  21703. for (ctr = 0; ctr < 2; ctr++)
  21704. poll_miniq[vcm][ctr] =
  21705. min(poll_results[vcm][ctr * 2 + 0],
  21706. poll_results[vcm][ctr * 2 + 1]);
  21707. }
  21708. }
  21709. for (result_idx = 0; result_idx < 4; result_idx++) {
  21710. min_d = NPHY_RSSICAL_MAXD;
  21711. min_vcm = 0;
  21712. min_poll = NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL + 1;
  21713. for (vcm = 0; vcm < 4; vcm++) {
  21714. curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ?
  21715. poll_results[vcm][result_idx] :
  21716. poll_miniq[vcm][result_idx / 2]) -
  21717. (target_code * NPHY_RSSICAL_NPOLL));
  21718. if (curr_d < min_d) {
  21719. min_d = curr_d;
  21720. min_vcm = vcm;
  21721. }
  21722. if (poll_results[vcm][result_idx] < min_poll)
  21723. min_poll = poll_results[vcm][result_idx];
  21724. }
  21725. vcm_final[result_idx] = min_vcm;
  21726. poll_results_min[result_idx] = min_poll;
  21727. }
  21728. if (rssi_type != NPHY_RSSI_SEL_W2)
  21729. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_final);
  21730. for (result_idx = 0; result_idx < 4; result_idx++) {
  21731. fine_digital_offset[result_idx] =
  21732. (target_code * NPHY_RSSICAL_NPOLL) -
  21733. poll_results[vcm_final[result_idx]][result_idx];
  21734. if (fine_digital_offset[result_idx] < 0) {
  21735. fine_digital_offset[result_idx] =
  21736. abs(fine_digital_offset[result_idx]);
  21737. fine_digital_offset[result_idx] +=
  21738. (NPHY_RSSICAL_NPOLL / 2);
  21739. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21740. fine_digital_offset[result_idx] =
  21741. -fine_digital_offset[result_idx];
  21742. } else {
  21743. fine_digital_offset[result_idx] +=
  21744. (NPHY_RSSICAL_NPOLL / 2);
  21745. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21746. }
  21747. if (poll_results_min[result_idx] ==
  21748. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21749. fine_digital_offset[result_idx] =
  21750. (target_code - NPHY_RSSICAL_MAXREAD - 1);
  21751. wlc_phy_scale_offset_rssi_nphy(pi, 0x0,
  21752. (s8)
  21753. fine_digital_offset[result_idx],
  21754. (result_idx / 2 ==
  21755. 0) ? RADIO_MIMO_CORESEL_CORE1 :
  21756. RADIO_MIMO_CORESEL_CORE2,
  21757. (result_idx % 2 ==
  21758. 0) ? NPHY_RAIL_I : NPHY_RAIL_Q,
  21759. rssi_type);
  21760. }
  21761. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, pd_state[0]);
  21762. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, pd_state[1]);
  21763. if (rssi_ctrl_state[0] == RADIO_2055_NBRSSI_SEL)
  21764. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21765. NPHY_RSSI_SEL_NB);
  21766. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G1_SEL)
  21767. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21768. NPHY_RSSI_SEL_W1);
  21769. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G2_SEL)
  21770. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21771. NPHY_RSSI_SEL_W2);
  21772. else
  21773. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21774. NPHY_RSSI_SEL_W2);
  21775. if (rssi_ctrl_state[1] == RADIO_2055_NBRSSI_SEL)
  21776. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21777. NPHY_RSSI_SEL_NB);
  21778. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G1_SEL)
  21779. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21780. NPHY_RSSI_SEL_W1);
  21781. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G2_SEL)
  21782. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21783. NPHY_RSSI_SEL_W2);
  21784. else
  21785. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21786. NPHY_RSSI_SEL_W2);
  21787. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, rssi_type);
  21788. write_phy_reg(pi, 0x91, rfctrlintc_state[0]);
  21789. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rfpdcorerxtx_state[0]);
  21790. write_phy_reg(pi, 0x92, rfctrlintc_state[1]);
  21791. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rfpdcorerxtx_state[1]);
  21792. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21793. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21794. wlc_phy_resetcca_nphy(pi);
  21795. }
  21796. void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi)
  21797. {
  21798. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21799. wlc_phy_rssi_cal_nphy_rev3(pi);
  21800. } else {
  21801. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_NB);
  21802. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W1);
  21803. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W2);
  21804. }
  21805. }
  21806. int
  21807. wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh)
  21808. {
  21809. s16 rxpwr, rxpwr0, rxpwr1;
  21810. s16 phyRx0_l, phyRx2_l;
  21811. rxpwr = 0;
  21812. rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK;
  21813. rxpwr1 = (rxh->PhyRxStatus_1 & PRXS1_nphy_PWR1_MASK) >> 8;
  21814. if (rxpwr0 > 127)
  21815. rxpwr0 -= 256;
  21816. if (rxpwr1 > 127)
  21817. rxpwr1 -= 256;
  21818. phyRx0_l = rxh->PhyRxStatus_0 & 0x00ff;
  21819. phyRx2_l = rxh->PhyRxStatus_2 & 0x00ff;
  21820. if (phyRx2_l > 127)
  21821. phyRx2_l -= 256;
  21822. if (((rxpwr0 == 16) || (rxpwr0 == 32))) {
  21823. rxpwr0 = rxpwr1;
  21824. rxpwr1 = phyRx2_l;
  21825. }
  21826. if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MAX)
  21827. rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1;
  21828. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MIN)
  21829. rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1;
  21830. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_AVG)
  21831. rxpwr = (rxpwr0 + rxpwr1) >> 1;
  21832. return rxpwr;
  21833. }
  21834. static void
  21835. wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf,
  21836. u16 num_samps)
  21837. {
  21838. u16 t;
  21839. u32 *data_buf = NULL;
  21840. data_buf = kmalloc(sizeof(u32) * num_samps, GFP_ATOMIC);
  21841. if (data_buf == NULL)
  21842. return;
  21843. if (pi->phyhang_avoid)
  21844. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21845. for (t = 0; t < num_samps; t++)
  21846. data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) |
  21847. (((unsigned int)tone_buf[t].q) & 0x3ff);
  21848. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SAMPLEPLAY, num_samps, 0, 32,
  21849. data_buf);
  21850. kfree(data_buf);
  21851. if (pi->phyhang_avoid)
  21852. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21853. }
  21854. static u16
  21855. wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21856. u8 dac_test_mode)
  21857. {
  21858. u8 phy_bw, is_phybw40;
  21859. u16 num_samps, t, spur;
  21860. s32 theta = 0, rot = 0;
  21861. u32 tbl_len;
  21862. struct cordic_iq *tone_buf = NULL;
  21863. is_phybw40 = CHSPEC_IS40(pi->radio_chanspec);
  21864. phy_bw = (is_phybw40 == 1) ? 40 : 20;
  21865. tbl_len = (phy_bw << 3);
  21866. if (dac_test_mode == 1) {
  21867. spur = read_phy_reg(pi, 0x01);
  21868. spur = (spur >> 15) & 1;
  21869. phy_bw = (spur == 1) ? 82 : 80;
  21870. phy_bw = (is_phybw40 == 1) ? (phy_bw << 1) : phy_bw;
  21871. tbl_len = (phy_bw << 1);
  21872. }
  21873. tone_buf = kmalloc(sizeof(struct cordic_iq) * tbl_len, GFP_ATOMIC);
  21874. if (tone_buf == NULL)
  21875. return 0;
  21876. num_samps = (u16) tbl_len;
  21877. rot = ((f_kHz * 36) / phy_bw) / 100;
  21878. theta = 0;
  21879. for (t = 0; t < num_samps; t++) {
  21880. tone_buf[t] = cordic_calc_iq(theta);
  21881. theta += rot;
  21882. tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val);
  21883. tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val);
  21884. }
  21885. wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps);
  21886. kfree(tone_buf);
  21887. return num_samps;
  21888. }
  21889. static void
  21890. wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops,
  21891. u16 wait, u8 iqmode, u8 dac_test_mode,
  21892. bool modify_bbmult)
  21893. {
  21894. u16 bb_mult;
  21895. u8 phy_bw, sample_cmd;
  21896. u16 orig_RfseqCoreActv;
  21897. u16 lpf_bw_ctl_override3, lpf_bw_ctl_override4, lpf_bw_ctl_miscreg3,
  21898. lpf_bw_ctl_miscreg4;
  21899. if (pi->phyhang_avoid)
  21900. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21901. phy_bw = 20;
  21902. if (CHSPEC_IS40(pi->radio_chanspec))
  21903. phy_bw = 40;
  21904. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21905. lpf_bw_ctl_override3 = read_phy_reg(pi, 0x342) & (0x1 << 7);
  21906. lpf_bw_ctl_override4 = read_phy_reg(pi, 0x343) & (0x1 << 7);
  21907. if (lpf_bw_ctl_override3 | lpf_bw_ctl_override4) {
  21908. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21909. (0x7 << 8);
  21910. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21911. (0x7 << 8);
  21912. } else {
  21913. wlc_phy_rfctrl_override_nphy_rev7(
  21914. pi,
  21915. (0x1 << 7),
  21916. wlc_phy_read_lpf_bw_ctl_nphy
  21917. (pi,
  21918. 0), 0, 0,
  21919. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21920. pi->nphy_sample_play_lpf_bw_ctl_ovr = true;
  21921. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21922. (0x7 << 8);
  21923. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21924. (0x7 << 8);
  21925. }
  21926. }
  21927. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) == 0) {
  21928. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21929. &bb_mult);
  21930. pi->nphy_bb_mult_save =
  21931. BB_MULT_VALID_MASK | (bb_mult & BB_MULT_MASK);
  21932. }
  21933. if (modify_bbmult) {
  21934. bb_mult = (phy_bw == 20) ? 100 : 71;
  21935. bb_mult = (bb_mult << 8) + bb_mult;
  21936. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21937. &bb_mult);
  21938. }
  21939. if (pi->phyhang_avoid)
  21940. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21941. write_phy_reg(pi, 0xc6, num_samps - 1);
  21942. if (loops != 0xffff)
  21943. write_phy_reg(pi, 0xc4, loops - 1);
  21944. else
  21945. write_phy_reg(pi, 0xc4, loops);
  21946. write_phy_reg(pi, 0xc5, wait);
  21947. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  21948. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  21949. if (iqmode) {
  21950. and_phy_reg(pi, 0xc2, 0x7FFF);
  21951. or_phy_reg(pi, 0xc2, 0x8000);
  21952. } else {
  21953. sample_cmd = (dac_test_mode == 1) ? 0x5 : 0x1;
  21954. write_phy_reg(pi, 0xc3, sample_cmd);
  21955. }
  21956. SPINWAIT(((read_phy_reg(pi, 0xa4) & 0x1) == 1), 1000);
  21957. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  21958. }
  21959. int
  21960. wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21961. u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
  21962. {
  21963. u16 num_samps;
  21964. u16 loops = 0xffff;
  21965. u16 wait = 0;
  21966. num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val,
  21967. dac_test_mode);
  21968. if (num_samps == 0)
  21969. return -EBADE;
  21970. wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode,
  21971. dac_test_mode, modify_bbmult);
  21972. return 0;
  21973. }
  21974. void wlc_phy_stopplayback_nphy(struct brcms_phy *pi)
  21975. {
  21976. u16 playback_status;
  21977. u16 bb_mult;
  21978. if (pi->phyhang_avoid)
  21979. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21980. playback_status = read_phy_reg(pi, 0xc7);
  21981. if (playback_status & 0x1)
  21982. or_phy_reg(pi, 0xc3, NPHY_sampleCmd_STOP);
  21983. else if (playback_status & 0x2)
  21984. and_phy_reg(pi, 0xc2,
  21985. (u16) ~NPHY_iqloCalCmdGctl_IQLO_CAL_EN);
  21986. and_phy_reg(pi, 0xc3, (u16) ~(0x1 << 2));
  21987. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) != 0) {
  21988. bb_mult = pi->nphy_bb_mult_save & BB_MULT_MASK;
  21989. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21990. &bb_mult);
  21991. pi->nphy_bb_mult_save = 0;
  21992. }
  21993. if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) {
  21994. if (pi->nphy_sample_play_lpf_bw_ctl_ovr) {
  21995. wlc_phy_rfctrl_override_nphy_rev7(
  21996. pi,
  21997. (0x1 << 7),
  21998. 0, 0, 1,
  21999. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22000. pi->nphy_sample_play_lpf_bw_ctl_ovr = false;
  22001. }
  22002. }
  22003. if (pi->phyhang_avoid)
  22004. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22005. }
  22006. static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi)
  22007. {
  22008. u32 *tx_pwrctrl_tbl = NULL;
  22009. uint phyrev = pi->pubpi.phy_rev;
  22010. if (PHY_IPA(pi)) {
  22011. tx_pwrctrl_tbl =
  22012. wlc_phy_get_ipa_gaintbl_nphy(pi);
  22013. } else {
  22014. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22015. if (NREV_IS(phyrev, 3))
  22016. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev3;
  22017. else if (NREV_IS(phyrev, 4))
  22018. tx_pwrctrl_tbl =
  22019. (pi->srom_fem5g.extpagain == 3) ?
  22020. nphy_tpc_5GHz_txgain_HiPwrEPA :
  22021. nphy_tpc_5GHz_txgain_rev4;
  22022. else
  22023. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev5;
  22024. } else {
  22025. if (NREV_GE(phyrev, 7)) {
  22026. if (pi->pubpi.radiorev == 3)
  22027. tx_pwrctrl_tbl =
  22028. nphy_tpc_txgain_epa_2057rev3;
  22029. else if (pi->pubpi.radiorev == 5)
  22030. tx_pwrctrl_tbl =
  22031. nphy_tpc_txgain_epa_2057rev5;
  22032. } else {
  22033. if (NREV_GE(phyrev, 5) &&
  22034. (pi->srom_fem2g.extpagain == 3))
  22035. tx_pwrctrl_tbl =
  22036. nphy_tpc_txgain_HiPwrEPA;
  22037. else
  22038. tx_pwrctrl_tbl =
  22039. nphy_tpc_txgain_rev3;
  22040. }
  22041. }
  22042. }
  22043. return tx_pwrctrl_tbl;
  22044. }
  22045. struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi)
  22046. {
  22047. u16 base_idx[2], curr_gain[2];
  22048. u8 core_no;
  22049. struct nphy_txgains target_gain;
  22050. u32 *tx_pwrctrl_tbl = NULL;
  22051. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF) {
  22052. if (pi->phyhang_avoid)
  22053. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  22054. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  22055. curr_gain);
  22056. if (pi->phyhang_avoid)
  22057. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22058. for (core_no = 0; core_no < 2; core_no++) {
  22059. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22060. target_gain.ipa[core_no] =
  22061. curr_gain[core_no] & 0x0007;
  22062. target_gain.pad[core_no] =
  22063. ((curr_gain[core_no] & 0x00F8) >> 3);
  22064. target_gain.pga[core_no] =
  22065. ((curr_gain[core_no] & 0x0F00) >> 8);
  22066. target_gain.txgm[core_no] =
  22067. ((curr_gain[core_no] & 0x7000) >> 12);
  22068. target_gain.txlpf[core_no] =
  22069. ((curr_gain[core_no] & 0x8000) >> 15);
  22070. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22071. target_gain.ipa[core_no] =
  22072. curr_gain[core_no] & 0x000F;
  22073. target_gain.pad[core_no] =
  22074. ((curr_gain[core_no] & 0x00F0) >> 4);
  22075. target_gain.pga[core_no] =
  22076. ((curr_gain[core_no] & 0x0F00) >> 8);
  22077. target_gain.txgm[core_no] =
  22078. ((curr_gain[core_no] & 0x7000) >> 12);
  22079. } else {
  22080. target_gain.ipa[core_no] =
  22081. curr_gain[core_no] & 0x0003;
  22082. target_gain.pad[core_no] =
  22083. ((curr_gain[core_no] & 0x000C) >> 2);
  22084. target_gain.pga[core_no] =
  22085. ((curr_gain[core_no] & 0x0070) >> 4);
  22086. target_gain.txgm[core_no] =
  22087. ((curr_gain[core_no] & 0x0380) >> 7);
  22088. }
  22089. }
  22090. } else {
  22091. uint phyrev = pi->pubpi.phy_rev;
  22092. base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f;
  22093. base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f;
  22094. for (core_no = 0; core_no < 2; core_no++) {
  22095. if (NREV_GE(phyrev, 3)) {
  22096. tx_pwrctrl_tbl =
  22097. brcms_phy_get_tx_pwrctrl_tbl(pi);
  22098. if (NREV_GE(phyrev, 7)) {
  22099. target_gain.ipa[core_no] =
  22100. (tx_pwrctrl_tbl
  22101. [base_idx[core_no]]
  22102. >> 16) & 0x7;
  22103. target_gain.pad[core_no] =
  22104. (tx_pwrctrl_tbl
  22105. [base_idx[core_no]]
  22106. >> 19) & 0x1f;
  22107. target_gain.pga[core_no] =
  22108. (tx_pwrctrl_tbl
  22109. [base_idx[core_no]]
  22110. >> 24) & 0xf;
  22111. target_gain.txgm[core_no] =
  22112. (tx_pwrctrl_tbl
  22113. [base_idx[core_no]]
  22114. >> 28) & 0x7;
  22115. target_gain.txlpf[core_no] =
  22116. (tx_pwrctrl_tbl
  22117. [base_idx[core_no]]
  22118. >> 31) & 0x1;
  22119. } else {
  22120. target_gain.ipa[core_no] =
  22121. (tx_pwrctrl_tbl
  22122. [base_idx[core_no]]
  22123. >> 16) & 0xf;
  22124. target_gain.pad[core_no] =
  22125. (tx_pwrctrl_tbl
  22126. [base_idx[core_no]]
  22127. >> 20) & 0xf;
  22128. target_gain.pga[core_no] =
  22129. (tx_pwrctrl_tbl
  22130. [base_idx[core_no]]
  22131. >> 24) & 0xf;
  22132. target_gain.txgm[core_no] =
  22133. (tx_pwrctrl_tbl
  22134. [base_idx[core_no]]
  22135. >> 28) & 0x7;
  22136. }
  22137. } else {
  22138. target_gain.ipa[core_no] =
  22139. (nphy_tpc_txgain[base_idx[core_no]] >>
  22140. 16) & 0x3;
  22141. target_gain.pad[core_no] =
  22142. (nphy_tpc_txgain[base_idx[core_no]] >>
  22143. 18) & 0x3;
  22144. target_gain.pga[core_no] =
  22145. (nphy_tpc_txgain[base_idx[core_no]] >>
  22146. 20) & 0x7;
  22147. target_gain.txgm[core_no] =
  22148. (nphy_tpc_txgain[base_idx[core_no]] >>
  22149. 23) & 0x7;
  22150. }
  22151. }
  22152. }
  22153. return target_gain;
  22154. }
  22155. static void
  22156. wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no,
  22157. struct nphy_txgains target_gain,
  22158. struct nphy_iqcal_params *params)
  22159. {
  22160. u8 k;
  22161. int idx;
  22162. u16 gain_index;
  22163. u8 band_idx = (CHSPEC_IS5G(pi->radio_chanspec) ? 1 : 0);
  22164. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22165. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22166. params->txlpf = target_gain.txlpf[core_no];
  22167. params->txgm = target_gain.txgm[core_no];
  22168. params->pga = target_gain.pga[core_no];
  22169. params->pad = target_gain.pad[core_no];
  22170. params->ipa = target_gain.ipa[core_no];
  22171. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22172. params->cal_gain =
  22173. ((params->txlpf << 15) | (params->txgm << 12) |
  22174. (params->pga << 8) |
  22175. (params->pad << 3) | (params->ipa));
  22176. else
  22177. params->cal_gain =
  22178. ((params->txgm << 12) | (params->pga << 8) |
  22179. (params->pad << 4) | (params->ipa));
  22180. params->ncorr[0] = 0x79;
  22181. params->ncorr[1] = 0x79;
  22182. params->ncorr[2] = 0x79;
  22183. params->ncorr[3] = 0x79;
  22184. params->ncorr[4] = 0x79;
  22185. } else {
  22186. gain_index = ((target_gain.pad[core_no] << 0) |
  22187. (target_gain.pga[core_no] << 4) |
  22188. (target_gain.txgm[core_no] << 8));
  22189. idx = -1;
  22190. for (k = 0; k < NPHY_IQCAL_NUMGAINS; k++) {
  22191. if (tbl_iqcal_gainparams_nphy[band_idx][k][0] ==
  22192. gain_index) {
  22193. idx = k;
  22194. break;
  22195. }
  22196. }
  22197. params->txgm = tbl_iqcal_gainparams_nphy[band_idx][k][1];
  22198. params->pga = tbl_iqcal_gainparams_nphy[band_idx][k][2];
  22199. params->pad = tbl_iqcal_gainparams_nphy[band_idx][k][3];
  22200. params->cal_gain = ((params->txgm << 7) | (params->pga << 4) |
  22201. (params->pad << 2));
  22202. params->ncorr[0] = tbl_iqcal_gainparams_nphy[band_idx][k][4];
  22203. params->ncorr[1] = tbl_iqcal_gainparams_nphy[band_idx][k][5];
  22204. params->ncorr[2] = tbl_iqcal_gainparams_nphy[band_idx][k][6];
  22205. params->ncorr[3] = tbl_iqcal_gainparams_nphy[band_idx][k][7];
  22206. }
  22207. }
  22208. static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi)
  22209. {
  22210. u16 jtag_core, core;
  22211. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22212. for (core = 0; core <= 1; core++) {
  22213. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22214. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22215. TX_SSI_MASTER);
  22216. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22217. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22218. IQCAL_VCM_HG);
  22219. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22220. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22221. IQCAL_IDAC);
  22222. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22223. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22224. TSSI_VCM);
  22225. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] = 0;
  22226. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22227. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22228. TX_SSI_MUX);
  22229. if (pi->pubpi.radiorev != 5)
  22230. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22231. READ_RADIO_REG3(pi, RADIO_2057, TX,
  22232. core,
  22233. TSSIA);
  22234. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22235. READ_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG);
  22236. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22237. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22238. TSSI_MISC1);
  22239. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22240. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22241. TX_SSI_MASTER, 0x0a);
  22242. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22243. IQCAL_VCM_HG, 0x43);
  22244. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22245. IQCAL_IDAC, 0x55);
  22246. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22247. TSSI_VCM, 0x00);
  22248. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22249. TSSIG, 0x00);
  22250. if (pi->use_int_tx_iqlo_cal_nphy) {
  22251. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22252. core, TX_SSI_MUX, 0x4);
  22253. if (!(pi->
  22254. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22255. WRITE_RADIO_REG3(pi, RADIO_2057,
  22256. TX, core,
  22257. TSSIA, 0x31);
  22258. else
  22259. WRITE_RADIO_REG3(pi, RADIO_2057,
  22260. TX, core,
  22261. TSSIA, 0x21);
  22262. }
  22263. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22264. TSSI_MISC1, 0x00);
  22265. } else {
  22266. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22267. TX_SSI_MASTER, 0x06);
  22268. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22269. IQCAL_VCM_HG, 0x43);
  22270. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22271. IQCAL_IDAC, 0x55);
  22272. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22273. TSSI_VCM, 0x00);
  22274. if (pi->pubpi.radiorev != 5)
  22275. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22276. core, TSSIA, 0x00);
  22277. if (pi->use_int_tx_iqlo_cal_nphy) {
  22278. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22279. core, TX_SSI_MUX,
  22280. 0x06);
  22281. if (!(pi->
  22282. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22283. WRITE_RADIO_REG3(pi, RADIO_2057,
  22284. TX, core,
  22285. TSSIG, 0x31);
  22286. else
  22287. WRITE_RADIO_REG3(pi, RADIO_2057,
  22288. TX, core,
  22289. TSSIG, 0x21);
  22290. }
  22291. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22292. TSSI_MISC1, 0x00);
  22293. }
  22294. }
  22295. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22296. for (core = 0; core <= 1; core++) {
  22297. jtag_core =
  22298. (core ==
  22299. PHY_CORE_0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  22300. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22301. read_radio_reg(pi,
  22302. RADIO_2056_TX_TX_SSI_MASTER |
  22303. jtag_core);
  22304. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22305. read_radio_reg(pi,
  22306. RADIO_2056_TX_IQCAL_VCM_HG |
  22307. jtag_core);
  22308. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22309. read_radio_reg(pi,
  22310. RADIO_2056_TX_IQCAL_IDAC |
  22311. jtag_core);
  22312. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22313. read_radio_reg(
  22314. pi,
  22315. RADIO_2056_TX_TSSI_VCM |
  22316. jtag_core);
  22317. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] =
  22318. read_radio_reg(pi,
  22319. RADIO_2056_TX_TX_AMP_DET |
  22320. jtag_core);
  22321. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22322. read_radio_reg(pi,
  22323. RADIO_2056_TX_TX_SSI_MUX |
  22324. jtag_core);
  22325. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22326. read_radio_reg(pi,
  22327. RADIO_2056_TX_TSSIA | jtag_core);
  22328. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22329. read_radio_reg(pi,
  22330. RADIO_2056_TX_TSSIG | jtag_core);
  22331. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22332. read_radio_reg(pi,
  22333. RADIO_2056_TX_TSSI_MISC1 |
  22334. jtag_core);
  22335. pi->tx_rx_cal_radio_saveregs[(core * 11) + 9] =
  22336. read_radio_reg(pi,
  22337. RADIO_2056_TX_TSSI_MISC2 |
  22338. jtag_core);
  22339. pi->tx_rx_cal_radio_saveregs[(core * 11) + 10] =
  22340. read_radio_reg(pi,
  22341. RADIO_2056_TX_TSSI_MISC3 |
  22342. jtag_core);
  22343. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22344. write_radio_reg(pi,
  22345. RADIO_2056_TX_TX_SSI_MASTER |
  22346. jtag_core, 0x0a);
  22347. write_radio_reg(pi,
  22348. RADIO_2056_TX_IQCAL_VCM_HG |
  22349. jtag_core, 0x40);
  22350. write_radio_reg(pi,
  22351. RADIO_2056_TX_IQCAL_IDAC |
  22352. jtag_core, 0x55);
  22353. write_radio_reg(pi,
  22354. RADIO_2056_TX_TSSI_VCM |
  22355. jtag_core, 0x00);
  22356. write_radio_reg(pi,
  22357. RADIO_2056_TX_TX_AMP_DET |
  22358. jtag_core, 0x00);
  22359. if (PHY_IPA(pi)) {
  22360. write_radio_reg(
  22361. pi,
  22362. RADIO_2056_TX_TX_SSI_MUX
  22363. | jtag_core, 0x4);
  22364. write_radio_reg(pi,
  22365. RADIO_2056_TX_TSSIA |
  22366. jtag_core, 0x1);
  22367. } else {
  22368. write_radio_reg(
  22369. pi,
  22370. RADIO_2056_TX_TX_SSI_MUX
  22371. | jtag_core, 0x00);
  22372. write_radio_reg(pi,
  22373. RADIO_2056_TX_TSSIA |
  22374. jtag_core, 0x2f);
  22375. }
  22376. write_radio_reg(pi,
  22377. RADIO_2056_TX_TSSIG | jtag_core,
  22378. 0x00);
  22379. write_radio_reg(pi,
  22380. RADIO_2056_TX_TSSI_MISC1 |
  22381. jtag_core, 0x00);
  22382. write_radio_reg(pi,
  22383. RADIO_2056_TX_TSSI_MISC2 |
  22384. jtag_core, 0x00);
  22385. write_radio_reg(pi,
  22386. RADIO_2056_TX_TSSI_MISC3 |
  22387. jtag_core, 0x00);
  22388. } else {
  22389. write_radio_reg(pi,
  22390. RADIO_2056_TX_TX_SSI_MASTER |
  22391. jtag_core, 0x06);
  22392. write_radio_reg(pi,
  22393. RADIO_2056_TX_IQCAL_VCM_HG |
  22394. jtag_core, 0x40);
  22395. write_radio_reg(pi,
  22396. RADIO_2056_TX_IQCAL_IDAC |
  22397. jtag_core, 0x55);
  22398. write_radio_reg(pi,
  22399. RADIO_2056_TX_TSSI_VCM |
  22400. jtag_core, 0x00);
  22401. write_radio_reg(pi,
  22402. RADIO_2056_TX_TX_AMP_DET |
  22403. jtag_core, 0x00);
  22404. write_radio_reg(pi,
  22405. RADIO_2056_TX_TSSIA | jtag_core,
  22406. 0x00);
  22407. if (PHY_IPA(pi)) {
  22408. write_radio_reg(
  22409. pi,
  22410. RADIO_2056_TX_TX_SSI_MUX
  22411. | jtag_core, 0x06);
  22412. if (NREV_LT(pi->pubpi.phy_rev, 5))
  22413. write_radio_reg(
  22414. pi,
  22415. RADIO_2056_TX_TSSIG
  22416. | jtag_core,
  22417. 0x11);
  22418. else
  22419. write_radio_reg(
  22420. pi,
  22421. RADIO_2056_TX_TSSIG
  22422. | jtag_core,
  22423. 0x1);
  22424. } else {
  22425. write_radio_reg(
  22426. pi,
  22427. RADIO_2056_TX_TX_SSI_MUX
  22428. | jtag_core, 0x00);
  22429. write_radio_reg(pi,
  22430. RADIO_2056_TX_TSSIG |
  22431. jtag_core, 0x20);
  22432. }
  22433. write_radio_reg(pi,
  22434. RADIO_2056_TX_TSSI_MISC1 |
  22435. jtag_core, 0x00);
  22436. write_radio_reg(pi,
  22437. RADIO_2056_TX_TSSI_MISC2 |
  22438. jtag_core, 0x00);
  22439. write_radio_reg(pi,
  22440. RADIO_2056_TX_TSSI_MISC3 |
  22441. jtag_core, 0x00);
  22442. }
  22443. }
  22444. } else {
  22445. pi->tx_rx_cal_radio_saveregs[0] =
  22446. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  22447. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x29);
  22448. pi->tx_rx_cal_radio_saveregs[1] =
  22449. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  22450. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x54);
  22451. pi->tx_rx_cal_radio_saveregs[2] =
  22452. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  22453. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x29);
  22454. pi->tx_rx_cal_radio_saveregs[3] =
  22455. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  22456. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x54);
  22457. pi->tx_rx_cal_radio_saveregs[4] =
  22458. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  22459. pi->tx_rx_cal_radio_saveregs[5] =
  22460. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  22461. if ((read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand) ==
  22462. 0) {
  22463. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  22464. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  22465. } else {
  22466. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x20);
  22467. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x20);
  22468. }
  22469. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  22470. or_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0x20);
  22471. or_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0x20);
  22472. } else {
  22473. and_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0xdf);
  22474. and_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0xdf);
  22475. }
  22476. }
  22477. }
  22478. static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi)
  22479. {
  22480. u16 jtag_core, core;
  22481. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22482. for (core = 0; core <= 1; core++) {
  22483. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22484. TX_SSI_MASTER,
  22485. pi->
  22486. tx_rx_cal_radio_saveregs[(core * 11) +
  22487. 0]);
  22488. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  22489. pi->
  22490. tx_rx_cal_radio_saveregs[(core * 11) +
  22491. 1]);
  22492. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  22493. pi->
  22494. tx_rx_cal_radio_saveregs[(core * 11) +
  22495. 2]);
  22496. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  22497. pi->
  22498. tx_rx_cal_radio_saveregs[(core * 11) +
  22499. 3]);
  22500. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TX_SSI_MUX,
  22501. pi->
  22502. tx_rx_cal_radio_saveregs[(core * 11) +
  22503. 5]);
  22504. if (pi->pubpi.radiorev != 5)
  22505. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22506. TSSIA,
  22507. pi->tx_rx_cal_radio_saveregs
  22508. [(core * 11) + 6]);
  22509. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG,
  22510. pi->
  22511. tx_rx_cal_radio_saveregs[(core * 11) +
  22512. 7]);
  22513. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  22514. pi->
  22515. tx_rx_cal_radio_saveregs[(core * 11) +
  22516. 8]);
  22517. }
  22518. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22519. for (core = 0; core <= 1; core++) {
  22520. jtag_core = (core == PHY_CORE_0) ?
  22521. RADIO_2056_TX0 : RADIO_2056_TX1;
  22522. write_radio_reg(pi,
  22523. RADIO_2056_TX_TX_SSI_MASTER | jtag_core,
  22524. pi->
  22525. tx_rx_cal_radio_saveregs[(core * 11) +
  22526. 0]);
  22527. write_radio_reg(pi,
  22528. RADIO_2056_TX_IQCAL_VCM_HG | jtag_core,
  22529. pi->
  22530. tx_rx_cal_radio_saveregs[(core * 11) +
  22531. 1]);
  22532. write_radio_reg(pi,
  22533. RADIO_2056_TX_IQCAL_IDAC | jtag_core,
  22534. pi->
  22535. tx_rx_cal_radio_saveregs[(core * 11) +
  22536. 2]);
  22537. write_radio_reg(pi, RADIO_2056_TX_TSSI_VCM | jtag_core,
  22538. pi->
  22539. tx_rx_cal_radio_saveregs[(core * 11) +
  22540. 3]);
  22541. write_radio_reg(pi,
  22542. RADIO_2056_TX_TX_AMP_DET | jtag_core,
  22543. pi->
  22544. tx_rx_cal_radio_saveregs[(core * 11) +
  22545. 4]);
  22546. write_radio_reg(pi,
  22547. RADIO_2056_TX_TX_SSI_MUX | jtag_core,
  22548. pi->
  22549. tx_rx_cal_radio_saveregs[(core * 11) +
  22550. 5]);
  22551. write_radio_reg(pi, RADIO_2056_TX_TSSIA | jtag_core,
  22552. pi->
  22553. tx_rx_cal_radio_saveregs[(core * 11) +
  22554. 6]);
  22555. write_radio_reg(pi, RADIO_2056_TX_TSSIG | jtag_core,
  22556. pi->
  22557. tx_rx_cal_radio_saveregs[(core * 11) +
  22558. 7]);
  22559. write_radio_reg(pi,
  22560. RADIO_2056_TX_TSSI_MISC1 | jtag_core,
  22561. pi->
  22562. tx_rx_cal_radio_saveregs[(core * 11) +
  22563. 8]);
  22564. write_radio_reg(pi,
  22565. RADIO_2056_TX_TSSI_MISC2 | jtag_core,
  22566. pi->
  22567. tx_rx_cal_radio_saveregs[(core * 11) +
  22568. 9]);
  22569. write_radio_reg(pi,
  22570. RADIO_2056_TX_TSSI_MISC3 | jtag_core,
  22571. pi->
  22572. tx_rx_cal_radio_saveregs[(core * 11) +
  22573. 10]);
  22574. }
  22575. } else {
  22576. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  22577. pi->tx_rx_cal_radio_saveregs[0]);
  22578. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  22579. pi->tx_rx_cal_radio_saveregs[1]);
  22580. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  22581. pi->tx_rx_cal_radio_saveregs[2]);
  22582. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  22583. pi->tx_rx_cal_radio_saveregs[3]);
  22584. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  22585. pi->tx_rx_cal_radio_saveregs[4]);
  22586. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  22587. pi->tx_rx_cal_radio_saveregs[5]);
  22588. }
  22589. }
  22590. static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi)
  22591. {
  22592. u16 val, mask;
  22593. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22594. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22595. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22596. mask = ((0x3 << 8) | (0x3 << 10));
  22597. val = (0x2 << 8);
  22598. val |= (0x2 << 10);
  22599. mod_phy_reg(pi, 0xa6, mask, val);
  22600. mod_phy_reg(pi, 0xa7, mask, val);
  22601. val = read_phy_reg(pi, 0x8f);
  22602. pi->tx_rx_cal_phy_saveregs[2] = val;
  22603. val |= ((0x1 << 9) | (0x1 << 10));
  22604. write_phy_reg(pi, 0x8f, val);
  22605. val = read_phy_reg(pi, 0xa5);
  22606. pi->tx_rx_cal_phy_saveregs[3] = val;
  22607. val |= ((0x1 << 9) | (0x1 << 10));
  22608. write_phy_reg(pi, 0xa5, val);
  22609. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x01);
  22610. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  22611. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22612. &val);
  22613. pi->tx_rx_cal_phy_saveregs[5] = val;
  22614. val = 0;
  22615. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22616. &val);
  22617. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22618. &val);
  22619. pi->tx_rx_cal_phy_saveregs[6] = val;
  22620. val = 0;
  22621. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22622. &val);
  22623. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0x91);
  22624. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0x92);
  22625. if (!(pi->use_int_tx_iqlo_cal_nphy))
  22626. wlc_phy_rfctrlintc_override_nphy(
  22627. pi,
  22628. NPHY_RfctrlIntc_override_PA,
  22629. 1,
  22630. RADIO_MIMO_CORESEL_CORE1
  22631. |
  22632. RADIO_MIMO_CORESEL_CORE2);
  22633. else
  22634. wlc_phy_rfctrlintc_override_nphy(
  22635. pi,
  22636. NPHY_RfctrlIntc_override_PA,
  22637. 0,
  22638. RADIO_MIMO_CORESEL_CORE1
  22639. |
  22640. RADIO_MIMO_CORESEL_CORE2);
  22641. wlc_phy_rfctrlintc_override_nphy(pi,
  22642. NPHY_RfctrlIntc_override_TRSW,
  22643. 0x2, RADIO_MIMO_CORESEL_CORE1);
  22644. wlc_phy_rfctrlintc_override_nphy(pi,
  22645. NPHY_RfctrlIntc_override_TRSW,
  22646. 0x8, RADIO_MIMO_CORESEL_CORE2);
  22647. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  22648. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  22649. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  22650. 0x29b, (0x1 << 0), (0) << 0);
  22651. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  22652. 0x29b, (0x1 << 0), (0) << 0);
  22653. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22654. || NREV_GE(pi->pubpi.phy_rev, 8))
  22655. wlc_phy_rfctrl_override_nphy_rev7(
  22656. pi, (0x1 << 7),
  22657. wlc_phy_read_lpf_bw_ctl_nphy
  22658. (pi,
  22659. 0), 0, 0,
  22660. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22661. if (pi->use_int_tx_iqlo_cal_nphy
  22662. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22663. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22664. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22665. 1 << 4);
  22666. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22667. mod_radio_reg(
  22668. pi,
  22669. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22670. 1, 0);
  22671. mod_radio_reg(
  22672. pi,
  22673. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22674. 1, 0);
  22675. } else {
  22676. mod_radio_reg(
  22677. pi,
  22678. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22679. 1, 0);
  22680. mod_radio_reg(
  22681. pi,
  22682. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22683. 1, 0);
  22684. }
  22685. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22686. wlc_phy_rfctrl_override_nphy_rev7(
  22687. pi,
  22688. (0x1 << 3), 0,
  22689. 0x3, 0,
  22690. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22691. }
  22692. }
  22693. } else {
  22694. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22695. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22696. mask = ((0x3 << 12) | (0x3 << 14));
  22697. val = (0x2 << 12);
  22698. val |= (0x2 << 14);
  22699. mod_phy_reg(pi, 0xa6, mask, val);
  22700. mod_phy_reg(pi, 0xa7, mask, val);
  22701. val = read_phy_reg(pi, 0xa5);
  22702. pi->tx_rx_cal_phy_saveregs[2] = val;
  22703. val |= ((0x1 << 12) | (0x1 << 13));
  22704. write_phy_reg(pi, 0xa5, val);
  22705. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22706. &val);
  22707. pi->tx_rx_cal_phy_saveregs[3] = val;
  22708. val |= 0x2000;
  22709. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22710. &val);
  22711. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22712. &val);
  22713. pi->tx_rx_cal_phy_saveregs[4] = val;
  22714. val |= 0x2000;
  22715. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22716. &val);
  22717. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x91);
  22718. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x92);
  22719. val = CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  22720. write_phy_reg(pi, 0x91, val);
  22721. write_phy_reg(pi, 0x92, val);
  22722. }
  22723. }
  22724. static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi)
  22725. {
  22726. u16 mask;
  22727. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22728. write_phy_reg(pi, 0xa6, pi->tx_rx_cal_phy_saveregs[0]);
  22729. write_phy_reg(pi, 0xa7, pi->tx_rx_cal_phy_saveregs[1]);
  22730. write_phy_reg(pi, 0x8f, pi->tx_rx_cal_phy_saveregs[2]);
  22731. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[3]);
  22732. write_phy_reg(pi, 0x01, pi->tx_rx_cal_phy_saveregs[4]);
  22733. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22734. &pi->tx_rx_cal_phy_saveregs[5]);
  22735. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22736. &pi->tx_rx_cal_phy_saveregs[6]);
  22737. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[7]);
  22738. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[8]);
  22739. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  22740. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  22741. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22742. || NREV_GE(pi->pubpi.phy_rev, 8))
  22743. wlc_phy_rfctrl_override_nphy_rev7(
  22744. pi, (0x1 << 7), 0, 0,
  22745. 1,
  22746. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22747. wlc_phy_resetcca_nphy(pi);
  22748. if (pi->use_int_tx_iqlo_cal_nphy
  22749. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22750. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22751. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22752. mod_radio_reg(
  22753. pi,
  22754. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22755. 1, 1);
  22756. mod_radio_reg(
  22757. pi,
  22758. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22759. 1, 1);
  22760. } else {
  22761. mod_radio_reg(
  22762. pi,
  22763. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22764. 1, 1);
  22765. mod_radio_reg(
  22766. pi,
  22767. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22768. 1, 1);
  22769. }
  22770. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22771. 0);
  22772. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22773. wlc_phy_rfctrl_override_nphy_rev7(
  22774. pi,
  22775. (0x1 << 3), 0,
  22776. 0x3, 1,
  22777. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22778. }
  22779. }
  22780. } else {
  22781. mask = ((0x3 << 12) | (0x3 << 14));
  22782. mod_phy_reg(pi, 0xa6, mask, pi->tx_rx_cal_phy_saveregs[0]);
  22783. mod_phy_reg(pi, 0xa7, mask, pi->tx_rx_cal_phy_saveregs[1]);
  22784. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[2]);
  22785. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22786. &pi->tx_rx_cal_phy_saveregs[3]);
  22787. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22788. &pi->tx_rx_cal_phy_saveregs[4]);
  22789. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[5]);
  22790. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[6]);
  22791. }
  22792. }
  22793. void
  22794. wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
  22795. {
  22796. u16 tssi_reg;
  22797. s32 temp, pwrindex[2];
  22798. s32 idle_tssi[2];
  22799. s32 rssi_buf[4];
  22800. s32 tssival[2];
  22801. u8 tssi_type;
  22802. tssi_reg = read_phy_reg(pi, 0x1e9);
  22803. temp = (s32) (tssi_reg & 0x3f);
  22804. idle_tssi[0] = (temp <= 31) ? temp : (temp - 64);
  22805. temp = (s32) ((tssi_reg >> 8) & 0x3f);
  22806. idle_tssi[1] = (temp <= 31) ? temp : (temp - 64);
  22807. tssi_type =
  22808. CHSPEC_IS5G(pi->radio_chanspec) ?
  22809. (u8)NPHY_RSSI_SEL_TSSI_5G : (u8)NPHY_RSSI_SEL_TSSI_2G;
  22810. wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
  22811. tssival[0] = rssi_buf[0] / ((s32) num_samps);
  22812. tssival[1] = rssi_buf[2] / ((s32) num_samps);
  22813. pwrindex[0] = idle_tssi[0] - tssival[0] + 64;
  22814. pwrindex[1] = idle_tssi[1] - tssival[1] + 64;
  22815. if (pwrindex[0] < 0)
  22816. pwrindex[0] = 0;
  22817. else if (pwrindex[0] > 63)
  22818. pwrindex[0] = 63;
  22819. if (pwrindex[1] < 0)
  22820. pwrindex[1] = 0;
  22821. else if (pwrindex[1] > 63)
  22822. pwrindex[1] = 63;
  22823. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 1,
  22824. (u32) pwrindex[0], 32, &qdBm_pwrbuf[0]);
  22825. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 1,
  22826. (u32) pwrindex[1], 32, &qdBm_pwrbuf[1]);
  22827. }
  22828. static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core)
  22829. {
  22830. int index;
  22831. u32 bbmult_scale;
  22832. u16 bbmult;
  22833. u16 tblentry;
  22834. struct nphy_txiqcal_ladder ladder_lo[] = {
  22835. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22836. {25, 0}, {25, 1}, {25, 2}, {25, 3}, {25, 4}, {25, 5},
  22837. {25, 6}, {25, 7}, {35, 7}, {50, 7}, {71, 7}, {100, 7}
  22838. };
  22839. struct nphy_txiqcal_ladder ladder_iq[] = {
  22840. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22841. {25, 0}, {35, 0}, {50, 0}, {71, 0}, {100, 0}, {100, 1},
  22842. {100, 2}, {100, 3}, {100, 4}, {100, 5}, {100, 6}, {100, 7}
  22843. };
  22844. bbmult = (core == PHY_CORE_0) ?
  22845. ((pi->nphy_txcal_bbmult >> 8) & 0xff) :
  22846. (pi->nphy_txcal_bbmult & 0xff);
  22847. for (index = 0; index < 18; index++) {
  22848. bbmult_scale = ladder_lo[index].percent * bbmult;
  22849. bbmult_scale /= 100;
  22850. tblentry =
  22851. ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env;
  22852. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16,
  22853. &tblentry);
  22854. bbmult_scale = ladder_iq[index].percent * bbmult;
  22855. bbmult_scale /= 100;
  22856. tblentry =
  22857. ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env;
  22858. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32,
  22859. 16, &tblentry);
  22860. }
  22861. }
  22862. static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core)
  22863. {
  22864. u16 tmp;
  22865. tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee));
  22866. tmp = (tmp & (0x7f << 8)) >> 8;
  22867. return (u8) tmp;
  22868. }
  22869. static void
  22870. wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1)
  22871. {
  22872. mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0);
  22873. if (NREV_GT(pi->pubpi.phy_rev, 1))
  22874. mod_phy_reg(pi, 0x222, (0xff << 0), idx1);
  22875. }
  22876. static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi)
  22877. {
  22878. u16 m0m1;
  22879. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  22880. return m0m1;
  22881. }
  22882. static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1)
  22883. {
  22884. u16 m0m1 = (u16) ((m0 << 8) | m1);
  22885. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m0m1);
  22886. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &m0m1);
  22887. }
  22888. static void
  22889. wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi,
  22890. struct nphy_papd_restore_state *state, u8 core)
  22891. {
  22892. s32 tone_freq;
  22893. u8 off_core;
  22894. u16 mixgain = 0;
  22895. off_core = core ^ 0x1;
  22896. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22897. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22898. || NREV_GE(pi->pubpi.phy_rev, 8))
  22899. wlc_phy_rfctrl_override_nphy_rev7(
  22900. pi, (0x1 << 7),
  22901. wlc_phy_read_lpf_bw_ctl_nphy
  22902. (pi,
  22903. 0), 0, 0,
  22904. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22905. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22906. if (pi->pubpi.radiorev == 5)
  22907. mixgain = (core == 0) ? 0x20 : 0x00;
  22908. else if ((pi->pubpi.radiorev == 7)
  22909. || (pi->pubpi.radiorev == 8))
  22910. mixgain = 0x00;
  22911. else if ((pi->pubpi.radiorev <= 4)
  22912. || (pi->pubpi.radiorev == 6))
  22913. mixgain = 0x00;
  22914. } else {
  22915. if ((pi->pubpi.radiorev == 4) ||
  22916. (pi->pubpi.radiorev == 6))
  22917. mixgain = 0x50;
  22918. else if ((pi->pubpi.radiorev == 3)
  22919. || (pi->pubpi.radiorev == 7)
  22920. || (pi->pubpi.radiorev == 8))
  22921. mixgain = 0x0;
  22922. }
  22923. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11),
  22924. mixgain, (1 << core), 0,
  22925. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22926. wlc_phy_rfctrl_override_1tomany_nphy(
  22927. pi,
  22928. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22929. 1, (1 << core), 0);
  22930. wlc_phy_rfctrl_override_1tomany_nphy(
  22931. pi,
  22932. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22933. 0, (1 << off_core), 0);
  22934. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  22935. 0, 0x3, 0,
  22936. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22937. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1,
  22938. (1 << core), 0,
  22939. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22940. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0,
  22941. (1 << core), 0,
  22942. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22943. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1,
  22944. (1 << core), 0,
  22945. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22946. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0,
  22947. (1 << core), 0,
  22948. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22949. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1,
  22950. (1 << core), 0,
  22951. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22952. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0,
  22953. (1 << core), 0,
  22954. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22955. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1,
  22956. (1 << core), 0,
  22957. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22958. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5),
  22959. 0, (1 << core), 0,
  22960. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22961. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0,
  22962. (1 << core), 0,
  22963. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22964. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22965. 0xa6 : 0xa7);
  22966. state->afeoverride[core] =
  22967. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22968. state->afectrl[off_core] =
  22969. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa7 : 0xa6);
  22970. state->afeoverride[off_core] =
  22971. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa5 : 0x8f);
  22972. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22973. (0x1 << 2), 0);
  22974. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22975. 0xa5), (0x1 << 2), (0x1 << 2));
  22976. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa7 : 0xa6),
  22977. (0x1 << 2), (0x1 << 2));
  22978. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa5 :
  22979. 0x8f), (0x1 << 2), (0x1 << 2));
  22980. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22981. state->pwrup[core] =
  22982. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22983. TXRXCOUPLE_2G_PWRUP);
  22984. state->atten[core] =
  22985. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22986. TXRXCOUPLE_2G_ATTEN);
  22987. state->pwrup[off_core] =
  22988. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22989. TXRXCOUPLE_2G_PWRUP);
  22990. state->atten[off_core] =
  22991. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22992. TXRXCOUPLE_2G_ATTEN);
  22993. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22994. TXRXCOUPLE_2G_PWRUP, 0xc);
  22995. if ((pi->pubpi.radiorev == 3) ||
  22996. (pi->pubpi.radiorev == 4) ||
  22997. (pi->pubpi.radiorev == 6))
  22998. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22999. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23000. else if (pi->pubpi.radiorev == 5)
  23001. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23002. TXRXCOUPLE_2G_ATTEN,
  23003. (core == 0) ? 0xf7 : 0xf2);
  23004. else if ((pi->pubpi.radiorev == 7)
  23005. || (pi->pubpi.radiorev == 8))
  23006. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23007. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23008. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23009. TXRXCOUPLE_2G_PWRUP, 0x0);
  23010. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23011. TXRXCOUPLE_2G_ATTEN, 0xff);
  23012. } else {
  23013. state->pwrup[core] =
  23014. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23015. TXRXCOUPLE_5G_PWRUP);
  23016. state->atten[core] =
  23017. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23018. TXRXCOUPLE_5G_ATTEN);
  23019. state->pwrup[off_core] =
  23020. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23021. TXRXCOUPLE_5G_PWRUP);
  23022. state->atten[off_core] =
  23023. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23024. TXRXCOUPLE_5G_ATTEN);
  23025. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23026. TXRXCOUPLE_5G_PWRUP, 0xc);
  23027. if ((pi->pubpi.radiorev == 7)
  23028. || (pi->pubpi.radiorev == 8))
  23029. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23030. TXRXCOUPLE_5G_ATTEN, 0xf4);
  23031. else
  23032. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23033. TXRXCOUPLE_5G_ATTEN, 0xf0);
  23034. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23035. TXRXCOUPLE_5G_PWRUP, 0x0);
  23036. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23037. TXRXCOUPLE_5G_ATTEN, 0xff);
  23038. }
  23039. tone_freq = 4000;
  23040. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23041. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23042. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23043. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23044. 0x2a4, (0x1 << 13), (1) << 13);
  23045. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23046. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_OFF) << 0);
  23047. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x2a3 :
  23048. 0x2a4, (0x1 << 13), (0) << 13);
  23049. } else {
  23050. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 0);
  23051. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0, 0);
  23052. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 0);
  23053. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 1, 0x3, 0);
  23054. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0x3, 0);
  23055. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  23056. 0xa6 : 0xa7);
  23057. state->afeoverride[core] =
  23058. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  23059. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  23060. (0x1 << 0) | (0x1 << 1) | (0x1 << 2), 0);
  23061. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  23062. 0xa5),
  23063. (0x1 << 0) |
  23064. (0x1 << 1) |
  23065. (0x1 << 2), (0x1 << 0) | (0x1 << 1) | (0x1 << 2));
  23066. state->vga_master[core] =
  23067. READ_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER);
  23068. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER, 0x2b);
  23069. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23070. state->fbmix[core] =
  23071. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23072. TXFBMIX_G);
  23073. state->intpa_master[core] =
  23074. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23075. INTPAG_MASTER);
  23076. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_G,
  23077. 0x03);
  23078. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23079. INTPAG_MASTER, 0x04);
  23080. } else {
  23081. state->fbmix[core] =
  23082. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23083. TXFBMIX_A);
  23084. state->intpa_master[core] =
  23085. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23086. INTPAA_MASTER);
  23087. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_A,
  23088. 0x03);
  23089. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23090. INTPAA_MASTER, 0x04);
  23091. }
  23092. tone_freq = 4000;
  23093. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23094. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23095. 0x29b, (0x1 << 0), (1) << 0);
  23096. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23097. 0x29b, (0x1 << 0), (0) << 0);
  23098. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23099. }
  23100. }
  23101. static void
  23102. wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi,
  23103. struct nphy_papd_restore_state *state)
  23104. {
  23105. u8 core;
  23106. wlc_phy_stopplayback_nphy(pi);
  23107. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23108. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23109. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23110. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23111. TXRXCOUPLE_2G_PWRUP, 0);
  23112. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23113. TXRXCOUPLE_2G_ATTEN,
  23114. state->atten[core]);
  23115. } else {
  23116. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23117. TXRXCOUPLE_5G_PWRUP, 0);
  23118. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23119. TXRXCOUPLE_5G_ATTEN,
  23120. state->atten[core]);
  23121. }
  23122. }
  23123. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  23124. wlc_phy_rfctrl_override_nphy_rev7(
  23125. pi, (0x1 << 2),
  23126. 1, 0x3, 0,
  23127. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23128. else
  23129. wlc_phy_rfctrl_override_nphy_rev7(
  23130. pi, (0x1 << 2),
  23131. 0, 0x3, 1,
  23132. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23133. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  23134. 0, 0x3, 1,
  23135. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23136. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23137. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23138. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 0, 0x3, 1,
  23139. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23140. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 1, 0x3, 1,
  23141. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23142. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 0, 0x3, 1,
  23143. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23144. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0x3, 1,
  23145. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23146. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12), 0, 0x3, 1,
  23147. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23148. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 1,
  23149. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23150. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23151. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23152. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0x3, 1,
  23153. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23154. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0, 0x3, 1,
  23155. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23156. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1, 0x3, 1,
  23157. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23158. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0, 0x3, 1,
  23159. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23160. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1, 0x3, 1,
  23161. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23162. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0x3, 1,
  23163. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23164. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0, 0x3, 1,
  23165. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23166. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23167. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23168. 0xa6 : 0xa7, state->afectrl[core]);
  23169. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23170. 0xa5, state->afeoverride[core]);
  23171. }
  23172. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23173. (state->mm & 0xff));
  23174. if (NREV_IS(pi->pubpi.phy_rev, 7)
  23175. || NREV_GE(pi->pubpi.phy_rev, 8))
  23176. wlc_phy_rfctrl_override_nphy_rev7(
  23177. pi, (0x1 << 7), 0, 0,
  23178. 1,
  23179. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23180. } else {
  23181. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  23182. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 0x3, 1);
  23183. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 1);
  23184. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 0, 0x3, 1);
  23185. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 0, 0x3, 1);
  23186. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23187. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER,
  23188. state->vga_master[core]);
  23189. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23190. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23191. TXFBMIX_G, state->fbmix[core]);
  23192. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23193. INTPAG_MASTER,
  23194. state->intpa_master[core]);
  23195. } else {
  23196. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23197. TXFBMIX_A, state->fbmix[core]);
  23198. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23199. INTPAA_MASTER,
  23200. state->intpa_master[core]);
  23201. }
  23202. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23203. 0xa6 : 0xa7, state->afectrl[core]);
  23204. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23205. 0xa5, state->afeoverride[core]);
  23206. }
  23207. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23208. (state->mm & 0xff));
  23209. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 1);
  23210. }
  23211. }
  23212. static void
  23213. wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start,
  23214. u32 end)
  23215. {
  23216. u32 *buf, *src, *dst, sz;
  23217. sz = end - start + 1;
  23218. buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
  23219. if (NULL == buf)
  23220. return;
  23221. src = buf;
  23222. dst = buf + NPHY_PAPD_EPS_TBL_SIZE;
  23223. wlc_phy_table_read_nphy(pi,
  23224. (core ==
  23225. PHY_CORE_0 ? NPHY_TBL_ID_EPSILONTBL0 :
  23226. NPHY_TBL_ID_EPSILONTBL1),
  23227. NPHY_PAPD_EPS_TBL_SIZE, 0, 32, src);
  23228. do {
  23229. u32 phy_a1, phy_a2;
  23230. s32 phy_a3, phy_a4, phy_a5, phy_a6, phy_a7;
  23231. phy_a1 = end - min(end, (winsz >> 1));
  23232. phy_a2 = min_t(u32, NPHY_PAPD_EPS_TBL_SIZE - 1,
  23233. end + (winsz >> 1));
  23234. phy_a3 = phy_a2 - phy_a1 + 1;
  23235. phy_a6 = 0;
  23236. phy_a7 = 0;
  23237. do {
  23238. wlc_phy_papd_decode_epsilon(src[phy_a2], &phy_a4,
  23239. &phy_a5);
  23240. phy_a6 += phy_a4;
  23241. phy_a7 += phy_a5;
  23242. } while (phy_a2-- != phy_a1);
  23243. phy_a6 /= phy_a3;
  23244. phy_a7 /= phy_a3;
  23245. dst[end] = ((u32) phy_a7 << 13) | ((u32) phy_a6 & 0x1fff);
  23246. } while (end-- != start);
  23247. wlc_phy_table_write_nphy(pi,
  23248. (core ==
  23249. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0 :
  23250. NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
  23251. kfree(buf);
  23252. }
  23253. static void
  23254. wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains,
  23255. enum phy_cal_mode cal_mode, u8 core)
  23256. {
  23257. u16 phy_a1, phy_a2, phy_a3;
  23258. u16 phy_a4, phy_a5;
  23259. bool phy_a6;
  23260. u8 phy_a7, m[2];
  23261. u32 phy_a8 = 0;
  23262. struct nphy_txgains phy_a9;
  23263. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23264. return;
  23265. phy_a7 = (core == PHY_CORE_0) ? 1 : 0;
  23266. phy_a6 = ((cal_mode == CAL_GCTRL)
  23267. || (cal_mode == CAL_SOFT)) ? true : false;
  23268. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23269. phy_a9 = wlc_phy_get_tx_gain_nphy(pi);
  23270. if (CHSPEC_IS2G(pi->radio_chanspec))
  23271. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23272. (phy_a9.txgm[core] << 12) |
  23273. (phy_a9.pga[core] << 8) |
  23274. (txgains->gains.pad[core] << 3) |
  23275. (phy_a9.ipa[core]));
  23276. else
  23277. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23278. (phy_a9.txgm[core] << 12) |
  23279. (txgains->gains.pga[core] << 8) |
  23280. (phy_a9.pad[core] << 3) | (phy_a9.ipa[core]));
  23281. wlc_phy_rfctrl_override_1tomany_nphy(
  23282. pi,
  23283. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23284. phy_a5, (1 << core), 0);
  23285. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23286. if ((pi->pubpi.radiorev <= 4)
  23287. || (pi->pubpi.radiorev == 6))
  23288. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23289. 60 : 79;
  23290. else
  23291. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23292. 45 : 64;
  23293. } else {
  23294. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23295. }
  23296. m[phy_a7] = 0;
  23297. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23298. phy_a2 = 63;
  23299. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23300. if ((pi->pubpi.radiorev == 4)
  23301. || (pi->pubpi.radiorev == 6)) {
  23302. phy_a1 = 30;
  23303. phy_a3 = 30;
  23304. } else {
  23305. phy_a1 = 25;
  23306. phy_a3 = 25;
  23307. }
  23308. } else {
  23309. if ((pi->pubpi.radiorev == 5)
  23310. || (pi->pubpi.radiorev == 7)
  23311. || (pi->pubpi.radiorev == 8)) {
  23312. phy_a1 = 25;
  23313. phy_a3 = 25;
  23314. } else {
  23315. phy_a1 = 35;
  23316. phy_a3 = 35;
  23317. }
  23318. }
  23319. if (cal_mode == CAL_GCTRL) {
  23320. if ((pi->pubpi.radiorev == 5)
  23321. && (CHSPEC_IS2G(pi->radio_chanspec)))
  23322. phy_a1 = 55;
  23323. else if (((pi->pubpi.radiorev == 7) &&
  23324. (CHSPEC_IS2G(pi->radio_chanspec))) ||
  23325. ((pi->pubpi.radiorev == 8) &&
  23326. (CHSPEC_IS2G(pi->radio_chanspec))))
  23327. phy_a1 = 60;
  23328. else
  23329. phy_a1 = 63;
  23330. } else if ((cal_mode != CAL_FULL) && (cal_mode != CAL_SOFT)) {
  23331. phy_a1 = 35;
  23332. phy_a3 = 35;
  23333. }
  23334. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23335. 0x29b, (0x1 << 0), (1) << 0);
  23336. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23337. 0x29b, (0x1 << 0), (0) << 0);
  23338. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23339. 0x2a4, (0x1 << 13), (1) << 13);
  23340. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23341. 0x2a4, (0x1 << 13), (0) << 13);
  23342. write_phy_reg(pi, 0x2a1, 0x80);
  23343. write_phy_reg(pi, 0x2a2, 0x100);
  23344. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23345. 0x2a4, (0x7 << 4), (11) << 4);
  23346. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23347. 0x2a4, (0x7 << 8), (11) << 8);
  23348. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23349. 0x2a4, (0x7 << 0), (0x3) << 0);
  23350. write_phy_reg(pi, 0x2e5, 0x20);
  23351. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23352. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23353. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23354. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23355. 1, ((core == 0) ? 1 : 2), 0,
  23356. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23357. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23358. 0, ((core == 0) ? 2 : 1), 0,
  23359. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23360. write_phy_reg(pi, 0x2be, 1);
  23361. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23362. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23363. 0, 0x3, 0,
  23364. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23365. wlc_phy_table_write_nphy(pi,
  23366. (core ==
  23367. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23368. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23369. 32, &phy_a8);
  23370. if (cal_mode != CAL_GCTRL) {
  23371. if (CHSPEC_IS5G(pi->radio_chanspec))
  23372. wlc_phy_a1_nphy(pi, core, 5, 0, 35);
  23373. }
  23374. wlc_phy_rfctrl_override_1tomany_nphy(
  23375. pi,
  23376. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23377. phy_a5, (1 << core), 1);
  23378. } else {
  23379. if (txgains) {
  23380. if (txgains->useindex) {
  23381. phy_a4 = 15 - ((txgains->index) >> 3);
  23382. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23383. if (NREV_GE(pi->pubpi.phy_rev, 6))
  23384. phy_a5 = 0x00f7 | (phy_a4 << 8);
  23385. else
  23386. if (NREV_IS(pi->pubpi.phy_rev, 5))
  23387. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23388. else
  23389. phy_a5 = 0x50f7 | (phy_a4 << 8);
  23390. } else {
  23391. phy_a5 = 0x70f7 | (phy_a4 << 8);
  23392. }
  23393. wlc_phy_rfctrl_override_nphy(pi,
  23394. (0x1 << 13),
  23395. phy_a5,
  23396. (1 << core), 0);
  23397. } else {
  23398. wlc_phy_rfctrl_override_nphy(pi,
  23399. (0x1 << 13),
  23400. 0x5bf7,
  23401. (1 << core), 0);
  23402. }
  23403. }
  23404. if (CHSPEC_IS2G(pi->radio_chanspec))
  23405. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
  23406. else
  23407. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23408. m[phy_a7] = 0;
  23409. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23410. phy_a2 = 63;
  23411. if (cal_mode == CAL_FULL) {
  23412. phy_a1 = 25;
  23413. phy_a3 = 25;
  23414. } else if (cal_mode == CAL_SOFT) {
  23415. phy_a1 = 25;
  23416. phy_a3 = 25;
  23417. } else if (cal_mode == CAL_GCTRL) {
  23418. phy_a1 = 63;
  23419. phy_a3 = 25;
  23420. } else {
  23421. phy_a1 = 25;
  23422. phy_a3 = 25;
  23423. }
  23424. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23425. 0x29b, (0x1 << 0), (1) << 0);
  23426. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23427. 0x29b, (0x1 << 0), (0) << 0);
  23428. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23429. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23430. 0x2a4, (0x1 << 13), (1) << 13);
  23431. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23432. 0x2a4, (0x1 << 13), (0) << 13);
  23433. write_phy_reg(pi, 0x2a1, 0x20);
  23434. write_phy_reg(pi, 0x2a2, 0x60);
  23435. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23436. 0x2a4, (0xf << 4), (9) << 4);
  23437. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23438. 0x2a4, (0xf << 8), (9) << 8);
  23439. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23440. 0x2a4, (0xf << 0), (0x2) << 0);
  23441. write_phy_reg(pi, 0x2e5, 0x20);
  23442. } else {
  23443. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23444. 0x2a4, (0x1 << 11), (1) << 11);
  23445. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23446. 0x2a4, (0x1 << 11), (0) << 11);
  23447. write_phy_reg(pi, 0x2a1, 0x80);
  23448. write_phy_reg(pi, 0x2a2, 0x600);
  23449. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23450. 0x2a4, (0x7 << 4), (0) << 4);
  23451. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23452. 0x2a4, (0x7 << 8), (0) << 8);
  23453. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23454. 0x2a4, (0x7 << 0), (0x3) << 0);
  23455. mod_phy_reg(pi, 0x2a0, (0x3f << 8), (0x20) << 8);
  23456. }
  23457. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23458. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23459. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23460. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0x3, 0);
  23461. write_phy_reg(pi, 0x2be, 1);
  23462. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23463. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23464. wlc_phy_table_write_nphy(pi,
  23465. (core ==
  23466. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23467. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23468. 32, &phy_a8);
  23469. if (cal_mode != CAL_GCTRL)
  23470. wlc_phy_a1_nphy(pi, core, 5, 0, 40);
  23471. }
  23472. }
  23473. static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core)
  23474. {
  23475. int phy_a1;
  23476. int phy_a2;
  23477. bool phy_a3;
  23478. struct nphy_ipa_txcalgains phy_a4;
  23479. bool phy_a5 = false;
  23480. bool phy_a6 = true;
  23481. s32 phy_a7, phy_a8;
  23482. u32 phy_a9;
  23483. int phy_a10;
  23484. bool phy_a11 = false;
  23485. int phy_a12;
  23486. u8 phy_a13 = 0;
  23487. u8 phy_a14;
  23488. u8 *phy_a15 = NULL;
  23489. phy_a4.useindex = true;
  23490. phy_a12 = start_gain;
  23491. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23492. phy_a2 = 20;
  23493. phy_a1 = 1;
  23494. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23495. if (pi->pubpi.radiorev == 5) {
  23496. phy_a15 = pad_gain_codes_used_2057rev5;
  23497. phy_a13 =
  23498. sizeof(pad_gain_codes_used_2057rev5) /
  23499. sizeof(pad_gain_codes_used_2057rev5
  23500. [0]) - 1;
  23501. } else if ((pi->pubpi.radiorev == 7)
  23502. || (pi->pubpi.radiorev == 8)) {
  23503. phy_a15 = pad_gain_codes_used_2057rev7;
  23504. phy_a13 =
  23505. sizeof(pad_gain_codes_used_2057rev7) /
  23506. sizeof(pad_gain_codes_used_2057rev7
  23507. [0]) - 1;
  23508. } else {
  23509. phy_a15 = pad_all_gain_codes_2057;
  23510. phy_a13 = sizeof(pad_all_gain_codes_2057) /
  23511. sizeof(pad_all_gain_codes_2057[0]) -
  23512. 1;
  23513. }
  23514. } else {
  23515. phy_a15 = pga_all_gain_codes_2057;
  23516. phy_a13 = sizeof(pga_all_gain_codes_2057) /
  23517. sizeof(pga_all_gain_codes_2057[0]) - 1;
  23518. }
  23519. phy_a14 = 0;
  23520. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23521. if (CHSPEC_IS2G(pi->radio_chanspec))
  23522. phy_a4.gains.pad[core] =
  23523. (u16) phy_a15[phy_a12];
  23524. else
  23525. phy_a4.gains.pga[core] =
  23526. (u16) phy_a15[phy_a12];
  23527. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23528. wlc_phy_table_read_nphy(pi,
  23529. (core ==
  23530. PHY_CORE_0 ?
  23531. NPHY_TBL_ID_EPSILONTBL0 :
  23532. NPHY_TBL_ID_EPSILONTBL1), 1,
  23533. 63, 32, &phy_a9);
  23534. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23535. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23536. (phy_a8 == 4095) || (phy_a8 == -4096));
  23537. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23538. if (!phy_a3)
  23539. phy_a12 -= (u8) phy_a1;
  23540. phy_a11 = true;
  23541. break;
  23542. }
  23543. if (phy_a3)
  23544. phy_a12 += (u8) phy_a1;
  23545. else
  23546. phy_a12 -= (u8) phy_a1;
  23547. if ((phy_a12 < phy_a14) || (phy_a12 > phy_a13)) {
  23548. if (phy_a12 < phy_a14)
  23549. phy_a12 = phy_a14;
  23550. else
  23551. phy_a12 = phy_a13;
  23552. phy_a11 = true;
  23553. break;
  23554. }
  23555. phy_a6 = false;
  23556. phy_a5 = phy_a3;
  23557. }
  23558. } else {
  23559. phy_a2 = 10;
  23560. phy_a1 = 8;
  23561. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23562. phy_a4.index = (u8) phy_a12;
  23563. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23564. wlc_phy_table_read_nphy(pi,
  23565. (core ==
  23566. PHY_CORE_0 ?
  23567. NPHY_TBL_ID_EPSILONTBL0 :
  23568. NPHY_TBL_ID_EPSILONTBL1), 1,
  23569. 63, 32, &phy_a9);
  23570. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23571. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23572. (phy_a8 == 4095) || (phy_a8 == -4096));
  23573. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23574. if (!phy_a3)
  23575. phy_a12 -= (u8) phy_a1;
  23576. phy_a11 = true;
  23577. break;
  23578. }
  23579. if (phy_a3)
  23580. phy_a12 += (u8) phy_a1;
  23581. else
  23582. phy_a12 -= (u8) phy_a1;
  23583. if ((phy_a12 < 0) || (phy_a12 > 127)) {
  23584. if (phy_a12 < 0)
  23585. phy_a12 = 0;
  23586. else
  23587. phy_a12 = 127;
  23588. phy_a11 = true;
  23589. break;
  23590. }
  23591. phy_a6 = false;
  23592. phy_a5 = phy_a3;
  23593. }
  23594. }
  23595. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23596. return (u8) phy_a15[phy_a12];
  23597. else
  23598. return (u8) phy_a12;
  23599. }
  23600. static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal)
  23601. {
  23602. struct nphy_ipa_txcalgains phy_b1[2];
  23603. struct nphy_papd_restore_state phy_b2;
  23604. bool phy_b3;
  23605. u8 phy_b4;
  23606. u8 phy_b5;
  23607. s16 phy_b6, phy_b7, phy_b8;
  23608. u16 phy_b9;
  23609. s16 phy_b10, phy_b11, phy_b12;
  23610. phy_b11 = 0;
  23611. phy_b12 = 0;
  23612. phy_b7 = 0;
  23613. phy_b8 = 0;
  23614. phy_b6 = 0;
  23615. if (pi->nphy_papd_skip == 1)
  23616. return;
  23617. phy_b3 = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  23618. MCTL_EN_MAC));
  23619. if (!phy_b3)
  23620. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23621. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23622. pi->nphy_force_papd_cal = false;
  23623. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++)
  23624. pi->nphy_papd_tx_gain_at_last_cal[phy_b5] =
  23625. wlc_phy_txpwr_idx_cur_get_nphy(pi, phy_b5);
  23626. pi->nphy_papd_last_cal = pi->sh->now;
  23627. pi->nphy_papd_recal_counter++;
  23628. phy_b4 = pi->nphy_txpwrctrl;
  23629. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23630. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL0, 64, 0, 32,
  23631. nphy_papd_scaltbl);
  23632. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL1, 64, 0, 32,
  23633. nphy_papd_scaltbl);
  23634. phy_b9 = read_phy_reg(pi, 0x01);
  23635. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  23636. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23637. s32 i, val = 0;
  23638. for (i = 0; i < 64; i++)
  23639. wlc_phy_table_write_nphy(pi,
  23640. ((phy_b5 ==
  23641. PHY_CORE_0) ?
  23642. NPHY_TBL_ID_EPSILONTBL0 :
  23643. NPHY_TBL_ID_EPSILONTBL1), 1,
  23644. i, 32, &val);
  23645. }
  23646. wlc_phy_ipa_restore_tx_digi_filts_nphy(pi);
  23647. phy_b2.mm = wlc_phy_ipa_get_bbmult_nphy(pi);
  23648. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23649. wlc_phy_papd_cal_setup_nphy(pi, &phy_b2, phy_b5);
  23650. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23651. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23652. if ((pi->pubpi.radiorev == 3)
  23653. || (pi->pubpi.radiorev == 4)
  23654. || (pi->pubpi.radiorev == 6)) {
  23655. pi->nphy_papd_cal_gain_index[phy_b5] =
  23656. 23;
  23657. } else if (pi->pubpi.radiorev == 5) {
  23658. pi->nphy_papd_cal_gain_index[phy_b5] =
  23659. 0;
  23660. pi->nphy_papd_cal_gain_index[phy_b5] =
  23661. wlc_phy_a3_nphy(
  23662. pi,
  23663. pi->
  23664. nphy_papd_cal_gain_index
  23665. [phy_b5],
  23666. phy_b5);
  23667. } else if ((pi->pubpi.radiorev == 7)
  23668. || (pi->pubpi.radiorev == 8)) {
  23669. pi->nphy_papd_cal_gain_index[phy_b5] =
  23670. 0;
  23671. pi->nphy_papd_cal_gain_index[phy_b5] =
  23672. wlc_phy_a3_nphy(
  23673. pi,
  23674. pi->
  23675. nphy_papd_cal_gain_index
  23676. [phy_b5],
  23677. phy_b5);
  23678. }
  23679. phy_b1[phy_b5].gains.pad[phy_b5] =
  23680. pi->nphy_papd_cal_gain_index[phy_b5];
  23681. } else {
  23682. pi->nphy_papd_cal_gain_index[phy_b5] = 0;
  23683. pi->nphy_papd_cal_gain_index[phy_b5] =
  23684. wlc_phy_a3_nphy(
  23685. pi,
  23686. pi->
  23687. nphy_papd_cal_gain_index
  23688. [phy_b5], phy_b5);
  23689. phy_b1[phy_b5].gains.pga[phy_b5] =
  23690. pi->nphy_papd_cal_gain_index[phy_b5];
  23691. }
  23692. } else {
  23693. phy_b1[phy_b5].useindex = true;
  23694. phy_b1[phy_b5].index = 16;
  23695. phy_b1[phy_b5].index =
  23696. wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index,
  23697. phy_b5);
  23698. pi->nphy_papd_cal_gain_index[phy_b5] =
  23699. 15 - ((phy_b1[phy_b5].index) >> 3);
  23700. }
  23701. switch (pi->nphy_papd_cal_type) {
  23702. case 0:
  23703. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_FULL, phy_b5);
  23704. break;
  23705. case 1:
  23706. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_SOFT, phy_b5);
  23707. break;
  23708. }
  23709. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23710. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23711. }
  23712. if (NREV_LT(pi->pubpi.phy_rev, 7))
  23713. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23714. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23715. int eps_offset = 0;
  23716. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23717. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23718. if (pi->pubpi.radiorev == 3)
  23719. eps_offset = -2;
  23720. else if (pi->pubpi.radiorev == 5)
  23721. eps_offset = 3;
  23722. else
  23723. eps_offset = -1;
  23724. } else {
  23725. eps_offset = 2;
  23726. }
  23727. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23728. phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5];
  23729. phy_b10 = 0;
  23730. if ((pi->pubpi.radiorev == 3) ||
  23731. (pi->pubpi.radiorev == 4) ||
  23732. (pi->pubpi.radiorev == 6)) {
  23733. phy_b12 = -(
  23734. nphy_papd_padgain_dlt_2g_2057rev3n4
  23735. [phy_b8] + 1) / 2;
  23736. phy_b10 = -1;
  23737. } else if (pi->pubpi.radiorev == 5) {
  23738. phy_b12 = -(
  23739. nphy_papd_padgain_dlt_2g_2057rev5
  23740. [phy_b8] + 1) / 2;
  23741. } else if ((pi->pubpi.radiorev == 7) ||
  23742. (pi->pubpi.radiorev == 8)) {
  23743. phy_b12 = -(
  23744. nphy_papd_padgain_dlt_2g_2057rev7
  23745. [phy_b8] + 1) / 2;
  23746. }
  23747. } else {
  23748. phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5];
  23749. if ((pi->pubpi.radiorev == 3) ||
  23750. (pi->pubpi.radiorev == 4) ||
  23751. (pi->pubpi.radiorev == 6))
  23752. phy_b11 =
  23753. -(nphy_papd_pgagain_dlt_5g_2057
  23754. [phy_b7]
  23755. + 1) / 2;
  23756. else if ((pi->pubpi.radiorev == 7)
  23757. || (pi->pubpi.radiorev == 8))
  23758. phy_b11 = -(
  23759. nphy_papd_pgagain_dlt_5g_2057rev7
  23760. [phy_b7] + 1) / 2;
  23761. phy_b10 = -9;
  23762. }
  23763. if (CHSPEC_IS2G(pi->radio_chanspec))
  23764. phy_b6 =
  23765. -60 + 27 + eps_offset + phy_b12 +
  23766. phy_b10;
  23767. else
  23768. phy_b6 =
  23769. -60 + 27 + eps_offset + phy_b11 +
  23770. phy_b10;
  23771. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23772. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23773. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23774. } else {
  23775. if (NREV_LT(pi->pubpi.phy_rev, 5))
  23776. eps_offset = 4;
  23777. else
  23778. eps_offset = 2;
  23779. phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3);
  23780. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23781. phy_b11 =
  23782. -(nphy_papd_pga_gain_delta_ipa_2g[
  23783. phy_b7] +
  23784. 1) / 2;
  23785. phy_b10 = 0;
  23786. } else {
  23787. phy_b11 =
  23788. -(nphy_papd_pga_gain_delta_ipa_5g[
  23789. phy_b7] +
  23790. 1) / 2;
  23791. phy_b10 = -9;
  23792. }
  23793. phy_b6 = -60 + 27 + eps_offset + phy_b11 + phy_b10;
  23794. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23795. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23796. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23797. }
  23798. }
  23799. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  23800. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23801. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  23802. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23803. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23804. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23805. 0x2a4, (0x1 << 13), (0) << 13);
  23806. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23807. 0x2a4, (0x1 << 13), (0) << 13);
  23808. } else {
  23809. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23810. 0x2a4, (0x1 << 11), (0) << 11);
  23811. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23812. 0x2a4, (0x1 << 11), (0) << 11);
  23813. }
  23814. pi->nphy_papdcomp = NPHY_PAPD_COMP_ON;
  23815. write_phy_reg(pi, 0x01, phy_b9);
  23816. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  23817. wlc_phy_txpwrctrl_enable_nphy(pi, phy_b4);
  23818. if (phy_b4 == PHY_TPC_HW_OFF) {
  23819. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23820. (s8) (pi->nphy_txpwrindex[0].
  23821. index_internal), false);
  23822. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23823. (s8) (pi->nphy_txpwrindex[1].
  23824. index_internal), false);
  23825. }
  23826. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  23827. if (!phy_b3)
  23828. wlapi_enable_mac(pi->sh->physhim);
  23829. }
  23830. void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype)
  23831. {
  23832. struct nphy_txgains target_gain;
  23833. u8 tx_pwr_ctrl_state;
  23834. bool fullcal = true;
  23835. bool restore_tx_gain = false;
  23836. bool mphase;
  23837. if (PHY_MUTED(pi))
  23838. return;
  23839. if (caltype == PHY_PERICAL_AUTO)
  23840. fullcal = (pi->radio_chanspec != pi->nphy_txiqlocal_chanspec);
  23841. else if (caltype == PHY_PERICAL_PARTIAL)
  23842. fullcal = false;
  23843. if (pi->cal_type_override != PHY_PERICAL_AUTO)
  23844. fullcal =
  23845. (pi->cal_type_override ==
  23846. PHY_PERICAL_FULL) ? true : false;
  23847. if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) {
  23848. if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec)
  23849. wlc_phy_cal_perical_mphase_restart(pi);
  23850. }
  23851. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL))
  23852. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000);
  23853. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23854. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23855. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_IDLE) ||
  23856. (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_INIT)) {
  23857. pi->nphy_cal_orig_pwr_idx[0] =
  23858. (u8) ((read_phy_reg(pi, 0x1ed) >> 8) & 0x7f);
  23859. pi->nphy_cal_orig_pwr_idx[1] =
  23860. (u8) ((read_phy_reg(pi, 0x1ee) >> 8) & 0x7f);
  23861. if (pi->nphy_txpwrctrl != PHY_TPC_HW_OFF) {
  23862. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2,
  23863. 0x110, 16,
  23864. pi->nphy_cal_orig_tx_gain);
  23865. } else {
  23866. pi->nphy_cal_orig_tx_gain[0] = 0;
  23867. pi->nphy_cal_orig_tx_gain[1] = 0;
  23868. }
  23869. }
  23870. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23871. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  23872. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23873. if (pi->antsel_type == ANTSEL_2x3)
  23874. wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
  23875. mphase = (pi->mphase_cal_phase_id != MPHASE_CAL_STATE_IDLE);
  23876. if (!mphase) {
  23877. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23878. wlc_phy_precal_txgain_nphy(pi);
  23879. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23880. restore_tx_gain = true;
  23881. target_gain = pi->nphy_cal_target_gain;
  23882. }
  23883. if (0 ==
  23884. wlc_phy_cal_txiqlo_nphy(pi, target_gain, fullcal,
  23885. mphase)) {
  23886. if (PHY_IPA(pi))
  23887. wlc_phy_a4(pi, true);
  23888. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23889. wlapi_enable_mac(pi->sh->physhim);
  23890. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION,
  23891. 10000);
  23892. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23893. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23894. if (0 == wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23895. (pi->first_cal_after_assoc ||
  23896. (pi->cal_type_override ==
  23897. PHY_PERICAL_FULL)) ? 2 : 0, false)) {
  23898. wlc_phy_savecal_nphy(pi);
  23899. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23900. pi->nphy_perical_last = pi->sh->now;
  23901. }
  23902. }
  23903. if (caltype != PHY_PERICAL_AUTO)
  23904. wlc_phy_rssi_cal_nphy(pi);
  23905. if (pi->first_cal_after_assoc
  23906. || (pi->cal_type_override == PHY_PERICAL_FULL)) {
  23907. pi->first_cal_after_assoc = false;
  23908. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23909. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23910. }
  23911. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23912. wlc_phy_radio205x_vcocal_nphy(pi);
  23913. } else {
  23914. switch (pi->mphase_cal_phase_id) {
  23915. case MPHASE_CAL_STATE_INIT:
  23916. pi->nphy_perical_last = pi->sh->now;
  23917. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  23918. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23919. wlc_phy_precal_txgain_nphy(pi);
  23920. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23921. pi->mphase_cal_phase_id++;
  23922. break;
  23923. case MPHASE_CAL_STATE_TXPHASE0:
  23924. case MPHASE_CAL_STATE_TXPHASE1:
  23925. case MPHASE_CAL_STATE_TXPHASE2:
  23926. case MPHASE_CAL_STATE_TXPHASE3:
  23927. case MPHASE_CAL_STATE_TXPHASE4:
  23928. case MPHASE_CAL_STATE_TXPHASE5:
  23929. if ((pi->radar_percal_mask & 0x10) != 0)
  23930. pi->nphy_rxcal_active = true;
  23931. if (wlc_phy_cal_txiqlo_nphy
  23932. (pi, pi->nphy_cal_target_gain, fullcal,
  23933. true) != 0) {
  23934. wlc_phy_cal_perical_mphase_reset(pi);
  23935. break;
  23936. }
  23937. if (NREV_LE(pi->pubpi.phy_rev, 2) &&
  23938. (pi->mphase_cal_phase_id ==
  23939. MPHASE_CAL_STATE_TXPHASE4))
  23940. pi->mphase_cal_phase_id += 2;
  23941. else
  23942. pi->mphase_cal_phase_id++;
  23943. break;
  23944. case MPHASE_CAL_STATE_PAPDCAL:
  23945. if ((pi->radar_percal_mask & 0x2) != 0)
  23946. pi->nphy_rxcal_active = true;
  23947. if (PHY_IPA(pi))
  23948. wlc_phy_a4(pi, true);
  23949. pi->mphase_cal_phase_id++;
  23950. break;
  23951. case MPHASE_CAL_STATE_RXCAL:
  23952. if ((pi->radar_percal_mask & 0x1) != 0)
  23953. pi->nphy_rxcal_active = true;
  23954. if (wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23955. (pi->first_cal_after_assoc ||
  23956. (pi->cal_type_override ==
  23957. PHY_PERICAL_FULL)) ? 2 : 0,
  23958. false) == 0)
  23959. wlc_phy_savecal_nphy(pi);
  23960. pi->mphase_cal_phase_id++;
  23961. break;
  23962. case MPHASE_CAL_STATE_RSSICAL:
  23963. if ((pi->radar_percal_mask & 0x4) != 0)
  23964. pi->nphy_rxcal_active = true;
  23965. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23966. wlc_phy_rssi_cal_nphy(pi);
  23967. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23968. wlc_phy_radio205x_vcocal_nphy(pi);
  23969. restore_tx_gain = true;
  23970. if (pi->first_cal_after_assoc)
  23971. pi->mphase_cal_phase_id++;
  23972. else
  23973. wlc_phy_cal_perical_mphase_reset(pi);
  23974. break;
  23975. case MPHASE_CAL_STATE_IDLETSSI:
  23976. if ((pi->radar_percal_mask & 0x8) != 0)
  23977. pi->nphy_rxcal_active = true;
  23978. if (pi->first_cal_after_assoc) {
  23979. pi->first_cal_after_assoc = false;
  23980. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23981. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23982. }
  23983. wlc_phy_cal_perical_mphase_reset(pi);
  23984. break;
  23985. default:
  23986. wlc_phy_cal_perical_mphase_reset(pi);
  23987. break;
  23988. }
  23989. }
  23990. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23991. if (restore_tx_gain) {
  23992. if (tx_pwr_ctrl_state != PHY_TPC_HW_OFF) {
  23993. wlc_phy_txpwr_index_nphy(pi, 1,
  23994. pi->
  23995. nphy_cal_orig_pwr_idx
  23996. [0], false);
  23997. wlc_phy_txpwr_index_nphy(pi, 2,
  23998. pi->
  23999. nphy_cal_orig_pwr_idx
  24000. [1], false);
  24001. pi->nphy_txpwrindex[0].index = -1;
  24002. pi->nphy_txpwrindex[1].index = -1;
  24003. } else {
  24004. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  24005. (s8) (pi->
  24006. nphy_txpwrindex
  24007. [0].
  24008. index_internal),
  24009. false);
  24010. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  24011. (s8) (pi->
  24012. nphy_txpwrindex
  24013. [1].
  24014. index_internal),
  24015. false);
  24016. }
  24017. }
  24018. }
  24019. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  24020. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  24021. wlapi_enable_mac(pi->sh->physhim);
  24022. }
  24023. int
  24024. wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  24025. bool fullcal, bool mphase)
  24026. {
  24027. u16 val;
  24028. u16 tbl_buf[11];
  24029. u8 cal_cnt;
  24030. u16 cal_cmd;
  24031. u8 num_cals, max_cal_cmds;
  24032. u16 core_no, cal_type;
  24033. u16 diq_start = 0;
  24034. u8 phy_bw;
  24035. u16 max_val;
  24036. u16 tone_freq;
  24037. u16 gain_save[2];
  24038. u16 cal_gain[2];
  24039. struct nphy_iqcal_params cal_params[2];
  24040. u32 tbl_len;
  24041. void *tbl_ptr;
  24042. bool ladder_updated[2];
  24043. u8 mphase_cal_lastphase = 0;
  24044. int bcmerror = 0;
  24045. bool phyhang_avoid_state = false;
  24046. u16 tbl_tx_iqlo_cal_loft_ladder_20[] = {
  24047. 0x0300, 0x0500, 0x0700, 0x0900, 0x0d00, 0x1100, 0x1900, 0x1901,
  24048. 0x1902,
  24049. 0x1903, 0x1904, 0x1905, 0x1906, 0x1907, 0x2407, 0x3207, 0x4607,
  24050. 0x6407
  24051. };
  24052. u16 tbl_tx_iqlo_cal_iqimb_ladder_20[] = {
  24053. 0x0200, 0x0300, 0x0600, 0x0900, 0x0d00, 0x1100, 0x1900, 0x2400,
  24054. 0x3200,
  24055. 0x4600, 0x6400, 0x6401, 0x6402, 0x6403, 0x6404, 0x6405, 0x6406,
  24056. 0x6407
  24057. };
  24058. u16 tbl_tx_iqlo_cal_loft_ladder_40[] = {
  24059. 0x0200, 0x0300, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1201,
  24060. 0x1202,
  24061. 0x1203, 0x1204, 0x1205, 0x1206, 0x1207, 0x1907, 0x2307, 0x3207,
  24062. 0x4707
  24063. };
  24064. u16 tbl_tx_iqlo_cal_iqimb_ladder_40[] = {
  24065. 0x0100, 0x0200, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1900,
  24066. 0x2300,
  24067. 0x3200, 0x4700, 0x4701, 0x4702, 0x4703, 0x4704, 0x4705, 0x4706,
  24068. 0x4707
  24069. };
  24070. u16 tbl_tx_iqlo_cal_startcoefs[] = {
  24071. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24072. 0x0000
  24073. };
  24074. u16 tbl_tx_iqlo_cal_cmds_fullcal[] = {
  24075. 0x8123, 0x8264, 0x8086, 0x8245, 0x8056,
  24076. 0x9123, 0x9264, 0x9086, 0x9245, 0x9056
  24077. };
  24078. u16 tbl_tx_iqlo_cal_cmds_recal[] = {
  24079. 0x8101, 0x8253, 0x8053, 0x8234, 0x8034,
  24080. 0x9101, 0x9253, 0x9053, 0x9234, 0x9034
  24081. };
  24082. u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[] = {
  24083. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24084. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24085. 0x0000
  24086. };
  24087. u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[] = {
  24088. 0x8434, 0x8334, 0x8084, 0x8267, 0x8056, 0x8234,
  24089. 0x9434, 0x9334, 0x9084, 0x9267, 0x9056, 0x9234
  24090. };
  24091. u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[] = {
  24092. 0x8423, 0x8323, 0x8073, 0x8256, 0x8045, 0x8223,
  24093. 0x9423, 0x9323, 0x9073, 0x9256, 0x9045, 0x9223
  24094. };
  24095. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  24096. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  24097. phyhang_avoid_state = pi->phyhang_avoid;
  24098. pi->phyhang_avoid = false;
  24099. }
  24100. if (CHSPEC_IS40(pi->radio_chanspec))
  24101. phy_bw = 40;
  24102. else
  24103. phy_bw = 20;
  24104. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  24105. for (core_no = 0; core_no <= 1; core_no++) {
  24106. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  24107. &cal_params[core_no]);
  24108. cal_gain[core_no] = cal_params[core_no].cal_gain;
  24109. }
  24110. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  24111. wlc_phy_txcal_radio_setup_nphy(pi);
  24112. wlc_phy_txcal_physetup_nphy(pi);
  24113. ladder_updated[0] = ladder_updated[1] = false;
  24114. if (!(NREV_GE(pi->pubpi.phy_rev, 6) ||
  24115. (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi)
  24116. && (CHSPEC_IS2G(pi->radio_chanspec))))) {
  24117. if (phy_bw == 40) {
  24118. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_40;
  24119. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_40);
  24120. } else {
  24121. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_20;
  24122. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_20);
  24123. }
  24124. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 0,
  24125. 16, tbl_ptr);
  24126. if (phy_bw == 40) {
  24127. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_40;
  24128. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_40);
  24129. } else {
  24130. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_20;
  24131. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_20);
  24132. }
  24133. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 32,
  24134. 16, tbl_ptr);
  24135. }
  24136. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24137. write_phy_reg(pi, 0xc2, 0x8ad9);
  24138. else
  24139. write_phy_reg(pi, 0xc2, 0x8aa9);
  24140. max_val = 250;
  24141. tone_freq = (phy_bw == 20) ? 2500 : 5000;
  24142. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24143. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff, 0, 1, 0, false);
  24144. bcmerror = 0;
  24145. } else {
  24146. bcmerror =
  24147. wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0,
  24148. false);
  24149. }
  24150. if (bcmerror == 0) {
  24151. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24152. tbl_ptr = pi->mphase_txcal_bestcoeffs;
  24153. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24154. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24155. tbl_len -= 2;
  24156. } else {
  24157. if ((!fullcal) && (pi->nphy_txiqlocal_coeffsvalid)) {
  24158. tbl_ptr = pi->nphy_txiqlocal_bestc;
  24159. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24160. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24161. tbl_len -= 2;
  24162. } else {
  24163. fullcal = true;
  24164. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24165. tbl_ptr =
  24166. tbl_tx_iqlo_cal_startcoefs_nphyrev3;
  24167. tbl_len = ARRAY_SIZE(
  24168. tbl_tx_iqlo_cal_startcoefs_nphyrev3);
  24169. } else {
  24170. tbl_ptr = tbl_tx_iqlo_cal_startcoefs;
  24171. tbl_len = ARRAY_SIZE(
  24172. tbl_tx_iqlo_cal_startcoefs);
  24173. }
  24174. }
  24175. }
  24176. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 64,
  24177. 16, tbl_ptr);
  24178. if (fullcal) {
  24179. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24180. ARRAY_SIZE(
  24181. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3) :
  24182. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_fullcal);
  24183. } else {
  24184. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24185. ARRAY_SIZE(
  24186. tbl_tx_iqlo_cal_cmds_recal_nphyrev3) :
  24187. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_recal);
  24188. }
  24189. if (mphase) {
  24190. cal_cnt = pi->mphase_txcal_cmdidx;
  24191. if ((cal_cnt + pi->mphase_txcal_numcmds) < max_cal_cmds)
  24192. num_cals = cal_cnt + pi->mphase_txcal_numcmds;
  24193. else
  24194. num_cals = max_cal_cmds;
  24195. } else {
  24196. cal_cnt = 0;
  24197. num_cals = max_cal_cmds;
  24198. }
  24199. for (; cal_cnt < num_cals; cal_cnt++) {
  24200. if (fullcal) {
  24201. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24202. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3
  24203. [cal_cnt] :
  24204. tbl_tx_iqlo_cal_cmds_fullcal[cal_cnt];
  24205. } else {
  24206. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24207. tbl_tx_iqlo_cal_cmds_recal_nphyrev3[
  24208. cal_cnt]
  24209. : tbl_tx_iqlo_cal_cmds_recal[cal_cnt];
  24210. }
  24211. core_no = ((cal_cmd & 0x3000) >> 12);
  24212. cal_type = ((cal_cmd & 0x0F00) >> 8);
  24213. if (NREV_GE(pi->pubpi.phy_rev, 6) ||
  24214. (NREV_IS(pi->pubpi.phy_rev, 5) &&
  24215. PHY_IPA(pi)
  24216. && (CHSPEC_IS2G(pi->radio_chanspec)))) {
  24217. if (!ladder_updated[core_no]) {
  24218. wlc_phy_update_txcal_ladder_nphy(
  24219. pi,
  24220. core_no);
  24221. ladder_updated[core_no] = true;
  24222. }
  24223. }
  24224. val =
  24225. (cal_params[core_no].
  24226. ncorr[cal_type] << 8) | NPHY_N_GCTL;
  24227. write_phy_reg(pi, 0xc1, val);
  24228. if ((cal_type == 1) || (cal_type == 3)
  24229. || (cal_type == 4)) {
  24230. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24231. 1, 69 + core_no, 16,
  24232. tbl_buf);
  24233. diq_start = tbl_buf[0];
  24234. tbl_buf[0] = 0;
  24235. wlc_phy_table_write_nphy(pi,
  24236. NPHY_TBL_ID_IQLOCAL, 1,
  24237. 69 + core_no, 16,
  24238. tbl_buf);
  24239. }
  24240. write_phy_reg(pi, 0xc0, cal_cmd);
  24241. SPINWAIT(((read_phy_reg(pi, 0xc0) & 0xc000) != 0),
  24242. 20000);
  24243. if (WARN(read_phy_reg(pi, 0xc0) & 0xc000,
  24244. "HW error: txiq calib"))
  24245. return -EIO;
  24246. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24247. tbl_len, 96, 16, tbl_buf);
  24248. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24249. tbl_len, 64, 16, tbl_buf);
  24250. if ((cal_type == 1) || (cal_type == 3)
  24251. || (cal_type == 4)) {
  24252. tbl_buf[0] = diq_start;
  24253. }
  24254. }
  24255. if (mphase) {
  24256. pi->mphase_txcal_cmdidx = num_cals;
  24257. if (pi->mphase_txcal_cmdidx >= max_cal_cmds)
  24258. pi->mphase_txcal_cmdidx = 0;
  24259. }
  24260. mphase_cal_lastphase =
  24261. (NREV_LE(pi->pubpi.phy_rev, 2)) ?
  24262. MPHASE_CAL_STATE_TXPHASE4 : MPHASE_CAL_STATE_TXPHASE5;
  24263. if (!mphase
  24264. || (pi->mphase_cal_phase_id == mphase_cal_lastphase)) {
  24265. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 96,
  24266. 16, tbl_buf);
  24267. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24268. 16, tbl_buf);
  24269. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24270. tbl_buf[0] = 0;
  24271. tbl_buf[1] = 0;
  24272. tbl_buf[2] = 0;
  24273. tbl_buf[3] = 0;
  24274. }
  24275. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24276. 16, tbl_buf);
  24277. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 101,
  24278. 16, tbl_buf);
  24279. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24280. 16, tbl_buf);
  24281. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24282. 16, tbl_buf);
  24283. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24284. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24285. tbl_len -= 2;
  24286. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24287. tbl_len, 96, 16,
  24288. pi->nphy_txiqlocal_bestc);
  24289. pi->nphy_txiqlocal_coeffsvalid = true;
  24290. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  24291. } else {
  24292. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24293. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24294. tbl_len -= 2;
  24295. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24296. tbl_len, 96, 16,
  24297. pi->mphase_txcal_bestcoeffs);
  24298. }
  24299. wlc_phy_stopplayback_nphy(pi);
  24300. write_phy_reg(pi, 0xc2, 0x0000);
  24301. }
  24302. wlc_phy_txcal_phycleanup_nphy(pi);
  24303. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  24304. gain_save);
  24305. wlc_phy_txcal_radio_cleanup_nphy(pi);
  24306. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24307. if (!mphase
  24308. || (pi->mphase_cal_phase_id == mphase_cal_lastphase))
  24309. wlc_phy_tx_iq_war_nphy(pi);
  24310. }
  24311. if (NREV_GE(pi->pubpi.phy_rev, 4))
  24312. pi->phyhang_avoid = phyhang_avoid_state;
  24313. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  24314. return bcmerror;
  24315. }
  24316. static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi)
  24317. {
  24318. u16 tbl_buf[7];
  24319. if ((pi->nphy_txiqlocal_chanspec == pi->radio_chanspec) &&
  24320. (pi->nphy_txiqlocal_coeffsvalid)) {
  24321. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24322. ARRAY_SIZE(tbl_buf), 80, 16, tbl_buf);
  24323. if ((pi->nphy_txiqlocal_bestc[0] != tbl_buf[0]) ||
  24324. (pi->nphy_txiqlocal_bestc[1] != tbl_buf[1]) ||
  24325. (pi->nphy_txiqlocal_bestc[2] != tbl_buf[2]) ||
  24326. (pi->nphy_txiqlocal_bestc[3] != tbl_buf[3])) {
  24327. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24328. 16, pi->nphy_txiqlocal_bestc);
  24329. tbl_buf[0] = 0;
  24330. tbl_buf[1] = 0;
  24331. tbl_buf[2] = 0;
  24332. tbl_buf[3] = 0;
  24333. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24334. 16, tbl_buf);
  24335. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24336. 16,
  24337. &pi->nphy_txiqlocal_bestc[5]);
  24338. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24339. 16,
  24340. &pi->nphy_txiqlocal_bestc[5]);
  24341. }
  24342. }
  24343. }
  24344. void
  24345. wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write,
  24346. struct nphy_iq_comp *pcomp)
  24347. {
  24348. if (write) {
  24349. write_phy_reg(pi, 0x9a, pcomp->a0);
  24350. write_phy_reg(pi, 0x9b, pcomp->b0);
  24351. write_phy_reg(pi, 0x9c, pcomp->a1);
  24352. write_phy_reg(pi, 0x9d, pcomp->b1);
  24353. } else {
  24354. pcomp->a0 = read_phy_reg(pi, 0x9a);
  24355. pcomp->b0 = read_phy_reg(pi, 0x9b);
  24356. pcomp->a1 = read_phy_reg(pi, 0x9c);
  24357. pcomp->b1 = read_phy_reg(pi, 0x9d);
  24358. }
  24359. }
  24360. void
  24361. wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
  24362. u16 num_samps, u8 wait_time, u8 wait_for_crs)
  24363. {
  24364. u8 core;
  24365. write_phy_reg(pi, 0x12b, num_samps);
  24366. mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0));
  24367. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqMode,
  24368. (wait_for_crs) ? NPHY_IqestCmd_iqMode : 0);
  24369. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqstart, NPHY_IqestCmd_iqstart);
  24370. SPINWAIT(((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) != 0),
  24371. 10000);
  24372. if (WARN(read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart,
  24373. "HW error: rxiq est"))
  24374. return;
  24375. if ((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) == 0) {
  24376. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  24377. est[core].i_pwr =
  24378. (read_phy_reg(pi,
  24379. NPHY_IqestipwrAccHi(core)) << 16)
  24380. | read_phy_reg(pi, NPHY_IqestipwrAccLo(core));
  24381. est[core].q_pwr =
  24382. (read_phy_reg(pi,
  24383. NPHY_IqestqpwrAccHi(core)) << 16)
  24384. | read_phy_reg(pi, NPHY_IqestqpwrAccLo(core));
  24385. est[core].iq_prod =
  24386. (read_phy_reg(pi,
  24387. NPHY_IqestIqAccHi(core)) << 16) |
  24388. read_phy_reg(pi, NPHY_IqestIqAccLo(core));
  24389. }
  24390. }
  24391. }
  24392. #define CAL_RETRY_CNT 2
  24393. static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask)
  24394. {
  24395. u8 curr_core;
  24396. struct phy_iq_est est[PHY_CORE_MAX];
  24397. struct nphy_iq_comp old_comp, new_comp;
  24398. s32 iq = 0;
  24399. u32 ii = 0, qq = 0;
  24400. s16 iq_nbits, qq_nbits, brsh, arsh;
  24401. s32 a, b, temp;
  24402. int bcmerror = 0;
  24403. uint cal_retry = 0;
  24404. if (core_mask == 0x0)
  24405. return;
  24406. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &old_comp);
  24407. new_comp.a0 = new_comp.b0 = new_comp.a1 = new_comp.b1 = 0x0;
  24408. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24409. cal_try:
  24410. wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0);
  24411. new_comp = old_comp;
  24412. for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) {
  24413. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24414. iq = est[curr_core].iq_prod;
  24415. ii = est[curr_core].i_pwr;
  24416. qq = est[curr_core].q_pwr;
  24417. } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24418. iq = est[curr_core].iq_prod;
  24419. ii = est[curr_core].i_pwr;
  24420. qq = est[curr_core].q_pwr;
  24421. } else {
  24422. continue;
  24423. }
  24424. if ((ii + qq) < NPHY_MIN_RXIQ_PWR) {
  24425. bcmerror = -EBADE;
  24426. break;
  24427. }
  24428. iq_nbits = wlc_phy_nbits(iq);
  24429. qq_nbits = wlc_phy_nbits(qq);
  24430. arsh = 10 - (30 - iq_nbits);
  24431. if (arsh >= 0) {
  24432. a = (-(iq << (30 - iq_nbits)) + (ii >> (1 + arsh)));
  24433. temp = (s32) (ii >> arsh);
  24434. if (temp == 0) {
  24435. bcmerror = -EBADE;
  24436. break;
  24437. }
  24438. } else {
  24439. a = (-(iq << (30 - iq_nbits)) + (ii << (-1 - arsh)));
  24440. temp = (s32) (ii << -arsh);
  24441. if (temp == 0) {
  24442. bcmerror = -EBADE;
  24443. break;
  24444. }
  24445. }
  24446. a /= temp;
  24447. brsh = qq_nbits - 31 + 20;
  24448. if (brsh >= 0) {
  24449. b = (qq << (31 - qq_nbits));
  24450. temp = (s32) (ii >> brsh);
  24451. if (temp == 0) {
  24452. bcmerror = -EBADE;
  24453. break;
  24454. }
  24455. } else {
  24456. b = (qq << (31 - qq_nbits));
  24457. temp = (s32) (ii << -brsh);
  24458. if (temp == 0) {
  24459. bcmerror = -EBADE;
  24460. break;
  24461. }
  24462. }
  24463. b /= temp;
  24464. b -= a * a;
  24465. b = (s32) int_sqrt((unsigned long) b);
  24466. b -= (1 << 10);
  24467. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24468. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24469. new_comp.a0 = (s16) a & 0x3ff;
  24470. new_comp.b0 = (s16) b & 0x3ff;
  24471. } else {
  24472. new_comp.a0 = (s16) b & 0x3ff;
  24473. new_comp.b0 = (s16) a & 0x3ff;
  24474. }
  24475. }
  24476. if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24477. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24478. new_comp.a1 = (s16) a & 0x3ff;
  24479. new_comp.b1 = (s16) b & 0x3ff;
  24480. } else {
  24481. new_comp.a1 = (s16) b & 0x3ff;
  24482. new_comp.b1 = (s16) a & 0x3ff;
  24483. }
  24484. }
  24485. }
  24486. if (bcmerror != 0) {
  24487. pr_debug("%s: Failed, cnt = %d\n", __func__, cal_retry);
  24488. if (cal_retry < CAL_RETRY_CNT) {
  24489. cal_retry++;
  24490. goto cal_try;
  24491. }
  24492. new_comp = old_comp;
  24493. }
  24494. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24495. }
  24496. static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core)
  24497. {
  24498. u16 offtune_val;
  24499. u16 bias_g = 0;
  24500. u16 bias_a = 0;
  24501. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24502. if (rx_core == PHY_CORE_0) {
  24503. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24504. pi->tx_rx_cal_radio_saveregs[0] =
  24505. read_radio_reg(pi,
  24506. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP);
  24507. pi->tx_rx_cal_radio_saveregs[1] =
  24508. read_radio_reg(pi,
  24509. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN);
  24510. write_radio_reg(pi,
  24511. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24512. 0x3);
  24513. write_radio_reg(pi,
  24514. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24515. 0xaf);
  24516. } else {
  24517. pi->tx_rx_cal_radio_saveregs[0] =
  24518. read_radio_reg(pi,
  24519. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP);
  24520. pi->tx_rx_cal_radio_saveregs[1] =
  24521. read_radio_reg(pi,
  24522. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN);
  24523. write_radio_reg(
  24524. pi,
  24525. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24526. 0x3);
  24527. write_radio_reg(
  24528. pi,
  24529. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24530. 0x7f);
  24531. }
  24532. } else {
  24533. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24534. pi->tx_rx_cal_radio_saveregs[0] =
  24535. read_radio_reg(pi,
  24536. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP);
  24537. pi->tx_rx_cal_radio_saveregs[1] =
  24538. read_radio_reg(pi,
  24539. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN);
  24540. write_radio_reg(
  24541. pi,
  24542. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24543. 0x3);
  24544. write_radio_reg(
  24545. pi,
  24546. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24547. 0xaf);
  24548. } else {
  24549. pi->tx_rx_cal_radio_saveregs[0] =
  24550. read_radio_reg(pi,
  24551. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP);
  24552. pi->tx_rx_cal_radio_saveregs[1] =
  24553. read_radio_reg(pi,
  24554. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN);
  24555. write_radio_reg(pi,
  24556. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24557. 0x3);
  24558. write_radio_reg(pi,
  24559. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24560. 0x7f);
  24561. }
  24562. }
  24563. } else {
  24564. if (rx_core == PHY_CORE_0) {
  24565. pi->tx_rx_cal_radio_saveregs[0] =
  24566. read_radio_reg(pi,
  24567. RADIO_2056_TX_RXIQCAL_TXMUX |
  24568. RADIO_2056_TX1);
  24569. pi->tx_rx_cal_radio_saveregs[1] =
  24570. read_radio_reg(pi,
  24571. RADIO_2056_RX_RXIQCAL_RXMUX |
  24572. RADIO_2056_RX0);
  24573. if (pi->pubpi.radiorev >= 5) {
  24574. pi->tx_rx_cal_radio_saveregs[2] =
  24575. read_radio_reg(pi,
  24576. RADIO_2056_RX_RXSPARE2 |
  24577. RADIO_2056_RX0);
  24578. pi->tx_rx_cal_radio_saveregs[3] =
  24579. read_radio_reg(pi,
  24580. RADIO_2056_TX_TXSPARE2 |
  24581. RADIO_2056_TX1);
  24582. }
  24583. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24584. if (pi->pubpi.radiorev >= 5) {
  24585. pi->tx_rx_cal_radio_saveregs[4] =
  24586. read_radio_reg(pi,
  24587. RADIO_2056_RX_LNAA_MASTER
  24588. | RADIO_2056_RX0);
  24589. write_radio_reg(
  24590. pi,
  24591. RADIO_2056_RX_LNAA_MASTER
  24592. | RADIO_2056_RX0, 0x40);
  24593. write_radio_reg(pi,
  24594. RADIO_2056_TX_TXSPARE2 |
  24595. RADIO_2056_TX1, bias_a);
  24596. write_radio_reg(pi,
  24597. RADIO_2056_RX_RXSPARE2 |
  24598. RADIO_2056_RX0, bias_a);
  24599. } else {
  24600. pi->tx_rx_cal_radio_saveregs[4] =
  24601. read_radio_reg(pi,
  24602. RADIO_2056_RX_LNAA_TUNE
  24603. | RADIO_2056_RX0);
  24604. offtune_val =
  24605. (pi->tx_rx_cal_radio_saveregs
  24606. [2] & 0xF0) >> 8;
  24607. offtune_val =
  24608. (offtune_val <= 0x7) ? 0xF : 0;
  24609. mod_radio_reg(pi,
  24610. RADIO_2056_RX_LNAA_TUNE |
  24611. RADIO_2056_RX0, 0xF0,
  24612. (offtune_val << 8));
  24613. }
  24614. write_radio_reg(pi,
  24615. RADIO_2056_TX_RXIQCAL_TXMUX |
  24616. RADIO_2056_TX1, 0x9);
  24617. write_radio_reg(pi,
  24618. RADIO_2056_RX_RXIQCAL_RXMUX |
  24619. RADIO_2056_RX0, 0x9);
  24620. } else {
  24621. if (pi->pubpi.radiorev >= 5) {
  24622. pi->tx_rx_cal_radio_saveregs[4] =
  24623. read_radio_reg(
  24624. pi,
  24625. RADIO_2056_RX_LNAG_MASTER
  24626. | RADIO_2056_RX0);
  24627. write_radio_reg(
  24628. pi,
  24629. RADIO_2056_RX_LNAG_MASTER
  24630. | RADIO_2056_RX0, 0x40);
  24631. write_radio_reg(
  24632. pi,
  24633. RADIO_2056_TX_TXSPARE2
  24634. |
  24635. RADIO_2056_TX1, bias_g);
  24636. write_radio_reg(
  24637. pi,
  24638. RADIO_2056_RX_RXSPARE2
  24639. |
  24640. RADIO_2056_RX0, bias_g);
  24641. } else {
  24642. pi->tx_rx_cal_radio_saveregs[4] =
  24643. read_radio_reg(
  24644. pi,
  24645. RADIO_2056_RX_LNAG_TUNE
  24646. | RADIO_2056_RX0);
  24647. offtune_val =
  24648. (pi->
  24649. tx_rx_cal_radio_saveregs[2] &
  24650. 0xF0) >> 8;
  24651. offtune_val =
  24652. (offtune_val <= 0x7) ? 0xF : 0;
  24653. mod_radio_reg(pi,
  24654. RADIO_2056_RX_LNAG_TUNE |
  24655. RADIO_2056_RX0, 0xF0,
  24656. (offtune_val << 8));
  24657. }
  24658. write_radio_reg(pi,
  24659. RADIO_2056_TX_RXIQCAL_TXMUX |
  24660. RADIO_2056_TX1, 0x6);
  24661. write_radio_reg(pi,
  24662. RADIO_2056_RX_RXIQCAL_RXMUX |
  24663. RADIO_2056_RX0, 0x6);
  24664. }
  24665. } else {
  24666. pi->tx_rx_cal_radio_saveregs[0] =
  24667. read_radio_reg(pi,
  24668. RADIO_2056_TX_RXIQCAL_TXMUX |
  24669. RADIO_2056_TX0);
  24670. pi->tx_rx_cal_radio_saveregs[1] =
  24671. read_radio_reg(pi,
  24672. RADIO_2056_RX_RXIQCAL_RXMUX |
  24673. RADIO_2056_RX1);
  24674. if (pi->pubpi.radiorev >= 5) {
  24675. pi->tx_rx_cal_radio_saveregs[2] =
  24676. read_radio_reg(pi,
  24677. RADIO_2056_RX_RXSPARE2 |
  24678. RADIO_2056_RX1);
  24679. pi->tx_rx_cal_radio_saveregs[3] =
  24680. read_radio_reg(pi,
  24681. RADIO_2056_TX_TXSPARE2 |
  24682. RADIO_2056_TX0);
  24683. }
  24684. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24685. if (pi->pubpi.radiorev >= 5) {
  24686. pi->tx_rx_cal_radio_saveregs[4] =
  24687. read_radio_reg(
  24688. pi,
  24689. RADIO_2056_RX_LNAA_MASTER
  24690. | RADIO_2056_RX1);
  24691. write_radio_reg(
  24692. pi,
  24693. RADIO_2056_RX_LNAA_MASTER |
  24694. RADIO_2056_RX1, 0x40);
  24695. write_radio_reg(
  24696. pi,
  24697. RADIO_2056_TX_TXSPARE2
  24698. |
  24699. RADIO_2056_TX0, bias_a);
  24700. write_radio_reg(
  24701. pi,
  24702. RADIO_2056_RX_RXSPARE2
  24703. |
  24704. RADIO_2056_RX1, bias_a);
  24705. } else {
  24706. pi->tx_rx_cal_radio_saveregs[4] =
  24707. read_radio_reg(
  24708. pi,
  24709. RADIO_2056_RX_LNAA_TUNE
  24710. | RADIO_2056_RX1);
  24711. offtune_val =
  24712. (pi->
  24713. tx_rx_cal_radio_saveregs[2] &
  24714. 0xF0) >> 8;
  24715. offtune_val =
  24716. (offtune_val <= 0x7) ? 0xF : 0;
  24717. mod_radio_reg(pi,
  24718. RADIO_2056_RX_LNAA_TUNE |
  24719. RADIO_2056_RX1, 0xF0,
  24720. (offtune_val << 8));
  24721. }
  24722. write_radio_reg(pi,
  24723. RADIO_2056_TX_RXIQCAL_TXMUX |
  24724. RADIO_2056_TX0, 0x9);
  24725. write_radio_reg(pi,
  24726. RADIO_2056_RX_RXIQCAL_RXMUX |
  24727. RADIO_2056_RX1, 0x9);
  24728. } else {
  24729. if (pi->pubpi.radiorev >= 5) {
  24730. pi->tx_rx_cal_radio_saveregs[4] =
  24731. read_radio_reg(
  24732. pi,
  24733. RADIO_2056_RX_LNAG_MASTER
  24734. | RADIO_2056_RX1);
  24735. write_radio_reg(
  24736. pi,
  24737. RADIO_2056_RX_LNAG_MASTER
  24738. | RADIO_2056_RX1, 0x40);
  24739. write_radio_reg(
  24740. pi,
  24741. RADIO_2056_TX_TXSPARE2
  24742. |
  24743. RADIO_2056_TX0, bias_g);
  24744. write_radio_reg(
  24745. pi,
  24746. RADIO_2056_RX_RXSPARE2
  24747. |
  24748. RADIO_2056_RX1, bias_g);
  24749. } else {
  24750. pi->tx_rx_cal_radio_saveregs[4] =
  24751. read_radio_reg(
  24752. pi,
  24753. RADIO_2056_RX_LNAG_TUNE
  24754. | RADIO_2056_RX1);
  24755. offtune_val =
  24756. (pi->
  24757. tx_rx_cal_radio_saveregs[2] &
  24758. 0xF0) >> 8;
  24759. offtune_val =
  24760. (offtune_val <= 0x7) ? 0xF : 0;
  24761. mod_radio_reg(pi,
  24762. RADIO_2056_RX_LNAG_TUNE |
  24763. RADIO_2056_RX1, 0xF0,
  24764. (offtune_val << 8));
  24765. }
  24766. write_radio_reg(pi,
  24767. RADIO_2056_TX_RXIQCAL_TXMUX |
  24768. RADIO_2056_TX0, 0x6);
  24769. write_radio_reg(pi,
  24770. RADIO_2056_RX_RXIQCAL_RXMUX |
  24771. RADIO_2056_RX1, 0x6);
  24772. }
  24773. }
  24774. }
  24775. }
  24776. static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24777. {
  24778. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24779. if (rx_core == PHY_CORE_0) {
  24780. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24781. write_radio_reg(
  24782. pi,
  24783. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24784. pi->
  24785. tx_rx_cal_radio_saveregs[0]);
  24786. write_radio_reg(
  24787. pi,
  24788. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24789. pi->
  24790. tx_rx_cal_radio_saveregs[1]);
  24791. } else {
  24792. write_radio_reg(
  24793. pi,
  24794. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24795. pi->
  24796. tx_rx_cal_radio_saveregs[0]);
  24797. write_radio_reg(
  24798. pi,
  24799. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24800. pi->
  24801. tx_rx_cal_radio_saveregs[1]);
  24802. }
  24803. } else {
  24804. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24805. write_radio_reg(
  24806. pi,
  24807. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24808. pi->
  24809. tx_rx_cal_radio_saveregs[0]);
  24810. write_radio_reg(
  24811. pi,
  24812. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24813. pi->
  24814. tx_rx_cal_radio_saveregs[1]);
  24815. } else {
  24816. write_radio_reg(
  24817. pi,
  24818. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24819. pi->
  24820. tx_rx_cal_radio_saveregs[0]);
  24821. write_radio_reg(
  24822. pi,
  24823. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24824. pi->
  24825. tx_rx_cal_radio_saveregs[1]);
  24826. }
  24827. }
  24828. } else {
  24829. if (rx_core == PHY_CORE_0) {
  24830. write_radio_reg(pi,
  24831. RADIO_2056_TX_RXIQCAL_TXMUX |
  24832. RADIO_2056_TX1,
  24833. pi->tx_rx_cal_radio_saveregs[0]);
  24834. write_radio_reg(pi,
  24835. RADIO_2056_RX_RXIQCAL_RXMUX |
  24836. RADIO_2056_RX0,
  24837. pi->tx_rx_cal_radio_saveregs[1]);
  24838. if (pi->pubpi.radiorev >= 5) {
  24839. write_radio_reg(pi,
  24840. RADIO_2056_RX_RXSPARE2 |
  24841. RADIO_2056_RX0,
  24842. pi->
  24843. tx_rx_cal_radio_saveregs[2]);
  24844. write_radio_reg(pi,
  24845. RADIO_2056_TX_TXSPARE2 |
  24846. RADIO_2056_TX1,
  24847. pi->
  24848. tx_rx_cal_radio_saveregs[3]);
  24849. }
  24850. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24851. if (pi->pubpi.radiorev >= 5)
  24852. write_radio_reg(
  24853. pi,
  24854. RADIO_2056_RX_LNAA_MASTER
  24855. | RADIO_2056_RX0,
  24856. pi->
  24857. tx_rx_cal_radio_saveregs
  24858. [4]);
  24859. else
  24860. write_radio_reg(
  24861. pi,
  24862. RADIO_2056_RX_LNAA_TUNE
  24863. | RADIO_2056_RX0,
  24864. pi->
  24865. tx_rx_cal_radio_saveregs
  24866. [4]);
  24867. } else {
  24868. if (pi->pubpi.radiorev >= 5)
  24869. write_radio_reg(
  24870. pi,
  24871. RADIO_2056_RX_LNAG_MASTER
  24872. | RADIO_2056_RX0,
  24873. pi->
  24874. tx_rx_cal_radio_saveregs
  24875. [4]);
  24876. else
  24877. write_radio_reg(
  24878. pi,
  24879. RADIO_2056_RX_LNAG_TUNE
  24880. | RADIO_2056_RX0,
  24881. pi->
  24882. tx_rx_cal_radio_saveregs
  24883. [4]);
  24884. }
  24885. } else {
  24886. write_radio_reg(pi,
  24887. RADIO_2056_TX_RXIQCAL_TXMUX |
  24888. RADIO_2056_TX0,
  24889. pi->tx_rx_cal_radio_saveregs[0]);
  24890. write_radio_reg(pi,
  24891. RADIO_2056_RX_RXIQCAL_RXMUX |
  24892. RADIO_2056_RX1,
  24893. pi->tx_rx_cal_radio_saveregs[1]);
  24894. if (pi->pubpi.radiorev >= 5) {
  24895. write_radio_reg(pi,
  24896. RADIO_2056_RX_RXSPARE2 |
  24897. RADIO_2056_RX1,
  24898. pi->
  24899. tx_rx_cal_radio_saveregs[2]);
  24900. write_radio_reg(pi,
  24901. RADIO_2056_TX_TXSPARE2 |
  24902. RADIO_2056_TX0,
  24903. pi->
  24904. tx_rx_cal_radio_saveregs[3]);
  24905. }
  24906. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24907. if (pi->pubpi.radiorev >= 5)
  24908. write_radio_reg(
  24909. pi,
  24910. RADIO_2056_RX_LNAA_MASTER
  24911. | RADIO_2056_RX1,
  24912. pi->
  24913. tx_rx_cal_radio_saveregs
  24914. [4]);
  24915. else
  24916. write_radio_reg(
  24917. pi,
  24918. RADIO_2056_RX_LNAA_TUNE
  24919. | RADIO_2056_RX1,
  24920. pi->
  24921. tx_rx_cal_radio_saveregs
  24922. [4]);
  24923. } else {
  24924. if (pi->pubpi.radiorev >= 5)
  24925. write_radio_reg(
  24926. pi,
  24927. RADIO_2056_RX_LNAG_MASTER
  24928. | RADIO_2056_RX1,
  24929. pi->
  24930. tx_rx_cal_radio_saveregs
  24931. [4]);
  24932. else
  24933. write_radio_reg(
  24934. pi,
  24935. RADIO_2056_RX_LNAG_TUNE
  24936. | RADIO_2056_RX1,
  24937. pi->
  24938. tx_rx_cal_radio_saveregs
  24939. [4]);
  24940. }
  24941. }
  24942. }
  24943. }
  24944. static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core)
  24945. {
  24946. u8 tx_core;
  24947. u16 rx_antval, tx_antval;
  24948. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24949. tx_core = rx_core;
  24950. else
  24951. tx_core = (rx_core == PHY_CORE_0) ? 1 : 0;
  24952. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa2);
  24953. pi->tx_rx_cal_phy_saveregs[1] =
  24954. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7);
  24955. pi->tx_rx_cal_phy_saveregs[2] =
  24956. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5);
  24957. pi->tx_rx_cal_phy_saveregs[3] = read_phy_reg(pi, 0x91);
  24958. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x92);
  24959. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x7a);
  24960. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x7d);
  24961. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0xe7);
  24962. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0xec);
  24963. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24964. pi->tx_rx_cal_phy_saveregs[11] = read_phy_reg(pi, 0x342);
  24965. pi->tx_rx_cal_phy_saveregs[12] = read_phy_reg(pi, 0x343);
  24966. pi->tx_rx_cal_phy_saveregs[13] = read_phy_reg(pi, 0x346);
  24967. pi->tx_rx_cal_phy_saveregs[14] = read_phy_reg(pi, 0x347);
  24968. }
  24969. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  24970. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  24971. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  24972. 0x29b, (0x1 << 0), (0) << 0);
  24973. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  24974. 0x29b, (0x1 << 0), (0) << 0);
  24975. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24976. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24977. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << (1 - rx_core)) << 12);
  24978. } else {
  24979. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  24980. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24981. mod_phy_reg(pi, 0xa2, (0xf << 4), (1 << rx_core) << 4);
  24982. mod_phy_reg(pi, 0xa2, (0xf << 8), (1 << rx_core) << 8);
  24983. }
  24984. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7), (0x1 << 2), 0);
  24985. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24986. (0x1 << 2), (0x1 << 2));
  24987. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  24988. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  24989. (0x1 << 0) | (0x1 << 1), 0);
  24990. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  24991. 0x8f : 0xa5,
  24992. (0x1 << 0) | (0x1 << 1), (0x1 << 0) | (0x1 << 1));
  24993. }
  24994. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 0,
  24995. RADIO_MIMO_CORESEL_CORE1 |
  24996. RADIO_MIMO_CORESEL_CORE2);
  24997. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24998. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  24999. 0, 0, 0,
  25000. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  25001. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 0, 0, 0,
  25002. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25003. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 1, 0, 0,
  25004. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25005. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 1, 0, 0,
  25006. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25007. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0, 0,
  25008. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  25009. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0, 0,
  25010. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25011. if (CHSPEC_IS40(pi->radio_chanspec))
  25012. wlc_phy_rfctrl_override_nphy_rev7(
  25013. pi,
  25014. (0x1 << 7),
  25015. 2, 0, 0,
  25016. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25017. else
  25018. wlc_phy_rfctrl_override_nphy_rev7(
  25019. pi,
  25020. (0x1 << 7),
  25021. 0, 0, 0,
  25022. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25023. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  25024. 0, 0, 0,
  25025. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25026. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0, 0,
  25027. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25028. } else {
  25029. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 3, 0);
  25030. }
  25031. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  25032. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25033. wlc_phy_rfctrlintc_override_nphy(pi,
  25034. NPHY_RfctrlIntc_override_TRSW,
  25035. 0x1, rx_core + 1);
  25036. } else {
  25037. if (rx_core == PHY_CORE_0) {
  25038. rx_antval = 0x1;
  25039. tx_antval = 0x8;
  25040. } else {
  25041. rx_antval = 0x4;
  25042. tx_antval = 0x2;
  25043. }
  25044. wlc_phy_rfctrlintc_override_nphy(pi,
  25045. NPHY_RfctrlIntc_override_TRSW,
  25046. rx_antval, rx_core + 1);
  25047. wlc_phy_rfctrlintc_override_nphy(pi,
  25048. NPHY_RfctrlIntc_override_TRSW,
  25049. tx_antval, tx_core + 1);
  25050. }
  25051. }
  25052. static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  25053. {
  25054. write_phy_reg(pi, 0xa2, pi->tx_rx_cal_phy_saveregs[0]);
  25055. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7,
  25056. pi->tx_rx_cal_phy_saveregs[1]);
  25057. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  25058. pi->tx_rx_cal_phy_saveregs[2]);
  25059. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[3]);
  25060. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[4]);
  25061. write_phy_reg(pi, 0x7a, pi->tx_rx_cal_phy_saveregs[5]);
  25062. write_phy_reg(pi, 0x7d, pi->tx_rx_cal_phy_saveregs[6]);
  25063. write_phy_reg(pi, 0xe7, pi->tx_rx_cal_phy_saveregs[7]);
  25064. write_phy_reg(pi, 0xec, pi->tx_rx_cal_phy_saveregs[8]);
  25065. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25066. write_phy_reg(pi, 0x342, pi->tx_rx_cal_phy_saveregs[11]);
  25067. write_phy_reg(pi, 0x343, pi->tx_rx_cal_phy_saveregs[12]);
  25068. write_phy_reg(pi, 0x346, pi->tx_rx_cal_phy_saveregs[13]);
  25069. write_phy_reg(pi, 0x347, pi->tx_rx_cal_phy_saveregs[14]);
  25070. }
  25071. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  25072. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  25073. }
  25074. static void
  25075. wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
  25076. u16 *rxgain, u8 cal_type)
  25077. {
  25078. u16 num_samps;
  25079. struct phy_iq_est est[PHY_CORE_MAX];
  25080. u8 tx_core;
  25081. struct nphy_iq_comp save_comp, zero_comp;
  25082. u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0,
  25083. thresh_pwr = 10000;
  25084. s16 desired_log2_pwr, actual_log2_pwr, delta_pwr;
  25085. bool gainctrl_done = false;
  25086. u8 mix_tia_gain = 3;
  25087. s8 optim_gaintbl_index = 0, prev_gaintbl_index = 0;
  25088. s8 curr_gaintbl_index = 3;
  25089. u8 gainctrl_dirn = NPHY_RXCAL_GAIN_INIT;
  25090. const struct nphy_ipa_txrxgain *nphy_rxcal_gaintbl;
  25091. u16 hpvga, lpf_biq1, lpf_biq0, lna2, lna1;
  25092. int fine_gain_idx;
  25093. s8 txpwrindex;
  25094. u16 nphy_rxcal_txgain[2];
  25095. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25096. tx_core = rx_core;
  25097. else
  25098. tx_core = 1 - rx_core;
  25099. num_samps = 1024;
  25100. desired_log2_pwr = (cal_type == 0) ? 13 : 13;
  25101. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
  25102. zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;
  25103. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &zero_comp);
  25104. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25105. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25106. mix_tia_gain = 3;
  25107. else if (NREV_GE(pi->pubpi.phy_rev, 4))
  25108. mix_tia_gain = 4;
  25109. else
  25110. mix_tia_gain = 6;
  25111. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25112. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz_rev7;
  25113. else
  25114. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz;
  25115. } else {
  25116. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25117. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz_rev7;
  25118. else
  25119. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz;
  25120. }
  25121. do {
  25122. hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ?
  25123. 0 : nphy_rxcal_gaintbl[curr_gaintbl_index].hpvga;
  25124. lpf_biq1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq1;
  25125. lpf_biq0 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq0;
  25126. lna2 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna2;
  25127. lna1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna1;
  25128. txpwrindex = nphy_rxcal_gaintbl[curr_gaintbl_index].txpwrindex;
  25129. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25130. wlc_phy_rfctrl_override_1tomany_nphy(
  25131. pi,
  25132. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25133. ((lpf_biq1 << 12) |
  25134. (lpf_biq0 << 8) |
  25135. (mix_tia_gain << 4) | (lna2 << 2)
  25136. | lna1), 0x3, 0);
  25137. else
  25138. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25139. ((hpvga << 12) |
  25140. (lpf_biq1 << 10) |
  25141. (lpf_biq0 << 8) |
  25142. (mix_tia_gain << 4) |
  25143. (lna2 << 2) | lna1), 0x3,
  25144. 0);
  25145. pi->nphy_rxcal_pwr_idx[tx_core] = txpwrindex;
  25146. if (txpwrindex == -1) {
  25147. nphy_rxcal_txgain[0] = 0x8ff0 | pi->nphy_gmval;
  25148. nphy_rxcal_txgain[1] = 0x8ff0 | pi->nphy_gmval;
  25149. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  25150. 2, 0x110, 16,
  25151. nphy_rxcal_txgain);
  25152. } else {
  25153. wlc_phy_txpwr_index_nphy(pi, tx_core + 1, txpwrindex,
  25154. false);
  25155. }
  25156. wlc_phy_tx_tone_nphy(pi, (CHSPEC_IS40(pi->radio_chanspec)) ?
  25157. NPHY_RXCAL_TONEFREQ_40MHz :
  25158. NPHY_RXCAL_TONEFREQ_20MHz,
  25159. NPHY_RXCAL_TONEAMP, 0, cal_type, false);
  25160. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25161. i_pwr = (est[rx_core].i_pwr + num_samps / 2) / num_samps;
  25162. q_pwr = (est[rx_core].q_pwr + num_samps / 2) / num_samps;
  25163. curr_pwr = i_pwr + q_pwr;
  25164. switch (gainctrl_dirn) {
  25165. case NPHY_RXCAL_GAIN_INIT:
  25166. if (curr_pwr > thresh_pwr) {
  25167. gainctrl_dirn = NPHY_RXCAL_GAIN_DOWN;
  25168. prev_gaintbl_index = curr_gaintbl_index;
  25169. curr_gaintbl_index--;
  25170. } else {
  25171. gainctrl_dirn = NPHY_RXCAL_GAIN_UP;
  25172. prev_gaintbl_index = curr_gaintbl_index;
  25173. curr_gaintbl_index++;
  25174. }
  25175. break;
  25176. case NPHY_RXCAL_GAIN_UP:
  25177. if (curr_pwr > thresh_pwr) {
  25178. gainctrl_done = true;
  25179. optim_pwr = prev_pwr;
  25180. optim_gaintbl_index = prev_gaintbl_index;
  25181. } else {
  25182. prev_gaintbl_index = curr_gaintbl_index;
  25183. curr_gaintbl_index++;
  25184. }
  25185. break;
  25186. case NPHY_RXCAL_GAIN_DOWN:
  25187. if (curr_pwr > thresh_pwr) {
  25188. prev_gaintbl_index = curr_gaintbl_index;
  25189. curr_gaintbl_index--;
  25190. } else {
  25191. gainctrl_done = true;
  25192. optim_pwr = curr_pwr;
  25193. optim_gaintbl_index = curr_gaintbl_index;
  25194. }
  25195. break;
  25196. default:
  25197. break;
  25198. }
  25199. if ((curr_gaintbl_index < 0) ||
  25200. (curr_gaintbl_index > NPHY_IPA_RXCAL_MAXGAININDEX)) {
  25201. gainctrl_done = true;
  25202. optim_pwr = curr_pwr;
  25203. optim_gaintbl_index = prev_gaintbl_index;
  25204. } else {
  25205. prev_pwr = curr_pwr;
  25206. }
  25207. wlc_phy_stopplayback_nphy(pi);
  25208. } while (!gainctrl_done);
  25209. hpvga = nphy_rxcal_gaintbl[optim_gaintbl_index].hpvga;
  25210. lpf_biq1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq1;
  25211. lpf_biq0 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq0;
  25212. lna2 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna2;
  25213. lna1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna1;
  25214. txpwrindex = nphy_rxcal_gaintbl[optim_gaintbl_index].txpwrindex;
  25215. actual_log2_pwr = wlc_phy_nbits(optim_pwr);
  25216. delta_pwr = desired_log2_pwr - actual_log2_pwr;
  25217. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25218. fine_gain_idx = (int)lpf_biq1 + delta_pwr;
  25219. if (fine_gain_idx + (int)lpf_biq0 > 10)
  25220. lpf_biq1 = 10 - lpf_biq0;
  25221. else
  25222. lpf_biq1 = (u16) max(fine_gain_idx, 0);
  25223. wlc_phy_rfctrl_override_1tomany_nphy(
  25224. pi,
  25225. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25226. ((lpf_biq1 << 12) |
  25227. (lpf_biq0 << 8) |
  25228. (mix_tia_gain << 4) |
  25229. (lna2 << 2) | lna1), 0x3,
  25230. 0);
  25231. } else {
  25232. hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
  25233. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25234. ((hpvga << 12) |
  25235. (lpf_biq1 << 10) |
  25236. (lpf_biq0 << 8) |
  25237. (mix_tia_gain << 4) |
  25238. (lna2 << 2) |
  25239. lna1), 0x3, 0);
  25240. }
  25241. if (rxgain != NULL) {
  25242. *rxgain++ = lna1;
  25243. *rxgain++ = lna2;
  25244. *rxgain++ = mix_tia_gain;
  25245. *rxgain++ = lpf_biq0;
  25246. *rxgain++ = lpf_biq1;
  25247. *rxgain = hpvga;
  25248. }
  25249. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &save_comp);
  25250. }
  25251. static void
  25252. wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain,
  25253. u8 cal_type)
  25254. {
  25255. wlc_phy_rxcal_gainctrl_nphy_rev5(pi, rx_core, rxgain, cal_type);
  25256. }
  25257. static u8
  25258. wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type)
  25259. {
  25260. u32 target_bws[2] = { 9500, 21000 };
  25261. u32 ref_tones[2] = { 3000, 6000 };
  25262. u32 target_bw, ref_tone;
  25263. u32 target_pwr_ratios[2] = { 28606, 18468 };
  25264. u32 target_pwr_ratio, pwr_ratio, last_pwr_ratio = 0;
  25265. u16 start_rccal_ovr_val = 128;
  25266. u16 txlpf_rccal_lpc_ovr_val = 128;
  25267. u16 rxlpf_rccal_hpc_ovr_val = 159;
  25268. u16 orig_txlpf_rccal_lpc_ovr_val;
  25269. u16 orig_rxlpf_rccal_hpc_ovr_val;
  25270. u16 radio_addr_offset_rx;
  25271. u16 radio_addr_offset_tx;
  25272. u16 orig_dcBypass;
  25273. u16 orig_RxStrnFilt40Num[6];
  25274. u16 orig_RxStrnFilt40Den[4];
  25275. u16 orig_rfctrloverride[2];
  25276. u16 orig_rfctrlauxreg[2];
  25277. u16 orig_rfctrlrssiothers;
  25278. u16 tx_lpf_bw = 4;
  25279. u16 rx_lpf_bw, rx_lpf_bws[2] = { 2, 4 };
  25280. u16 lpf_hpc = 7, hpvga_hpc = 7;
  25281. s8 rccal_stepsize;
  25282. u16 rccal_val, last_rccal_val = 0, best_rccal_val = 0;
  25283. u32 ref_iq_vals = 0, target_iq_vals = 0;
  25284. u16 num_samps, log_num_samps = 10;
  25285. struct phy_iq_est est[PHY_CORE_MAX];
  25286. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25287. return 0;
  25288. num_samps = (1 << log_num_samps);
  25289. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25290. target_bw = target_bws[1];
  25291. target_pwr_ratio = target_pwr_ratios[1];
  25292. ref_tone = ref_tones[1];
  25293. rx_lpf_bw = rx_lpf_bws[1];
  25294. } else {
  25295. target_bw = target_bws[0];
  25296. target_pwr_ratio = target_pwr_ratios[0];
  25297. ref_tone = ref_tones[0];
  25298. rx_lpf_bw = rx_lpf_bws[0];
  25299. }
  25300. if (core_idx == 0) {
  25301. radio_addr_offset_rx = RADIO_2056_RX0;
  25302. radio_addr_offset_tx =
  25303. (loopback_type == 0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  25304. } else {
  25305. radio_addr_offset_rx = RADIO_2056_RX1;
  25306. radio_addr_offset_tx =
  25307. (loopback_type == 0) ? RADIO_2056_TX1 : RADIO_2056_TX0;
  25308. }
  25309. orig_txlpf_rccal_lpc_ovr_val =
  25310. read_radio_reg(pi,
  25311. (RADIO_2056_TX_TXLPF_RCCAL |
  25312. radio_addr_offset_tx));
  25313. orig_rxlpf_rccal_hpc_ovr_val =
  25314. read_radio_reg(pi,
  25315. (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25316. radio_addr_offset_rx));
  25317. orig_dcBypass = ((read_phy_reg(pi, 0x48) >> 8) & 1);
  25318. orig_RxStrnFilt40Num[0] = read_phy_reg(pi, 0x267);
  25319. orig_RxStrnFilt40Num[1] = read_phy_reg(pi, 0x268);
  25320. orig_RxStrnFilt40Num[2] = read_phy_reg(pi, 0x269);
  25321. orig_RxStrnFilt40Den[0] = read_phy_reg(pi, 0x26a);
  25322. orig_RxStrnFilt40Den[1] = read_phy_reg(pi, 0x26b);
  25323. orig_RxStrnFilt40Num[3] = read_phy_reg(pi, 0x26c);
  25324. orig_RxStrnFilt40Num[4] = read_phy_reg(pi, 0x26d);
  25325. orig_RxStrnFilt40Num[5] = read_phy_reg(pi, 0x26e);
  25326. orig_RxStrnFilt40Den[2] = read_phy_reg(pi, 0x26f);
  25327. orig_RxStrnFilt40Den[3] = read_phy_reg(pi, 0x270);
  25328. orig_rfctrloverride[0] = read_phy_reg(pi, 0xe7);
  25329. orig_rfctrloverride[1] = read_phy_reg(pi, 0xec);
  25330. orig_rfctrlauxreg[0] = read_phy_reg(pi, 0xf8);
  25331. orig_rfctrlauxreg[1] = read_phy_reg(pi, 0xfa);
  25332. orig_rfctrlrssiothers = read_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d);
  25333. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25334. txlpf_rccal_lpc_ovr_val);
  25335. write_radio_reg(pi,
  25336. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25337. rxlpf_rccal_hpc_ovr_val);
  25338. mod_phy_reg(pi, 0x48, (0x1 << 8), (0x1 << 8));
  25339. write_phy_reg(pi, 0x267, 0x02d4);
  25340. write_phy_reg(pi, 0x268, 0x0000);
  25341. write_phy_reg(pi, 0x269, 0x0000);
  25342. write_phy_reg(pi, 0x26a, 0x0000);
  25343. write_phy_reg(pi, 0x26b, 0x0000);
  25344. write_phy_reg(pi, 0x26c, 0x02d4);
  25345. write_phy_reg(pi, 0x26d, 0x0000);
  25346. write_phy_reg(pi, 0x26e, 0x0000);
  25347. write_phy_reg(pi, 0x26f, 0x0000);
  25348. write_phy_reg(pi, 0x270, 0x0000);
  25349. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 8));
  25350. or_phy_reg(pi, (core_idx == 0) ? 0xec : 0xe7, (0x1 << 15));
  25351. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 9));
  25352. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 10));
  25353. mod_phy_reg(pi, (core_idx == 0) ? 0xfa : 0xf8,
  25354. (0x7 << 10), (tx_lpf_bw << 10));
  25355. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25356. (0x7 << 0), (hpvga_hpc << 0));
  25357. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25358. (0x7 << 4), (lpf_hpc << 4));
  25359. mod_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d,
  25360. (0x7 << 8), (rx_lpf_bw << 8));
  25361. rccal_stepsize = 16;
  25362. rccal_val = start_rccal_ovr_val + rccal_stepsize;
  25363. while (rccal_stepsize >= 0) {
  25364. write_radio_reg(pi,
  25365. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25366. radio_addr_offset_rx), rccal_val);
  25367. if (rccal_stepsize == 16) {
  25368. wlc_phy_tx_tone_nphy(pi, ref_tone, NPHY_RXCAL_TONEAMP,
  25369. 0, 1, false);
  25370. udelay(2);
  25371. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25372. if (core_idx == 0)
  25373. ref_iq_vals =
  25374. max_t(u32, (est[0].i_pwr +
  25375. est[0].q_pwr) >>
  25376. (log_num_samps + 1),
  25377. 1);
  25378. else
  25379. ref_iq_vals =
  25380. max_t(u32, (est[1].i_pwr +
  25381. est[1].q_pwr) >>
  25382. (log_num_samps + 1),
  25383. 1);
  25384. wlc_phy_tx_tone_nphy(pi, target_bw, NPHY_RXCAL_TONEAMP,
  25385. 0, 1, false);
  25386. udelay(2);
  25387. }
  25388. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25389. if (core_idx == 0)
  25390. target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >>
  25391. (log_num_samps + 1);
  25392. else
  25393. target_iq_vals =
  25394. (est[1].i_pwr +
  25395. est[1].q_pwr) >> (log_num_samps + 1);
  25396. pwr_ratio = (uint) ((target_iq_vals << 16) / ref_iq_vals);
  25397. if (rccal_stepsize == 0)
  25398. rccal_stepsize--;
  25399. else if (rccal_stepsize == 1) {
  25400. last_rccal_val = rccal_val;
  25401. rccal_val += (pwr_ratio > target_pwr_ratio) ? 1 : -1;
  25402. last_pwr_ratio = pwr_ratio;
  25403. rccal_stepsize--;
  25404. } else {
  25405. rccal_stepsize = (rccal_stepsize >> 1);
  25406. rccal_val += ((pwr_ratio > target_pwr_ratio) ?
  25407. rccal_stepsize : (-rccal_stepsize));
  25408. }
  25409. if (rccal_stepsize == -1) {
  25410. best_rccal_val =
  25411. (abs((int)last_pwr_ratio -
  25412. (int)target_pwr_ratio) <
  25413. abs((int)pwr_ratio -
  25414. (int)target_pwr_ratio)) ? last_rccal_val :
  25415. rccal_val;
  25416. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25417. if ((best_rccal_val > 140)
  25418. || (best_rccal_val < 135))
  25419. best_rccal_val = 138;
  25420. } else {
  25421. if ((best_rccal_val > 142)
  25422. || (best_rccal_val < 137))
  25423. best_rccal_val = 140;
  25424. }
  25425. write_radio_reg(pi,
  25426. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25427. radio_addr_offset_rx), best_rccal_val);
  25428. }
  25429. }
  25430. wlc_phy_stopplayback_nphy(pi);
  25431. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25432. orig_txlpf_rccal_lpc_ovr_val);
  25433. write_radio_reg(pi,
  25434. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25435. orig_rxlpf_rccal_hpc_ovr_val);
  25436. mod_phy_reg(pi, 0x48, (0x1 << 8), (orig_dcBypass << 8));
  25437. write_phy_reg(pi, 0x267, orig_RxStrnFilt40Num[0]);
  25438. write_phy_reg(pi, 0x268, orig_RxStrnFilt40Num[1]);
  25439. write_phy_reg(pi, 0x269, orig_RxStrnFilt40Num[2]);
  25440. write_phy_reg(pi, 0x26a, orig_RxStrnFilt40Den[0]);
  25441. write_phy_reg(pi, 0x26b, orig_RxStrnFilt40Den[1]);
  25442. write_phy_reg(pi, 0x26c, orig_RxStrnFilt40Num[3]);
  25443. write_phy_reg(pi, 0x26d, orig_RxStrnFilt40Num[4]);
  25444. write_phy_reg(pi, 0x26e, orig_RxStrnFilt40Num[5]);
  25445. write_phy_reg(pi, 0x26f, orig_RxStrnFilt40Den[2]);
  25446. write_phy_reg(pi, 0x270, orig_RxStrnFilt40Den[3]);
  25447. write_phy_reg(pi, 0xe7, orig_rfctrloverride[0]);
  25448. write_phy_reg(pi, 0xec, orig_rfctrloverride[1]);
  25449. write_phy_reg(pi, 0xf8, orig_rfctrlauxreg[0]);
  25450. write_phy_reg(pi, 0xfa, orig_rfctrlauxreg[1]);
  25451. write_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d, orig_rfctrlrssiothers);
  25452. pi->nphy_anarxlpf_adjusted = false;
  25453. return best_rccal_val - 0x80;
  25454. }
  25455. #define WAIT_FOR_SCOPE 4000
  25456. static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi,
  25457. struct nphy_txgains target_gain,
  25458. u8 cal_type, bool debug)
  25459. {
  25460. u16 orig_BBConfig;
  25461. u8 core_no, rx_core;
  25462. u8 best_rccal[2];
  25463. u16 gain_save[2];
  25464. u16 cal_gain[2];
  25465. struct nphy_iqcal_params cal_params[2];
  25466. u8 rxcore_state;
  25467. s8 rxlpf_rccal_hpc, txlpf_rccal_lpc;
  25468. s8 txlpf_idac;
  25469. bool phyhang_avoid_state = false;
  25470. bool skip_rxiqcal = false;
  25471. orig_BBConfig = read_phy_reg(pi, 0x01);
  25472. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  25473. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25474. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  25475. phyhang_avoid_state = pi->phyhang_avoid;
  25476. pi->phyhang_avoid = false;
  25477. }
  25478. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25479. for (core_no = 0; core_no <= 1; core_no++) {
  25480. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25481. &cal_params[core_no]);
  25482. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25483. }
  25484. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25485. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  25486. (struct brcms_phy_pub *) pi);
  25487. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25488. skip_rxiqcal =
  25489. ((rxcore_state & (1 << rx_core)) == 0) ? true : false;
  25490. wlc_phy_rxcal_physetup_nphy(pi, rx_core);
  25491. wlc_phy_rxcal_radio_setup_nphy(pi, rx_core);
  25492. if ((!skip_rxiqcal) && ((cal_type == 0) || (cal_type == 2))) {
  25493. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL, 0);
  25494. wlc_phy_tx_tone_nphy(pi,
  25495. (CHSPEC_IS40(
  25496. pi->radio_chanspec)) ?
  25497. NPHY_RXCAL_TONEFREQ_40MHz :
  25498. NPHY_RXCAL_TONEFREQ_20MHz,
  25499. NPHY_RXCAL_TONEAMP, 0, cal_type,
  25500. false);
  25501. if (debug)
  25502. mdelay(WAIT_FOR_SCOPE);
  25503. wlc_phy_calc_rx_iq_comp_nphy(pi, rx_core + 1);
  25504. wlc_phy_stopplayback_nphy(pi);
  25505. }
  25506. if (((cal_type == 1) || (cal_type == 2))
  25507. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  25508. if (rx_core == PHY_CORE_1) {
  25509. if (rxcore_state == 1)
  25510. wlc_phy_rxcore_setstate_nphy(
  25511. (struct brcms_phy_pub *) pi, 3);
  25512. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL,
  25513. 1);
  25514. best_rccal[rx_core] =
  25515. wlc_phy_rc_sweep_nphy(pi, rx_core, 1);
  25516. pi->nphy_rccal_value = best_rccal[rx_core];
  25517. if (rxcore_state == 1)
  25518. wlc_phy_rxcore_setstate_nphy(
  25519. (struct brcms_phy_pub *) pi,
  25520. rxcore_state);
  25521. }
  25522. }
  25523. wlc_phy_rxcal_radio_cleanup_nphy(pi, rx_core);
  25524. wlc_phy_rxcal_phycleanup_nphy(pi, rx_core);
  25525. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25526. }
  25527. if ((cal_type == 1) || (cal_type == 2)) {
  25528. best_rccal[0] = best_rccal[1];
  25529. write_radio_reg(pi,
  25530. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25531. RADIO_2056_RX0), (best_rccal[0] | 0x80));
  25532. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25533. rxlpf_rccal_hpc =
  25534. (((int)best_rccal[rx_core] - 12) >> 1) + 10;
  25535. txlpf_rccal_lpc = ((int)best_rccal[rx_core] - 12) + 10;
  25536. if (PHY_IPA(pi)) {
  25537. txlpf_rccal_lpc +=
  25538. (pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
  25539. txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
  25540. 0x0e : 0x13;
  25541. WRITE_RADIO_REG2(pi, RADIO_2056, TX, rx_core,
  25542. TXLPF_IDAC_4, txlpf_idac);
  25543. }
  25544. rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
  25545. 0);
  25546. txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
  25547. 0);
  25548. write_radio_reg(pi, (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25549. ((rx_core ==
  25550. PHY_CORE_0) ? RADIO_2056_RX0 :
  25551. RADIO_2056_RX1)),
  25552. (rxlpf_rccal_hpc | 0x80));
  25553. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL |
  25554. ((rx_core ==
  25555. PHY_CORE_0) ? RADIO_2056_TX0 :
  25556. RADIO_2056_TX1)),
  25557. (txlpf_rccal_lpc | 0x80));
  25558. }
  25559. }
  25560. write_phy_reg(pi, 0x01, orig_BBConfig);
  25561. wlc_phy_resetcca_nphy(pi);
  25562. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25563. wlc_phy_rfctrl_override_1tomany_nphy(
  25564. pi,
  25565. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25566. 0, 0x3, 1);
  25567. else
  25568. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  25569. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25570. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25571. gain_save);
  25572. if (NREV_GE(pi->pubpi.phy_rev, 4))
  25573. pi->phyhang_avoid = phyhang_avoid_state;
  25574. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25575. return 0;
  25576. }
  25577. static int
  25578. wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi,
  25579. struct nphy_txgains target_gain, bool debug)
  25580. {
  25581. struct phy_iq_est est[PHY_CORE_MAX];
  25582. u8 core_num, rx_core, tx_core;
  25583. u16 lna_vals[] = { 0x3, 0x3, 0x1 };
  25584. u16 hpf1_vals[] = { 0x7, 0x2, 0x0 };
  25585. u16 hpf2_vals[] = { 0x2, 0x0, 0x0 };
  25586. s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna;
  25587. s16 desired_log2_pwr, actual_log2_pwr, hpf_change;
  25588. u16 orig_RfseqCoreActv, orig_AfectrlCore, orig_AfectrlOverride;
  25589. u16 orig_RfctrlIntcRx, orig_RfctrlIntcTx;
  25590. u16 num_samps;
  25591. u32 i_pwr, q_pwr, tot_pwr[3];
  25592. u8 gain_pass, use_hpf_num;
  25593. u16 mask, val1, val2;
  25594. u16 core_no;
  25595. u16 gain_save[2];
  25596. u16 cal_gain[2];
  25597. struct nphy_iqcal_params cal_params[2];
  25598. u8 phy_bw;
  25599. int bcmerror = 0;
  25600. bool first_playtone = true;
  25601. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25602. if (NREV_LT(pi->pubpi.phy_rev, 2))
  25603. wlc_phy_reapply_txcal_coeffs_nphy(pi);
  25604. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25605. for (core_no = 0; core_no <= 1; core_no++) {
  25606. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25607. &cal_params[core_no]);
  25608. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25609. }
  25610. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25611. num_samps = 1024;
  25612. desired_log2_pwr = 13;
  25613. for (core_num = 0; core_num < 2; core_num++) {
  25614. rx_core = core_num;
  25615. tx_core = 1 - core_num;
  25616. orig_RfseqCoreActv = read_phy_reg(pi, 0xa2);
  25617. orig_AfectrlCore = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25618. 0xa6 : 0xa7);
  25619. orig_AfectrlOverride = read_phy_reg(pi, 0xa5);
  25620. orig_RfctrlIntcRx = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25621. 0x91 : 0x92);
  25622. orig_RfctrlIntcTx = read_phy_reg(pi, (tx_core == PHY_CORE_0) ?
  25623. 0x91 : 0x92);
  25624. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25625. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25626. or_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25627. ((0x1 << 1) | (0x1 << 2)));
  25628. or_phy_reg(pi, 0xa5, ((0x1 << 1) | (0x1 << 2)));
  25629. if (((pi->nphy_rxcalparams) & 0xff000000))
  25630. write_phy_reg(pi,
  25631. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25632. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25633. 0x140 : 0x110));
  25634. else
  25635. write_phy_reg(pi,
  25636. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25637. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25638. 0x180 : 0x120));
  25639. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25640. (CHSPEC_IS5G(pi->radio_chanspec) ? 0x148 :
  25641. 0x114));
  25642. mask = RADIO_2055_COUPLE_RX_MASK | RADIO_2055_COUPLE_TX_MASK;
  25643. if (rx_core == PHY_CORE_0) {
  25644. val1 = RADIO_2055_COUPLE_RX_MASK;
  25645. val2 = RADIO_2055_COUPLE_TX_MASK;
  25646. } else {
  25647. val1 = RADIO_2055_COUPLE_TX_MASK;
  25648. val2 = RADIO_2055_COUPLE_RX_MASK;
  25649. }
  25650. if ((pi->nphy_rxcalparams & 0x10000)) {
  25651. mod_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, mask,
  25652. val1);
  25653. mod_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, mask,
  25654. val2);
  25655. }
  25656. for (gain_pass = 0; gain_pass < 4; gain_pass++) {
  25657. if (debug)
  25658. mdelay(WAIT_FOR_SCOPE);
  25659. if (gain_pass < 3) {
  25660. curr_lna = lna_vals[gain_pass];
  25661. curr_hpf1 = hpf1_vals[gain_pass];
  25662. curr_hpf2 = hpf2_vals[gain_pass];
  25663. } else {
  25664. if (tot_pwr[1] > 10000) {
  25665. curr_lna = lna_vals[2];
  25666. curr_hpf1 = hpf1_vals[2];
  25667. curr_hpf2 = hpf2_vals[2];
  25668. use_hpf_num = 1;
  25669. curr_hpf = curr_hpf1;
  25670. actual_log2_pwr =
  25671. wlc_phy_nbits(tot_pwr[2]);
  25672. } else {
  25673. if (tot_pwr[0] > 10000) {
  25674. curr_lna = lna_vals[1];
  25675. curr_hpf1 = hpf1_vals[1];
  25676. curr_hpf2 = hpf2_vals[1];
  25677. use_hpf_num = 1;
  25678. curr_hpf = curr_hpf1;
  25679. actual_log2_pwr =
  25680. wlc_phy_nbits(
  25681. tot_pwr[1]);
  25682. } else {
  25683. curr_lna = lna_vals[0];
  25684. curr_hpf1 = hpf1_vals[0];
  25685. curr_hpf2 = hpf2_vals[0];
  25686. use_hpf_num = 2;
  25687. curr_hpf = curr_hpf2;
  25688. actual_log2_pwr =
  25689. wlc_phy_nbits(
  25690. tot_pwr[0]);
  25691. }
  25692. }
  25693. hpf_change = desired_log2_pwr - actual_log2_pwr;
  25694. curr_hpf += hpf_change;
  25695. curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
  25696. if (use_hpf_num == 1)
  25697. curr_hpf1 = curr_hpf;
  25698. else
  25699. curr_hpf2 = curr_hpf;
  25700. }
  25701. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10),
  25702. ((curr_hpf2 << 8) |
  25703. (curr_hpf1 << 4) |
  25704. (curr_lna << 2)), 0x3, 0);
  25705. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25706. wlc_phy_stopplayback_nphy(pi);
  25707. if (first_playtone) {
  25708. bcmerror = wlc_phy_tx_tone_nphy(pi, 4000,
  25709. (u16) (pi->nphy_rxcalparams &
  25710. 0xffff), 0, 0, true);
  25711. first_playtone = false;
  25712. } else {
  25713. phy_bw = (CHSPEC_IS40(pi->radio_chanspec)) ?
  25714. 40 : 20;
  25715. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff,
  25716. 0, 0, 0, true);
  25717. }
  25718. if (bcmerror == 0) {
  25719. if (gain_pass < 3) {
  25720. wlc_phy_rx_iq_est_nphy(pi, est,
  25721. num_samps, 32,
  25722. 0);
  25723. i_pwr = (est[rx_core].i_pwr +
  25724. num_samps / 2) / num_samps;
  25725. q_pwr = (est[rx_core].q_pwr +
  25726. num_samps / 2) / num_samps;
  25727. tot_pwr[gain_pass] = i_pwr + q_pwr;
  25728. } else {
  25729. wlc_phy_calc_rx_iq_comp_nphy(pi,
  25730. (1 <<
  25731. rx_core));
  25732. }
  25733. wlc_phy_stopplayback_nphy(pi);
  25734. }
  25735. if (bcmerror != 0)
  25736. break;
  25737. }
  25738. and_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, ~mask);
  25739. and_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, ~mask);
  25740. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 :
  25741. 0x92, orig_RfctrlIntcTx);
  25742. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x91 :
  25743. 0x92, orig_RfctrlIntcRx);
  25744. write_phy_reg(pi, 0xa5, orig_AfectrlOverride);
  25745. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 :
  25746. 0xa7, orig_AfectrlCore);
  25747. write_phy_reg(pi, 0xa2, orig_RfseqCoreActv);
  25748. if (bcmerror != 0)
  25749. break;
  25750. }
  25751. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10), 0, 0x3, 1);
  25752. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25753. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25754. gain_save);
  25755. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25756. return bcmerror;
  25757. }
  25758. int
  25759. wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  25760. u8 cal_type, bool debug)
  25761. {
  25762. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25763. cal_type = 0;
  25764. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25765. return wlc_phy_cal_rxiq_nphy_rev3(pi, target_gain, cal_type,
  25766. debug);
  25767. else
  25768. return wlc_phy_cal_rxiq_nphy_rev2(pi, target_gain, debug);
  25769. }
  25770. void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi)
  25771. {
  25772. uint core;
  25773. u32 txgain;
  25774. u16 rad_gain, dac_gain, bbmult, m1m2;
  25775. u8 txpi[2], chan_freq_range;
  25776. s32 rfpwr_offset;
  25777. if (pi->phyhang_avoid)
  25778. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25779. if (pi->sh->sromrev < 4) {
  25780. txpi[0] = txpi[1] = 72;
  25781. } else {
  25782. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  25783. switch (chan_freq_range) {
  25784. case WL_CHAN_FREQ_RANGE_2G:
  25785. case WL_CHAN_FREQ_RANGE_5GL:
  25786. case WL_CHAN_FREQ_RANGE_5GM:
  25787. case WL_CHAN_FREQ_RANGE_5GH:
  25788. txpi[0] = 0;
  25789. txpi[1] = 0;
  25790. break;
  25791. default:
  25792. txpi[0] = txpi[1] = 91;
  25793. break;
  25794. }
  25795. }
  25796. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25797. txpi[0] = txpi[1] = 30;
  25798. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  25799. txpi[0] = txpi[1] = 40;
  25800. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25801. if ((txpi[0] < 40) || (txpi[0] > 100) ||
  25802. (txpi[1] < 40) || (txpi[1] > 100))
  25803. txpi[0] = txpi[1] = 91;
  25804. }
  25805. pi->nphy_txpwrindex[PHY_CORE_0].index_internal = txpi[0];
  25806. pi->nphy_txpwrindex[PHY_CORE_1].index_internal = txpi[1];
  25807. pi->nphy_txpwrindex[PHY_CORE_0].index_internal_save = txpi[0];
  25808. pi->nphy_txpwrindex[PHY_CORE_1].index_internal_save = txpi[1];
  25809. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  25810. uint phyrev = pi->pubpi.phy_rev;
  25811. if (NREV_GE(phyrev, 3)) {
  25812. if (PHY_IPA(pi)) {
  25813. u32 *tx_gaintbl =
  25814. wlc_phy_get_ipa_gaintbl_nphy(pi);
  25815. txgain = tx_gaintbl[txpi[core]];
  25816. } else {
  25817. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25818. if (NREV_IS(phyrev, 3)) {
  25819. txgain =
  25820. nphy_tpc_5GHz_txgain_rev3
  25821. [txpi[core]];
  25822. } else if (NREV_IS(phyrev, 4)) {
  25823. txgain = (
  25824. pi->srom_fem5g.extpagain ==
  25825. 3) ?
  25826. nphy_tpc_5GHz_txgain_HiPwrEPA
  25827. [txpi[core]] :
  25828. nphy_tpc_5GHz_txgain_rev4
  25829. [txpi[core]];
  25830. } else {
  25831. txgain =
  25832. nphy_tpc_5GHz_txgain_rev5
  25833. [txpi[core]];
  25834. }
  25835. } else {
  25836. if (NREV_GE(phyrev, 5) &&
  25837. (pi->srom_fem2g.extpagain == 3)) {
  25838. txgain =
  25839. nphy_tpc_txgain_HiPwrEPA
  25840. [txpi[core]];
  25841. } else {
  25842. txgain = nphy_tpc_txgain_rev3
  25843. [txpi[core]];
  25844. }
  25845. }
  25846. }
  25847. } else {
  25848. txgain = nphy_tpc_txgain[txpi[core]];
  25849. }
  25850. if (NREV_GE(phyrev, 3))
  25851. rad_gain = (txgain >> 16) & ((1 << (32 - 16 + 1)) - 1);
  25852. else
  25853. rad_gain = (txgain >> 16) & ((1 << (28 - 16 + 1)) - 1);
  25854. if (NREV_GE(phyrev, 7))
  25855. dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1);
  25856. else
  25857. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  25858. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  25859. if (NREV_GE(phyrev, 3))
  25860. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  25861. 0xa5), (0x1 << 8), (0x1 << 8));
  25862. else
  25863. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  25864. write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain);
  25865. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  25866. &rad_gain);
  25867. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  25868. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  25869. m1m2 |= ((core == PHY_CORE_0) ? (bbmult << 8) : (bbmult << 0));
  25870. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  25871. if (PHY_IPA(pi)) {
  25872. wlc_phy_table_read_nphy(pi,
  25873. (core ==
  25874. PHY_CORE_0 ?
  25875. NPHY_TBL_ID_CORE1TXPWRCTL :
  25876. NPHY_TBL_ID_CORE2TXPWRCTL), 1,
  25877. 576 + txpi[core], 32,
  25878. &rfpwr_offset);
  25879. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25880. 0x29b, (0x1ff << 4),
  25881. ((s16) rfpwr_offset) << 4);
  25882. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25883. 0x29b, (0x1 << 2), (1) << 2);
  25884. }
  25885. }
  25886. and_phy_reg(pi, 0xbf, (u16) (~(0x1f << 0)));
  25887. if (pi->phyhang_avoid)
  25888. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25889. }
  25890. static void
  25891. wlc_phy_txpwr_nphy_srom_convert(u8 *srom_max, u16 *pwr_offset,
  25892. u8 tmp_max_pwr, u8 rate_start,
  25893. u8 rate_end)
  25894. {
  25895. u8 rate;
  25896. u8 word_num, nibble_num;
  25897. u8 tmp_nibble;
  25898. for (rate = rate_start; rate <= rate_end; rate++) {
  25899. word_num = (rate - rate_start) >> 2;
  25900. nibble_num = (rate - rate_start) & 0x3;
  25901. tmp_nibble = (pwr_offset[word_num] >> 4 * nibble_num) & 0xf;
  25902. srom_max[rate] = tmp_max_pwr - 2 * tmp_nibble;
  25903. }
  25904. }
  25905. static void
  25906. wlc_phy_txpwr_nphy_po_apply(u8 *srom_max, u8 pwr_offset,
  25907. u8 rate_start, u8 rate_end)
  25908. {
  25909. u8 rate;
  25910. for (rate = rate_start; rate <= rate_end; rate++)
  25911. srom_max[rate] -= 2 * pwr_offset;
  25912. }
  25913. void
  25914. wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start,
  25915. u8 rate_mcs_end, u8 rate_ofdm_start)
  25916. {
  25917. u8 rate1, rate2;
  25918. rate2 = rate_ofdm_start;
  25919. for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) {
  25920. power[rate1] = power[rate2];
  25921. rate2 += (rate1 == rate_mcs_start) ? 2 : 1;
  25922. }
  25923. power[rate_mcs_end] = power[rate_mcs_end - 1];
  25924. }
  25925. void
  25926. wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start,
  25927. u8 rate_ofdm_end, u8 rate_mcs_start)
  25928. {
  25929. u8 rate1, rate2;
  25930. for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start;
  25931. rate1 <= rate_ofdm_end; rate1++, rate2++) {
  25932. power[rate1] = power[rate2];
  25933. if (rate1 == rate_ofdm_start)
  25934. power[++rate1] = power[rate2];
  25935. }
  25936. }
  25937. void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi)
  25938. {
  25939. uint rate1, rate2, band_num;
  25940. u8 tmp_bw40po = 0, tmp_cddpo = 0, tmp_stbcpo = 0;
  25941. u8 tmp_max_pwr = 0;
  25942. u16 pwr_offsets1[2], *pwr_offsets2 = NULL;
  25943. u8 *tx_srom_max_rate = NULL;
  25944. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  25945. band_num++) {
  25946. switch (band_num) {
  25947. case 0:
  25948. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g,
  25949. pi->nphy_pwrctrl_info[1].max_pwr_2g);
  25950. pwr_offsets1[0] = pi->cck2gpo;
  25951. wlc_phy_txpwr_nphy_srom_convert(pi->tx_srom_max_rate_2g,
  25952. pwr_offsets1,
  25953. tmp_max_pwr,
  25954. TXP_FIRST_CCK,
  25955. TXP_LAST_CCK);
  25956. pwr_offsets1[0] = (u16) (pi->ofdm2gpo & 0xffff);
  25957. pwr_offsets1[1] =
  25958. (u16) (pi->ofdm2gpo >> 16) & 0xffff;
  25959. pwr_offsets2 = pi->mcs2gpo;
  25960. tmp_cddpo = pi->cdd2gpo;
  25961. tmp_stbcpo = pi->stbc2gpo;
  25962. tmp_bw40po = pi->bw402gpo;
  25963. tx_srom_max_rate = pi->tx_srom_max_rate_2g;
  25964. break;
  25965. case 1:
  25966. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm,
  25967. pi->nphy_pwrctrl_info[1].max_pwr_5gm);
  25968. pwr_offsets1[0] = (u16) (pi->ofdm5gpo & 0xffff);
  25969. pwr_offsets1[1] =
  25970. (u16) (pi->ofdm5gpo >> 16) & 0xffff;
  25971. pwr_offsets2 = pi->mcs5gpo;
  25972. tmp_cddpo = pi->cdd5gpo;
  25973. tmp_stbcpo = pi->stbc5gpo;
  25974. tmp_bw40po = pi->bw405gpo;
  25975. tx_srom_max_rate = pi->tx_srom_max_rate_5g_mid;
  25976. break;
  25977. case 2:
  25978. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl,
  25979. pi->nphy_pwrctrl_info[1].max_pwr_5gl);
  25980. pwr_offsets1[0] = (u16) (pi->ofdm5glpo & 0xffff);
  25981. pwr_offsets1[1] =
  25982. (u16) (pi->ofdm5glpo >> 16) & 0xffff;
  25983. pwr_offsets2 = pi->mcs5glpo;
  25984. tmp_cddpo = pi->cdd5glpo;
  25985. tmp_stbcpo = pi->stbc5glpo;
  25986. tmp_bw40po = pi->bw405glpo;
  25987. tx_srom_max_rate = pi->tx_srom_max_rate_5g_low;
  25988. break;
  25989. case 3:
  25990. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh,
  25991. pi->nphy_pwrctrl_info[1].max_pwr_5gh);
  25992. pwr_offsets1[0] = (u16) (pi->ofdm5ghpo & 0xffff);
  25993. pwr_offsets1[1] =
  25994. (u16) (pi->ofdm5ghpo >> 16) & 0xffff;
  25995. pwr_offsets2 = pi->mcs5ghpo;
  25996. tmp_cddpo = pi->cdd5ghpo;
  25997. tmp_stbcpo = pi->stbc5ghpo;
  25998. tmp_bw40po = pi->bw405ghpo;
  25999. tx_srom_max_rate = pi->tx_srom_max_rate_5g_hi;
  26000. break;
  26001. }
  26002. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets1,
  26003. tmp_max_pwr, TXP_FIRST_OFDM,
  26004. TXP_LAST_OFDM);
  26005. wlc_phy_ofdm_to_mcs_powers_nphy(tx_srom_max_rate,
  26006. TXP_FIRST_MCS_20_SISO,
  26007. TXP_LAST_MCS_20_SISO,
  26008. TXP_FIRST_OFDM);
  26009. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26010. tmp_max_pwr,
  26011. TXP_FIRST_MCS_20_CDD,
  26012. TXP_LAST_MCS_20_CDD);
  26013. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26014. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26015. TXP_FIRST_MCS_20_CDD,
  26016. TXP_LAST_MCS_20_CDD);
  26017. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26018. TXP_FIRST_OFDM_20_CDD,
  26019. TXP_LAST_OFDM_20_CDD,
  26020. TXP_FIRST_MCS_20_CDD);
  26021. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26022. tmp_max_pwr,
  26023. TXP_FIRST_MCS_20_STBC,
  26024. TXP_LAST_MCS_20_STBC);
  26025. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26026. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26027. tmp_stbcpo,
  26028. TXP_FIRST_MCS_20_STBC,
  26029. TXP_LAST_MCS_20_STBC);
  26030. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26031. &pwr_offsets2[2], tmp_max_pwr,
  26032. TXP_FIRST_MCS_20_SDM,
  26033. TXP_LAST_MCS_20_SDM);
  26034. if (NPHY_IS_SROM_REINTERPRET) {
  26035. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26036. &pwr_offsets2[4],
  26037. tmp_max_pwr,
  26038. TXP_FIRST_MCS_40_SISO,
  26039. TXP_LAST_MCS_40_SISO);
  26040. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26041. TXP_FIRST_OFDM_40_SISO,
  26042. TXP_LAST_OFDM_40_SISO,
  26043. TXP_FIRST_MCS_40_SISO);
  26044. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26045. &pwr_offsets2[4],
  26046. tmp_max_pwr,
  26047. TXP_FIRST_MCS_40_CDD,
  26048. TXP_LAST_MCS_40_CDD);
  26049. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26050. TXP_FIRST_MCS_40_CDD,
  26051. TXP_LAST_MCS_40_CDD);
  26052. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26053. TXP_FIRST_OFDM_40_CDD,
  26054. TXP_LAST_OFDM_40_CDD,
  26055. TXP_FIRST_MCS_40_CDD);
  26056. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26057. &pwr_offsets2[4],
  26058. tmp_max_pwr,
  26059. TXP_FIRST_MCS_40_STBC,
  26060. TXP_LAST_MCS_40_STBC);
  26061. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26062. tmp_stbcpo,
  26063. TXP_FIRST_MCS_40_STBC,
  26064. TXP_LAST_MCS_40_STBC);
  26065. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26066. &pwr_offsets2[6],
  26067. tmp_max_pwr,
  26068. TXP_FIRST_MCS_40_SDM,
  26069. TXP_LAST_MCS_40_SDM);
  26070. } else {
  26071. for (rate1 = TXP_FIRST_OFDM_40_SISO, rate2 =
  26072. TXP_FIRST_OFDM;
  26073. rate1 <= TXP_LAST_MCS_40_SDM;
  26074. rate1++, rate2++)
  26075. tx_srom_max_rate[rate1] =
  26076. tx_srom_max_rate[rate2];
  26077. }
  26078. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26079. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26080. tmp_bw40po,
  26081. TXP_FIRST_OFDM_40_SISO,
  26082. TXP_LAST_MCS_40_SDM);
  26083. tx_srom_max_rate[TXP_MCS_32] =
  26084. tx_srom_max_rate[TXP_FIRST_MCS_40_CDD];
  26085. }
  26086. return;
  26087. }
  26088. void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi)
  26089. {
  26090. u8 tx_pwr_ctrl_state;
  26091. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  26092. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  26093. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26094. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  26095. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  26096. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  26097. udelay(1);
  26098. }
  26099. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26100. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  26101. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  26102. }
  26103. static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi)
  26104. {
  26105. return read_phy_reg((pi), 0x1e7) & ((0x1 << 15) |
  26106. (0x1 << 14) | (0x1 << 13));
  26107. }
  26108. u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi)
  26109. {
  26110. u16 tmp;
  26111. u16 pwr_idx[2];
  26112. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26113. pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0);
  26114. pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1);
  26115. tmp = (pwr_idx[0] << 8) | pwr_idx[1];
  26116. } else {
  26117. tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff)
  26118. << 8) |
  26119. (pi->nphy_txpwrindex[PHY_CORE_1].index_internal & 0xff);
  26120. }
  26121. return tmp;
  26122. }
  26123. void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi)
  26124. {
  26125. if (PHY_IPA(pi)
  26126. && (pi->nphy_force_papd_cal
  26127. || (wlc_phy_txpwr_ison_nphy(pi)
  26128. &&
  26129. (((u32)
  26130. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) -
  26131. pi->nphy_papd_tx_gain_at_last_cal[0]) >= 4)
  26132. || ((u32)
  26133. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) -
  26134. pi->nphy_papd_tx_gain_at_last_cal[1]) >= 4)))))
  26135. wlc_phy_a4(pi, true);
  26136. }
  26137. void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type)
  26138. {
  26139. u16 mask = 0, val = 0, ishw = 0;
  26140. u8 ctr;
  26141. uint core;
  26142. u32 tbl_offset;
  26143. u32 tbl_len;
  26144. u16 regval[84];
  26145. if (pi->phyhang_avoid)
  26146. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26147. switch (ctrl_type) {
  26148. case PHY_TPC_HW_OFF:
  26149. case PHY_TPC_HW_ON:
  26150. pi->nphy_txpwrctrl = ctrl_type;
  26151. break;
  26152. default:
  26153. break;
  26154. }
  26155. if (ctrl_type == PHY_TPC_HW_OFF) {
  26156. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26157. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26158. for (core = 0; core < pi->pubpi.phy_corenum;
  26159. core++)
  26160. pi->nphy_txpwr_idx[core] =
  26161. wlc_phy_txpwr_idx_cur_get_nphy(
  26162. pi,
  26163. (u8) core);
  26164. }
  26165. }
  26166. tbl_len = 84;
  26167. tbl_offset = 64;
  26168. for (ctr = 0; ctr < tbl_len; ctr++)
  26169. regval[ctr] = 0;
  26170. wlc_phy_table_write_nphy(pi, 26, tbl_len, tbl_offset, 16,
  26171. regval);
  26172. wlc_phy_table_write_nphy(pi, 27, tbl_len, tbl_offset, 16,
  26173. regval);
  26174. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26175. and_phy_reg(pi, 0x1e7,
  26176. (u16) (~((0x1 << 15) |
  26177. (0x1 << 14) | (0x1 << 13))));
  26178. else
  26179. and_phy_reg(pi, 0x1e7,
  26180. (u16) (~((0x1 << 14) | (0x1 << 13))));
  26181. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26182. or_phy_reg(pi, 0x8f, (0x1 << 8));
  26183. or_phy_reg(pi, 0xa5, (0x1 << 8));
  26184. } else {
  26185. or_phy_reg(pi, 0xa5, (0x1 << 14));
  26186. }
  26187. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26188. mod_phy_reg(pi, 0xdc, 0x00ff, 0x53);
  26189. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26190. mod_phy_reg(pi, 0xdc, 0x00ff, 0x5a);
  26191. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26192. pi->bw == WL_CHANSPEC_BW_40)
  26193. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26194. MHF1_IQSWAP_WAR, BRCM_BAND_ALL);
  26195. } else {
  26196. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64,
  26197. 8, pi->adj_pwr_tbl_nphy);
  26198. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64,
  26199. 8, pi->adj_pwr_tbl_nphy);
  26200. ishw = (ctrl_type == PHY_TPC_HW_ON) ? 0x1 : 0x0;
  26201. mask = (0x1 << 14) | (0x1 << 13);
  26202. val = (ishw << 14) | (ishw << 13);
  26203. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26204. mask |= (0x1 << 15);
  26205. val |= (ishw << 15);
  26206. }
  26207. mod_phy_reg(pi, 0x1e7, mask, val);
  26208. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  26209. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  26210. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x32);
  26211. mod_phy_reg(pi, 0x222, (0xff << 0), 0x32);
  26212. } else {
  26213. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x64);
  26214. if (NREV_GT(pi->pubpi.phy_rev, 1))
  26215. mod_phy_reg(pi, 0x222,
  26216. (0xff << 0), 0x64);
  26217. }
  26218. }
  26219. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26220. if ((pi->nphy_txpwr_idx[0] != 128)
  26221. && (pi->nphy_txpwr_idx[1] != 128))
  26222. wlc_phy_txpwr_idx_cur_set_nphy(pi,
  26223. pi->
  26224. nphy_txpwr_idx
  26225. [0],
  26226. pi->
  26227. nphy_txpwr_idx
  26228. [1]);
  26229. }
  26230. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26231. and_phy_reg(pi, 0x8f, ~(0x1 << 8));
  26232. and_phy_reg(pi, 0xa5, ~(0x1 << 8));
  26233. } else {
  26234. and_phy_reg(pi, 0xa5, ~(0x1 << 14));
  26235. }
  26236. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26237. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  26238. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26239. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  26240. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26241. pi->bw == WL_CHANSPEC_BW_40)
  26242. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26243. 0x0, BRCM_BAND_ALL);
  26244. if (PHY_IPA(pi)) {
  26245. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  26246. 0x29b, (0x1 << 2), (0) << 2);
  26247. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  26248. 0x29b, (0x1 << 2), (0) << 2);
  26249. }
  26250. }
  26251. if (pi->phyhang_avoid)
  26252. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26253. }
  26254. void
  26255. wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex,
  26256. bool restore_cals)
  26257. {
  26258. u8 core, txpwrctl_tbl;
  26259. u16 tx_ind0, iq_ind0, lo_ind0;
  26260. u16 m1m2;
  26261. u32 txgain;
  26262. u16 rad_gain, dac_gain;
  26263. u8 bbmult;
  26264. u32 iqcomp;
  26265. u16 iqcomp_a, iqcomp_b;
  26266. u32 locomp;
  26267. u16 tmpval;
  26268. u8 tx_pwr_ctrl_state;
  26269. s32 rfpwr_offset;
  26270. u16 regval[2];
  26271. if (pi->phyhang_avoid)
  26272. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26273. tx_ind0 = 192;
  26274. iq_ind0 = 320;
  26275. lo_ind0 = 448;
  26276. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  26277. if ((core_mask & (1 << core)) == 0)
  26278. continue;
  26279. txpwrctl_tbl = (core == PHY_CORE_0) ? 26 : 27;
  26280. if (txpwrindex < 0) {
  26281. if (pi->nphy_txpwrindex[core].index < 0)
  26282. continue;
  26283. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26284. mod_phy_reg(pi, 0x8f,
  26285. (0x1 << 8),
  26286. pi->nphy_txpwrindex[core].
  26287. AfectrlOverride);
  26288. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26289. pi->nphy_txpwrindex[core].
  26290. AfectrlOverride);
  26291. } else {
  26292. mod_phy_reg(pi, 0xa5,
  26293. (0x1 << 14),
  26294. pi->nphy_txpwrindex[core].
  26295. AfectrlOverride);
  26296. }
  26297. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26298. 0xaa : 0xab,
  26299. pi->nphy_txpwrindex[core].AfeCtrlDacGain);
  26300. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26301. &pi->nphy_txpwrindex[core].
  26302. rad_gain);
  26303. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26304. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26305. m1m2 |= ((core == PHY_CORE_0) ?
  26306. (pi->nphy_txpwrindex[core].bbmult << 8) :
  26307. (pi->nphy_txpwrindex[core].bbmult << 0));
  26308. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26309. if (restore_cals) {
  26310. wlc_phy_table_write_nphy(
  26311. pi, 15, 2, (80 + 2 * core), 16,
  26312. &pi->nphy_txpwrindex[core].iqcomp_a);
  26313. wlc_phy_table_write_nphy(
  26314. pi, 15, 1, (85 + core), 16,
  26315. &pi->nphy_txpwrindex[core].locomp);
  26316. wlc_phy_table_write_nphy(
  26317. pi, 15, 1, (93 + core), 16,
  26318. &pi->nphy_txpwrindex[core].locomp);
  26319. }
  26320. wlc_phy_txpwrctrl_enable_nphy(pi, pi->nphy_txpwrctrl);
  26321. pi->nphy_txpwrindex[core].index_internal =
  26322. pi->nphy_txpwrindex[core].index_internal_save;
  26323. } else {
  26324. if (pi->nphy_txpwrindex[core].index < 0) {
  26325. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26326. mod_phy_reg(pi, 0x8f,
  26327. (0x1 << 8),
  26328. pi->nphy_txpwrindex[core].
  26329. AfectrlOverride);
  26330. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26331. pi->nphy_txpwrindex[core].
  26332. AfectrlOverride);
  26333. } else {
  26334. pi->nphy_txpwrindex[core].
  26335. AfectrlOverride =
  26336. read_phy_reg(pi, 0xa5);
  26337. }
  26338. pi->nphy_txpwrindex[core].AfeCtrlDacGain =
  26339. read_phy_reg(pi, (core == PHY_CORE_0) ?
  26340. 0xaa : 0xab);
  26341. wlc_phy_table_read_nphy(pi, 7, 1,
  26342. (0x110 + core), 16,
  26343. &pi->
  26344. nphy_txpwrindex[core].
  26345. rad_gain);
  26346. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  26347. &tmpval);
  26348. tmpval >>= ((core == PHY_CORE_0) ? 8 : 0);
  26349. tmpval &= 0xff;
  26350. pi->nphy_txpwrindex[core].bbmult = (u8) tmpval;
  26351. wlc_phy_table_read_nphy(pi, 15, 2,
  26352. (80 + 2 * core), 16,
  26353. &pi->
  26354. nphy_txpwrindex[core].
  26355. iqcomp_a);
  26356. wlc_phy_table_read_nphy(pi, 15, 1, (85 + core),
  26357. 16,
  26358. &pi->
  26359. nphy_txpwrindex[core].
  26360. locomp);
  26361. pi->nphy_txpwrindex[core].index_internal_save =
  26362. pi->nphy_txpwrindex[core].
  26363. index_internal;
  26364. }
  26365. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26366. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  26367. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26368. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  26369. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26370. (tx_ind0 + txpwrindex), 32,
  26371. &txgain);
  26372. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26373. rad_gain = (txgain >> 16) &
  26374. ((1 << (32 - 16 + 1)) - 1);
  26375. else
  26376. rad_gain = (txgain >> 16) &
  26377. ((1 << (28 - 16 + 1)) - 1);
  26378. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  26379. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  26380. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26381. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  26382. 0xa5), (0x1 << 8), (0x1 << 8));
  26383. else
  26384. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  26385. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26386. 0xaa : 0xab, dac_gain);
  26387. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26388. &rad_gain);
  26389. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26390. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26391. m1m2 |= ((core == PHY_CORE_0) ?
  26392. (bbmult << 8) : (bbmult << 0));
  26393. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26394. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26395. (iq_ind0 + txpwrindex), 32,
  26396. &iqcomp);
  26397. iqcomp_a = (iqcomp >> 10) & ((1 << (19 - 10 + 1)) - 1);
  26398. iqcomp_b = (iqcomp >> 0) & ((1 << (9 - 0 + 1)) - 1);
  26399. if (restore_cals) {
  26400. regval[0] = (u16) iqcomp_a;
  26401. regval[1] = (u16) iqcomp_b;
  26402. wlc_phy_table_write_nphy(pi, 15, 2,
  26403. (80 + 2 * core), 16,
  26404. regval);
  26405. }
  26406. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26407. (lo_ind0 + txpwrindex), 32,
  26408. &locomp);
  26409. if (restore_cals)
  26410. wlc_phy_table_write_nphy(pi, 15, 1, (85 + core),
  26411. 16, &locomp);
  26412. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26413. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  26414. if (PHY_IPA(pi)) {
  26415. wlc_phy_table_read_nphy(pi,
  26416. (core == PHY_CORE_0 ?
  26417. NPHY_TBL_ID_CORE1TXPWRCTL :
  26418. NPHY_TBL_ID_CORE2TXPWRCTL),
  26419. 1, 576 + txpwrindex, 32,
  26420. &rfpwr_offset);
  26421. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26422. 0x29b, (0x1ff << 4),
  26423. ((s16) rfpwr_offset) << 4);
  26424. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26425. 0x29b, (0x1 << 2), (1) << 2);
  26426. }
  26427. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26428. }
  26429. pi->nphy_txpwrindex[core].index = txpwrindex;
  26430. }
  26431. if (pi->phyhang_avoid)
  26432. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26433. }
  26434. void
  26435. wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr,
  26436. u8 txp_rate_idx)
  26437. {
  26438. u8 chan_freq_range;
  26439. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, chan);
  26440. switch (chan_freq_range) {
  26441. case WL_CHAN_FREQ_RANGE_2G:
  26442. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26443. break;
  26444. case WL_CHAN_FREQ_RANGE_5GM:
  26445. *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
  26446. break;
  26447. case WL_CHAN_FREQ_RANGE_5GL:
  26448. *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
  26449. break;
  26450. case WL_CHAN_FREQ_RANGE_5GH:
  26451. *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
  26452. break;
  26453. default:
  26454. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26455. break;
  26456. }
  26457. return;
  26458. }
  26459. void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable)
  26460. {
  26461. u16 clip_off[] = { 0xffff, 0xffff };
  26462. if (enable) {
  26463. if (pi->nphy_deaf_count == 0) {
  26464. pi->classifier_state =
  26465. wlc_phy_classifier_nphy(pi, 0, 0);
  26466. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  26467. wlc_phy_clip_det_nphy(pi, 0, pi->clip_state);
  26468. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  26469. }
  26470. pi->nphy_deaf_count++;
  26471. wlc_phy_resetcca_nphy(pi);
  26472. } else {
  26473. pi->nphy_deaf_count--;
  26474. if (pi->nphy_deaf_count == 0) {
  26475. wlc_phy_classifier_nphy(pi, (0x7 << 0),
  26476. pi->classifier_state);
  26477. wlc_phy_clip_det_nphy(pi, 1, pi->clip_state);
  26478. }
  26479. }
  26480. }
  26481. void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode)
  26482. {
  26483. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  26484. if (mode) {
  26485. if (pi->nphy_deaf_count == 0)
  26486. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26487. } else if (pi->nphy_deaf_count > 0) {
  26488. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26489. }
  26490. wlapi_enable_mac(pi->sh->physhim);
  26491. }